From 4f3ee6f9530fe0e3d892b91886176c5da633955b Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 20 Jun 2024 17:12:54 +0530 Subject: [PATCH] ich_descriptor: Fix chipset_names index for Intel Meteor Lake commit hash 85b977151b8f57 (ichspi.c: Add support for region 9 and beyond in Meteor Lake) moved the Intel Meteor Lake macro in programmer.h, causing flashrom to display an incorrect chipset name for Meteor Lake platforms. This patch updates the corresponding chipset_names index to resolve this issue. TEST=Verified correct chipset name in flashrom output for Meteor Lake chipset (google/rex0 board). Change-Id: Ic09cf0474c980369bcbf90924d45f697bc1b0a0d Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/flashrom/+/83143 Reviewed-by: Anastasia Klimchuk Reviewed-by: Sam McNally Reviewed-by: Hsuan-ting Chen Tested-by: build bot (Jenkins) --- ich_descriptors.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ich_descriptors.c b/ich_descriptors.c index b11a78d47..6de431675 100644 --- a/ich_descriptors.c +++ b/ich_descriptors.c @@ -121,7 +121,8 @@ void prettyprint_ich_chipset(enum ich_chipset cs) "9 series Wildcat Point", "9 series Wildcat Point LP", "100 series Sunrise Point", "C620 series Lewisburg", "C740 series Emmitsburg", "300 series Cannon Point", "400 series Comet Point", "500 series Tiger Point", "600 series Alder Point", - "Meteor Lake", "Apollo Lake", "Gemini Lake", "Jasper Lake", "Elkhart Lake", + "Apollo Lake", "Gemini Lake", "Jasper Lake", "Elkhart Lake", + "Meteor Lake", }; if (cs < CHIPSET_ICH8 || cs - CHIPSET_ICH8 + 1 >= ARRAY_SIZE(chipset_names)) cs = 0;