From 41607a4682c75b716e342cfc773926c753fb6086 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 9 Jun 2015 13:54:10 -0500 Subject: 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 Reviewed-on: http://review.coreboot.org/10480 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/x86/car.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/x86') 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(); -- cgit v1.2.3