Fix VOH405 Support
Patch by Matthias Fuchs, 25 Sep 2005
diff --git a/CHANGELOG b/CHANGELOG
index 97b3efe..45f759e 100644
--- a/CHANGELOG
+++ b/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
diff --git a/board/esd/common/lcd.c b/board/esd/common/lcd.c
index 22b49ce..05c76ff 100644
--- a/board/esd/common/lcd.c
+++ b/board/esd/common/lcd.c
@@ -99,7 +99,7 @@
/*
* 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 @@
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 @@
"esdbmp - display BMP image\n",
"<imageAddr> - display image\n"
);
+#endif