]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: pxa: colibri_pxa270: add optional lcd support
authorMarcel Ziswiler <marcel@ziswiler.com>
Sun, 16 Aug 2015 02:16:35 +0000 (04:16 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:34:43 +0000 (10:34 +0200)
Add optional LCD support. Note that depending on the toolchain used
one might have to drop some other features to stay within the 0x40000
size limit.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
include/configs/colibri_pxa270.h

index 722ff525f538b45754f12bd586a4a12f2394d1de..f2fa85ee59c911c3b076de3ffb05ee1c90c1cedf 100644 (file)
@@ -19,6 +19,9 @@
 /* Avoid overwriting factory configuration block */
 #define CONFIG_BOARD_SIZE_LIMIT                0x40000
 
+/* We will never enable dcache because we have to setup MMU first */
+#define CONFIG_SYS_DCACHE_OFF
+
 /*
  * Environment settings
  */
 #define        CONFIG_CMD_MMC
 #define        CONFIG_CMD_USB
 
+/* LCD support */
+#ifdef CONFIG_LCD
+#define CONFIG_PXA_LCD
+#define CONFIG_PXA_VGA
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define CONFIG_CONSOLE_SCROLL_LINES    10
+#define CONFIG_CMD_BMP
+#define CONFIG_LCD_LOGO
+#endif
+
 /*
  * Networking Configuration
  */