summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorPiotr Wilczek <p.wilczek@samsung.com>2014-01-22 15:54:34 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-07 10:06:24 +0900
commit815a6072f06557ce776744ef2c3b57189a2abd3e (patch)
tree355ecb1ecbcc51854a2d2891e320b90b87fa1a44 /board/samsung
parent2ac9a35bcd441b06601b8fcfc1d39b6b3d9f0aef (diff)
downloadu-boot-imx-815a6072f06557ce776744ef2c3b57189a2abd3e.zip
u-boot-imx-815a6072f06557ce776744ef2c3b57189a2abd3e.tar.gz
u-boot-imx-815a6072f06557ce776744ef2c3b57189a2abd3e.tar.bz2
board:samsung:universal: add env variables describing platform
This patch adds variables describing platform (soc, board, vendor) to default environment. Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/universal_c210/universal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index ced4caa..96da7e0 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -516,6 +516,9 @@ int board_init(void)
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
+#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+ set_board_info();
+#endif
#ifdef CONFIG_LCD_MENU
keys_init();
check_boot_mode();