summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/spl.h')
-rw-r--r--arch/x86/include/asm/spl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/x86/include/asm/spl.h b/arch/x86/include/asm/spl.h
new file mode 100644
index 0000000..1bef487
--- /dev/null
+++ b/arch/x86/include/asm/spl.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2017 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+#ifndef __asm_spl_h
+#define __asm_spl_h
+
+#define CONFIG_SPL_BOARD_LOAD_IMAGE
+
+enum {
+ BOOT_DEVICE_SPI_MMAP = 10,
+ BOOT_DEVICE_CROS_VBOOT,
+};
+
+void jump_to_spl(ulong entry);
+
+#endif