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>
This commit is contained in:
parent
555c3b1d9b
commit
4c0cea2147
|
@ -279,7 +279,7 @@ static const struct pad_config gpio_table[] = {
|
||||||
|
|
||||||
// GSPI2
|
// GSPI2
|
||||||
// EC SWI#
|
// 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)
|
// DDR_TYPE_D10 (unused; there is only one on-board ram type/model)
|
||||||
PAD_NC(GPP_D10, NONE),
|
PAD_NC(GPP_D10, NONE),
|
||||||
// BOARD_ID (unused in cb; we already know the device model)
|
// 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
|
// DDPC_HPD1 / HDMI_HPD
|
||||||
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),
|
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),
|
||||||
// EC SMI#
|
// 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#
|
// EC SCI#
|
||||||
PAD_CFG_GPI_SCI(GPP_E16, NONE, PLTRST, LEVEL, INVERT),
|
PAD_CFG_GPI_SCI_LOW(GPP_E16, NONE, PLTRST, LEVEL),
|
||||||
// EDP_HPD
|
// EDP_HPD
|
||||||
PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1),
|
PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1),
|
||||||
// NC
|
// NC
|
||||||
|
|
Loading…
Reference in New Issue