From e1d7d8464cb8503201bdcfb9dd02cb779e5a4417 Mon Sep 17 00:00:00 2001 From: yuanliding Date: Fri, 27 Nov 2020 11:01:23 +0800 Subject: [PATCH] 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 Change-Id: I32a721d0d725bf217debe35a5cdc01aa8f5d5daf Reviewed-on: https://review.coreboot.org/c/coreboot/+/48224 Tested-by: build bot (Jenkins) Reviewed-by: Shelley Chen --- src/mainboard/google/trogdor/board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);