ich_descriptors: Refactor component density handling
Introduce a new marker CHIPSET_HAS_NEW_COMPONENT_DENSITY and order
the actual chipset values around it. This move Bay Trail up before
all 8-series PCHs.
Change-Id: I1f4d724e2e2ef038aa6a56feb1578208afbbcd99
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/181
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/include/programmer.h b/include/programmer.h
index b70efa4..873dc37 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -343,8 +343,12 @@
CHIPSET_5_SERIES_IBEX_PEAK,
CHIPSET_6_SERIES_COUGAR_POINT,
CHIPSET_7_SERIES_PANTHER_POINT,
- CHIPSET_8_SERIES_LYNX_POINT,
- CHIPSET_BAYTRAIL, /* Actually all with Silvermont architecture: Bay Trail, Avoton/Rangeley */
+ CHIPSET_BAYTRAIL, /* All with Silvermont architecture:
+ Bay Trail, Avoton/Rangeley */
+
+ CHIPSET_HAS_NEW_COMPONENT_DENSITY, /******** from here on ********/
+
+ CHIPSET_8_SERIES_LYNX_POINT = CHIPSET_HAS_NEW_COMPONENT_DENSITY,
CHIPSET_8_SERIES_LYNX_POINT_LP,
CHIPSET_8_SERIES_WELLSBURG,
CHIPSET_9_SERIES_WILDCAT_POINT,