Title: [5378] trunk/include/asm-blackfin/mach-bf548/mem_map.h: make sure L2 start and length are always defined (fixes building on BF542)
Revision
5378
Author
vapier
Date
2008-10-04 11:50:12 -0500 (Sat, 04 Oct 2008)

Log Message

make sure L2 start and length are always defined (fixes building on BF542)

Modified Paths

Diff

Modified: trunk/include/asm-blackfin/mach-bf548/mem_map.h (5377 => 5378)


--- trunk/include/asm-blackfin/mach-bf548/mem_map.h	2008-10-04 09:57:20 UTC (rev 5377)
+++ trunk/include/asm-blackfin/mach-bf548/mem_map.h	2008-10-04 16:50:12 UTC (rev 5378)
@@ -94,13 +94,13 @@
 #endif /*CONFIG_BFIN_DCACHE*/
 
 /* Level 2 Memory */
-#if !defined(CONFIG_BF542)
-# define L2_START          0xFEB00000
-# if defined(CONFIG_BF544)
-#  define L2_LENGTH        0x10000
-# else
-#  define L2_LENGTH        0x20000
-# endif
+#define L2_START            0xFEB00000
+#if defined(CONFIG_BF542)
+# define L2_LENGTH          0
+#elif defined(CONFIG_BF544)
+# define L2_LENGTH          0x10000
+#else
+# define L2_LENGTH          0x20000
 #endif
 
 /* Scratch Pad Memory */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to