diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-07-30 14:17:54 +0200 |
---|---|---|
committer | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-18 11:54:52 +0200 |
commit | 4aa13b59f4c57a1c9b2e6fcdc6bcefbf766f0850 (patch) | |
tree | 126d5c31f9b754ae100ca62a63a899b9a82ee8f5 | |
parent | 3dabab66dab5a5d5ae68a0c667bfff50f6f5cfaf (diff) | |
download | u-boot-4aa13b59f4c57a1c9b2e6fcdc6bcefbf766f0850.tar.gz u-boot-4aa13b59f4c57a1c9b2e6fcdc6bcefbf766f0850.tar.bz2 u-boot-4aa13b59f4c57a1c9b2e6fcdc6bcefbf766f0850.zip |
samsung:misc: add call to get_board_name() for CONFIG_OF_MULTI
Change-Id: I236f5d23122f02ef759d7e79354a9af788627968
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
-rw-r--r-- | board/samsung/common/misc.c | 3 | ||||
-rw-r--r-- | include/samsung/misc.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 5d721a7f2b..2ba3d071ac 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -82,6 +82,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 4799b67315..693cb7c14e 100644 --- a/include/samsung/misc.h +++ b/include/samsung/misc.h @@ -66,6 +66,9 @@ char *get_dfu_alt_boot(char *interface, char *devstr); #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__ */ |