]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/s5pc210_universal.h
universal: add LCD download menu support
[people/ms/u-boot.git] / include / configs / s5pc210_universal.h
index 93b9dfb0f96be5a1c1b50d665fa04059972fb7e0..bfb044b087b3f5adddb5e5ca11f0d12fb2a74868 100644 (file)
@@ -274,6 +274,28 @@ int universal_spi_read(void);
 
 #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/max8998_pmic.h>
+
+#define KEY_PWR_PMIC_NAME              "MAX8998_PMIC"
+#define KEY_PWR_STATUS_REG             MAX8998_REG_STATUS1
+#define KEY_PWR_STATUS_MASK            (1 << 7)
+#define KEY_PWR_INTERRUPT_REG          MAX8998_REG_IRQ1
+#define KEY_PWR_INTERRUPT_MASK         (1 << 7)
+
+#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 Settings
  */