]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: atmel: cpux9k2: add missing cache configs
authorJens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Thu, 18 Oct 2012 21:41:10 +0000 (21:41 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Nov 2012 14:56:52 +0000 (15:56 +0100)
* add CONFIG_SYS_CACHELINE_SIZE to eb_cpux9k2 board config header
* dissable dcache (CONFIG_SYS_DCACHE_OFF) for eb_cpux9k2

Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
include/configs/eb_cpux9k2.h

index 9371ec31f3357c932dac8b147aea2e0102ec7fd8..3be4929fc2c85e488430839a5217852340e587a8 100644 (file)
 
 #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