diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-09-25 16:31:16 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-09-25 16:31:16 +0200 |
commit | c177bb5f6c0d496c5e2a429c72f89f325b46198c (patch) | |
tree | 2abadcdb7b064bec789e3853e629f6f6637f376f /board/esd/common | |
parent | 1972dc0a9ef329c8b1aa27621a4033b9bb5f34a7 (diff) | |
download | u-boot-imx-c177bb5f6c0d496c5e2a429c72f89f325b46198c.zip u-boot-imx-c177bb5f6c0d496c5e2a429c72f89f325b46198c.tar.gz u-boot-imx-c177bb5f6c0d496c5e2a429c72f89f325b46198c.tar.bz2 |
Fix VOH405 Support
Patch by Matthias Fuchs, 25 Sep 2005
Diffstat (limited to 'board/esd/common')
-rw-r--r-- | board/esd/common/lcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ 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 |