[XS] Change in coreboot[main]: util/ifdtool: dump SPI modes from FLCOMP

Alexander Goncharov has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83282?usp=email ) Change subject: util/ifdtool: dump SPI modes from FLCOMP ...................................................................... util/ifdtool: dump SPI modes from FLCOMP These fields are documented in the Alder Lake-S Client Platform SPI Programming Guide, but they are not presented in the Skylake-LP Client Platform SPI Programming Guide Change-Id: I624fe5cb28aa3cb207bc48aa8d31b2a71b70bcf2 Signed-off-by: Alexander Goncharov <chat@joursoir.net> --- M util/ifdtool/ifdtool.c 1 file changed, 9 insertions(+), 0 deletions(-) git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/83282/1 diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 033ccf4..32b2081 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -737,6 +737,15 @@ else freq = (fcba->flcomp >> 17) & 7; decode_espi_frequency(freq); + + printf("\n Quad I/O Read: %s", + (fcba->flcomp & (1 << 15)) ? "enabled" : "disabled"); + printf("\n Quad Output Read: %s", + (fcba->flcomp & (1 << 14)) ? "enabled" : "disabled"); + printf("\n Dual I/O Read: %s", + (fcba->flcomp & (1 << 13)) ? "enabled" : "disabled"); + printf("\n Dual Output Read: %s", + (fcba->flcomp & (1 << 12)) ? "enabled" : "disabled"); } else { printf("\n Read Clock Frequency: "); decode_spi_frequency((fcba->flcomp >> 17) & 7); -- To view, visit https://review.coreboot.org/c/coreboot/+/83282?usp=email To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: coreboot Gerrit-Branch: main Gerrit-Change-Id: I624fe5cb28aa3cb207bc48aa8d31b2a71b70bcf2 Gerrit-Change-Number: 83282 Gerrit-PatchSet: 1 Gerrit-Owner: Alexander Goncharov <chat@joursoir.net>
participants (1)
-
Alexander Goncharov (Code Review)