]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/ipu_pixfmt.h
MX5: Make IPU display output and pixel format configurable
[karo-tx-uboot.git] / include / ipu_pixfmt.h
index 0497bff2d2bc2b8e82c63ade57623040547b5cce..656f605462ea66031e1247be7cd28cc8782fcf3f 100644 (file)
@@ -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