aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2012-12-18 15:11:44 +0530
committerTushar Behera <tushar.behera@linaro.org>2013-02-05 10:39:11 +0530
commit9eb4a7766b57a7d26772787b40c2738c3d335dd4 (patch)
treee54c006ae1cf43321021afd75cfe171d28b97d57 /board
parent3d28a181aab5edeb24a8c5ffe3a4162f7462aa2b (diff)
downloadu-boot-linaro-stable-9eb4a7766b57a7d26772787b40c2738c3d335dd4.tar.gz
EXYNOS5: ARNDALE: Implement board_late_init to set preboot and eth h/w address
preboot is used to start usb so that ethernet device could be found automatically. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/smdk5250/smdk5250.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 76687e505..698bc70fb 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -202,6 +202,16 @@ static int board_i2c_init(void)
}
#endif
+#ifdef CONFIG_BOARD_LATE_INIT
+int board_late_init(void)
+{
+#ifdef CONFIG_PREBOOT
+ setenv("preboot", CONFIG_PREBOOT);
+ setenv("usbethaddr", "00:40:5c:26:0a:5b");
+#endif
+}
+#endif
+
#ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void)
{