[PATCH v6 056/102] x86: Add an option to control the position of U-Boot

Bin Meng bmeng.cn at gmail.com
Sun Dec 8 04:31:12 CET 2019


On Sat, Dec 7, 2019 at 12:49 PM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4:
> - Rename option to HAVE_SYS_TEXT_BASE
>
> Changes in v3: None
> Changes in v2: None
>
>  Kconfig                                |  9 ++++++---
>  arch/x86/Kconfig                       |  5 +++++
>  arch/x86/dts/u-boot.dtsi               | 18 +++---------------
>  configs/chromebook_samus_tpl_defconfig |  1 +
>  configs/qemu-x86_64_defconfig          |  1 +
>  5 files changed, 16 insertions(+), 18 deletions(-)
>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list