diff options
author | Alexander Goncharov <chat@joursoir.net> | 2024-07-01 00:19:31 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-08 12:55:58 +0000 |
commit | 75703772d1163701537e71c5b933465387e209e9 (patch) | |
tree | 6975b8f44a9aaf990c60267fb30c1b4ecabbcad4 /util/ifdtool | |
parent | 47a7fb3921a735fab05024f863c712f51b6e8fcd (diff) |
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>
Diffstat (limited to 'util/ifdtool')
-rw-r--r-- | util/ifdtool/ifdtool.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 033ccf4834..32b2081d93 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -737,6 +737,15 @@ static void dump_fcba(const struct fcba *fcba, const struct fpsba *fpsba) 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); |