Add "nol2x0" early param to avoid initialisation of the L2 controller
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 9 Mar 2010 09:55:10 +0000 (09:55 +0000)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:26:32 +0000 (16:26 -0700)
commit0ec7f7e47cf5406abbf87da3cd4c556da0f1dcbc
treeb7b37de11bf56761976ba306ee0492039ab45633
parent771f2628641969b7fb71f7aa04495943016742bc
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>
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/mach-realview/realview_pbx.c
arch/arm/mm/cache-l2x0.c