]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/bf527-ezkit/video.c
Blackfin: shutdown video DMA when booting Linux
[karo-tx-uboot.git] / board / bf527-ezkit / video.c
index 891070b575bc51ca5f29304a349f23811127439f..51bdf020413dd804a69353e9e3b09708ed95e717 100644 (file)
@@ -378,6 +378,17 @@ static void dma_bitblit(void *dst, fastimage_t *logo, int x, int y)
 
 }
 
+void video_stop(void)
+{
+       DisablePPI();
+       DisableDMA();
+       DisableTIMER0();
+       DisableTIMER1();
+#ifdef CONFIG_MK_BF527_EZKIT_REV_2_1
+       lq035q1_control(LQ035_SHUT_CTL, LQ035_SHUT);
+#endif
+}
+
 void video_putc(const char c)
 {
 }