From 4c0cea2147330560a0a4301810d149e19daeba06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Thu, 17 Sep 2020 23:07:27 +0200 Subject: [PATCH] mb/system76/lemp9: convert inverted SCI/SMI macros to _LOW macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45488 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/mainboard/system76/lemp9/gpio.h | 6 +++--- 1 file 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