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_common/20150115.132736~15
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78fe48d1c6d31a3447b265f578ce6b4b261b46ef;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 49f406dfff..dfea5d2b2d 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -376,6 +376,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