diff options
author | Rizwan Qureshi <rizwan.qureshi@intel.com> | 2019-04-01 22:37:31 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-04 10:38:38 +0000 |
commit | b866610156f88fdb0cbe96887d6ee84567aa521c (patch) | |
tree | 9c5b4729e41bd221443cbcb5a56291638093b23b /src/mainboard/google/hatch/variants/baseboard/gpio.c | |
parent | b4a403630698e480195e3996978f450a9aa88f6d (diff) | |
download | coreboot-b866610156f88fdb0cbe96887d6ee84567aa521c.tar.xz |
mb/google/hatch: Change the DEVSLP reset config to PLTRST
In S3 the PCH is driving the DEVSLP signal low, assuming that the SATA device
is already powered off. However on hatch the SATA power is still enabled. And,
since DEVSLP is low, this causes the SATA device to not enter low power state.
The fix here is to set the pad config to be reset on PLTRST assertion which
will cause the pin to be high impedance state and will be pulled up by the
SATA device.
BUG=b:126611255
BRANCH=None
TEST=Make sure that S3 and S0ix is working fine on hatch.
And also make sure that DEVSLP is pulled high in S3.
Change-Id: Ifb6a71a72244522c8dd8d48e9b9f8dc6feef8981
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32136
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/hatch/variants/baseboard/gpio.c')
-rw-r--r-- | src/mainboard/google/hatch/variants/baseboard/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/baseboard/gpio.c b/src/mainboard/google/hatch/variants/baseboard/gpio.c index 4d1c87e02e..0391dfecb0 100644 --- a/src/mainboard/google/hatch/variants/baseboard/gpio.c +++ b/src/mainboard/google/hatch/variants/baseboard/gpio.c @@ -241,7 +241,7 @@ static const struct pad_config gpio_table[] = { /* E4 : M2_SSD_PE_WAKE_ODL */ PAD_CFG_GPI(GPP_E4, NONE, DEEP), /* E5 : SATA_DEVSLP1 */ - PAD_CFG_NF(GPP_E5, NONE, DEEP, NF1), + PAD_CFG_NF(GPP_E5, NONE, PLTRST, NF1), /* E6 : M2_SSD_RST_L */ PAD_NC(GPP_E6, NONE), /* E7 : GPP_E7 ==> NC */ |