From 589fc3473ed463283d9be168a67c2de1f3612c0a Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Thu, 6 Oct 2016 14:29:48 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/18688 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- util/ifdtool/ifdtool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/ifdtool') 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; -- cgit v1.2.3