summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2016-10-06 14:29:48 -0700
committerMartin Roth <martinroth@google.com>2017-03-10 11:20:39 +0100
commit589fc3473ed463283d9be168a67c2de1f3612c0a (patch)
tree6f0d91384a17d083a6e19e293fbc082f366d6913
parentd448a5e98bab6942301032146b5cb0fe5625d496 (diff)
ifdtool: Add SPI_FREQUENCY_50MHZ_30MHZ as a valid freq
Without this change, error "Unknown descriptor version: 4" will be returned if this frequency is selected (seen on GLKRVP) Change-Id: Ib5bfb996b85c7245d8f9c70988bfd5bbac882d74 Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/18688 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
-rw-r--r--util/ifdtool/ifdtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 73f89425f1..1024690423 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -90,6 +90,7 @@ static void check_ifd_version(char *image, int size)
max_regions = MAX_REGIONS_OLD;
break;
case SPI_FREQUENCY_17MHZ:
+ case SPI_FREQUENCY_50MHZ_30MHZ:
ifd_version = IFD_VERSION_2;
max_regions = MAX_REGIONS;
break;