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/drivers/usb/ehci_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/usb') diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c index a6de8b27cc..5098f97ff5 100644 --- a/src/drivers/usb/ehci_debug.c +++ b/src/drivers/usb/ehci_debug.c @@ -670,7 +670,7 @@ static int get_usbdebug_from_cbmem(struct ehci_debug_info *info) } #elif defined(__PRE_RAM__) -static void migrate_ehci_debug(void) +static void migrate_ehci_debug(int is_recovery) { struct ehci_debug_info *dbg_info = dbgp_ehci_info(); struct ehci_debug_info *dbg_info_cbmem; -- cgit v1.2.3