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>
This commit is contained in:
Mike Frysinger 2008-10-10 21:17:11 +08:00 committed by Bryan Wu
parent cdbf4c3c5f
commit ad5dd97743
1 changed files with 7 additions and 7 deletions

View File

@ -94,14 +94,14 @@
#endif /*CONFIG_BFIN_DCACHE*/ #endif /*CONFIG_BFIN_DCACHE*/
/* Level 2 Memory */ /* Level 2 Memory */
#if !defined(CONFIG_BF542)
#define L2_START 0xFEB00000 #define L2_START 0xFEB00000
# if defined(CONFIG_BF544) #if defined(CONFIG_BF542)
# define L2_LENGTH 0
#elif defined(CONFIG_BF544)
# define L2_LENGTH 0x10000 # define L2_LENGTH 0x10000
#else #else
# define L2_LENGTH 0x20000 # define L2_LENGTH 0x20000
#endif #endif
#endif
/* Scratch Pad Memory */ /* Scratch Pad Memory */