diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-03-23 19:59:59 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-04-01 09:29:24 +0000 |
commit | 422fdceaa89d82566afd6d20cb3519f8a8575c20 (patch) | |
tree | 50a4840c12ef12bd3a1e6bcc597c99cb98fad364 /src/arch/ppc64/tables.c | |
parent | 8b82c6b91bc5d9c78504b50b537feef424b6043a (diff) |
cpu/intel/fit: Clear the FIT table when setting pointer
When rebuilding coreboot the empty fit table added to added to CBFS
stays the same so the build process sees no reason to update the file.
In the meantime ifittool did update that file for instance to add
microcode update entries. So each time coreboot is rebuilt the entries
are appended to the FIT table which runs out of space at some point.
One way to deal with this is to clear the fit table when setting the
pointer inside the bootblock.
TESTED: Now running 'make' again on prodrive/hermes does not report an
error with a filled FIT table.
Change-Id: Ia20a489dc90a4ae704e9ee6d532766899f83ffcc
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63036
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/ppc64/tables.c')
0 files changed, 0 insertions, 0 deletions