diff options
author | Jan Tatje <jan@jnt.io> | 2021-07-05 08:03:07 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-07 14:55:40 +0000 |
commit | b7eec4a8440ca12f07c11d3aa0196fe81aebe51d (patch) | |
tree | 55a000e90b6c6c888caf90a335310759a5973de0 /util/ifdtool | |
parent | 88eb16786872404c9279ac6b0decbd98dac7ca8d (diff) |
util/ifdtool: Add sklkbl to IFDv2 platforms
Currently ifdtool breaks the descriptor because it treats it as IFDv1.
This change adds it to the list of IFDv2 platforms.
Fixes boot for X11SSH-LN4F.
Fixes: 8c082e5fef ("util/ifdtool: Use -p platform name to detect IFDv2 platform and chipset")
Change-Id: I3f92b090e929336b5c18b442d1504ee1000f5594
Signed-off-by: Jan Tatje <jan@jnt.io>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56070
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/ifdtool')
-rw-r--r-- | util/ifdtool/ifdtool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index e99cdeca8c..b91c90cadc 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -205,9 +205,8 @@ static enum ich_chipset ifd1_guess_chipset(char *image, int size) return CHIPSET_9_SERIES_WILDCAT_POINT; } else if (nm == 6) { return CHIPSET_C620_SERIES_LEWISBURG; - } else { - return CHIPSET_100_200_SERIES_SUNRISE_POINT; } + return CHIPSET_PCH_UNKNOWN; } static enum ich_chipset ifd2_platform_to_chipset(const int pindex) @@ -219,6 +218,8 @@ static enum ich_chipset ifd2_platform_to_chipset(const int pindex) return CHIPSET_N_SERIES_JASPER_LAKE; case PLATFORM_EHL: return CHIPSET_x6000_SERIES_ELKHART_LAKE; + case PLATFORM_SKLKBL: + return CHIPSET_100_200_SERIES_SUNRISE_POINT; case PLATFORM_CNL: return CHIPSET_300_SERIES_CANNON_POINT; case PLATFORM_TGL: @@ -250,6 +251,7 @@ static int is_platform_ifd_2(void) PLATFORM_JSL, PLATFORM_EHL, PLATFORM_ADL, + PLATFORM_SKLKBL, }; unsigned int i; |