From 191d61229732e628cb39f84463f16b4e7a8249ff Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Tue, 29 Jul 2014 14:32:03 +0200
Subject: [PATCH] samsung:board: run lcd menu only on trats2 for
CONFIG_OF_MULTI
Change-Id: I02baeb60125f695e30c138b7311910731f5d9f40
Signed-off-by: Przemyslaw Marczak
---
board/samsung/common/board.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index ae0b8d4..3d2bde0 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -338,6 +338,10 @@ int misc_init_r(void)
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
set_board_info();
#endif
+#ifdef CONFIG_OF_MULTI
+ if (!board_is_trats2())
+ return 0;
+#endif
#ifdef CONFIG_LCD_MENU
keys_init();
check_boot_mode();
--
2.7.4