summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-01-18 03:33:03 -0800
committerBin Meng <bmeng.cn@gmail.com>2017-02-07 13:34:07 +0800
commit73d2de2b590f27c6c683a8476238a6e5025bb0e8 (patch)
treee59303de1ba499e602d2d5cd8357ca1dbdc25422
parent8149d114a9ea663cc0487cc3660ba9fc8ede379a (diff)
downloadu-boot-imx-73d2de2b590f27c6c683a8476238a6e5025bb0e8.zip
u-boot-imx-73d2de2b590f27c6c683a8476238a6e5025bb0e8.tar.gz
u-boot-imx-73d2de2b590f27c6c683a8476238a6e5025bb0e8.tar.bz2
x86: qemu: Add build options for SPL
If SPL is used we want to use the generic SPL framework and boot from SPI via a board-specific means. Add these options to the board config file. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/configs/qemu-x86.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index affe712..687befd 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -53,4 +53,13 @@
#undef CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_SPL_FRAMEWORK
+
+#define CONFIG_SPL_TEXT_BASE 0xfffd0000
+
+#define BOOT_DEVICE_SPI 10
+
+#define CONFIG_SPL_BOARD_LOAD_IMAGE
+#define BOOT_DEVICE_BOARD 11
+
#endif /* __CONFIG_H */