]> git.sur5r.net Git - u-boot/commitdiff
x86: qemu: Add build options for SPL
authorBin Meng <bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:33:03 +0000 (03:33 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:34:07 +0000 (13:34 +0800)
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>
include/configs/qemu-x86.h

index affe712e046ce80863ec149d4635ca0e6534289a..687befdad373145b4402fa6af9cfc9abc13c1a10 100644 (file)
 #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 */