Skip to contentSkip to conversation

arm: atmel: cpux9k2: add missing cache configs

PATCH New Jens Scharsig (BuS Elektronik) 2 participants 2 messages Oct 19, 2012 – Nov 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: atmel: cpux9k2: add missing cache configs

From: "Jens Scharsig (BuS Elektronik)" <[email protected]>

* add CONFIG_SYS_CACHELINE_SIZE to eb_cpux9k2 board config header
* dissable dcache (CONFIG_SYS_DCACHE_OFF) for eb_cpux9k2

---

This patch is send in reqest of
<http://lists.denx.de/pipermail/u-boot/2012-October/136404.html>
It fix compliation errors as long as 920t cache is not implemented.

 include/configs/eb_cpux9k2.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/configs/eb_cpux9k2.h +4 -1
index 9371ec3..3be4929 100644
@@ -43,6 +43,10 @@
 
 #define MACH_TYPE_EB_CPUX9K2		1977
 #define CONFIG_MACH_TYPE		MACH_TYPE_EB_CPUX9K2
+
+#define CONFIG_SYS_CACHELINE_SIZE	32
+#define CONFIG_SYS_DCACHE_OFF
+
 /*--------------------------------------------------------------------------*/
 #ifndef CONFIG_RAMBOOT
 #define CONFIG_SYS_TEXT_BASE		0x00000000
@@ -56,7 +60,6 @@
 #define CONFIG_SYS_U_BOOT_BASE		PHYS_FLASH_1
 #define CONFIG_SYS_U_BOOT_SIZE		0x60000 /* 384 KBytes */
 
-
 #define CONFIG_BOOT_RETRY_TIME		30
 #define CONFIG_CMDLINE_EDITING
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 arm: atmel: cpux9k2: add missing cache configs

Hi Jens,

Quoted 31 lines · Jens Scharsig (BuS Elektronik)

From: "Jens Scharsig (BuS Elektronik)" <[email protected]>

* add CONFIG_SYS_CACHELINE_SIZE to eb_cpux9k2 board config header
* dissable dcache (CONFIG_SYS_DCACHE_OFF) for eb_cpux9k2

---

This patch is send in reqest of
<http://lists.denx.de/pipermail/u-boot/2012-October/136404.html>
It fix compliation errors as long as 920t cache is not implemented.

 include/configs/eb_cpux9k2.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/configs/eb_cpux9k2.h +4 -0
index 9371ec3..3be4929 100644
@@ -43,6 +43,10 @@
 
 #define MACH_TYPE_EB_CPUX9K2		1977
 #define CONFIG_MACH_TYPE		MACH_TYPE_EB_CPUX9K2
+
+#define CONFIG_SYS_CACHELINE_SIZE	32
+#define CONFIG_SYS_DCACHE_OFF
+
 /*--------------------------------------------------------------------------*/
 #ifndef CONFIG_RAMBOOT
 #define CONFIG_SYS_TEXT_BASE		0x00000000

include/configs/eb_cpux9k2.h line 65

Quoted 7 lines
include/configs/eb_cpux9k2.h +0 -1
@@ -56,7 +60,6 @@
 #define CONFIG_SYS_U_BOOT_BASE		PHYS_FLASH_1
 #define CONFIG_SYS_U_BOOT_SIZE		0x60000 /* 384 KBytes */
 
-
 #define CONFIG_BOOT_RETRY_TIME		30
 #define CONFIG_CMDLINE_EDITING
 

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.