mb/google/corsola: Add new board 'Chinchou'
Add a new Krabby follower 'Chinchou'. BUG=b:307161347 TEST=make # select Chinchou Change-Id: Ic90f85621598ab253d3ec9fe44aa076712248223 Signed-off-by: wuyang5 <wuyang5@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78596 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
66df100930
commit
b621e08ed4
|
@ -21,8 +21,6 @@ config BOARD_GOOGLE_CORSOLA_COMMON
|
||||||
select MAINBOARD_HAS_TPM2 if VBOOT
|
select MAINBOARD_HAS_TPM2 if VBOOT
|
||||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||||
select HAVE_LINEAR_FRAMEBUFFER
|
select HAVE_LINEAR_FRAMEBUFFER
|
||||||
select DRIVER_ANALOGIX_ANX7625
|
|
||||||
select DRIVER_PARADE_PS8640
|
|
||||||
select RTC
|
select RTC
|
||||||
|
|
||||||
config BOARD_GOOGLE_KINGLER_COMMON
|
config BOARD_GOOGLE_KINGLER_COMMON
|
||||||
|
@ -39,24 +37,36 @@ config BOARD_GOOGLE_STARYU_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_KINGLER
|
config BOARD_GOOGLE_KINGLER
|
||||||
select BOARD_GOOGLE_KINGLER_COMMON
|
select BOARD_GOOGLE_KINGLER_COMMON
|
||||||
|
select DRIVER_ANALOGIX_ANX7625
|
||||||
|
|
||||||
config BOARD_GOOGLE_PONYTA
|
config BOARD_GOOGLE_PONYTA
|
||||||
select BOARD_GOOGLE_KINGLER_COMMON
|
select BOARD_GOOGLE_KINGLER_COMMON
|
||||||
|
select DRIVER_ANALOGIX_ANX7625
|
||||||
|
|
||||||
config BOARD_GOOGLE_STEELIX
|
config BOARD_GOOGLE_STEELIX
|
||||||
select BOARD_GOOGLE_KINGLER_COMMON
|
select BOARD_GOOGLE_KINGLER_COMMON
|
||||||
|
select DRIVER_ANALOGIX_ANX7625
|
||||||
|
select DRIVER_PARADE_PS8640
|
||||||
|
|
||||||
config BOARD_GOOGLE_VOLTORB
|
config BOARD_GOOGLE_VOLTORB
|
||||||
select BOARD_GOOGLE_KINGLER_COMMON
|
select BOARD_GOOGLE_KINGLER_COMMON
|
||||||
|
select DRIVER_ANALOGIX_ANX7625
|
||||||
|
|
||||||
config BOARD_GOOGLE_KRABBY
|
config BOARD_GOOGLE_KRABBY
|
||||||
select BOARD_GOOGLE_KRABBY_COMMON
|
select BOARD_GOOGLE_KRABBY_COMMON
|
||||||
|
select DRIVER_PARADE_PS8640
|
||||||
|
|
||||||
|
config BOARD_GOOGLE_CHINCHOU
|
||||||
|
select BOARD_GOOGLE_KRABBY_COMMON
|
||||||
|
select DRIVER_ANALOGIX_ANX7625
|
||||||
|
|
||||||
config BOARD_GOOGLE_TENTACRUEL
|
config BOARD_GOOGLE_TENTACRUEL
|
||||||
select BOARD_GOOGLE_KRABBY_COMMON
|
select BOARD_GOOGLE_KRABBY_COMMON
|
||||||
|
select DRIVER_PARADE_PS8640
|
||||||
|
|
||||||
config BOARD_GOOGLE_MAGIKARP
|
config BOARD_GOOGLE_MAGIKARP
|
||||||
select BOARD_GOOGLE_KRABBY_COMMON
|
select BOARD_GOOGLE_KRABBY_COMMON
|
||||||
|
select DRIVER_PARADE_PS8640
|
||||||
|
|
||||||
config BOARD_GOOGLE_STARMIE
|
config BOARD_GOOGLE_STARMIE
|
||||||
select BOARD_GOOGLE_STARYU_COMMON
|
select BOARD_GOOGLE_STARYU_COMMON
|
||||||
|
@ -83,6 +93,7 @@ config MAINBOARD_PART_NUMBER
|
||||||
default "Voltorb" if BOARD_GOOGLE_VOLTORB
|
default "Voltorb" if BOARD_GOOGLE_VOLTORB
|
||||||
default "Starmie" if BOARD_GOOGLE_STARMIE
|
default "Starmie" if BOARD_GOOGLE_STARMIE
|
||||||
default "Ponyta" if BOARD_GOOGLE_PONYTA
|
default "Ponyta" if BOARD_GOOGLE_PONYTA
|
||||||
|
default "Chinchou" if BOARD_GOOGLE_CHINCHOU
|
||||||
|
|
||||||
config BOOT_DEVICE_SPI_FLASH_BUS
|
config BOOT_DEVICE_SPI_FLASH_BUS
|
||||||
int
|
int
|
||||||
|
|
|
@ -23,6 +23,9 @@ config BOARD_GOOGLE_TENTACRUEL
|
||||||
config BOARD_GOOGLE_MAGIKARP
|
config BOARD_GOOGLE_MAGIKARP
|
||||||
bool "-> Magikarp"
|
bool "-> Magikarp"
|
||||||
|
|
||||||
|
config BOARD_GOOGLE_CHINCHOU
|
||||||
|
bool "-> Chinchou"
|
||||||
|
|
||||||
comment "Staryu"
|
comment "Staryu"
|
||||||
|
|
||||||
config BOARD_GOOGLE_STARMIE
|
config BOARD_GOOGLE_STARMIE
|
||||||
|
|
|
@ -63,17 +63,18 @@ struct panel_description *get_panel_from_cbfs(struct panel_description *desc)
|
||||||
|
|
||||||
static struct panel_description *get_active_panel(void)
|
static struct panel_description *get_active_panel(void)
|
||||||
{
|
{
|
||||||
if (CONFIG(BOARD_GOOGLE_KINGLER_COMMON))
|
/* Board-specific exceptions */
|
||||||
if (CONFIG(BOARD_GOOGLE_STEELIX) && board_id() < 2)
|
if (CONFIG(BOARD_GOOGLE_STEELIX) && board_id() < 2) /* Early builds use PS8640 */
|
||||||
return get_ps8640_description();
|
|
||||||
else
|
|
||||||
return get_anx7625_description();
|
|
||||||
else if (CONFIG(BOARD_GOOGLE_KRABBY_COMMON))
|
|
||||||
return get_ps8640_description();
|
return get_ps8640_description();
|
||||||
else if (CONFIG(BOARD_GOOGLE_STARYU_COMMON))
|
|
||||||
return get_panel_description();
|
if (CONFIG(DRIVER_ANALOGIX_ANX7625))
|
||||||
else
|
return get_anx7625_description();
|
||||||
return NULL;
|
|
||||||
|
if (CONFIG(DRIVER_PARADE_PS8640))
|
||||||
|
return get_ps8640_description();
|
||||||
|
|
||||||
|
/* MIPI panels */
|
||||||
|
return get_panel_description();
|
||||||
}
|
}
|
||||||
|
|
||||||
int configure_display(void)
|
int configure_display(void)
|
||||||
|
|
Loading…
Reference in New Issue