Maxim Polyakov has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42919 )
Change subject: mb/supermicro/x11-lga1151: 5/5 Rewrite pad config using intelp2m ......................................................................
mb/supermicro/x11-lga1151: 5/5 Rewrite pad config using intelp2m
Take into account the remapping of reset sources [1] for the Sunrice Point PCH, to fix Reset Config fields (bit 31:30) in the corresponding macros. The intelp2m utility does this remapping automatically, but these changes in a separate patch to pay attention to them.
[1] src/soc/intel/skylake/gpio.c#n9
Change-Id: I388d39ca8314de60610588223d024e1bb1681264 Signed-off-by: Maxim Polyakov max.senia.poliak@gmail.com --- M src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h M src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h 2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/42919/1
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h index d005d8b..114095a 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h +++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h @@ -284,7 +284,7 @@ PAD_CFG_GPO(GPP_D21, 0, DEEP),
/* GPP_D22 - GPIO */ - PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, PWROK, OFF, ACPI), + PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, RSMRST, OFF, ACPI),
/* GPP_D23 - GPIO */ PAD_NC(GPP_D23, NONE), @@ -398,7 +398,7 @@ PAD_NC(GPP_F22, NONE),
/* GPP_F23 - GPIO */ - PAD_CFG_GPO(GPP_F23, 0, PWROK), + PAD_CFG_GPO(GPP_F23, 0, RSMRST),
/* GPP_G0 - GPIO */ PAD_CFG_GPI_TRIG_OWN(GPP_G0, NONE, DEEP, OFF, ACPI), diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h index 4f16424..df13a21 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h +++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h @@ -298,7 +298,7 @@ PAD_CFG_GPO_GPIO_DRIVER(GPP_D21, 0, DEEP, NONE),
/* GPP_D22 - GPIO */ - PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, PWROK, OFF, DRIVER), + PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, RSMRST, OFF, DRIVER),
/* GPP_D23 - GPIO */ PAD_NC(GPP_D23, NONE), @@ -416,7 +416,7 @@ PAD_NC(GPP_F22, NONE),
/* GPP_F23 - GPIO */ - PAD_CFG_GPO_GPIO_DRIVER(GPP_F23, 0, PWROK, NONE), + PAD_CFG_GPO_GPIO_DRIVER(GPP_F23, 0, RSMRST, NONE),
/* GPIO Group GPP_G */