]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: qemu: Add a text base for 64-bit U-Boot
authorBin Meng <bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:33:02 +0000 (03:33 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:34:05 +0000 (13:34 +0800)
Set up the 64-bit U-Boot text base if building for that target.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-x86/Kconfig

index c9181fc1bf217dde1779fa09aeb4aef0fc9f5b61..a773e8f737fcd125d4175e45227abf921d048e78 100644 (file)
@@ -13,8 +13,8 @@ config SYS_CONFIG_NAME
        default "qemu-x86"
 
 config SYS_TEXT_BASE
-       default 0xfff00000 if !EFI_STUB
-       default 0x01110000 if EFI_STUB
+       default 0xfff00000 if !EFI_STUB && !SUPPORT_SPL
+       default 0x01110000 if EFI_STUB || SUPPORT_SPL
 
 config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y