diff mbox

[U-Boot,3/9] omap: fix cache line size for omap3/omap4 boards

Message ID 1321954745-18112-4-git-send-email-aneesh@ti.com
State Accepted, archived
Delegated to: Tom Rini
Headers show

Commit Message

Aneesh V Nov. 22, 2011, 9:38 a.m. UTC
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Aneesh V <aneesh@ti.com>
---
 include/configs/omap3_beagle.h     |    2 ++
 include/configs/omap3_evm.h        |    1 +
 include/configs/omap3_evm_common.h |    2 ++
 include/configs/omap3_mvblx.h      |    2 ++
 include/configs/omap3_overo.h      |    2 ++
 include/configs/omap3_pandora.h    |    2 ++
 include/configs/omap3_sdp3430.h    |    2 ++
 include/configs/omap3_zoom1.h      |    2 ++
 include/configs/omap3_zoom2.h      |    2 ++
 include/configs/omap4_common.h     |    1 +
 10 files changed, 18 insertions(+), 0 deletions(-)

Comments

Tom Rini Nov. 22, 2011, 3:58 p.m. UTC | #1
On 11/22/2011 02:38 AM, Aneesh V wrote:
> Cc: Tom Rini <trini@ti.com>
> Signed-off-by: Aneesh V <aneesh@ti.com>

Except for adding whitespace to include/configs/omap3_evm.h,

Acked-by: Tom Rini <trini@ti.com>
Aneesh V Nov. 23, 2011, 5 a.m. UTC | #2
On Tuesday 22 November 2011 09:28 PM, Tom Rini wrote:
> On 11/22/2011 02:38 AM, Aneesh V wrote:
>> Cc: Tom Rini<trini@ti.com>
>> Signed-off-by: Aneesh V<aneesh@ti.com>
>
> Except for adding whitespace to include/configs/omap3_evm.h,

Will fix it.

>
> Acked-by: Tom Rini<trini@ti.com>
>

Thanks,
Aneesh
Tom Rini Nov. 29, 2011, 9:15 p.m. UTC | #3
On Tue, Nov 22, 2011 at 10:00 PM, Aneesh V <aneesh@ti.com> wrote:
> On Tuesday 22 November 2011 09:28 PM, Tom Rini wrote:
>>
>> On 11/22/2011 02:38 AM, Aneesh V wrote:
>>>
>>> Cc: Tom Rini<trini@ti.com>
>>> Signed-off-by: Aneesh V<aneesh@ti.com>
>>
>> Except for adding whitespace to include/configs/omap3_evm.h,
>
> Will fix it.

To be clear, since there wasn't a v2 and it's just dropping a change,
I'll do that as I push this into u-boot-ti.
diff mbox

Patch

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 15e40c5..a73c8af 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -390,4 +390,6 @@ 
 
 #define CONFIG_OMAP3_SPI
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif /* __CONFIG_H */
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 47ec39f..218d806 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -141,4 +141,5 @@ 
 		"fi; " \
 	"else run nandboot; fi"
 
+
 #endif /* __OMAP3EVM_CONFIG_H */
diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
index 54aa7a7..e6921c5 100644
--- a/include/configs/omap3_evm_common.h
+++ b/include/configs/omap3_evm_common.h
@@ -289,4 +289,6 @@ 
 /* Uncomment to define the board revision statically */
 /* #define CONFIG_STATIC_BOARD_REV	OMAP3EVM_BOARD_GEN_2 */
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif /* __OMAP3_EVM_COMMON_H */
diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h
index a0252a2..7df75f5 100644
--- a/include/configs/omap3_mvblx.h
+++ b/include/configs/omap3_mvblx.h
@@ -310,4 +310,6 @@ 
 
 #define CONFIG_OMAP3_SPI
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif /* __CONFIG_H */
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index afdefd9..b628fef 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -307,4 +307,6 @@ 
 					 CONFIG_SYS_INIT_RAM_SIZE - \
 					 GENERATED_GBL_DATA_SIZE)
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif				/* __CONFIG_H */
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 3c2793e..af2bf80 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -278,4 +278,6 @@ 
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif				/* __CONFIG_H */
diff --git a/include/configs/omap3_sdp3430.h b/include/configs/omap3_sdp3430.h
index 35472bb..8e9ac53 100644
--- a/include/configs/omap3_sdp3430.h
+++ b/include/configs/omap3_sdp3430.h
@@ -358,4 +358,6 @@ 
  *  - rest for filesystem
  */
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif				/* __CONFIG_H */
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index fbac222..a01dc74 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -303,4 +303,6 @@ 
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif				/* __CONFIG_H */
diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
index 8de3d31..c4b6552 100644
--- a/include/configs/omap3_zoom2.h
+++ b/include/configs/omap3_zoom2.h
@@ -269,4 +269,6 @@ 
 #define CONFIG_ENV_OFFSET		SMNAND_ENV_OFFSET
 #define CONFIG_ENV_ADDR			SMNAND_ENV_OFFSET
 
+#define CONFIG_SYS_CACHELINE_SIZE	64
+
 #endif /* __CONFIG_H */
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index a058700..613aef2 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -239,6 +239,7 @@ 
 #define CONFIG_SYS_L2_PL310		1
 #define CONFIG_SYS_PL310_BASE	0x48242000
 #endif
+#define CONFIG_SYS_CACHELINE_SIZE	32
 
 /* Defines for SDRAM init */
 #define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS