]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
imx: mx6ul Add CONFIG_SYS_CACHELINE_SIZE for i.MX6UL
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 20 Jul 2015 11:28:24 +0000 (19:28 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 09:05:07 +0000 (11:05 +0200)
Since i.MX6UL's cache line size is 64bytes, need to
define the macro CONFIG_SYS_CACHELINE_SIZE to 64 for i.MX6UL.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
arch/arm/include/asm/arch-mx6/imx-regs.h

index d8b5d6f76794b79fe2fba0c2883f20de643a0c3e..4d84a9b753f53b4b5a3e13e16a792e9b11d3f0f7 100644 (file)
@@ -9,7 +9,11 @@
 
 #define ARCH_MXC
 
+#ifdef CONFIG_MX6UL
+#define CONFIG_SYS_CACHELINE_SIZE      64
+#else
 #define CONFIG_SYS_CACHELINE_SIZE      32
+#endif
 
 #define ROMCP_ARB_BASE_ADDR             0x00000000
 #define ROMCP_ARB_END_ADDR              0x000FFFFF