mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
ich_descriptors: Modify limits for C620/Lewisburg PCH
Change-Id: Ic8adc4b87993e65096166fa6d665432697070b4c Signed-off-by: David Hendricks <dhendricks@fb.com> Reviewed-on: https://review.coreboot.org/20936 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
a54ceb1dbe
commit
8e76230dfb
@ -165,7 +165,7 @@ struct ich_desc_component {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_NUM_FLREGS 10 /* 16 on unsupported Lewisburg PCH */
|
#define MAX_NUM_FLREGS 16
|
||||||
struct ich_desc_region {
|
struct ich_desc_region {
|
||||||
/*
|
/*
|
||||||
* Number of entries and width differ on various generations:
|
* Number of entries and width differ on various generations:
|
||||||
@ -174,6 +174,7 @@ struct ich_desc_region {
|
|||||||
* ICH8 .. Panther Point/7 5 13
|
* ICH8 .. Panther Point/7 5 13
|
||||||
* Lynx Point/8 .. Wildcat Point/9 7 15
|
* Lynx Point/8 .. Wildcat Point/9 7 15
|
||||||
* Sunrise Point/100 .. 10 15
|
* Sunrise Point/100 .. 10 15
|
||||||
|
* Lewisburg/100 .. 16 15
|
||||||
*/
|
*/
|
||||||
union {
|
union {
|
||||||
uint32_t FLREGs[MAX_NUM_FLREGS]; /* Flash Descriptor Regions */
|
uint32_t FLREGs[MAX_NUM_FLREGS]; /* Flash Descriptor Regions */
|
||||||
@ -188,7 +189,7 @@ struct ich_desc_region {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_NUM_MASTERS 5 /* 6 on unsupported Lewisburg PCH */
|
#define MAX_NUM_MASTERS 6 /* 5 prior to C620/Lewisburg PCH */
|
||||||
struct ich_desc_master {
|
struct ich_desc_master {
|
||||||
union {
|
union {
|
||||||
uint32_t FLMSTRs[MAX_NUM_MASTERS]; /* Flash Masters */
|
uint32_t FLMSTRs[MAX_NUM_MASTERS]; /* Flash Masters */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user