From: Bin Meng Date: Wed, 18 Jan 2017 03:33:03 -0800 Subject: [U-Boot] [PATCH 13/14] x86: qemu: Add build options for SPL In-Reply-To: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> References: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1484739184-24211-14-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/qemu-x86.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h index 4783563..d4acd67 100644 --- a/include/configs/qemu-x86.h +++ b/include/configs/qemu-x86.h @@ -54,4 +54,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 */ -- 2.9.2