diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-10-10 09:17:11 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-10 09:17:11 -0400 |
commit | ad5dd977430216059d8344ccc516f11be4a37082 (patch) | |
tree | a4d684c8692353005747f1ffd618c6c2de53a366 /arch/blackfin | |
parent | cdbf4c3c5f4909767c21f47f68f2ee57a8b36b3b (diff) |
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')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/mem_map.h | 14 |
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 @@ | |||
94 | #endif /*CONFIG_BFIN_DCACHE*/ | 94 | #endif /*CONFIG_BFIN_DCACHE*/ |
95 | 95 | ||
96 | /* Level 2 Memory */ | 96 | /* Level 2 Memory */ |
97 | #if !defined(CONFIG_BF542) | 97 | #define L2_START 0xFEB00000 |
98 | # define L2_START 0xFEB00000 | 98 | #if defined(CONFIG_BF542) |
99 | # if defined(CONFIG_BF544) | 99 | # define L2_LENGTH 0 |
100 | # define L2_LENGTH 0x10000 | 100 | #elif defined(CONFIG_BF544) |
101 | # else | 101 | # define L2_LENGTH 0x10000 |
102 | # define L2_LENGTH 0x20000 | 102 | #else |
103 | # endif | 103 | # define L2_LENGTH 0x20000 |
104 | #endif | 104 | #endif |
105 | 105 | ||
106 | /* Scratch Pad Memory */ | 106 | /* Scratch Pad Memory */ |