Răsfoiți Sursa

mx35: mx35pdk: fix when cache functions are linked

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 13 ani în urmă
părinte
comite
0792a36efb
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      include/configs/mx35pdk.h

+ 2 - 0
include/configs/mx35pdk.h

@@ -38,6 +38,7 @@
 
 
 /* Set TEXT at the beginning of the NOR flash */
 /* Set TEXT at the beginning of the NOR flash */
 #define CONFIG_SYS_TEXT_BASE	0xA0000000
 #define CONFIG_SYS_TEXT_BASE	0xA0000000
+#define CONFIG_SYS_CACHELINE_SIZE	32
 
 
 #define CONFIG_SYS_64BIT_VSPRINTF
 #define CONFIG_SYS_64BIT_VSPRINTF
 
 
@@ -106,6 +107,7 @@
 #define CONFIG_BOOTP_DNS
 #define CONFIG_BOOTP_DNS
 
 
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_NAND
+#define CONFIG_CMD_CACHE
 
 
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_SPI