summaryrefslogtreecommitdiff
path: root/include/configs/digsy_mtc.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-05-29 21:16:20 +0000
committerWolfgang Denk <wd@denx.de>2011-07-27 23:26:20 +0200
commita59996e3f777b1059455f0e106c9271e4abc403a (patch)
treef1fe235cd24d1a214cd1b7fe855a056b309c5570 /include/configs/digsy_mtc.h
parentee8fa20f54c9705218a5c21e7db7d4ba1c124b98 (diff)
mpc5200: digsy_mtc: add support for graphic extension board
Add detection and initialisation for graphic extension board and support splash screen when booting. Enable "bmp" command in the board configuration and provide "disp" command to be able to switch the display on/off. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include/configs/digsy_mtc.h')
-rw-r--r--include/configs/digsy_mtc.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index c738b3ab44..4a4eabae9e 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -86,10 +86,37 @@
#define CONFIG_BZIP2
/*
+ * Video
+ */
+#define CONFIG_VIDEO
+
+#ifdef CONFIG_VIDEO
+#define CONFIG_VIDEO_MB862xx
+#define CONFIG_VIDEO_MB862xx_ACCEL
+#define CONFIG_VIDEO_CORALP
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_VIDEO_LOGO
+#define CONFIG_VIDEO_SW_CURSOR
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define CONFIG_SPLASH_SCREEN
+#define CONFIG_VIDEO_BMP_GZIP
+#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (2 << 20) /* decompressed img */
+
+/* Coral-PA clock frequency, geo and other both 133MHz */
+#define CONFIG_SYS_MB862xx_CCF 0x00050000
+/* Video SDRAM parameters */
+#define CONFIG_SYS_MB862xx_MMR 0x11d7fa72
+#endif
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
+#ifdef CONFIG_VIDEO
+#define CONFIG_CMD_BMP
+#endif
#define CONFIG_CMD_DFL
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE