summaryrefslogtreecommitdiffstats
path: root/board/siemens/draco
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2014-11-18 11:51:06 +0100
committerTom Rini <trini@ti.com>2014-12-04 21:28:32 -0500
commit0c331ebcc6843bb5e4e6727d1b4a13ef2284a5ab (patch)
treeccec1c14aae6786763a60cbf2cfd7a19da3f54fb /board/siemens/draco
parent4ac32b9c4db8e9e427584024c93773927644f7f4 (diff)
downloadtalos-obmc-uboot-0c331ebcc6843bb5e4e6727d1b4a13ef2284a5ab.tar.gz
talos-obmc-uboot-0c331ebcc6843bb5e4e6727d1b4a13ef2284a5ab.zip
arm, am335x: siemens boards add FIT support
add FIT support and set "boardid" from factoryset records "DEV/id" and "COMP/ver". "boardid" is used for selecting which fit configuration gets booted on the board. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/siemens/draco')
-rw-r--r--board/siemens/draco/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c
index 9be2e344f8..ede73baf3e 100644
--- a/board/siemens/draco/board.c
+++ b/board/siemens/draco/board.c
@@ -280,4 +280,13 @@ U_BOOT_CMD(
#endif /* #if defined(CONFIG_DRIVER_TI_CPSW) */
#endif /* #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) */
+#ifdef CONFIG_BOARD_LATE_INIT
+int board_late_init(void)
+{
+ omap_nand_switch_ecc(1, 8);
+
+ return 0;
+}
+#endif
+
#include "../common/board.c"
OpenPOWER on IntegriCloud