diff options
author | Julius Werner <jwerner@chromium.org> | 2017-09-01 14:27:46 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-09-06 23:26:47 +0000 |
commit | 2be64048c1cc775c49d9179501e9c51dd307ba72 (patch) | |
tree | 6c90ce7cc65a2ca6e46dd0740a5a028343b117d3 /src/mainboard/google/gru/board.h | |
parent | 64df52e269d5ec2c04bd7b65381b21d6966326af (diff) | |
download | coreboot-2be64048c1cc775c49d9179501e9c51dd307ba72.tar.xz |
google/gru: Re-enable 3V rail GPIO on Scarlet
We've decided to move control for the 3.0V rail (technically 3.3V on
Scarlet, but who cares about millivolts) back to a GPIO on the AP for
Scarlet rev2. This patch adds the necessary code to enable it and make
ARM TF aware of its existence. Since the pin had previously not been
connected to anything, we shouldn't really need to guard this by board
ID... older Scarlets will just be twiddling an empty pin.
Change-Id: I6037aa486b50119f2c7b859b966cadc3686e3459
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/21328
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Schneider <dnschneid@chromium.org>
Diffstat (limited to 'src/mainboard/google/gru/board.h')
-rw-r--r-- | src/mainboard/google/gru/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/gru/board.h b/src/mainboard/google/gru/board.h index cc7581da65..7237d46d2c 100644 --- a/src/mainboard/google/gru/board.h +++ b/src/mainboard/google/gru/board.h @@ -30,7 +30,7 @@ #define GPIO_EC_IRQ GPIO(1, C, 2) #define GPIO_P15V_EN dead_code_t(gpio_t, "PP1500 doesn't exist on Scarlet") #define GPIO_P18V_AUDIO_PWREN dead_code_t(gpio_t, "doesn't exist on Scarlet") -#define GPIO_P30V_EN dead_code_t(gpio_t, "PP3000 doesn't exist on Scarlet") +#define GPIO_P30V_EN GPIO(0, B, 1) #define GPIO_TP_RST_L dead_code_t(gpio_t, "don't need TP_RST_L on Scarlet") #define GPIO_TPM_IRQ GPIO(1, C, 1) #define GPIO_WP GPIO(0, B, 5) |