]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/trats.h
trats: add LCD download menu support
[karo-tx-uboot.git] / include / configs / trats.h
index 5022f4002926b2485f18ba7b014dafecc800ca97..a623371cd17b6e3572224630dfff9642653e04e8 100644 (file)
 
 #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