diff options
author | Timur Tabi <timur@freescale.com> | 2010-09-24 01:25:53 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-09-25 13:10:10 +0200 |
commit | d5e01e49f85daf7ad0a504288ccff534f44098a0 (patch) | |
tree | 8d8a8022851cee475b1174c9275efbd78b701e70 /include | |
parent | 9e70d1378c7f41d1aa9ffc5429d810330c194949 (diff) | |
download | bootable_bootloader_goldelico_gta04-d5e01e49f85daf7ad0a504288ccff534f44098a0.zip bootable_bootloader_goldelico_gta04-d5e01e49f85daf7ad0a504288ccff534f44098a0.tar.gz bootable_bootloader_goldelico_gta04-d5e01e49f85daf7ad0a504288ccff534f44098a0.tar.bz2 |
p1022ds: add video support
Add support for the DIU controller. If CONFIG_VIDEO is defined, then
the console will appear on a DVI monitor instead of the serial port.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/P1022DS.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index dcaca2b..8e0117f 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -177,14 +177,17 @@ #define CONFIG_SYS_HUSH_PARSER #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_FSL_DIU_FB -#define CONFIG_SYS_DIU_ADDR (CONFIG_SYS_CCSRBAR + 0x10000) - /* Video */ -/* #define CONFIG_VIDEO */ -#ifdef CONFIG_VIDEO +#undef CONFIG_FSL_DIU_FB + +#ifdef CONFIG_FSL_DIU_FB +#define CONFIG_SYS_DIU_ADDR (CONFIG_SYS_CCSRBAR + 0x10000) +#define CONFIG_VIDEO +#define CONFIG_CMD_BMP #define CONFIG_CFB_CONSOLE #define CONFIG_VGA_AS_SINGLE_DEVICE +#define CONFIG_VIDEO_LOGO +#define CONFIG_VIDEO_BMP_LOGO #endif /* |