vc/amd/agesa/f14: Fix array length
This array is declared to have length MAX_FF_TYPES (aka 6) in several other places, so update it here so the length matches. This fixes a -Wlto-type-mismatch compiler error when using LTO. Extending the length is harmless, since the only code that uses this array will stop once it reaches the NULL pointer. Change-Id: Ie00e969fa8cda88a934bf416c8775f7ae0b2747e Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39014 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
18f888598d
commit
ab734d8c05
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ BOOLEAN MemFS3DefConstructorRet (
|
|||
#define PLAT_SP_ON_FF_SDIMM3 MemPConstructPsUDef,
|
||||
#define PLAT_SP_ON_FF_UDIMM3 MemPConstructPsUDef,
|
||||
#endif
|
||||
MEM_PLAT_SPEC_CFG* memPlatSpecFFInstalledON[] = {
|
||||
MEM_PLAT_SPEC_CFG* memPlatSpecFFInstalledON[MAX_FF_TYPES] = {
|
||||
PLAT_SP_ON_FF_SDIMM3
|
||||
PLAT_SP_ON_FF_UDIMM3
|
||||
NULL
|
||||
|
|
Loading…
Reference in a new issue