diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-03-21 12:45:12 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-23 19:24:22 +0000 |
commit | 7f6586ff782e632902ae9a807b95c97659dd6a9a (patch) | |
tree | 624e80a86cad0a613a3aff75bec6162f61cce995 /src/include/memrange.h | |
parent | 0e47ad6d2cd6322324658757cb345c5758449e18 (diff) |
nb/intel/sandybridge: Do not define tables in a header
Header files are supposed to not make allocations from .bss. Builds
fail if said file is included multiple times. To prevent this from
happening, move the definitions to a C file.
Also, rename raminit_patterns to raminit_tables. This is because more
tables that are not patterns will be added here in subsequent changes.
Tested on Asus P8Z77-V LX2, still boots fine.
Change-Id: If8e3a285ecdc4df9e978ae156be915ced6e1750b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39754
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/memrange.h')
0 files changed, 0 insertions, 0 deletions