x86: Add an option to control the position of U-Boot
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:29 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:19 +0000 (11:44 +0800)
commitb31129528e7dbbfb67a93116b40fbb1b1d4d724b
tree304dadb06ea718542f97d1ab9c84a96de4a23f2e
parentdda8e3efa0a46551370135e99daafbdda7b71d23
x86: Add an option to control the position of U-Boot

The existing work-around for positioning U-Boot in the ROM when it
actually runs from RAM still exists and there is not obvious way to change
this.

Add a proper Kconfig option to handle this case. This also adds a new bool
property to indicate whether CONFIG_SYS_TEXT_BASE exists.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Kconfig
arch/x86/Kconfig
arch/x86/dts/u-boot.dtsi
configs/chromebook_samus_tpl_defconfig
configs/qemu-x86_64_defconfig