]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/s5pc210_universal.h
powerpc/t1040qds: Add Video - HDMI support
[karo-tx-uboot.git] / include / configs / s5pc210_universal.h
index 67b08fc7d3b496cbce6fe0fcfad88991a81130c4..67921e900be196ad40c41d22c764f038b510bdea 100644 (file)
 #define CONFIG_SYS_CONSOLE_INFO_QUIET
 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+
 #define CONFIG_EXTRA_ENV_SETTINGS                                      \
        "updateb=" \
                "onenand erase 0x0 0x100000;" \
@@ -274,13 +277,35 @@ 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
  */
 #define CONFIG_EXYNOS_FB
 #define CONFIG_LCD
 #define CONFIG_CMD_BMP
-#define CONFIG_BMP_32BPP
+#define CONFIG_BMP_16BPP
 #define CONFIG_LD9040
 #define CONFIG_EXYNOS_MIPI_DSIM
 #define CONFIG_VIDEO_BMP_GZIP