Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42463 )
Change subject: [WIP] ACPI: Allocate GNVS early in ramstage ......................................................................
[WIP] ACPI: Allocate GNVS early in ramstage
We need this to happen prior to SMM module loader. If there is some debugging output it's better they do not appear in the middle of CPU bringup.
Change-Id: I45b4b5c0c5bf8bee258a465d1e364bfe98190e44 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/lib/hardwaremain.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/42463/1
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c index 59da967..6849ade 100644 --- a/src/lib/hardwaremain.c +++ b/src/lib/hardwaremain.c @@ -6,6 +6,7 @@ */
#include <adainit.h> +#include <acpi/acpi_gnvs.h> #include <arch/exception.h> #include <bootstate.h> #include <console/console.h> @@ -450,6 +451,10 @@ #endif threads_initialize();
+ /* Initialise GNVS early. + FIXME: Platform gnvs_size_of_array() and friends not there yet. */ + if (0) gnvs_get_or_create(); + /* Schedule the static boot state entries. */ boot_state_schedule_static_entries();