diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-03-09 09:55:10 +0000 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-10-06 16:26:32 -0700 |
commit | 0ec7f7e47cf5406abbf87da3cd4c556da0f1dcbc (patch) | |
tree | b7b37de11bf56761976ba306ee0492039ab45633 /arch/arm/include | |
parent | 771f2628641969b7fb71f7aa04495943016742bc (diff) |
Add "nol2x0" early param to avoid initialisation of the L2 controller
Some development platforms may have issues with this controller, so
allow easy disabling from the kernel command line. The patch also adds
a check for l2x0_disabled in the realview_pbx.c code to avoid setting
additional L2x0 registers.
Change-Id: Icbbd3e054688811200a4c96bf7e0a81c9c0ab790
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/hardware/cache-l2x0.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/cache-l2x0.h b/arch/arm/include/asm/hardware/cache-l2x0.h index 89e2ff8a3585..787c06ada555 100644 --- a/arch/arm/include/asm/hardware/cache-l2x0.h +++ b/arch/arm/include/asm/hardware/cache-l2x0.h @@ -59,6 +59,7 @@ extern void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask); extern void l2x0_shutdown(void); extern void l2x0_restart(void); +extern bool l2x0_disabled; #endif #endif |