summaryrefslogtreecommitdiff
path: root/include/ppc405.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ppc405.h')
-rw-r--r--include/ppc405.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ppc405.h b/include/ppc405.h
index 97528e88a..2c5591726 100644
--- a/include/ppc405.h
+++ b/include/ppc405.h
@@ -22,6 +22,12 @@
#ifndef __PPC405_H__
#define __PPC405_H__
+#ifndef CONFIG_IOP480
+#define CFG_DCACHE_SIZE (16 << 10) /* For AMCC 405 CPUs */
+#else
+#define CFG_DCACHE_SIZE (2 << 10) /* For PLX IOP480 (403) */
+#endif
+
/*--------------------------------------------------------------------- */
/* Special Purpose Registers */
/*--------------------------------------------------------------------- */