diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-11-21 03:12:12 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-21 03:12:12 -0500 |
commit | c3a9f435ae1b1969736a6ca695dfbc508b917b65 (patch) | |
tree | dcd03b47fd0c6ba43e9f9304b343369d7cdd8c15 /include/asm-blackfin/mach-bf548 | |
parent | 81a487a59f246a9eba24c3622e4c964e3347239d (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')
-rw-r--r-- | include/asm-blackfin/mach-bf548/mem_map.h | 11 |
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 bacec3455898..00752f774986 100644 --- a/include/asm-blackfin/mach-bf548/mem_map.h +++ b/include/asm-blackfin/mach-bf548/mem_map.h | |||
@@ -47,6 +47,7 @@ | |||
47 | /* Boot ROM Memory */ | 47 | /* Boot ROM Memory */ |
48 | 48 | ||
49 | #define BOOT_ROM_START 0xEF000000 | 49 | #define BOOT_ROM_START 0xEF000000 |
50 | #define BOOT_ROM_LENGTH 0x1000 | ||
50 | 51 | ||
51 | /* Level 1 Memory */ | 52 | /* Level 1 Memory */ |
52 | 53 | ||
@@ -87,6 +88,16 @@ | |||
87 | #define BFIN_DSUPBANKS 0 | 88 | #define BFIN_DSUPBANKS 0 |
88 | #endif /*CONFIG_BFIN_DCACHE*/ | 89 | #endif /*CONFIG_BFIN_DCACHE*/ |
89 | 90 | ||
91 | /* Level 2 Memory */ | ||
92 | #if !defined(CONFIG_BF542) | ||
93 | # define L2_START 0xFEB00000 | ||
94 | # if defined(CONFIG_BF544) | ||
95 | # define L2_LENGTH 0x10000 | ||
96 | # else | ||
97 | # define L2_LENGTH 0x20000 | ||
98 | # endif | ||
99 | #endif | ||
100 | |||
90 | /* Scratch Pad Memory */ | 101 | /* Scratch Pad Memory */ |
91 | 102 | ||
92 | #define L1_SCRATCH_START 0xFFB00000 | 103 | #define L1_SCRATCH_START 0xFFB00000 |