We need the dummy MEM_L2 to silence linker warning

bfin-common-sc.ld:73: warning: memory region MEM_L2 not declared

Committed.

Jie
	* bfin/bf504.ld: Add dummy MEM_L2.
	* bfin/bf506.ld: Likewise.

Index: bfin/bf506.ld
===================================================================
--- bfin/bf506.ld	(revision 3763)
+++ bfin/bf506.ld	(working copy)
@@ -21,4 +21,6 @@ MEMORY
   MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
   MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
   MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
 }
Index: bfin/bf504.ld
===================================================================
--- bfin/bf504.ld	(revision 3763)
+++ bfin/bf504.ld	(working copy)
@@ -21,4 +21,6 @@ MEMORY
   MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
   MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
   MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
 }
_______________________________________________
Toolchain-devel mailing list
Toolchain-devel@blackfin.uclinux.org
https://blackfin.uclinux.org/mailman/listinfo/toolchain-devel

Reply via email to