]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: make sure L2 start and length are always defined (fixes building on...
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 10 Oct 2008 13:17:11 +0000 (21:17 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 10 Oct 2008 13:17:11 +0000 (21:17 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-bf548/include/mach/mem_map.h

index f99f47bc3a0796162796c75470497742a80d992c..a2228428dc065e11cc5fc6df3674fadbb5933147 100644 (file)
 #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 */