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:
parent
cdbf4c3c5f
commit
ad5dd97743
|
@ -94,13 +94,13 @@
|
||||||
#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_BF542)
|
||||||
# if defined(CONFIG_BF544)
|
# define L2_LENGTH 0
|
||||||
# define L2_LENGTH 0x10000
|
#elif defined(CONFIG_BF544)
|
||||||
# else
|
# define L2_LENGTH 0x10000
|
||||||
# define L2_LENGTH 0x20000
|
#else
|
||||||
# endif
|
# define L2_LENGTH 0x20000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Scratch Pad Memory */
|
/* Scratch Pad Memory */
|
||||||
|
|
Loading…
Reference in New Issue