From: Stefano Babic <sbabic@denx.de>
Date: Sun, 1 Apr 2012 03:23:01 +0000 (+0000)
Subject: mx35: mx35pdk: fix when cache functions are linked
X-Git-Tag: v2025.01-rc5-pxa1908~17674^2~177^2~14
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=0792a36efbde78681faebcbe1326adc4524fbcaa;p=u-boot.git

mx35: mx35pdk: fix when cache functions are linked

Signed-off-by: Stefano Babic <sbabic@denx.de>
---

diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 0c62b9fdfb..1e03639adf 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -38,6 +38,7 @@
 
 /* Set TEXT at the beginning of the NOR flash */
 #define CONFIG_SYS_TEXT_BASE	0xA0000000
+#define CONFIG_SYS_CACHELINE_SIZE	32
 
 #define CONFIG_SYS_64BIT_VSPRINTF
 
@@ -106,6 +107,7 @@
 #define CONFIG_BOOTP_DNS
 
 #define CONFIG_CMD_NAND
+#define CONFIG_CMD_CACHE
 
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_SPI