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>
This commit is contained in:
parent
8149d114a9
commit
73d2de2b59
|
@ -53,4 +53,13 @@
|
||||||
#undef CONFIG_ENV_IS_IN_SPI_FLASH
|
#undef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||||
#define CONFIG_ENV_IS_NOWHERE
|
#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 */
|
#endif /* __CONFIG_H */
|
||||||
|
|
Loading…
Reference in New Issue