Call the `report_memory_config()` and `setup_sdram_meminfo()` functions, which were factored out into shared raminit code in previous patches. As the SPD data is not readily available where `setup_sdram_meminfo()` gets called, add a function to get it from the saved data, as it is available in a global context. Technically speaking, the "mighty ctrl" variable is also static (thus global), but it is only meant to be used within native raminit code and is only static to avoid nuking the stack (it is huge). Change-Id: Ia2c0946f55748e38bb5ccb5cb06721aeb77527e7 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89600 Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| amd | ||
| intel | ||
| via/cx700 | ||