diff mbox

[U-Boot,10/11] arm: pxa: colibri_pxa270: add optional lcd support

Message ID 1439691396-28809-10-git-send-email-marcel@ziswiler.com
State Accepted
Delegated to: Marek Vasut
Headers show

Commit Message

Marcel Ziswiler Aug. 16, 2015, 2:16 a.m. UTC
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 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox

Patch

diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 08ebd76..a8cdde5 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -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
  */
@@ -56,6 +59,16 @@ 
 #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
  */