summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleksii Bidnichenko <oleksii.bidnichenko@toradex.com>2021-08-30 17:21:54 +0300
committerDenys Drozdov <denys.drozdov@toradex.com>2021-08-30 16:36:22 +0000
commitc3e1241862ffaeb2feab7719bf49dfd41607553e (patch)
tree1fc434deb14ab0b0625971347d73d34ffde102d7 /include
parenteb6c58cb014022d45a880c1eb9761e5d6ce623c0 (diff)
colibri-imx6ull: reset vidargs env variable
The "vidargs" variable is needed only if the board is not aware of the display that is connected to it. Since the EMMC version with the usage of overlays is able to specify display settings, such a variable becomes redundant. Related-to: ELB-4065
Diffstat (limited to 'include')
-rw-r--r--include/configs/colibri-imx6ull.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index a2f8d35f3a..d4bcfef98c 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -116,6 +116,12 @@
# define BOOT_SCRIPT "boot.scr"
#endif
+#if defined(CONFIG_TARGET_COLIBRI_IMX6ULL_EMMC)
+#define VIDARGS ""
+#else
+#define VIDARGS "video=mxsfb:640x480M-16@60"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
BOOTENV \
MEM_LAYOUT_ENV_SETTINGS \
@@ -146,7 +152,7 @@
"splashpos=m,m\0" \
"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
"videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0\0" \
- "vidargs=video=mxsfb:640x480M-16@60"
+ "vidargs=" VIDARGS
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR