summaryrefslogtreecommitdiff
path: root/board/bf548-ezkit
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-08-07 02:47:54 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-11 11:29:08 -0400
commit5fc564eda7cc99a37fa485b452fdcc1260ee2d4f (patch)
treef512cd78c677807673fa5ebdd789a2e80d3e151d /board/bf548-ezkit
parent69a2a4d9a5884a6f2d04a551308980d452b9b349 (diff)
Blackfin: shutdown video DMA when booting Linux
In case there is no frame buffer driver present in Linux to hand over the PPI LCD DMA upon boot, the DMA initiated by u-boot to display the splash screen runs unattended. Therefore always stop the video driver in u-boot before starting Linux. If people don't want this behavior, then they can simply stub out the video_stop() function in their board video driver. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf548-ezkit')
-rw-r--r--board/bf548-ezkit/video.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/bf548-ezkit/video.c b/board/bf548-ezkit/video.c
index af3d58bdd3c..cde877aa0cb 100644
--- a/board/bf548-ezkit/video.c
+++ b/board/bf548-ezkit/video.c
@@ -224,6 +224,12 @@ int video_init(void *dst)
return 0;
}
+void video_stop(void)
+{
+ DisablePPI();
+ DisableDMA();
+}
+
static void dma_bitblit(void *dst, fastimage_t *logo, int x, int y)
{
if (dcache_status())