Fix VOH405 Support

Patch by Matthias Fuchs, 25 Sep 2005
This commit is contained in:
Wolfgang Denk 2005-09-25 16:31:16 +02:00
parent 1972dc0a9e
commit c177bb5f6c
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4: Changes for U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix VOH405 Support
Patch by Matthias Fuchs, 25 Sep 2005
* Added support for PCI bridge on MPC8272ADS * Added support for PCI bridge on MPC8272ADS
Patch by Vitaly Bordug, Feb 09 2005 Patch by Vitaly Bordug, Feb 09 2005

View File

@ -99,7 +99,7 @@ void lcd_bmp(uchar *logo_bmp)
/* /*
* Decompress bmp image * Decompress bmp image
*/ */
len = CFG_VIDEO_LOGO_MAX_SIZE; len = CFG_LCD_LOGO_MAX_SIZE;
dst = malloc(CFG_LCD_LOGO_MAX_SIZE); dst = malloc(CFG_LCD_LOGO_MAX_SIZE);
do_free = 1; do_free = 1;
if (gunzip(dst, CFG_LCD_LOGO_MAX_SIZE, (uchar *)logo_bmp, &len) != 0) { if (gunzip(dst, CFG_LCD_LOGO_MAX_SIZE, (uchar *)logo_bmp, &len) != 0) {
@ -291,7 +291,7 @@ void lcd_init(uchar *lcd_reg, uchar *lcd_mem, S1D_REGS *regs, int reg_count,
lcd_bmp(logo_bmp); lcd_bmp(logo_bmp);
} }
#ifdef CONFIG_VIDEO_SM501
int do_esdbmp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) int do_esdbmp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{ {
ulong addr; ulong addr;
@ -324,3 +324,4 @@ U_BOOT_CMD(
"esdbmp - display BMP image\n", "esdbmp - display BMP image\n",
"<imageAddr> - display image\n" "<imageAddr> - display image\n"
); );
#endif