mx6: Enable L2 cache support
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 29 Jan 2014 19:39:49 +0000 (17:39 -0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Feb 2014 10:24:12 +0000 (11:24 +0100)
commit6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2
tree6e1b31648037762e47c487b94a271c14789d5c69
parent4702c62dce3e2e2648ae3c8d002202211de8c92a
mx6: Enable L2 cache support

Add L2 cache support and enable it by default.

Configure the L2 cache in the same way as done by FSL kernel:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx6/mm.c?h=imx_3.0.35_4.1.0

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Dirk Behme <dirk.behme@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/pl310.h
include/configs/mx6_common.h