From: Przemyslaw Marczak Date: Wed, 30 Jul 2014 12:17:54 +0000 (+0200) Subject: samsung:misc: add call to get_board_name() for CONFIG_OF_MULTI X-Git-Tag: submit/tizen/20140807.020216~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97b1ce6e835013dee7a7e57f00c8117abe223113;p=platform%2Fkernel%2Fu-boot.git samsung:misc: add call to get_board_name() for CONFIG_OF_MULTI Change-Id: I236f5d23122f02ef759d7e79354a9af788627968 Signed-off-by: Przemyslaw Marczak --- diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 260c0fcb2a..3d21ac709f 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -83,6 +83,9 @@ void set_board_info(void) #ifdef CONFIG_BOARD_TYPES bdtype = get_board_type(); +#ifdef CONFIG_OF_MULTI + bdname = get_board_name(); +#endif sprintf(info, "%s%s", bdname, bdtype); setenv("boardname", info); #endif diff --git a/include/samsung/misc.h b/include/samsung/misc.h index 48d149078a..ec1eff533b 100644 --- a/include/samsung/misc.h +++ b/include/samsung/misc.h @@ -67,6 +67,9 @@ void set_dfu_alt_info(void); #ifdef CONFIG_BOARD_TYPES void set_board_type(void); const char *get_board_type(void); +#ifdef CONFIG_OF_MULTI +const char *get_board_name(void); +#endif #endif #endif /* __SAMSUNG_MISC_COMMON_H__ */