diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-12-07 00:38:29 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-12-08 13:44:27 +0000 |
commit | 688f09f97ad5b25e3374653eebafbb5220032feb (patch) | |
tree | 4673e452e1a8757ad7c4b77b0641235c3be5c522 /3rdparty/libhwbase | |
parent | 09cdecec9c22a0cd63b1f7d7906b5abc78443064 (diff) |
soc/amd/stoneyridge/southbridge: fix setting SPI_USE_SPI100
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 Stoneyrige also only sets the SPI_USE_SPI100 bit and
doesn't zero out the other bits.
TEST=None
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4d32fc2084bb34ea57924bae68511c6836587790
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59933
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to '3rdparty/libhwbase')
0 files changed, 0 insertions, 0 deletions