mb/google/corsola: Enable ps8640 for steelix

Currently, the display does not work in steelix. Steelix uses ps8640
eDP bridge IC, which is different from its reference board kingler.
So we should enable ps8640 for steelix.

BUG=b:232195941
TEST=firmware bootsplash is shown on eDP panel of steelix.

Change-Id: I8c6310794c89fc8aa0e69e114c1f7ebd5479c549
Signed-off-by: Zanxi Chen <chenzanxi@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64790
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: wen zhang <zhangwen6@huaqin.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Zanxi Chen 2022-05-30 17:08:26 +08:00 committed by Yu-Ping Wu
parent ae1e702e7b
commit 097b9dd8e3
2 changed files with 6 additions and 6 deletions

View File

@ -38,8 +38,8 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_TPM2 if VBOOT
select MAINBOARD_HAS_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
select DRIVER_ANALOGIX_ANX7625
select DRIVER_PARADE_PS8640
select DRIVER_ANALOGIX_ANX7625 if BOARD_GOOGLE_KINGLER
select DRIVER_PARADE_PS8640 if BOARD_GOOGLE_KRABBY || BOARD_GOOGLE_STEELIX
select RTC
config MAINBOARD_DIR

View File

@ -122,8 +122,8 @@ static const struct edp_bridge ps8640_bridge = {
.post_power_on = bridge_ps8640_post_power_on,
};
_Static_assert(CONFIG(BOARD_GOOGLE_KINGLER_COMMON) + CONFIG(BOARD_GOOGLE_KRABBY_COMMON) == 1,
"Exactly one of KINGLER and KRABBY must be set");
_Static_assert(CONFIG(DRIVER_ANALOGIX_ANX7625) + CONFIG(DRIVER_PARADE_PS8640) == 1,
"Exactly one of ANX7625 and PS8640 must be set");
int configure_display(void)
{
@ -131,9 +131,9 @@ int configure_display(void)
const u8 i2c_bus = I2C0;
const struct edp_bridge *bridge;
if (CONFIG(BOARD_GOOGLE_KINGLER_COMMON))
if (CONFIG(DRIVER_ANALOGIX_ANX7625))
bridge = &anx7625_bridge;
else /* BOARD_GOOGLE_KRABBY_COMMON */
else if (CONFIG(DRIVER_PARADE_PS8640))
bridge = &ps8640_bridge;
printk(BIOS_INFO, "%s: Starting display init\n", __func__);