diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-11-16 17:49:23 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-28 15:10:33 -0500 |
commit | b891d01038abcc8b25f12e1b91ff889b06eb07a2 (patch) | |
tree | f9573f7328fe0980fe607b974b537fd2303ae09f /board/toradex/colibri_pxa270 | |
parent | a2777ecb9d11882dba696035defa35c70dd26733 (diff) |
apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handling
With our common code in place actually make use of it across all our
modules.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'board/toradex/colibri_pxa270')
-rw-r--r-- | board/toradex/colibri_pxa270/Kconfig | 11 | ||||
-rw-r--r-- | board/toradex/colibri_pxa270/colibri_pxa270.c | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/board/toradex/colibri_pxa270/Kconfig b/board/toradex/colibri_pxa270/Kconfig index 949407a0423..f646baa3f05 100644 --- a/board/toradex/colibri_pxa270/Kconfig +++ b/board/toradex/colibri_pxa270/Kconfig @@ -9,4 +9,15 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "colibri_pxa270" +config TDX_CFG_BLOCK + default y + +config TDX_HAVE_NOR + default y + +config TDX_CFG_BLOCK_OFFSET + default "262144" + +source "board/toradex/common/Kconfig" + endif diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c index 2e3e03a1527..932b90014ba 100644 --- a/board/toradex/colibri_pxa270/colibri_pxa270.c +++ b/board/toradex/colibri_pxa270/colibri_pxa270.c @@ -2,6 +2,7 @@ * Toradex Colibri PXA270 Support * * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com> + * Copyright (C) 2016 Marcel Ziswiler <marcel.ziswiler@toradex.com> * * SPDX-License-Identifier: GPL-2.0+ */ @@ -35,6 +36,13 @@ int board_init(void) return 0; } +int checkboard(void) +{ + puts("Model: Toradex Colibri PXA270\n"); + + return 0; +} + int dram_init(void) { pxa2xx_dram_init(); |