summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-06 00:25:03 +0200
committerWolfgang Denk <wd@denx.de>2011-10-17 22:25:32 +0200
commit711a6722f97d21404d04c7a36ccfdc6e2b442229 (patch)
treec4bfb00198bd7a4e31de960535892fa69f019928 /include
parent3d1d5e2379d4dd31a7637d16a35405358d44da3a (diff)
downloadu-boot-imx-711a6722f97d21404d04c7a36ccfdc6e2b442229.zip
u-boot-imx-711a6722f97d21404d04c7a36ccfdc6e2b442229.tar.gz
u-boot-imx-711a6722f97d21404d04c7a36ccfdc6e2b442229.tar.bz2
MX5: Make IPU display output and pixel format configurable
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Stefano Babic <sbabic@denx.de> Tested-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/ipu_pixfmt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h
index 0497bff..656f605 100644
--- a/include/ipu_pixfmt.h
+++ b/include/ipu_pixfmt.h
@@ -28,6 +28,9 @@
#ifndef __IPU_PIXFMT_H__
#define __IPU_PIXFMT_H__
+#include <linux/list.h>
+#include <linux/fb.h>
+
/* IPU Pixel format definitions */
#define fourcc(a, b, c, d)\
(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))
@@ -73,4 +76,6 @@
#define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */
#define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */
+int mx51_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt);
+
#endif