diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-06-09 13:54:10 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-06-09 22:03:30 +0200 |
commit | 41607a4682c75b716e342cfc773926c753fb6086 (patch) | |
tree | 9fe3ea3bbbcce423cc9dfb6c91a890a2dab3a942 /src/cpu/x86 | |
parent | db23215039894cf7668cba21c94753a9fcc546a0 (diff) | |
download | coreboot-41607a4682c75b716e342cfc773926c753fb6086.tar.xz |
cbmem: add indicator to hooks if cbmem is being recovered
It can be helpful to certain users of the cbmem init hooks
to know if recovery was done or not. Therefore, add this
as a parameter to the hooks.
Change-Id: I049fc191059cfdb8095986d3dc4eee9e25cf5452
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/10480
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/car.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/car.c b/src/cpu/x86/car.c index ffcf0dbf9f..b0a86b184b 100644 --- a/src/cpu/x86/car.c +++ b/src/cpu/x86/car.c @@ -136,7 +136,7 @@ static void do_car_migrate_variables(void) car_migrated = ~0; } -static void car_migrate_variables(void) +static void car_migrate_variables(int is_recovery) { if (!IS_ENABLED(CONFIG_BROKEN_CAR_MIGRATE) && !IS_ENABLED(PLATFORM_USES_FSP1_0)) do_car_migrate_variables(); |