aboutsummaryrefslogtreecommitdiff
path: root/include/configs/pico-imx7d.h
diff options
context:
space:
mode:
authorFabio Estevam2018-12-11 16:40:38 -0200
committerStefano Babic2019-01-28 12:53:48 +0100
commit9e3c0174da842dd88f5feaffbf843ba332233897 (patch)
tree456c60073e2f5d72f1c9ac7935e84fa7070c7191 /include/configs/pico-imx7d.h
parentbab289cbe993c1ee26a6301e7019c3078b60393a (diff)
pico-imx7d: Add LCD support
Add support for the VXT VL050-8048NT-C01 panel connected through the 24 bit parallel LCDIF interface. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs/pico-imx7d.h')
-rw-r--r--include/configs/pico-imx7d.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index 1884c5844de..0f6d6b78945 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -64,10 +64,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"script=boot.scr\0" \
"image=zImage\0" \
+ "splashpos=m,m\0" \
"console=ttymxc4\0" \
"fdt_high=0xffffffff\0" \
"initrd_high=0xffffffff\0" \
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
+ "videomode=video=ctfb:x:800,y:480,depth:24,mode:0,pclk:30000,le:46,ri:210,up:22,lo:23,hs:20,vs:10,sync:0,vmode:0\0" \
BOOTMENU_ENV \
"fdt_addr=0x83000000\0" \
"fdt_addr_r=0x83000000\0" \
@@ -131,6 +133,16 @@
#define CONFIG_POWER_PFUZE3000
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
+#ifdef CONFIG_VIDEO
+#define CONFIG_VIDEO_MXS
+#define CONFIG_VIDEO_LOGO
+#define CONFIG_SPLASH_SCREEN
+#define CONFIG_SPLASH_SCREEN_ALIGN
+#define CONFIG_BMP_16BPP
+#define CONFIG_VIDEO_BMP_RLE8
+#define CONFIG_VIDEO_BMP_LOGO
+#endif
+
/* FLASH and environment organization */
#define CONFIG_ENV_SIZE SZ_8K