summaryrefslogtreecommitdiff
path: root/cpu/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-01-05 13:35:31 +0100
committerMichal Simek <monstr@monstr.eu>2009-01-23 10:40:00 +0100
commite7f325be9edeb84bb457301776bbac1f7257dafc (patch)
tree1045e79a8e15020a991b0c99e016af1ef0755b24 /cpu/microblaze
parente9b737deb2c30125362d20e24170617476026e94 (diff)
microblaze: Use cache functions (especially cache status)
in systems which are configured without flash
Diffstat (limited to 'cpu/microblaze')
-rw-r--r--cpu/microblaze/cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpu/microblaze/cache.c b/cpu/microblaze/cache.c
index 4b7866fae..3b7c4d4f7 100644
--- a/cpu/microblaze/cache.c
+++ b/cpu/microblaze/cache.c
@@ -25,8 +25,6 @@
#include <common.h>
#include <asm/asm.h>
-#if defined(CONFIG_CMD_CACHE)
-
int dcache_status (void)
{
int i = 0;
@@ -62,4 +60,3 @@ void dcache_enable (void) {
void dcache_disable(void) {
MSRCLR(0x80);
}
-#endif