sandbox: Add an implementation for cleanup_before_linux_select()
authorSimon Glass <sjg@chromium.org>
Wed, 13 May 2015 13:02:26 +0000 (07:02 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Jun 2015 01:26:54 +0000 (19:26 -0600)
Support this function so we can use Chrome OS verified boot with sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c

index 02c4cd3..e6ddb17 100644 (file)
@@ -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