From e5e6dd7fe444b873d9113e2f4d716f63faf9ca70 Mon Sep 17 00:00:00 2001 From: Jimmy Rubin Date: Tue, 8 Jun 2010 16:28:18 +0200 Subject: Adding support for startup graphics This patch does the following: * Startup graphics only support for HREF+. * Displays a logo last in the u-boot sequence before the kernel is booted. * Informs the kernel not to display penguins. * Added pmem values to bootargs. ST Ericsson Change-ID: WP236570 Change-Id: Ib176c17a795ddd002e94344eb9c67739b1e2269e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1048 Reviewed-by: Par-Olof HAKANSSON Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- include/configs/u8500.h | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'include/configs/u8500.h') diff --git a/include/configs/u8500.h b/include/configs/u8500.h index 880cbf273..b829de92b 100644 --- a/include/configs/u8500.h +++ b/include/configs/u8500.h @@ -121,8 +121,11 @@ "loadaddr=0x00100000\0" \ "console=ttyAMA2,115200n8\0" \ "commonargs=setenv bootargs cachepolicy=writealloc noinitrd " \ - "init=init mem=96M@0 mem=128M@128M " \ - "board_id=${board_id}\0" \ + "init=init mem=96M@0 mem=34M@128M " \ + "pmem=22M@162M pmem_mio=8M@184M pmem_hwb=32M@192M " \ + "board_id=${board_id} " \ + "logo.${logo} " \ + "startup_graphics=${startup_graphics}\0" \ "emmcargs=setenv bootargs ${bootargs} " \ "root=/dev/mmcblk0p2 " \ "rootdelay=1\0" \ @@ -182,6 +185,7 @@ #define CONFIG_SYS_I2C_BUS_MAX 4 #define CONFIG_SYS_I2C_GPIOE_ADDR 0x42 /* GPIO expander chip addr */ +#define CONFIG_TC35892_GPIO /*----------------------------------------------------------------------- * Stack sizes * @@ -239,6 +243,16 @@ #define CONFIG_SYS_MAX_FLASH_SECT 512 #define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */ +/*----------------------------------------------------------------------- + * Video Logo Related configs + */ +#define CONFIG_VIDEO_LOGO /* Enable startup logo */ +/* +#define CONFIG_SYS_VIDEO_USE_GIMP_HEADER +#define CONFIG_SYS_VIDEO_FB_ADRS 0x14000000 +*/ +#define CONFIG_SYS_MCDE_REFRESH_TIME 50 + /*------------------------------------------------------------------------------ * base register values for U8500 */ @@ -264,4 +278,10 @@ */ #define CFG_RTC_BASE 0x80154000 /* Real time clock */ +/* + * U8500 Display register base + */ +#define CFG_MCDE_BASE 0xA0350000 +#define CFG_DSI_BASE 0xA0351000 + #endif /* __CONFIG_H */ -- cgit v1.2.3