summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-01-22 11:24:18 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 15:36:14 +0900
commit00e64ab6471e154a06d89bbfffba2bbe6e2150ad (patch)
tree96625023cf8191fdb2081a8cd1d8ff058e78cd8f /include
parent9d29a682a8dbe40b8d1af45197a87d49472fc105 (diff)
downloadu-boot-imx-00e64ab6471e154a06d89bbfffba2bbe6e2150ad.zip
u-boot-imx-00e64ab6471e154a06d89bbfffba2bbe6e2150ad.tar.gz
u-boot-imx-00e64ab6471e154a06d89bbfffba2bbe6e2150ad.tar.bz2
trats: add LCD download menu support
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/trats.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 5022f40..a623371 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -311,6 +311,28 @@
#define CONFIG_MISC_INIT_R
+/* Download menu - Samsung common */
+#define CONFIG_LCD_MENU
+#define CONFIG_LCD_MENU_BOARD
+
+/* Download menu - definitions for check keys */
+#ifndef __ASSEMBLY__
+#include <power/max8997_pmic.h>
+
+#define KEY_PWR_PMIC_NAME "MAX8997_PMIC"
+#define KEY_PWR_STATUS_REG MAX8997_REG_STATUS1
+#define KEY_PWR_STATUS_MASK (1 << 0)
+#define KEY_PWR_INTERRUPT_REG MAX8997_REG_INT1
+#define KEY_PWR_INTERRUPT_MASK (1 << 0)
+
+#define KEY_VOL_UP_GPIO exynos4_gpio_get(2, x2, 0)
+#define KEY_VOL_DOWN_GPIO exynos4_gpio_get(2, x2, 1)
+#endif /* __ASSEMBLY__ */
+
+/* LCD console */
+#define LCD_BPP LCD_COLOR16
+#define CONFIG_SYS_WHITE_ON_BLACK
+
/* LCD */
#define CONFIG_EXYNOS_FB
#define CONFIG_LCD