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:
b5cccbb
)
samsung: misc: set env ${platname} in set_board_info()
author
Przemyslaw Marczak
<p.marczak@samsung.com>
Wed, 12 Nov 2014 14:03:04 +0000
(15:03 +0100)
committer
Lukasz Majewski
<l.majewski@samsung.com>
Thu, 15 Jan 2015 08:38:50 +0000
(09:38 +0100)
This change adds setting the environment ${platname},
as a platform name in the function set_board_info().
Change-Id: Iba16e917f9c88458e1af21892d84ded121aa12cf
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/misc.c
patch
|
blob
|
history
diff --git
a/board/samsung/common/misc.c
b/board/samsung/common/misc.c
index 3fc867906587c518db01b6d603712a8f2e6fc7cb..2ef50f630cc3c4c75b1175b8ff1fcfe86c4d9d7a 100644
(file)
--- 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
#ifdef CONFIG_OF_MULTI
bdname = get_board_name();
+ platname = get_plat_name();
+
+ setenv("platname", platname);
#endif
setenv("boardname", bdname);
#endif