projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b35a8
)
samsung:board: don't call set_board_type() for CONFIG_OF_MULTI
author
Przemyslaw Marczak
<p.marczak@samsung.com>
Thu, 18 Sep 2014 11:02:19 +0000
(13:02 +0200)
committer
Przemyslaw Marczak
<p.marczak@samsung.com>
Tue, 23 Sep 2014 08:39:18 +0000
(10:39 +0200)
For this config the set_board_type() is called much more earlier
- in the function setup_fdt(), so the second call in the board file
is unneeded.
Change-Id: I71037c593d00f7bde95a0880787e64d0d09ff173
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/board.c
patch
|
blob
|
history
diff --git
a/board/samsung/common/board.c
b/board/samsung/common/board.c
index 1a1a5056ebe4a2a29e14959f8e1c1a1a42c47e6c..a54b63e53bc8b05473dbcb18f9fc76dff2ef376c 100644
(file)
--- a/
board/samsung/common/board.c
+++ b/
board/samsung/common/board.c
@@
-166,8
+166,10
@@
static int board_uart_init(void)
int board_early_init_f(void)
{
int err;
+#ifndef CONFIG_OF_MULTI
#ifdef CONFIG_BOARD_TYPES
set_board_type();
+#endif
#endif
err = board_uart_init();
if (err) {