]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
armv7: add cacheline sizes where missing
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Jan 2016 07:46:11 +0000 (08:46 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 31 Jan 2016 15:32:56 +0000 (16:32 +0100)
Some armv7 targets are missing a cache line size declaration.
In preparation for "arm: cache: Implement cache range check for v7"
patch, add these declarations with the appropriate value for
the target's SoC or CPU.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Reviewed-by: Tom Rini <trini@konsulko.com>
22 files changed:
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/at91-sama5_common.h
include/configs/bcm_ep_board.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/colibri_vf.h
include/configs/kzm9g.h
include/configs/nokia_rx51.h
include/configs/pcm052.h
include/configs/rcar-gen2-common.h
include/configs/rk3036_common.h
include/configs/rk3288_common.h
include/configs/s5p_goni.h
include/configs/smdkc100.h
include/configs/tao3530.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_omap3_common.h
include/configs/tricorder.h
include/configs/vexpress_common.h
include/configs/vf610twr.h

index 4ed8e00e05c5f853d97349cddc6ef9c3031692ba..3cc2874dcba05340221a988673c3e74fd10a900f 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  */
index 23457d6931e98f1b214ba3477f570b9622b0b89b..4547d7f4aab17c4d525d77548cb0b1402afd02c9 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  */
index 9db4a4ff27fa280f3a6cb79d03205b06c24cb4f0..d6921063155f610ba3160c7b2afffc90cd44a6af 100644 (file)
@@ -12,6 +12,8 @@
 
 #include <asm/hardware.h>
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #define CONFIG_SYS_TEXT_BASE           0x26f00000
 
 /* ARM asynchronous clock */
index 305864f8b873d0a4826fbb55331b4343e176edbf..1d4869bc5ffc6771f3a7a34d48cf085a807e8392 100644 (file)
@@ -11,6 +11,7 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
 
 /*
  * Memory configuration
index 2dc745e59ff7f1ed4602260b03b12a128ea69c45..24ae14df30b031b91b5e0aa4fabb651d6a9c0dce 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  */
index 0aefec8a004ec1d8bf67c7e55bab875efe152940..7a07de439cba9b9727fa5384a7e344cc434295ae 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  */
index 5aed3a5fcd1db29d8db1655bf5d472795b5210a4..dd44462a9f4545a4fd8ea856979eddc31c73edb4 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_VF610
index 94b0f038f27d1a6739fcca2408aed9e7fdfc00a4..d5cbb336613807473e4d692b5652a53dde834b09 100644 (file)
@@ -10,6 +10,8 @@
 
 #undef DEBUG
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #define CONFIG_SH73A0
 #define CONFIG_KZM_A9_GT
 #define CONFIG_RMOBILE_BOARD_STRING    "KMC KZM-A9-GT"
index b11e43a0a91e91a5caea9f7aaa914f2109286a13..5c4140526dc16ad60338480ce71256715da6f263 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE 64
+
 /*
  * High Level Configuration Options
  */
index 891bdb0ecf15030acc763039d400412ca11a02d2..2628dfa63676dd074482f37ed90ebddd899b421b 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_VF610
index f0a3a187d7bc5317a561a6ce3a4c253a33de0271..f750b5305dcb4d1c58ffd13765d82923990efdb0 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __RCAR_GEN2_COMMON_H
 #define __RCAR_GEN2_COMMON_H
 
+#define CONFIG_SYS_CACHELINE_SIZE 64
+
 #include <asm/arch/rmobile.h>
 
 #define CONFIG_CMD_DFL
index d22ea74136d3a3657cff5f3388593654dacba88a..368d0462fea862507aca196fbade8f2edeabd9c4 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __CONFIG_RK3036_COMMON_H
 #define __CONFIG_RK3036_COMMON_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #include <asm/arch/hardware.h>
 
 #define CONFIG_SYS_NO_FLASH
index ebf1ab09b39a84133ee84441f0e782e8f8a3154e..427ac4bcffb11a06f56a638054300e0548dd25ef 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __CONFIG_RK3288_COMMON_H
 #define __CONFIG_RK3288_COMMON_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 #include <asm/arch/hardware.h>
 
 #define CONFIG_SYS_NO_FLASH
index 8f65d7ed7a3f0751412a88d205e263e6abad058e..f92c23db51d55b1a707037820d1828ff2334a453 100644 (file)
@@ -17,6 +17,8 @@
 #define CONFIG_S5PC110         1       /* which is in a S5PC110 */
 #define CONFIG_MACH_GONI       1       /* working with Goni */
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 #include <linux/sizes.h>
 #include <asm/arch/cpu.h>              /* get chip and board defs */
 
index c36e444a6cc91a1919e5bf83c9d6672c9c12fae3..db79e54b5b3023f17bf0ee6a3844cd2509d3ee05 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  * (easy to change)
index c1bd179005a970d95cc99aaa1f1c57e065cf29cc..d5aba70aaa837c8538b6d587815d2d1259752a43 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /*
  * High Level Configuration Options
  */
index e726040b702fdc284fbecfa1c2d6bcae858abbe8..3d0498df059c5438583833dccdca0ed112d64363 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef __CONFIG_TI814X_EVM_H
 #define __CONFIG_TI814X_EVM_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 #define CONFIG_TI81XX
 #define CONFIG_TI814X
 #define CONFIG_SYS_NO_FLASH
index ba652cabab3670da097a76622942f3ee865b11a5..533fae7d82d2d881ed763dc8403184360a67fc58 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef __CONFIG_TI816X_EVM_H
 #define __CONFIG_TI816X_EVM_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 #define CONFIG_TI81XX
 #define CONFIG_TI816X
 #define CONFIG_SYS_NO_FLASH
index 02fdcdca8fd69a3ba1acadce07db50f9bb4c1352..6a4868c3772017e086d422f1baebc662a30b54b0 100644 (file)
 #ifndef __CONFIG_TI_OMAP3_COMMON_H__
 #define __CONFIG_TI_OMAP3_COMMON_H__
 
+/*
+ * High Level Configuration Options
+ */
+
+#define CONFIG_SYS_CACHELINE_SIZE      64
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap.h>
index f5f53249e28a63b698de838fbd1648274b4b13d4..2ec2f015c1af3875f4d4bc66d6949bc1adcdd3d4 100644 (file)
@@ -16,6 +16,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 /* High Level Configuration Options */
 #define CONFIG_SYS_THUMB_BUILD
 #define CONFIG_OMAP                    /* in a TI OMAP core */
index cec510c1f123813cd95ff817a23ae585f7c16d43..d78ca0bc5ccf62c849b36d4557a0b7729dc70db2 100644 (file)
 #define CONFIG_SYS_MEMTEST_START       V2M_BASE
 #define CONFIG_SYS_MEMTEST_END         0x20000000
 
+#define CONFIG_SYS_CACHELINE_SIZE      64
+
 #define CONFIG_CMDLINE_TAG             1       /* enable passing of ATAGs */
 #define CONFIG_SETUP_MEMORY_TAGS       1
 #define CONFIG_SYS_L2CACHE_OFF         1
index dcfafaf63119fdfe41c07da3d3354f707d02e3fe..d100f7349ef9ae9bd3ef116c790a958dc4749585 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
 #include <asm/arch/imx-regs.h>
 
 #define CONFIG_VF610