[PATCH] configs: migrate CONFIG_SYS_ARM_CACHE_* in Kconfig

Marek Vasut marex at denx.de
Thu Apr 9 12:46:38 CEST 2020


On 4/9/20 12:42 PM, Patrick Delaunay wrote:

[...]

> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index bbb1e2738b..4845a23993 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -340,6 +340,33 @@ config SYS_CACHELINE_SIZE
>  	default 64 if SYS_CACHE_SHIFT_6
>  	default 32 if SYS_CACHE_SHIFT_5
>  
> +choice
> +	prompt "Select the ARM data write cache policy"
> +	default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || TARGET_BCMNSP

|| TARGET is PXA || TARGET is renesas RZA1 , and then you don't need the
defconfig hacks below :)

Look good otherwise, thanks.

[...]


More information about the U-Boot mailing list