From: Chris Kuethe Date: Tue, 2 Jun 2015 23:31:43 +0000 (-0700) Subject: patch - arm - define SYS_CACHELINE_SIZE for mx5 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1005ccda97243bcdbf31216685885cfd4ea32f29;p=project%2Fbcm63xx%2Fu-boot.git patch - arm - define SYS_CACHELINE_SIZE for mx5 mx5 is a cortex-a8 which has 64 byte cache lines. i'll need this for adding gadget support to usbarmory, but it's a property common the the entire SoC family - may as well make it available to all MX5 boards Works on usbarmory; compile-tested on mx53loco and mx51_efikamx too Signed-off-by: Chris Kuethe Cc: Tom Rini Cc: Matthew Starr Cc: Andrej Rosano Cc: Stefano Babic Cc: Chris Kuethe Cc: Fabio Estevam Cc: Marek Vasut Reviewed-by: Fabio Estevam --- diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index f059d0f664..5f0e1e6346 100644 --- a/arch/arm/include/asm/arch-mx5/imx-regs.h +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h @@ -9,6 +9,8 @@ #define ARCH_MXC +#define CONFIG_SYS_CACHELINE_SIZE 64 + #if defined(CONFIG_MX51) #define IRAM_BASE_ADDR 0x1FFE0000 /* internal ram */ #define IPU_SOC_BASE_ADDR 0x40000000