From: Przemyslaw Marczak
Date: Thu, 13 Nov 2014 10:40:02 +0000 (+0100)
Subject: samsung: misc_init_r: add call platform_setup() before dfu setup
X-Git-Tag: submit/tizen/20141117.133411~6
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf9b1dd3e9ab13f42f7b9d377681a2226ebe1c1b;p=platform%2Fkernel%2Fu-boot.git
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
---
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index e613266c5a..95c3eee6bb 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