coreboot-kgpe-d16/src/soc/amd/common
Felix Held 09cdecec9c soc/amd/common/block/spi: fix setting SPI_USE_SPI100 in SPI100_ENABLE
Use a read modify write sequence when setting the SPI_USE_SPI100 bit in
the SPI100_ENABLE register. This avoids clearing other bits in the
register which might cause instabilities of the SPI interface. The
reference code for both Picasso and Cezanne also only sets the
SPI_USE_SPI100 bit and doesn't zero out the other bits.

TEST=Verified that Mandolin still boots. It didn't show any signs of
possibly related instabilities before though, so this test doesn't say
much.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I71c2ec1729d5cb4cdff6444b637af29caaa6f1c0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59932
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2021-12-08 13:44:20 +00:00
..
acpi soc/amd/common/acpi/gpio_bank_lib: drop unused methods 2021-11-25 11:09:05 +00:00
block soc/amd/common/block/spi: fix setting SPI_USE_SPI100 in SPI100_ENABLE 2021-12-08 13:44:20 +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 mb/google/zork,soc/amd/psp_verstage: Add verstage_mb_{tpm/espi}_init 2021-12-08 00:50:48 +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