mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
ich_descriptors: Add function to guess chipset version
Add guess_ich_chipset() that takes fields from a descriptor dump and returns the lowest possible chipset version. Intel did several incompatible changes to the descriptor through the years. However, they forgot to add a version number. So we have to apply some heuristics to detect the chipset version in case of exter- nal flashing. Change-Id: Ie1736663dc33801b19d3e695c072c61a6c6345a2 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/20246 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@ -93,9 +93,10 @@ struct ich_desc_content {
|
||||
union { /* 0x0c */
|
||||
uint32_t FLMAP2;
|
||||
struct {
|
||||
uint32_t FMSBA :8, /* Flash (G)MCH Strap Base Addr. */
|
||||
MSL :8, /* MCH Strap Length */
|
||||
:16;
|
||||
uint32_t FMSBA :8, /* Flash (G)MCH Strap Base Addr. */
|
||||
MSL :8, /* MCH Strap Length */
|
||||
ICCRIBA :8, /* ICC Reg. Init Base Addr. (new since Sandy Bridge) */
|
||||
RIL :8; /* Register Init Length (new since Hawell) */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user