projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: gem: Allow to set the MAC from an EEPROM
[oweals/u-boot.git]
/
board
/
bf533-stamp
/
video.c
diff --git
a/board/bf533-stamp/video.c
b/board/bf533-stamp/video.c
index 28ffa618fc6c5cb083140ffef2547aa7bcfb83dd..e9b9a9abdfdd5b60b74f0fd6cdad0f6d79354147 100644
(file)
--- a/
board/bf533-stamp/video.c
+++ b/
board/bf533-stamp/video.c
@@
-20,8
+20,6
@@
#include <linux/types.h>
#include <stdio_dev.h>
#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>
#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);
}
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;
int drv_video_init(void)
{
struct stdio_dev videodev;
@@
-160,8
+164,6
@@
int drv_video_init(void)
memset(&videodev, 0, sizeof(videodev));
strcpy(videodev.name, "video");
memset(&videodev, 0, sizeof(videodev));
strcpy(videodev.name, "video");
- videodev.ext = DEV_EXT_VIDEO;
- videodev.flags = DEV_FLAGS_SYSTEM;
return stdio_register(&videodev);
}
return stdio_register(&videodev);
}