mb/google/trogdor: Add new configs homestar

New boards introduced to trogodor family.

BUG=b:180668002
BRANCH=none
TEST=make

Signed-off-by: xuxinxiong <xuxinxiong@huaqin.corp-partner.google.com>
Change-Id: If0f9b6c89198a882acae7191d08b166eb8c1dd71
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51004
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
xuxinxiong 2021-02-19 13:54:13 +08:00 committed by Julius Werner
parent 7f0d3de251
commit 9a446bdf07
4 changed files with 9 additions and 2 deletions

View File

@ -154,6 +154,7 @@
- Stout (Lenovo Thinkpad X131e Chromebook)
- Bubs
- Coachz
- Homestar
- Lazor
- Pompom
- Trogdor

View File

@ -58,6 +58,7 @@ config MAINBOARD_PART_NUMBER
string
default "Bubs" if BOARD_GOOGLE_BUBS
default "Coachz" if BOARD_GOOGLE_COACHZ
default "Homestar" if BOARD_GOOGLE_HOMESTAR
default "Lazor" if BOARD_GOOGLE_LAZOR
default "Pompom" if BOARD_GOOGLE_POMPOM
default "Trogdor" if BOARD_GOOGLE_TROGDOR

View File

@ -10,6 +10,10 @@ config BOARD_GOOGLE_COACHZ
bool "-> Coachz"
select BOARD_GOOGLE_TROGDOR_COMMON
config BOARD_GOOGLE_HOMESTAR
bool "-> Homestar"
select BOARD_GOOGLE_TROGDOR_COMMON
config BOARD_GOOGLE_LAZOR
bool "-> Lazor"
select BOARD_GOOGLE_TROGDOR_COMMON

View File

@ -18,8 +18,9 @@
#define GPIO_BACKLIGHT_ENABLE GPIO(12)
#define GPIO_EDP_BRIDGE_ENABLE (CONFIG(TROGDOR_REV0) ? GPIO(14) : GPIO(104))
#define GPIO_EN_PP3300_DX_EDP (CONFIG(TROGDOR_REV0) ? GPIO(106) : \
(CONFIG(BOARD_GOOGLE_COACHZ) ? (board_id() == 0 ? GPIO(52) : \
GPIO(67)) : GPIO(30)))
(CONFIG(BOARD_GOOGLE_COACHZ) && board_id() == 0 ? GPIO(52) : \
(CONFIG(BOARD_GOOGLE_LAZOR) || CONFIG(BOARD_GOOGLE_POMPOM) ? GPIO(30) : \
GPIO(67))))
/* Fingerprint-specific GPIOs. Only for fingerprint-enabled devices (e.g. CoachZ). */
#if CONFIG(TROGDOR_HAS_FINGERPRINT)