summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-10 15:17:11 +0200
committerBryan Wu <cooloney@kernel.org>2008-10-10 15:17:11 +0200
commitad5dd977430216059d8344ccc516f11be4a37082 (patch)
treea4d684c8692353005747f1ffd618c6c2de53a366 /arch/blackfin/mach-bf548
parentBlackfin arch: use the Blackfin on-chip ROM to do software reset when possible (diff)
downloadlinux-ad5dd977430216059d8344ccc516f11be4a37082.tar.xz
linux-ad5dd977430216059d8344ccc516f11be4a37082.zip
Blackfin arch: make sure L2 start and length are always defined (fixes building on BF542)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/include/mach/mem_map.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/mem_map.h b/arch/blackfin/mach-bf548/include/mach/mem_map.h
index f99f47bc3a07..a2228428dc06 100644
--- a/arch/blackfin/mach-bf548/include/mach/mem_map.h
+++ b/arch/blackfin/mach-bf548/include/mach/mem_map.h
@@ -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 */