|
@@ -51,10 +51,10 @@
|
|
|
|
|
|
/* Level 1 Memory */
|
|
/* Level 1 Memory */
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_CACHE
|
|
|
|
-#define BLKFIN_ICACHESIZE (16*1024)
|
|
|
|
|
|
+#ifdef CONFIG_BFIN_ICACHE
|
|
|
|
+#define BFIN_ICACHESIZE (16*1024)
|
|
#else
|
|
#else
|
|
-#define BLKFIN_ICACHESIZE (0*1024)
|
|
|
|
|
|
+#define BFIN_ICACHESIZE (0*1024)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/* Memory Map for ADSP-BF533 processors */
|
|
/* Memory Map for ADSP-BF533 processors */
|
|
@@ -64,35 +64,35 @@
|
|
#define L1_DATA_A_START 0xFF800000
|
|
#define L1_DATA_A_START 0xFF800000
|
|
#define L1_DATA_B_START 0xFF900000
|
|
#define L1_DATA_B_START 0xFF900000
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_CACHE
|
|
|
|
|
|
+#ifdef CONFIG_BFIN_ICACHE
|
|
#define L1_CODE_LENGTH (0x14000 - 0x4000)
|
|
#define L1_CODE_LENGTH (0x14000 - 0x4000)
|
|
#else
|
|
#else
|
|
#define L1_CODE_LENGTH 0x14000
|
|
#define L1_CODE_LENGTH 0x14000
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#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 DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
#define L1_DATA_B_LENGTH 0x8000
|
|
#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
|
|
#else
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
#define L1_DATA_A_LENGTH (0x8000 - 0x4000)
|
|
#define L1_DATA_B_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
|
|
#endif
|
|
|
|
|
|
#else
|
|
#else
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH 0x8000
|
|
#define L1_DATA_A_LENGTH 0x8000
|
|
#define L1_DATA_B_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
|
|
#endif
|
|
|
|
|
|
/* Memory Map for ADSP-BF532 processors */
|
|
/* Memory Map for ADSP-BF532 processors */
|
|
@@ -102,36 +102,36 @@
|
|
#define L1_DATA_A_START 0xFF804000
|
|
#define L1_DATA_A_START 0xFF804000
|
|
#define L1_DATA_B_START 0xFF904000
|
|
#define L1_DATA_B_START 0xFF904000
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_CACHE
|
|
|
|
|
|
+#ifdef CONFIG_BFIN_ICACHE
|
|
#define L1_CODE_LENGTH (0xC000 - 0x4000)
|
|
#define L1_CODE_LENGTH (0xC000 - 0x4000)
|
|
#else
|
|
#else
|
|
#define L1_CODE_LENGTH 0xC000
|
|
#define L1_CODE_LENGTH 0xC000
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#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 DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
#define L1_DATA_B_LENGTH 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
|
|
#else
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ACACHE_BCACHE | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
#define L1_DATA_B_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
|
|
#endif
|
|
|
|
|
|
#else
|
|
#else
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH 0x4000
|
|
#define L1_DATA_A_LENGTH 0x4000
|
|
#define L1_DATA_B_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
|
|
#endif
|
|
|
|
|
|
/* Memory Map for ADSP-BF531 processors */
|
|
/* Memory Map for ADSP-BF531 processors */
|
|
@@ -144,16 +144,16 @@
|
|
#define L1_DATA_B_LENGTH 0x0000
|
|
#define L1_DATA_B_LENGTH 0x0000
|
|
|
|
|
|
|
|
|
|
-#ifdef CONFIG_BLKFIN_DCACHE
|
|
|
|
|
|
+#ifdef CONFIG_BFIN_DCACHE
|
|
#define DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ACACHE_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
#define L1_DATA_A_LENGTH (0x4000 - 0x4000)
|
|
-#define BLKFIN_DCACHESIZE (16*1024)
|
|
|
|
-#define BLKFIN_DSUPBANKS 1
|
|
|
|
|
|
+#define BFIN_DCACHESIZE (16*1024)
|
|
|
|
+#define BFIN_DSUPBANKS 1
|
|
#else
|
|
#else
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define DMEM_CNTR (ASRAM_BSRAM | ENDCPLB | PORT_PREF0)
|
|
#define L1_DATA_A_LENGTH 0x4000
|
|
#define L1_DATA_A_LENGTH 0x4000
|
|
-#define BLKFIN_DCACHESIZE (0*1024)
|
|
|
|
-#define BLKFIN_DSUPBANKS 0
|
|
|
|
|
|
+#define BFIN_DCACHESIZE (0*1024)
|
|
|
|
+#define BFIN_DSUPBANKS 0
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif
|
|
#endif
|