summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2015-08-16 04:16:35 +0200
committerMarek Vasut <marex@denx.de>2015-08-24 20:30:38 +0200
commit4f9bbd9e69420c156370d5c39a2fc67bc8c76fee (patch)
tree4b2d926e179ad7d76e2d65a8c5571f31895fd1d9 /include
parentd817889b1e5907da0c4885fcdf20f2f265966e86 (diff)
arm: pxa: colibri_pxa270: add optional lcd support
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/colibri_pxa270.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 722ff525f5..f2fa85ee59 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
*/