From: Przemyslaw Marczak Date: Thu, 18 Sep 2014 11:02:19 +0000 (+0200) Subject: samsung:board: don't call set_board_type() for CONFIG_OF_MULTI X-Git-Tag: submit/tizen_common/20141030.153846~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d0273b64c2b719d82d5229329b15c3b1a902de4;p=platform%2Fkernel%2Fu-boot.git samsung:board: don't call set_board_type() for CONFIG_OF_MULTI 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 --- diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 1a1a5056eb..a54b63e53b 100644 --- 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) {