summaryrefslogtreecommitdiff
path: root/board/samsung/trats2
diff options
context:
space:
mode:
authorPiotr Wilczek <p.wilczek@samsung.com>2014-01-22 15:54:36 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-07 10:06:24 +0900
commit8c57fb7d9aa1c9d46d797a0926d755e95a5cb64e (patch)
tree4f594b9de5e010da39d40d974a6106a71cc5386a /board/samsung/trats2
parent943eacde686f50fc82d18af88825ff74d8d89967 (diff)
downloadu-boot-imx-8c57fb7d9aa1c9d46d797a0926d755e95a5cb64e.zip
u-boot-imx-8c57fb7d9aa1c9d46d797a0926d755e95a5cb64e.tar.gz
u-boot-imx-8c57fb7d9aa1c9d46d797a0926d755e95a5cb64e.tar.bz2
board:samsung:trats2: 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> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/trats2')
-rw-r--r--board/samsung/trats2/trats2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
index 62e7fd2..c17c24d 100644
--- a/board/samsung/trats2/trats2.c
+++ b/board/samsung/trats2/trats2.c
@@ -616,6 +616,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();