soc/intel/common: gpio_defs: set trig to disable in PAD_NC
There is no need to change the default value for the RX Level/Edge Configuration parameter if the pad is not used/connected (PAD_NC) Change-Id: Ie7eee83fba9320d52240166371fe0c757dbdce49 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34843 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
cb3e16f287
commit
8981c809e8
|
@ -289,11 +289,11 @@
|
|||
/*
|
||||
* No Connect configuration for unused pad.
|
||||
* Both TX and RX are disabled. RX disabling is done to avoid unnecessary
|
||||
* setting of GPI_STS.
|
||||
* setting of GPI_STS. RX Level/Edge Trig Configuration set to disable
|
||||
*/
|
||||
#define PAD_NC(pad, pull) \
|
||||
_PAD_CFG_STRUCT(pad, \
|
||||
PAD_FUNC(GPIO) | PAD_RESET(DEEP) | \
|
||||
PAD_FUNC(GPIO) | PAD_RESET(DEEP) | PAD_CFG0_TRIG_OFF | \
|
||||
PAD_CFG0_TX_DISABLE | PAD_CFG0_RX_DISABLE, \
|
||||
PAD_PULL(pull) | PAD_IOSSTATE(TxDRxE))
|
||||
|
||||
|
|
Loading…
Reference in New Issue