summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-09-17 23:07:27 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-22 17:35:18 +0000
commit4c0cea2147330560a0a4301810d149e19daeba06 (patch)
treead2b550ae1c6b033208f4ff414e3449ebb0ec487 /src/mainboard
parent555c3b1d9b05033be0e49ec62fba43536efd410f (diff)
mb/system76/lemp9: convert inverted SCI/SMI macros to _LOW macro
Convert PAD_CFG_GPI_S*I(..., INVERT) to PAD_CFG_GPI_S*I_LOW(...), which is better understandable. Change-Id: I147c82d738623bff54122ad5ef8ece028c562cab Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45488 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/system76/lemp9/gpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/system76/lemp9/gpio.h b/src/mainboard/system76/lemp9/gpio.h
index 37e358e35b..b813945b54 100644
--- a/src/mainboard/system76/lemp9/gpio.h
+++ b/src/mainboard/system76/lemp9/gpio.h
@@ -279,7 +279,7 @@ static const struct pad_config gpio_table[] = {
// GSPI2
// EC SWI#
- PAD_CFG_GPI_SCI(GPP_D9, NONE, DEEP, LEVEL, INVERT),
+ PAD_CFG_GPI_SCI_LOW(GPP_D9, NONE, DEEP, LEVEL),
// DDR_TYPE_D10 (unused; there is only one on-board ram type/model)
PAD_NC(GPP_D10, NONE),
// BOARD_ID (unused in cb; we already know the device model)
@@ -362,9 +362,9 @@ static const struct pad_config gpio_table[] = {
// DDPC_HPD1 / HDMI_HPD
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),
// EC SMI#
- PAD_CFG_GPI_SMI(GPP_E15, NONE, DEEP, EDGE_SINGLE, INVERT),
+ PAD_CFG_GPI_SMI_LOW(GPP_E15, NONE, DEEP, EDGE_SINGLE),
// EC SCI#
- PAD_CFG_GPI_SCI(GPP_E16, NONE, PLTRST, LEVEL, INVERT),
+ PAD_CFG_GPI_SCI_LOW(GPP_E16, NONE, PLTRST, LEVEL),
// EDP_HPD
PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1),
// NC