From: Simon Glass Date: Wed, 13 May 2015 13:02:26 +0000 (-0600) Subject: sandbox: Add an implementation for cleanup_before_linux_select() X-Git-Tag: v2015.07-rc3~89^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29748515fd7ba49fe027b39eb184b84f2890631e;p=oweals%2Fu-boot.git sandbox: Add an implementation for cleanup_before_linux_select() Support this function so we can use Chrome OS verified boot with sandbox. Signed-off-by: Simon Glass --- diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 02c4cd366d..e6ddb17a14 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -52,6 +52,11 @@ int cleanup_before_linux(void) return 0; } +int cleanup_before_linux_select(int flags) +{ + return 0; +} + void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) { #ifdef CONFIG_PCI