浏览代码

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 <sjg@chromium.org>
Simon Glass 10 年之前
父节点
当前提交
29748515fd
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/sandbox/cpu/cpu.c

+ 5 - 0
arch/sandbox/cpu/cpu.c

@@ -52,6 +52,11 @@ int cleanup_before_linux(void)
 	return 0;
 	return 0;
 }
 }
 
 
+int cleanup_before_linux_select(int flags)
+{
+	return 0;
+}
+
 void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
 void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
 {
 {
 #ifdef CONFIG_PCI
 #ifdef CONFIG_PCI