Skip to content

Commit

Permalink
Blackfin arch: make sure L2 start and length are always defined (fixe…
Browse files Browse the repository at this point in the history
…s building on BF542)

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 10, 2008
1 parent cdbf4c3 commit ad5dd97
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions arch/blackfin/mach-bf548/include/mach/mem_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ad5dd97

Please sign in to comment.