diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2020-10-19 12:31:21 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-10-21 07:16:01 +0000 |
commit | f50ea988b09e7201e129848ab64e6e0e69bf56c4 (patch) | |
tree | e7cf17631d7c3cd41fa3c68a4c578d4ee7e36b8a /src/mainboard/intel/cedarisland_crb/include/gpio.h | |
parent | dadcbfbe8c682c89b277fdbdfdd26cabd15fc20a (diff) |
soc/intel,mb/*: get rid of legacy pad macros
Get rid of legacy pad macros by replacing them with their newer
equivalents.
TEST: TIMELESS-built board images match
Change-Id: I078f9bb3c78f642afc6dcfd64d77be823a4485c2
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46567
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/intel/cedarisland_crb/include/gpio.h')
-rw-r--r-- | src/mainboard/intel/cedarisland_crb/include/gpio.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/intel/cedarisland_crb/include/gpio.h b/src/mainboard/intel/cedarisland_crb/include/gpio.h index cd15fed084..da2175d669 100644 --- a/src/mainboard/intel/cedarisland_crb/include/gpio.h +++ b/src/mainboard/intel/cedarisland_crb/include/gpio.h @@ -12,15 +12,15 @@ static const struct pad_config gpio_table[] = { /* GPP_A0 - ESPI_ALERT1# */ PAD_CFG_NF(GPP_A0, NONE, DEEP, NF3), /* GPP_A1 - ESPI_IO0 */ - PAD_CFG_NF(GPP_A1, 20K_PU, DEEP, NF3), + PAD_CFG_NF(GPP_A1, UP_20K, DEEP, NF3), /* GPP_A2 - ESPI_IO1 */ - PAD_CFG_NF(GPP_A2, 20K_PU, DEEP, NF3), + PAD_CFG_NF(GPP_A2, UP_20K, DEEP, NF3), /* GPP_A3 - ESPI_IO2 */ - PAD_CFG_NF(GPP_A3, 20K_PU, DEEP, NF3), + PAD_CFG_NF(GPP_A3, UP_20K, DEEP, NF3), /* GPP_A4 - ESPI_IO3 */ - PAD_CFG_NF(GPP_A4, 20K_PU, DEEP, NF3), + PAD_CFG_NF(GPP_A4, UP_20K, DEEP, NF3), /* GPP_A5 - ESPI_CS0# */ - PAD_CFG_NF(GPP_A5, 20K_PU, DEEP, NF3), + PAD_CFG_NF(GPP_A5, UP_20K, DEEP, NF3), /* GPP_A6 - ESPI_CS1# */ PAD_CFG_NF(GPP_A6, NONE, DEEP, NF3), /* GPP_A7 - ESPI_ALERT0# */ @@ -28,7 +28,7 @@ static const struct pad_config gpio_table[] = { /* GPP_A8 - CLKRUN# */ PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1), /* GPP_A9 - ESPI_CLK */ - PAD_CFG_NF(GPP_A9, 20K_PD, DEEP, NF3), + PAD_CFG_NF(GPP_A9, DN_20K, DEEP, NF3), /* GPP_A10 - CLKOUT_LPC1 */ PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1), /* GPP_A11 - GPIO */ |