[U-Boot] [PATCH 1/4] ARM: tegra: remove wrong dependency on SPL_BUILD

Stephen Warren swarren at wwwdotorg.org
Tue Aug 30 18:25:24 CEST 2016


On 08/30/2016 12:56 AM, Masahiro Yamada wrote:
> SPL_BUILD is not a CONFIG in Kconfig, so !SPL_BUILD is always true.

> diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra/tegra124/Kconfig

>  config TARGET_JETSON_TK1
>  	bool "NVIDIA Tegra124 Jetson TK1 board"
> -	select CPU_V7_HAS_NONSEC if !SPL_BUILD
> -	select CPU_V7_HAS_VIRT if !SPL_BUILD
> +	select CPU_V7_HAS_NONSEC
> +	select CPU_V7_HAS_VIRT

Shouldn't this dependency be replaced with the correct dependency, 
rather than simply removed? I'm fairly sure those options should not be 
defined for SPL.


More information about the U-Boot mailing list