Forráskód Böngészése

Fix VOH405 Support
Patch by Matthias Fuchs, 25 Sep 2005

Wolfgang Denk 19 éve
szülő
commit
c177bb5f6c
2 módosított fájl, 6 hozzáadás és 2 törlés
  1. 3 0
      CHANGELOG
  2. 3 2
      board/esd/common/lcd.c

+ 3 - 0
CHANGELOG

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

+ 3 - 2
board/esd/common/lcd.c

@@ -99,7 +99,7 @@ void lcd_bmp(uchar *logo_bmp)
 		/*
 		 * Decompress bmp image
 		 */
-		len = CFG_VIDEO_LOGO_MAX_SIZE;
+		len = CFG_LCD_LOGO_MAX_SIZE;
 		dst = malloc(CFG_LCD_LOGO_MAX_SIZE);
 		do_free = 1;
 		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);
 }
 
-
+#ifdef CONFIG_VIDEO_SM501
 int do_esdbmp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
 	ulong addr;
@@ -324,3 +324,4 @@ U_BOOT_CMD(
 	"esdbmp   - display BMP image\n",
 	"<imageAddr> - display image\n"
 );
+#endif