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:
committed by
Julius Werner
parent
7f0d3de251
commit
9a446bdf07
@@ -154,6 +154,7 @@
|
|||||||
- Stout (Lenovo Thinkpad X131e Chromebook)
|
- Stout (Lenovo Thinkpad X131e Chromebook)
|
||||||
- Bubs
|
- Bubs
|
||||||
- Coachz
|
- Coachz
|
||||||
|
- Homestar
|
||||||
- Lazor
|
- Lazor
|
||||||
- Pompom
|
- Pompom
|
||||||
- Trogdor
|
- Trogdor
|
||||||
|
@@ -58,6 +58,7 @@ config MAINBOARD_PART_NUMBER
|
|||||||
string
|
string
|
||||||
default "Bubs" if BOARD_GOOGLE_BUBS
|
default "Bubs" if BOARD_GOOGLE_BUBS
|
||||||
default "Coachz" if BOARD_GOOGLE_COACHZ
|
default "Coachz" if BOARD_GOOGLE_COACHZ
|
||||||
|
default "Homestar" if BOARD_GOOGLE_HOMESTAR
|
||||||
default "Lazor" if BOARD_GOOGLE_LAZOR
|
default "Lazor" if BOARD_GOOGLE_LAZOR
|
||||||
default "Pompom" if BOARD_GOOGLE_POMPOM
|
default "Pompom" if BOARD_GOOGLE_POMPOM
|
||||||
default "Trogdor" if BOARD_GOOGLE_TROGDOR
|
default "Trogdor" if BOARD_GOOGLE_TROGDOR
|
||||||
|
@@ -10,6 +10,10 @@ config BOARD_GOOGLE_COACHZ
|
|||||||
bool "-> Coachz"
|
bool "-> Coachz"
|
||||||
select BOARD_GOOGLE_TROGDOR_COMMON
|
select BOARD_GOOGLE_TROGDOR_COMMON
|
||||||
|
|
||||||
|
config BOARD_GOOGLE_HOMESTAR
|
||||||
|
bool "-> Homestar"
|
||||||
|
select BOARD_GOOGLE_TROGDOR_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_LAZOR
|
config BOARD_GOOGLE_LAZOR
|
||||||
bool "-> Lazor"
|
bool "-> Lazor"
|
||||||
select BOARD_GOOGLE_TROGDOR_COMMON
|
select BOARD_GOOGLE_TROGDOR_COMMON
|
||||||
|
@@ -18,8 +18,9 @@
|
|||||||
#define GPIO_BACKLIGHT_ENABLE GPIO(12)
|
#define GPIO_BACKLIGHT_ENABLE GPIO(12)
|
||||||
#define GPIO_EDP_BRIDGE_ENABLE (CONFIG(TROGDOR_REV0) ? GPIO(14) : GPIO(104))
|
#define GPIO_EDP_BRIDGE_ENABLE (CONFIG(TROGDOR_REV0) ? GPIO(14) : GPIO(104))
|
||||||
#define GPIO_EN_PP3300_DX_EDP (CONFIG(TROGDOR_REV0) ? GPIO(106) : \
|
#define GPIO_EN_PP3300_DX_EDP (CONFIG(TROGDOR_REV0) ? GPIO(106) : \
|
||||||
(CONFIG(BOARD_GOOGLE_COACHZ) ? (board_id() == 0 ? GPIO(52) : \
|
(CONFIG(BOARD_GOOGLE_COACHZ) && board_id() == 0 ? GPIO(52) : \
|
||||||
GPIO(67)) : GPIO(30)))
|
(CONFIG(BOARD_GOOGLE_LAZOR) || CONFIG(BOARD_GOOGLE_POMPOM) ? GPIO(30) : \
|
||||||
|
GPIO(67))))
|
||||||
|
|
||||||
/* Fingerprint-specific GPIOs. Only for fingerprint-enabled devices (e.g. CoachZ). */
|
/* Fingerprint-specific GPIOs. Only for fingerprint-enabled devices (e.g. CoachZ). */
|
||||||
#if CONFIG(TROGDOR_HAS_FINGERPRINT)
|
#if CONFIG(TROGDOR_HAS_FINGERPRINT)
|
||||||
|
Reference in New Issue
Block a user