diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/devices_ccwmx53.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/devices_ccwmx53.c b/arch/arm/mach-mx5/devices_ccwmx53.c index 21981e933b7d..e764164db3f0 100644 --- a/arch/arm/mach-mx5/devices_ccwmx53.c +++ b/arch/arm/mach-mx5/devices_ccwmx53.c @@ -792,7 +792,9 @@ int __init ccwmx5x_init_fb(void) } else { /* Pass the video configuration as mode string */ pr_info("VGA: string %s", p); - if (!strcmp(p, "800x600")) { + if (!strcmp(p, "640x480")) { + strcpy(mx53_fb_data[i].mode_str, "VGA-VGA"); + } else if (!strcmp(p, "800x600")) { strcpy(mx53_fb_data[i].mode_str, "VGA-SVGA"); } else if (!strcmp(p, "1024x768")) { strcpy(mx53_fb_data[i].mode_str, "VGA-XGA"); |