Add bootblock to set early GPIOs, set TBT GPIOs to match proprietary BIOS

This commit is contained in:
Jeremy Soller
2019-08-09 09:02:12 -06:00
parent 9784a2c677
commit adc9851e1f
5 changed files with 55 additions and 7 deletions

View File

@@ -107,17 +107,17 @@ static const struct pad_config gpio_table[] = {
// ISH
// TBTA_ACE_GPIO3
PAD_CFG_GPO(GPP_A18, 1, DEEP),
PAD_CFG_TERM_GPO(GPP_A18, 1, NONE, DEEP),
// SATA_PWR_EN
PAD_CFG_GPO(GPP_A19, 1, DEEP),
// TBTA_ACE_GPIO0
PAD_CFG_GPO(GPP_A20, 0, DEEP),
PAD_CFG_TERM_GPO(GPP_A20, 0, NONE, DEEP),
// TBT_FRC_PWR
PAD_CFG_GPO(GPP_A21, 0, DEEP),
PAD_CFG_TERM_GPO(GPP_A21, 1, DN_20K, PLTRST),
// PS8338B_SW
PAD_CFG_GPO(GPP_A22, 0, DEEP),
PAD_CFG_TERM_GPO(GPP_A22, 0, NONE, PWROK),
// PS8338B_PCH
PAD_CFG_GPO(GPP_A23, 0, DEEP),
PAD_CFG_TERM_GPO(GPP_A23, 0, NONE, PWROK),
// GPP_B
// CPU Power
@@ -217,7 +217,7 @@ static const struct pad_config gpio_table[] = {
// TBTA_ACE_GPIO2
PAD_CFG_NC(GPP_C12),
// TBCIO_PLUG_EVENT
_PAD_CFG_STRUCT(GPP_C13, 0x82880100, 0x0),
_PAD_CFG_STRUCT(GPP_C13, 0x82880100, 0x0000),
// TBTA_MRESET
PAD_CFG_NC(GPP_C14),
// TBTA_ACE_GPIO7
@@ -231,7 +231,7 @@ static const struct pad_config gpio_table[] = {
// NC
PAD_CFG_NC(GPP_C18),
// SWI#
_PAD_CFG_STRUCT(GPP_C19, 0x40880100, 0x0),
_PAD_CFG_STRUCT(GPP_C19, 0x40880100, 0x0000),
// UART2_RXD
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
// UART2_TXD