summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/trogdor/Kconfig1
-rw-r--r--src/mainboard/google/trogdor/Kconfig.name4
-rw-r--r--src/mainboard/google/trogdor/board.h5
3 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/google/trogdor/Kconfig b/src/mainboard/google/trogdor/Kconfig
index dd9c4a6b35..0e1c0a3d92 100644
--- a/src/mainboard/google/trogdor/Kconfig
+++ b/src/mainboard/google/trogdor/Kconfig
@@ -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
diff --git a/src/mainboard/google/trogdor/Kconfig.name b/src/mainboard/google/trogdor/Kconfig.name
index 174c795d87..ae5731542c 100644
--- a/src/mainboard/google/trogdor/Kconfig.name
+++ b/src/mainboard/google/trogdor/Kconfig.name
@@ -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
diff --git a/src/mainboard/google/trogdor/board.h b/src/mainboard/google/trogdor/board.h
index 4dc5010e34..fb0852bcd2 100644
--- a/src/mainboard/google/trogdor/board.h
+++ b/src/mainboard/google/trogdor/board.h
@@ -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)