summaryrefslogtreecommitdiff
path: root/include/configs/mx6_common.h
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/configs/mx6_common.h
parent4702c62dce3e2e2648ae3c8d002202211de8c92a (diff)
downloadu-boot-6d73c23410cd0f8a54227dd0361fb8b9eadcb4b2.tar.gz
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/configs/mx6_common.h')
-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 514d634c0c..eb107d312a 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