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 02c4cd366d13c0444eb28f11c35074a06d608413..e6ddb17a140381b59abd7d8b0c597eff8a18a57e 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