soc/amd/common/block/include/gpio_defs: use bit definitions for masks
commite2f30b4e56fe87cc3354b18d1aa8b75c387365b4
authorFelix Held <felix-coreboot@felixheld.de>
Tue, 23 Nov 2021 09:19:28 +0000 (23 10:19 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 25 Nov 2021 11:07:36 +0000 (25 11:07 +0000)
tree3ca2aaee02a3bdc1d04ae68760fa7cbf7b0f3500
parent61ac5087121cf84af0195f0b678b964a7693c8df
soc/amd/common/block/include/gpio_defs: use bit definitions for masks

All bits covered by the bit masks GPIO_INT_ENABLE_MASK, GPIO_PULL_MASK,
GPIO_STATUS_MASK and GPIO_WAKE_MASK already have definitions in the code
so use those instead of magic numbers.

TEST=Timeless build results in identical image for amd/mandolin.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0bc9e1cecf2f063b42de3f8875fee421dd256648
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59593
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
src/soc/amd/common/block/include/amdblocks/gpio_defs.h