Go to the documentation of this file.
11 #ifndef __ARCH_ARM_OMAP_SRAM_H
12 #define __ARCH_ARM_OMAP_SRAM_H
20 #define omap_sram_push(funcp, size) ({ \
21 typeof(&(funcp)) _res = NULL; \
22 void *_sram_address = omap_sram_push_address(size); \
24 _res = fncpy(_sram_address, &(funcp), size); \
31 u32 base_cs,
u32 force_unlock);
38 u32 sdrc_rfr_ctrl_0,
u32 sdrc_actim_ctrl_a_0,
39 u32 sdrc_actim_ctrl_b_0,
u32 sdrc_mr_0,
40 u32 sdrc_rfr_ctrl_1,
u32 sdrc_actim_ctrl_a_1,
41 u32 sdrc_actim_ctrl_b_1,
u32 sdrc_mr_1);
52 u32 base_cs,
u32 force_unlock);
65 u32 base_cs,
u32 force_unlock);
78 u32 sdrc_rfr_ctrl_0,
u32 sdrc_actim_ctrl_a_0,
79 u32 sdrc_actim_ctrl_b_0,
u32 sdrc_mr_0,
80 u32 sdrc_rfr_ctrl_1,
u32 sdrc_actim_ctrl_a_1,
81 u32 sdrc_actim_ctrl_b_1,
u32 sdrc_mr_1);
96 #define OMAP2_SRAM_PA 0x40200000
97 #define OMAP3_SRAM_PA 0x40200000
98 #ifdef CONFIG_OMAP4_ERRATA_I688
99 #define OMAP4_SRAM_PA 0x40304000
100 #define OMAP4_SRAM_VA 0xfe404000
102 #define OMAP4_SRAM_PA 0x40300000
104 #define AM33XX_SRAM_PA 0x40300000