|
@@ -52,10 +52,10 @@
|
|
|
|
|
|
/* Memory Map for ADSP-BF537 processors */
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_CACHE
|
|
|
-#define BLKFIN_ICACHESIZE (16*1024)
|
|
|
+#ifdef CONFIG_BFIN_ICACHE
|
|
|
+#define BFIN_ICACHESIZE (16*1024)
|
|
|
#else
|
|
|
-#define BLKFIN_ICACHESIZE (0*1024)
|
|
|
+#define BFIN_ICACHESIZE (0*1024)
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -66,29 +66,29 @@
|
|
|
|
|
|
#define L1_CODE_LENGTH 0xC000
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE
|
|
|
+#ifdef CONFIG_BFIN_DCACHE
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE_BANKA
|
|
|
+#ifdef CONFIG_BFIN_DCACHE_BANKA
|
|
|
#define DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH 0x8000
|
|
|
-#define BLKFIN_DCACHESIZE (16*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 1
|
|
|
+#define BFIN_DCACHESIZE (16*1024)
|
|
|
+#define BFIN_DSUPBANKS 1
|
|
|
#else
|
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH (0x8000 - 0x4000)
|
|
|
-#define BLKFIN_DCACHESIZE (32*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 2
|
|
|
+#define BFIN_DCACHESIZE (32*1024)
|
|
|
+#define BFIN_DSUPBANKS 2
|
|
|
#endif
|
|
|
|
|
|
#else
|
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH 0x8000
|
|
|
#define L1_DATA_B_LENGTH 0x8000
|
|
|
-#define BLKFIN_DCACHESIZE (0*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 0
|
|
|
-#endif /*CONFIG_BLKFIN_DCACHE*/
|
|
|
+#define BFIN_DCACHESIZE (0*1024)
|
|
|
+#define BFIN_DSUPBANKS 0
|
|
|
+#endif /*CONFIG_BFIN_DCACHE*/
|
|
|
|
|
|
#endif /*CONFIG_BF537*/
|
|
|
|
|
@@ -102,30 +102,30 @@
|
|
|
#define L1_CODE_LENGTH 0xC000
|
|
|
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE
|
|
|
+#ifdef CONFIG_BFIN_DCACHE
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE_BANKA
|
|
|
+#ifdef CONFIG_BFIN_DCACHE_BANKA
|
|
|
#define DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH 0x4000
|
|
|
-#define BLKFIN_DCACHESIZE (16*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 1
|
|
|
+#define BFIN_DCACHESIZE (16*1024)
|
|
|
+#define BFIN_DSUPBANKS 1
|
|
|
|
|
|
#else
|
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH (0x4000 - 0x4000)
|
|
|
-#define BLKFIN_DCACHESIZE (32*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 2
|
|
|
+#define BFIN_DCACHESIZE (32*1024)
|
|
|
+#define BFIN_DSUPBANKS 2
|
|
|
#endif
|
|
|
|
|
|
#else
|
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH 0x4000
|
|
|
#define L1_DATA_B_LENGTH 0x4000
|
|
|
-#define BLKFIN_DCACHESIZE (0*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 0
|
|
|
-#endif /*CONFIG_BLKFIN_DCACHE*/
|
|
|
+#define BFIN_DCACHESIZE (0*1024)
|
|
|
+#define BFIN_DSUPBANKS 0
|
|
|
+#endif /*CONFIG_BFIN_DCACHE*/
|
|
|
|
|
|
#endif
|
|
|
|
|
@@ -138,30 +138,30 @@
|
|
|
|
|
|
#define L1_CODE_LENGTH 0xC000
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE
|
|
|
+#ifdef CONFIG_BFIN_DCACHE
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE_BANKA
|
|
|
+#ifdef CONFIG_BFIN_DCACHE_BANKA
|
|
|
#define DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH 0x8000
|
|
|
-#define BLKFIN_DCACHESIZE (16*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 1
|
|
|
+#define BFIN_DCACHESIZE (16*1024)
|
|
|
+#define BFIN_DSUPBANKS 1
|
|
|
|
|
|
#else
|
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
|
#define L1_DATA_B_LENGTH (0x8000 - 0x4000)
|
|
|
-#define BLKFIN_DCACHESIZE (32*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 2
|
|
|
+#define BFIN_DCACHESIZE (32*1024)
|
|
|
+#define BFIN_DSUPBANKS 2
|
|
|
#endif
|
|
|
|
|
|
#else
|
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
|
#define L1_DATA_A_LENGTH 0x8000
|
|
|
#define L1_DATA_B_LENGTH 0x8000
|
|
|
-#define BLKFIN_DCACHESIZE (0*1024)
|
|
|
-#define BLKFIN_DSUPBANKS 0
|
|
|
-#endif /*CONFIG_BLKFIN_DCACHE*/
|
|
|
+#define BFIN_DCACHESIZE (0*1024)
|
|
|
+#define BFIN_DSUPBANKS 0
|
|
|
+#endif /*CONFIG_BFIN_DCACHE*/
|
|
|
|
|
|
#endif
|
|
|
|