From 2b9996613ce00048964b9146ffd007bc1ec6a9d8 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 25e6204b37..33292bb8db 100644 --- a/include/configs/tx53.h +++ b/include/configs/tx53.h @@ -104,6 +104,11 @@ #define CONFIG_SYS_LOAD_ADDR _pfx(0x, CONFIG_LOADADDR) #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 @@ -141,7 +146,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