Commit ad5dd977 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: make sure L2 start and length are always defined (fixes building on BF542)

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent cdbf4c3c
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment