soc/intel/common/gpio_defs: Remove unused macro for NF
Since the bufdis parameter (bit 9:8 in Pad Configuration DW0 register) does not affect the pad in native function mode, PAD_CFG_NF_BUF_IOSSTATE_IOSTERM() macro is not required to configure the pad. This macro has not been used, so deleting it will not affect anything. Change-Id: Icce6f130308dbe7032b99539f73688bae8ac17e0 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42913 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
97b5b3b3ca
commit
06299a776f
|
@ -225,12 +225,6 @@
|
||||||
PAD_RESET(rst) | PAD_FUNC(func), PAD_PULL(pull) | \
|
PAD_RESET(rst) | PAD_FUNC(func), PAD_PULL(pull) | \
|
||||||
PAD_IOSSTATE(iosstate) | PAD_IOSTERM(iosterm))
|
PAD_IOSSTATE(iosstate) | PAD_IOSTERM(iosterm))
|
||||||
|
|
||||||
/* Configure native function, iosstate, iosterm and disable input/output buffer */
|
|
||||||
#define PAD_CFG_NF_BUF_IOSSTATE_IOSTERM(pad, pull, rst, func, bufdis, iosstate, iosterm) \
|
|
||||||
_PAD_CFG_STRUCT(pad, \
|
|
||||||
PAD_RESET(rst) | PAD_BUF(bufdis) | PAD_FUNC(func), \
|
|
||||||
PAD_PULL(pull) | PAD_IOSSTATE(iosstate) | PAD_IOSTERM(iosterm))
|
|
||||||
|
|
||||||
/* General purpose output, no pullup/down. */
|
/* General purpose output, no pullup/down. */
|
||||||
#define PAD_CFG_GPO(pad, val, rst) \
|
#define PAD_CFG_GPO(pad, val, rst) \
|
||||||
_PAD_CFG_STRUCT(pad, \
|
_PAD_CFG_STRUCT(pad, \
|
||||||
|
|
Loading…
Reference in New Issue