]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bmp.c
CRAMFS: support cramfs in RAM
[karo-tx-uboot.git] / common / cmd_bmp.c
index fc8462ead1987f9775be4f4ab22a6a0b82e7ff75..74ab24ca9467b280d7ce6a1b20a52a1cba221f30 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <common.h>
+#include <lcd.h>
 #include <bmp_layout.h>
 #include <command.h>
 #include <asm/byteorder.h>
@@ -34,8 +35,6 @@
 static int bmp_info (ulong addr);
 static int bmp_display (ulong addr, int x, int y);
 
-int gunzip(void *, int, unsigned char *, unsigned long *);
-
 /*
  * Allocate and decompress a BMP image using gunzip().
  *
@@ -46,7 +45,7 @@ int gunzip(void *, int, unsigned char *, unsigned long *);
  * didn't contain a valid BMP signature.
  */
 #ifdef CONFIG_VIDEO_BMP_GZIP
-static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
+bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 {
        void *dst;
        unsigned long len;
@@ -85,7 +84,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
        return bmp;
 }
 #else
-static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
+bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 {
        return NULL;
 }