diff options
author | yuanliding <yuanliding@huaqin.corp-partner.google.com> | 2020-11-27 11:01:23 +0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-12-04 20:53:57 +0000 |
commit | e1d7d8464cb8503201bdcfb9dd02cb779e5a4417 (patch) | |
tree | 6e4ecd09aee39f908a1816fdaa28ca5a7d38b807 | |
parent | 9ddd9002cc03c7b50689b80ef6b7a97e9d48fbeb (diff) |
Coachz: change EN_PP3300_DX_EDP from gpio52 to gpio67
Coachz rev1 has changed EN_PP3300_DX_EDP from gpio52 to gpio67.
BRANCH=none
BUG=b:174123578
TEST=emerge-strongbad coreboot chromeos-bootimage.
flash coreboot and boot up normally.
Signed-off-by: yuanliding <yuanliding@huaqin.corp-partner.google.com>
Change-Id: I32a721d0d725bf217debe35a5cdc01aa8f5d5daf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48224
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
-rw-r--r-- | src/mainboard/google/trogdor/board.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/trogdor/board.h b/src/mainboard/google/trogdor/board.h index 4d38378aa0..ebce3b56c5 100644 --- a/src/mainboard/google/trogdor/board.h +++ b/src/mainboard/google/trogdor/board.h @@ -17,7 +17,8 @@ #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) ? GPIO(52) : GPIO(30))) + (CONFIG(BOARD_GOOGLE_COACHZ) ? (board_id() == 0 ? GPIO(52) : \ + GPIO(67)) : GPIO(30))) void setup_chromeos_gpios(void); |