aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/x86/include/asm/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/x86/include/asm/spl.h')
-rw-r--r--roms/u-boot/arch/x86/include/asm/spl.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/u-boot/arch/x86/include/asm/spl.h b/roms/u-boot/arch/x86/include/asm/spl.h
new file mode 100644
index 000000000..cc6cac08f
--- /dev/null
+++ b/roms/u-boot/arch/x86/include/asm/spl.h
@@ -0,0 +1,20 @@
+/* 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_FAST_SPI,
+ BOOT_DEVICE_CROS_VBOOT,
+};
+
+void jump_to_spl(ulong entry);
+
+#endif