diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-12-31 20:55:19 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-01-27 22:47:35 +0100 |
commit | 91fac61240612291f7be3362f7acad31803e8b03 (patch) | |
tree | 31c604a58e7b389b45d2f397eb7b37171c45dcc8 /src/lib/cbmem.c | |
parent | 3bf38548474697d11c935f23a610222c36df90c0 (diff) | |
download | coreboot-91fac61240612291f7be3362f7acad31803e8b03.tar.xz |
CBMEM: Tidy up CAR migration
Move the CAR migration call to arch -specific part of CBMEM init,
it is truly a x86 specific thing.
Change-Id: I715417e54f197b8745e0670d6b900a5660178141
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/7860
Reviewed-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/cbmem.c')
-rw-r--r-- | src/lib/cbmem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c index ba6560c499..d5f89a188d 100644 --- a/src/lib/cbmem.c +++ b/src/lib/cbmem.c @@ -242,8 +242,9 @@ int cbmem_recovery(int is_wakeup) cbmem_fail_resume(); } + /* Complete migration to CBMEM. */ cbmem_run_init_hooks(); - car_migrate_variables(); + return !found; } |