summaryrefslogtreecommitdiff
path: root/src/lib/dynamic_cbmem.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-18 18:30:29 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-27 22:41:23 +0100
commit823edda98e6512d3f455b61549efea6fa68ee2b0 (patch)
tree53937f057c766750afb8e3005fe756ea7fabdc89 /src/lib/dynamic_cbmem.c
parent05369de639b84981547b89c1fcfcafc79d9d921f (diff)
downloadcoreboot-823edda98e6512d3f455b61549efea6fa68ee2b0.tar.xz
CBMEM: Implement cbmem_run_init_hooks() stub
Until we completely can unify early_variables, use these to handle CBMEM update hooks for both romstage and ramstage. For x86, CAR_MIGRATE serves the purpose of romstage hooks. Change-Id: I100ebc0e35e1b7091b4f287ca37f539fd7c9fa7a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7876 Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/dynamic_cbmem.c')
-rw-r--r--src/lib/dynamic_cbmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dynamic_cbmem.c b/src/lib/dynamic_cbmem.c
index 5eddbcaf18..ce4e625f55 100644
--- a/src/lib/dynamic_cbmem.c
+++ b/src/lib/dynamic_cbmem.c
@@ -171,7 +171,7 @@ void cbmem_initialize_empty(void)
printk(BIOS_DEBUG, "CBMEM: root @ %p %d entries.\n",
root, root->max_entries);
- cbmem_arch_init();
+ cbmem_run_init_hooks();
/* Migrate cache-as-ram variables. */
car_migrate_variables();
@@ -249,7 +249,7 @@ int cbmem_initialize(void)
root->locked = 1;
#endif
- cbmem_arch_init();
+ cbmem_run_init_hooks();
/* Migrate cache-as-ram variables. */
car_migrate_variables();