From: Przemyslaw Marczak
Date: Mon, 1 Sep 2014 11:50:47 +0000 (+0200)
Subject: samsung:board: misc_init_r: call set_dfu_alt_info()
X-Git-Tag: v2014.10-rc3~116^2~11^2~17
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32ee9bc5ed615497179a4b0e38322d1a250f2c79;p=u-boot
samsung:board: misc_init_r: call set_dfu_alt_info()
This change enable automatic setting of dfu alt info
on every boot. This is useful in case of booting one
u-boot binary from multiple media.
Signed-off-by: Przemyslaw Marczak
Signed-off-by: Minkyu Kang
---
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 1fa0e51b3e..56938135a9 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -324,6 +324,9 @@ int arch_early_init_r(void)
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
+#ifdef CONFIG_SET_DFU_ALT_INFO
+ set_dfu_alt_info();
+#endif
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
set_board_info();
#endif