From bf9b1dd3e9ab13f42f7b9d377681a2226ebe1c1b Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Thu, 13 Nov 2014 11:40:02 +0100
Subject: [PATCH] samsung: misc_init_r: add call platform_setup() before dfu
setup
This change adds call of platform_setup() to check or set active
platform configuration.
Change-Id: I355736bf40f8fa3697ce0b4546f7702d2e54a0f9
Signed-off-by: Przemyslaw Marczak
---
board/samsung/common/board.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index e613266..95c3eee 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -383,6 +383,9 @@ int misc_init_r(void)
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
set_board_info();
#endif
+#ifdef CONFIG_PLATFORM_SETUP
+ platform_setup();
+#endif
#ifdef CONFIG_SET_DFU_ALT_INFO
set_dfu_alt_info();
#endif
--
2.7.4