[U-Boot] [PATCH 2/2] ARM: tegra: use LINUX_KERNEL_IMAGE_HEADER

Simon Glass sjg at chromium.org
Mon Jan 8 04:50:08 UTC 2018


Hi Stephen,

On 2 January 2018 at 16:54, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Enable CONFIG_LINUX_KERNEL_IMAGE_HEADER for all 64-bit Tegra boards.
> cboot (the boot SW that runs before U-Boot) will eventually use this
> information.

How does U-Boot use it? Does it not come from the FIT?

>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  arch/arm/mach-tegra/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 51d143687b06..fd0082d22a33 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -60,8 +60,14 @@ config TEGRA_ARMV7_COMMON
>  config TEGRA_ARMV8_COMMON
>         bool "Tegra 64-bit common options"
>         select ARM64
> +       select LINUX_KERNEL_IMAGE_HEADER
>         select TEGRA_COMMON
>
> +if TEGRA_ARMV8_COMMON
> +config LNX_KRNL_IMG_TEXT_OFFSET_BASE
> +       default 0x80000000
> +endif
> +
>  choice
>         prompt "Tegra SoC select"
>         optional
> --
> 2.15.1
>

Regards,
Simon


More information about the U-Boot mailing list