summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-06-17 02:55:53 +0000
committersam <sam@FreeBSD.org>2009-06-17 02:55:53 +0000
commit8052549ad29d9dbc59124c2924109efd906529c5 (patch)
treeca2b889c8d77a23ae99e29a699e88803b5e2e62e /sys/arm
parent87856a200eb8c1a728f4d2826eebe5728cfd8049 (diff)
downloadFreeBSD-src-8052549ad29d9dbc59124c2924109efd906529c5.zip
FreeBSD-src-8052549ad29d9dbc59124c2924109efd906529c5.tar.gz
remove IAL vestige for defining the max data/instruction memory size;
instead of defining them according to ixp46x add new defines so we can do this at run time
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/xscale/ixp425/ixp425_npereg.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arm/xscale/ixp425/ixp425_npereg.h b/sys/arm/xscale/ixp425/ixp425_npereg.h
index b3e684c..6a22d05 100644
--- a/sys/arm/xscale/ixp425/ixp425_npereg.h
+++ b/sys/arm/xscale/ixp425/ixp425_npereg.h
@@ -95,7 +95,6 @@
/*
* Instruction and Data Memory Size (in words) for each NPE
*/
-#ifndef __ixp46X
#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEA 4096
#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEB 2048
#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEC 2048
@@ -103,15 +102,9 @@
#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEA 2048
#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEB 2048
#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEC 2048
-#else
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEA 4096
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEB 4096
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEC 4096
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEA 4096
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEB 4096
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEC 4096
-#endif
+#define IXP46X_NPEDL_INS_MEMSIZE_WORDS 4096
+#define IXP46X_NPEDL_DATA_MEMSIZE_WORDS 4096
/* BAR offsets */
#define IX_NPEDL_REG_OFFSET_EXAD 0x00000000 /* Execution Address */
OpenPOWER on IntegriCloud