]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/bf533-stamp/video.c
Merge branch 'next' of git://git.denx.de/u-boot-mpc83xx
[karo-tx-uboot.git] / board / bf533-stamp / video.c
index 28ffa618fc6c5cb083140ffef2547aa7bcfb83dd..75b8adca15ac1de7213135db17a76bc6b42f3776 100644 (file)
@@ -20,8 +20,6 @@
 #include <linux/types.h>
 #include <stdio_dev.h>
 
-int gunzip(void *, int, unsigned char *, unsigned long *);
-
 #define DMA_SIZE16     2
 
 #include <asm/mach-common/bits/ppi.h>
@@ -152,6 +150,12 @@ static void video_init(char *NTSCFrame)
        bfin_write_PPI_CONTROL(0x0083);
 }
 
+void video_stop(void)
+{
+       bfin_write_PPI_CONTROL(0);
+       bfin_write_DMA0_CONFIG(0);
+}
+
 int drv_video_init(void)
 {
        struct stdio_dev videodev;