Nico Huber has uploaded this change for review. ( https://review.coreboot.org/21815
Change subject: ich_descriptors: Modify limits for C620/Lewisburg PCH ......................................................................
ich_descriptors: Modify limits for C620/Lewisburg PCH
Original-Change-Id: Ic8adc4b87993e65096166fa6d665432697070b4c Original-Reviewed-on: https://review.coreboot.org/20936 Original-Tested-by: build bot (Jenkins) no-reply@coreboot.org Original-Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net Original-Reviewed-by: Nico Huber nico.h@gmx.de
Change-Id: Id755183cd2d86d050b722f150450eb67cd90b1d4 Signed-off-by: David Hendricks dhendricks@fb.com --- M ich_descriptors.h 1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/15/21815/1
diff --git a/ich_descriptors.h b/ich_descriptors.h index 8c313d1..574bc5f 100644 --- a/ich_descriptors.h +++ b/ich_descriptors.h @@ -165,7 +165,7 @@ }; };
-#define MAX_NUM_FLREGS 10 /* 16 on unsupported Lewisburg PCH */ +#define MAX_NUM_FLREGS 16 struct ich_desc_region { /* * Number of entries and width differ on various generations: @@ -174,6 +174,7 @@ * ICH8 .. Panther Point/7 5 13 * Lynx Point/8 .. Wildcat Point/9 7 15 * Sunrise Point/100 .. 10 15 + * Lewisburg/100 .. 16 15 */ union { uint32_t FLREGs[MAX_NUM_FLREGS]; /* Flash Descriptor Regions */ @@ -188,7 +189,7 @@ }; };
-#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 { union { uint32_t FLMSTRs[MAX_NUM_MASTERS]; /* Flash Masters */