From 824688a0729dd0bdab99a8f164c287a59fd2aae2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Thu, 30 Oct 2014 10:12:27 +0100 Subject: [PATCH] karo: tx6: set default video_mode depending on LVDS/LCD module variant --- include/configs/tx6.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/configs/tx6.h b/include/configs/tx6.h index de2d343c28..edac24911c 100644 --- a/include/configs/tx6.h +++ b/include/configs/tx6.h @@ -130,6 +130,11 @@ #define CONFIG_SYS_FDT_ADDR _pfx(0x, CONFIG_FDTADDR) #define CONFIG_IMX_WATCHDOG #define CONFIG_WATCHDOG_TIMEOUT_MSECS 3000 +#ifndef CONFIG_SYS_LVDS_IF +#define DEFAULT_VIDEO_MODE "VGA" +#else +#define DEFAULT_VIDEO_MODE "HSD100PXN1" +#endif /* * Extra Environments @@ -176,7 +181,7 @@ "otg_mode=device\0" \ ROOTPART_UUID_STR \ "touchpanel=tsc2007\0" \ - "video_mode=VGA\0" + "video_mode=" DEFAULT_VIDEO_MODE "\0" #endif /* CONFIG_ENV_IS_NOWHERE */ #endif /* CONFIG_MFG */ -- 2.39.2