Felix Held has submitted this change. ( 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83282 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Eric Lai ericllai@google.com Reviewed-by: Subrata Banik subratabanik@google.com --- M util/ifdtool/ifdtool.c 1 file changed, 9 insertions(+), 0 deletions(-)
Approvals: Subrata Banik: Looks good to me, approved Eric Lai: Looks good to me, approved build bot (Jenkins): Verified
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);