summaryrefslogtreecommitdiff
path: root/board/siemens/rut
diff options
context:
space:
mode:
Diffstat (limited to 'board/siemens/rut')
-rw-r--r--board/siemens/rut/board.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c
index 1752df2c4fb..fb840f7ed22 100644
--- a/board/siemens/rut/board.c
+++ b/board/siemens/rut/board.c
@@ -467,4 +467,27 @@ static int board_video_init(void)
return 0;
}
#endif /* ifdef CONFIG_VIDEO */
+
+#ifdef CONFIG_BOARD_LATE_INIT
+int board_late_init(void)
+{
+ int ret;
+ char tmp[2 * MAX_STRING_LENGTH + 2];
+
+ omap_nand_switch_ecc(1, 8);
+
+ if (factory_dat.asn[0] != 0)
+ sprintf(tmp, "%s_%s", factory_dat.asn,
+ factory_dat.comp_version);
+ else
+ sprintf(tmp, "QMX7.E38_4.0");
+
+ ret = setenv("boardid", tmp);
+ if (ret)
+ printf("error setting board id\n");
+
+ return 0;
+}
+#endif
+
#include "../common/board.c"