From: Lothar Waßmann Date: Fri, 24 Oct 2014 10:30:25 +0000 (+0200) Subject: configs: tx53: set default video_mode depending on LVDS/LCD module variant X-Git-Tag: KARO-TX-2014-11-10~3 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=26c196e44241bb0a8e1215f0ba485561849b0d5c configs: tx53: set default video_mode depending on LVDS/LCD module variant --- 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