From 26c196e44241bb0a8e1215f0ba485561849b0d5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 24 Oct 2014 12:30:25 +0200 Subject: [PATCH] configs: tx53: set default video_mode depending on LVDS/LCD module variant --- include/configs/tx53.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/configs/tx53.h b/include/configs/tx53.h index 098b46d29f..248776dd41 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -106,6 +106,11 @@ #define CONFIG_SYS_FDT_ADDR _pfx(0x, CONFIG_FDTADDR) #define CONFIG_U_BOOT_IMG_SIZE SZ_1M #define CONFIG_HW_WATCHDOG +#ifndef CONFIG_SYS_LVDS_IF +#define DEFAULT_VIDEO_MODE "VGA" +#else +#define DEFAULT_VIDEO_MODE "HSD100PXN1" +#endif /* * Extra Environment Settings @@ -143,7 +148,7 @@ "nfsroot=/tftpboot/rootfs\0" \ "otg_mode=device\0" \ "touchpanel=tsc2007\0" \ - "video_mode=VGA\0" + "video_mode=" DEFAULT_VIDEO_MODE "\0" #define MTD_NAME "mxc_nand" #define MTDIDS_DEFAULT "nand0=" MTD_NAME -- 2.39.2