Skip to content
Commit ab8a63f4 authored by Philip Oberfichtner's avatar Philip Oberfichtner Committed by Tom Rini
Browse files

ARM: cache: Allow SPL to build cache-pl310.c



Introduce the new Kconfig symbol CONFIG_SPL_SYS_L2_PL310 to allow the
SPL to build cache-pl310.c.

Before this commit, the SPL could enable the PL310 L2 cache [1], but the
cache maintenance functions from cache-pl310.c were only useable for
non-SPL builds.

After enabling the cache one must be able to flush it, too. Thus this
commit allows cache-pl310.c to be included in the SPL build.

[1] See for example arch/arm/mach-imx/cache.c: v7_outer_cache_enable()

Signed-off-by: default avatarPhilip Oberfichtner <pro@denx.de>
parent 127319cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment