8 #ifndef __BFIN_MEM_MAP_H__
9 #define __BFIN_MEM_MAP_H__
11 #include <mach/mem_map.h>
15 # define COREMMR_BASE 0xFFE00000
18 # define SYSMMR_BASE 0xFFC00000
22 #ifndef L1_SCRATCH_START
23 # define L1_SCRATCH_START 0xFFB00000
24 # define L1_SCRATCH_LENGTH 0x1000
35 # define L1_ROM_START 0
36 # define L1_ROM_LENGTH 0
41 # define GET_PDA_SAFE(preg) \
44 # define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
48 static inline unsigned long get_l1_scratch_start_cpu(
int cpu)
52 static inline unsigned long get_l1_code_start_cpu(
int cpu)
56 static inline unsigned long get_l1_data_a_start_cpu(
int cpu)
60 static inline unsigned long get_l1_data_b_start_cpu(
int cpu)
64 static inline unsigned long get_l1_scratch_start(
void)
66 return get_l1_scratch_start_cpu(0);
68 static inline unsigned long get_l1_code_start(
void)
70 return get_l1_code_start_cpu(0);
72 static inline unsigned long get_l1_data_a_start(
void)
74 return get_l1_data_a_start_cpu(0);
76 static inline unsigned long get_l1_data_b_start(
void)
78 return get_l1_data_b_start_cpu(0);