summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-01-29 17:39:49 -0200
committerStefano Babic <sbabic@denx.de>2014-02-11 11:24:12 +0100
commit6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2 (patch)
tree6e1b31648037762e47c487b94a271c14789d5c69 /include
parent4702c62dce3e2e2648ae3c8d002202211de8c92a (diff)
downloadu-boot-imx-6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2.zip
u-boot-imx-6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2.tar.gz
u-boot-imx-6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index 514d634..eb107d3 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -22,4 +22,9 @@
#define CONFIG_ARM_ERRATA_751472
#define CONFIG_BOARD_POSTCLK_INIT
+#ifndef CONFIG_SYS_L2CACHE_OFF
+#define CONFIG_SYS_L2_PL310
+#define CONFIG_SYS_PL310_BASE L2_PL310_BASE
+#endif
+
#endif