aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-bf548/mem_map.h
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-21 16:12:12 +0800
committerBryan Wu <bryan.wu@analog.com>2007-11-21 16:12:12 +0800
commitc3a9f435ae1b1969736a6ca695dfbc508b917b65 (patch)
treedcd03b47fd0c6ba43e9f9304b343369d7cdd8c15 /include/asm-blackfin/mach-bf548/mem_map.h
parent81a487a59f246a9eba24c3622e4c964e3347239d (diff)
Blackfin arch: cplb and map header file cleanup
- remove duplicated defines for the BF561 - generalize L2 support (so that it works for BF54x) and mark it executable - add support for reading/executing the Boot ROM sections (since it has data/functions we may need at runtime) - and fixup names for each map Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf548/mem_map.h')
-rw-r--r--include/asm-blackfin/mach-bf548/mem_map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf548/mem_map.h b/include/asm-blackfin/mach-bf548/mem_map.h
index bacec345589..00752f77498 100644
--- a/include/asm-blackfin/mach-bf548/mem_map.h
+++ b/include/asm-blackfin/mach-bf548/mem_map.h
@@ -47,6 +47,7 @@
/* Boot ROM Memory */
#define BOOT_ROM_START 0xEF000000
+#define BOOT_ROM_LENGTH 0x1000
/* Level 1 Memory */
@@ -87,6 +88,16 @@
#define BFIN_DSUPBANKS 0
#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
+#endif
+
/* Scratch Pad Memory */
#define L1_SCRATCH_START 0xFFB00000