coreboot-kgpe-d16/src/soc/amd/common
Felix Held c194f75bb5 soc/amd/common/block/include/gpio_defs: drop 8k pullup define
The corresponding bit is marked as reserved in the following versions of
the documentation for all SoCs using this code:

Mullins: BKDG #52740 Rev 3.05
Stoneyridge: BKDG #55072 Rev 3.04
Raven1, Picasso: PPR #55570 Rev 3.16 & 3.18
Raven2: PPR #55772 Rev 3.08
Cezanne: PPR #56569 Rev 3.03

The old Rev 3.14 of the Picasso PPR #55570 had the bit 19 defined as
PullUpSel, but this is no longer the case in newer versions. It is
unclear if this got de-featured or if it was never present in the
silicon. To be consistent with the current documentation, drop this
define.

This patch also change the definition of GPIO_PULL_MASK to only cover
the bits used for the feature. The Cezanne PPR #56569 Rev 3.03 states a
default value of 0 for this bit after reset, so the resulting values in
the register aren't expected change. The other PPRs/BKDGs don't specify
a reset value for this bit, but it's likely safe to assume that all SoCs
that use the new GPIO interface use the same GPIO building block.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Iaf2d4eec7a13e558c75d7edea343b876909a5b33
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59591
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2021-11-25 11:07:07 +00:00
..
acpi soc/amd/common/acpi/upep: Add Low Power State Entry Notifications 2021-10-14 13:09:46 +00:00
block soc/amd/common/block/include/gpio_defs: drop 8k pullup define 2021-11-25 11:07:07 +00:00
fsp arch/x86: Refactor the SMBIOS type 17 write function 2021-11-11 09:10:10 +00:00
pi arch/x86: Refactor the SMBIOS type 17 write function 2021-11-11 09:10:10 +00:00
psp_verstage soc/amd/psp_verstage: Init TPM on S0i3 resume 2021-11-22 16:30:08 +00:00
vboot amd/vboot: remove bl_syscall_public.h from include 2021-04-23 16:33:44 +00:00
Kconfig.common soc/amd/common/psp_verstage: Introduce boot device driver 2021-09-27 13:40:03 +00:00
Makefile.inc soc/amd/common: move block/pi out of the block folder 2021-09-24 15:47:59 +00:00