summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-08-30 23:09:00 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-08-30 23:09:00 +0200
commite8143e72e1cbe2f771258533e26ee2105a8768a7 (patch)
tree5e21bf4d8661a4437c67aa55b43cf19565d1d3fd /include
parent0fd30252c840ee54d2a80475d6504766d43b8add (diff)
Add splashscreen support for MCC200 board.
Diffstat (limited to 'include')
-rw-r--r--include/configs/mcc200.h15
-rw-r--r--include/lcd.h9
2 files changed, 23 insertions, 1 deletions
diff --git a/include/configs/mcc200.h b/include/configs/mcc200.h
index 61014ecd1f2..e95d68bfb88 100644
--- a/include/configs/mcc200.h
+++ b/include/configs/mcc200.h
@@ -259,11 +259,26 @@
#define CONFIG_PHY_ADDR 1
/*
+ * LCD Splash Screen
+ */
+#define CONFIG_LCD 1
+#if defined(CONFIG_LCD)
+#define CONFIG_SPLASH_SCREEN 1
+#define CFG_CONSOLE_IS_IN_ENV 1
+#define LCD_BPP LCD_MONOCHROME
+#endif
+
+/*
* GPIO configuration
*/
/* 0x10000004 = 32MB SDRAM */
/* 0x90000004 = 64MB SDRAM */
+#if defined(CONFIG_LCD)
+/* set PSC2 in UART mode */
+#define CFG_GPS_PORT_CONFIG 0x00000044
+#else
#define CFG_GPS_PORT_CONFIG 0x00000004
+#endif
/*
* Miscellaneous configurable options
diff --git a/include/lcd.h b/include/lcd.h
index 7e23736bca9..b688583828b 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -148,7 +148,14 @@ typedef struct vidinfo {
extern vidinfo_t panel_info;
-#endif /* CONFIG_MPC823 or CONFIG_PXA250 */
+#elif defined(CONFIG_MCC200)
+typedef struct vidinfo {
+ ushort vl_col; /* Number of columns (i.e. 160) */
+ ushort vl_row; /* Number of rows (i.e. 100) */
+
+ u_char vl_bpix; /* Bits per pixel, 0 = 1 */
+} vidinfo_t;
+#endif /* CONFIG_MPC823, CONFIG_PXA250 or CONFIG_MCC200 */
/* Video functions */