coreboot/src/southbridge
Felix Held 0365fc8186 sb/amd/pi/hudson/early_init: 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. Haven't checked the reference
code, but the register descriptions suggested that the register in
Mullins behaves similar to the one in Stoneyridge. Right now this code
is unused, but it's probably still a good idea to fix it.

TEST=Booting Debian 11 with kernel 5.10 on apu2 still works when adding
a call to hudson_set_spi100 with this patch applied.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ifbd960a9509542b28f03326a3066995540260bef
Tested-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59934
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2021-12-08 13:48:32 +00:00
..
amd sb/amd/pi/hudson/early_init: fix setting SPI_USE_SPI100 in SPI100_ENABLE 2021-12-08 13:48:32 +00:00
intel lynxpoint/broadwell: Use azalia_codecs_init() 2021-11-11 22:45:11 +00:00
ricoh/rl5c476 src/southbridge: Drop unneeded empty lines 2020-09-21 16:29:35 +00:00
ti sb/ti/pcixx12: Remove NOOP chip driver 2021-03-05 10:58:33 +00:00