siemens/mc_tcu3: Don't try to init unsupported panel type

The LCD panel type is read using 4 GPIOs. Of these 16 possible
combinations only 5 are supported right now. If the GPIO setting encodes
an unsupported panel type, there will be no matching hwinfo.hex in cbfs.
Therefore it makes no sense to try to initialize the DisplayPort-2-LVDS
converter. Leave the function instead in this case.

Change-Id: If8c67a3f5be762758d516c4939dd1de4ff1c8ba5
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/14743
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
Werner Zeh 2016-05-09 08:14:45 +02:00
parent 53052fe5ee
commit 70ca32e0ba
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ int setup_lcd_panel(void)
break; break;
default: default:
printk(BIOS_ERR, "LCD: No supported panel found.\n"); printk(BIOS_ERR, "LCD: No supported panel found.\n");
return 1;
break; break;
} }