Patchwork [U-Boot,v3,05/11] samsung:board: misc_init_r: call set_dfu_alt_info()

login
register
mail settings
Submitter Przemyslaw Marczak
Date June 26, 2014, 2:15 p.m.
Message ID <1403792137-3113-6-git-send-email-p.marczak@samsung.com>
Download mbox | patch
Permalink /patch/364551/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Przemyslaw Marczak - June 26, 2014, 2:15 p.m.
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 <p.marczak@samsung.com>
---
 board/samsung/common/board.c | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index f07a900..fd5f21f 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -325,6 +325,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