aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf518/include/mach/mem_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf518/include/mach/mem_map.h')
-rw-r--r--arch/blackfin/mach-bf518/include/mach/mem_map.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/mem_map.h b/arch/blackfin/mach-bf518/include/mach/mem_map.h
index 10f678f3c5c0..ac95d334d082 100644
--- a/arch/blackfin/mach-bf518/include/mach/mem_map.h
+++ b/arch/blackfin/mach-bf518/include/mach/mem_map.h
@@ -99,4 +99,19 @@
99#define L1_SCRATCH_START 0xFFB00000 99#define L1_SCRATCH_START 0xFFB00000
100#define L1_SCRATCH_LENGTH 0x1000 100#define L1_SCRATCH_LENGTH 0x1000
101 101
102#define get_l1_scratch_start_cpu(cpu) L1_SCRATCH_START
103#define get_l1_code_start_cpu(cpu) L1_CODE_START
104#define get_l1_data_a_start_cpu(cpu) L1_DATA_A_START
105#define get_l1_data_b_start_cpu(cpu) L1_DATA_B_START
106#define get_l1_scratch_start() L1_SCRATCH_START
107#define get_l1_code_start() L1_CODE_START
108#define get_l1_data_a_start() L1_DATA_A_START
109#define get_l1_data_b_start() L1_DATA_B_START
110
111#define GET_PDA_SAFE(preg) \
112 preg.l = _cpu_pda; \
113 preg.h = _cpu_pda;
114
115#define GET_PDA(preg, dreg) GET_PDA_SAFE(preg)
116
102#endif /* _MEM_MAP_518_H_ */ 117#endif /* _MEM_MAP_518_H_ */