arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / arm / mach-omap2 / sram.h
blob447bd3eed0fd30e11c1c008b888773ea6326b60d
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Interface for functions that need to be run in internal SRAM
4 */
6 #ifndef __ASSEMBLY__
7 #include <plat/sram.h>
9 extern void omap2_sram_ddr_init(u32 *slow_dll_ctrl, u32 fast_dll_ctrl,
10 u32 base_cs, u32 force_unlock);
11 extern void omap2_sram_reprogram_sdrc(u32 perf_level, u32 dll_val,
12 u32 mem_type);
13 extern u32 omap2_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val, int bypass);
15 extern void omap3_sram_restore_context(void);
17 /* Do not use these */
18 extern void omap24xx_sram_reprogram_clock(u32 ckctl, u32 dpllctl);
19 extern unsigned long omap24xx_sram_reprogram_clock_sz;
21 extern void omap242x_sram_ddr_init(u32 *slow_dll_ctrl, u32 fast_dll_ctrl,
22 u32 base_cs, u32 force_unlock);
23 extern unsigned long omap242x_sram_ddr_init_sz;
25 extern u32 omap242x_sram_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val,
26 int bypass);
27 extern unsigned long omap242x_sram_set_prcm_sz;
29 extern void omap242x_sram_reprogram_sdrc(u32 perf_level, u32 dll_val,
30 u32 mem_type);
31 extern unsigned long omap242x_sram_reprogram_sdrc_sz;
34 extern void omap243x_sram_ddr_init(u32 *slow_dll_ctrl, u32 fast_dll_ctrl,
35 u32 base_cs, u32 force_unlock);
36 extern unsigned long omap243x_sram_ddr_init_sz;
38 extern u32 omap243x_sram_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val,
39 int bypass);
40 extern unsigned long omap243x_sram_set_prcm_sz;
42 extern void omap243x_sram_reprogram_sdrc(u32 perf_level, u32 dll_val,
43 u32 mem_type);
44 extern unsigned long omap243x_sram_reprogram_sdrc_sz;
46 #ifdef CONFIG_PM
47 extern void omap_push_sram_idle(void);
48 #else
49 static inline void omap_push_sram_idle(void) {}
50 #endif /* CONFIG_PM */
52 #endif /* __ASSEMBLY__ */
55 * OMAP2+: define the SRAM PA addresses.
56 * Used by the SRAM management code and the idle sleep code.
58 #define OMAP2_SRAM_PA 0x40200000
59 #define OMAP3_SRAM_PA 0x40200000