summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-08-18 21:19:00 +0200
committerWolfgang Denk <wd@denx.de>2010-08-18 21:19:00 +0200
commit5549d22b656550d36b2cc46743c7220ab0e9dcc4 (patch)
treeacc88f5980b8ca5999e05e9a86429e5b397cdd7e /board
parentae37a0704a8a27e47471f541a68b88370cd14aa8 (diff)
parent9ce2c4b7f79c5bdc1697a6979a0d33e51c3cf57d (diff)
downloadu-boot-imx-5549d22b656550d36b2cc46743c7220ab0e9dcc4.zip
u-boot-imx-5549d22b656550d36b2cc46743c7220ab0e9dcc4.tar.gz
u-boot-imx-5549d22b656550d36b2cc46743c7220ab0e9dcc4.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'board')
-rw-r--r--board/bf527-ezkit/video.c11
-rw-r--r--board/bf533-stamp/video.c6
-rw-r--r--board/bf548-ezkit/video.c6
-rw-r--r--board/cm-bf548/video.c6
4 files changed, 29 insertions, 0 deletions
diff --git a/board/bf527-ezkit/video.c b/board/bf527-ezkit/video.c
index 891070b..51bdf02 100644
--- a/board/bf527-ezkit/video.c
+++ b/board/bf527-ezkit/video.c
@@ -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)
{
}
diff --git a/board/bf533-stamp/video.c b/board/bf533-stamp/video.c
index 939bd35..75b8adc 100644
--- a/board/bf533-stamp/video.c
+++ b/board/bf533-stamp/video.c
@@ -150,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;
diff --git a/board/bf548-ezkit/video.c b/board/bf548-ezkit/video.c
index af3d58b..cde877a 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())
diff --git a/board/cm-bf548/video.c b/board/cm-bf548/video.c
index d43f5a1..c501697 100644
--- a/board/cm-bf548/video.c
+++ b/board/cm-bf548/video.c
@@ -225,6 +225,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())