From 943eacde686f50fc82d18af88825ff74d8d89967 Mon Sep 17 00:00:00 2001
From: Piotr Wilczek
Date: Wed, 22 Jan 2014 15:54:35 +0100
Subject: board:samsung:trats: add env variables describing platform
This patch adds variables describing platform (soc, board, vendor)
to default environment.
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Cc: Lukasz Majewski
Signed-off-by: Minkyu Kang
---
board/samsung/trats/trats.c | 3 +++
1 file changed, 3 insertions(+)
(limited to 'board/samsung')
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index c6664e7..b725505 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -791,6 +791,9 @@ void init_panel_info(vidinfo_t *vid)
#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();
--
cgit v1.1