diff options
| -rw-r--r-- | arch/arm/mach-omap1/clock.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap1/clock_data.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap1/devices.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap1/pm.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-omap1/sram.h | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/clkt2xxx_dpllcore.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/clkt34xx_dpll3m2.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/io.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/pm24xx.c | 5 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/sdrc.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/sdrc2xxx.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/sleep34xx.S | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/sram.h (renamed from arch/arm/plat-omap/sram.h) | 26 | ||||
| -rw-r--r-- | arch/arm/plat-omap/include/plat/sram.h | 12 | ||||
| -rw-r--r-- | arch/arm/plat-omap/sram.c | 5 |
18 files changed, 39 insertions, 55 deletions
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c index 931f3f6d396b..4f5fd4a084c0 100644 --- a/arch/arm/mach-omap1/clock.c +++ b/arch/arm/mach-omap1/clock.c | |||
| @@ -24,12 +24,11 @@ | |||
| 24 | 24 | ||
| 25 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
| 26 | 26 | ||
| 27 | #include "../plat-omap/sram.h" | ||
| 28 | |||
| 29 | #include "soc.h" | 27 | #include "soc.h" |
| 30 | #include "iomap.h" | 28 | #include "iomap.h" |
| 31 | #include "clock.h" | 29 | #include "clock.h" |
| 32 | #include "opp.h" | 30 | #include "opp.h" |
| 31 | #include "sram.h" | ||
| 33 | 32 | ||
| 34 | __u32 arm_idlect1_mask; | 33 | __u32 arm_idlect1_mask; |
| 35 | struct clk *api_ck_p, *ck_dpll1_p, *ck_ref_p; | 34 | struct clk *api_ck_p, *ck_dpll1_p, *ck_ref_p; |
diff --git a/arch/arm/mach-omap1/clock_data.c b/arch/arm/mach-omap1/clock_data.c index 28aea55a412e..cb7c6ae2e3fc 100644 --- a/arch/arm/mach-omap1/clock_data.c +++ b/arch/arm/mach-omap1/clock_data.c | |||
| @@ -27,10 +27,9 @@ | |||
| 27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
| 28 | #include <mach/usb.h> /* for OTG_BASE */ | 28 | #include <mach/usb.h> /* for OTG_BASE */ |
| 29 | 29 | ||
| 30 | #include "../plat-omap/sram.h" | ||
| 31 | |||
| 32 | #include "iomap.h" | 30 | #include "iomap.h" |
| 33 | #include "clock.h" | 31 | #include "clock.h" |
| 32 | #include "sram.h" | ||
| 34 | 33 | ||
| 35 | /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */ | 34 | /* Some ARM_IDLECT1 bit shifts - used in struct arm_idlect1_clk */ |
| 36 | #define IDL_CLKOUT_ARM_SHIFT 12 | 35 | #define IDL_CLKOUT_ARM_SHIFT 12 |
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 645668e2b1d5..7155ed8b97f8 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c | |||
| @@ -26,12 +26,11 @@ | |||
| 26 | #include <mach/camera.h> | 26 | #include <mach/camera.h> |
| 27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
| 28 | 28 | ||
| 29 | #include "../plat-omap/sram.h" | ||
| 30 | |||
| 31 | #include "common.h" | 29 | #include "common.h" |
| 32 | #include "clock.h" | 30 | #include "clock.h" |
| 33 | #include "dma.h" | 31 | #include "dma.h" |
| 34 | #include "mmc.h" | 32 | #include "mmc.h" |
| 33 | #include "sram.h" | ||
| 35 | 34 | ||
| 36 | #if defined(CONFIG_SND_SOC) || defined(CONFIG_SND_SOC_MODULE) | 35 | #if defined(CONFIG_SND_SOC) || defined(CONFIG_SND_SOC_MODULE) |
| 37 | 36 | ||
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index b2c2328d7c18..66d663a6ef3a 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | #include <linux/io.h> | 44 | #include <linux/io.h> |
| 45 | #include <linux/atomic.h> | 45 | #include <linux/atomic.h> |
| 46 | 46 | ||
| 47 | #include <asm/fncpy.h> | ||
| 47 | #include <asm/system_misc.h> | 48 | #include <asm/system_misc.h> |
| 48 | #include <asm/irq.h> | 49 | #include <asm/irq.h> |
| 49 | #include <asm/mach/time.h> | 50 | #include <asm/mach/time.h> |
| @@ -56,11 +57,10 @@ | |||
| 56 | 57 | ||
| 57 | #include <mach/irqs.h> | 58 | #include <mach/irqs.h> |
| 58 | 59 | ||
| 59 | #include "../plat-omap/sram.h" | ||
| 60 | |||
| 61 | #include "iomap.h" | 60 | #include "iomap.h" |
| 62 | #include "clock.h" | 61 | #include "clock.h" |
| 63 | #include "pm.h" | 62 | #include "pm.h" |
| 63 | #include "sram.h" | ||
| 64 | 64 | ||
| 65 | static unsigned int arm_sleep_save[ARM_SLEEP_SAVE_SIZE]; | 65 | static unsigned int arm_sleep_save[ARM_SLEEP_SAVE_SIZE]; |
| 66 | static unsigned short dsp_sleep_save[DSP_SLEEP_SAVE_SIZE]; | 66 | static unsigned short dsp_sleep_save[DSP_SLEEP_SAVE_SIZE]; |
diff --git a/arch/arm/mach-omap1/sram.h b/arch/arm/mach-omap1/sram.h new file mode 100644 index 000000000000..d5a6c8362301 --- /dev/null +++ b/arch/arm/mach-omap1/sram.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #include <plat/sram.h> | ||
| 2 | |||
| 3 | extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl); | ||
| 4 | |||
| 5 | /* Do not use these */ | ||
| 6 | extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl); | ||
| 7 | extern unsigned long omap1_sram_reprogram_clock_sz; | ||
diff --git a/arch/arm/mach-omap2/clkt2xxx_dpllcore.c b/arch/arm/mach-omap2/clkt2xxx_dpllcore.c index 3432f913f743..0d2f14c2dcce 100644 --- a/arch/arm/mach-omap2/clkt2xxx_dpllcore.c +++ b/arch/arm/mach-omap2/clkt2xxx_dpllcore.c | |||
| @@ -25,14 +25,13 @@ | |||
| 25 | #include <linux/clk.h> | 25 | #include <linux/clk.h> |
| 26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
| 27 | 27 | ||
| 28 | #include "../plat-omap/sram.h" | ||
| 29 | |||
| 30 | #include "clock.h" | 28 | #include "clock.h" |
| 31 | #include "clock2xxx.h" | 29 | #include "clock2xxx.h" |
| 32 | #include "opp2xxx.h" | 30 | #include "opp2xxx.h" |
| 33 | #include "cm2xxx_3xxx.h" | 31 | #include "cm2xxx_3xxx.h" |
| 34 | #include "cm-regbits-24xx.h" | 32 | #include "cm-regbits-24xx.h" |
| 35 | #include "sdrc.h" | 33 | #include "sdrc.h" |
| 34 | #include "sram.h" | ||
| 36 | 35 | ||
| 37 | /* #define DOWN_VARIABLE_DPLL 1 */ /* Experimental */ | 36 | /* #define DOWN_VARIABLE_DPLL 1 */ /* Experimental */ |
| 38 | 37 | ||
diff --git a/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c b/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c index c66276b2bf0a..a38ebb209721 100644 --- a/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c +++ b/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | |||
| @@ -33,8 +33,6 @@ | |||
| 33 | #include <linux/cpufreq.h> | 33 | #include <linux/cpufreq.h> |
| 34 | #include <linux/slab.h> | 34 | #include <linux/slab.h> |
| 35 | 35 | ||
| 36 | #include "../plat-omap/sram.h" | ||
| 37 | |||
| 38 | #include "soc.h" | 36 | #include "soc.h" |
| 39 | #include "clock.h" | 37 | #include "clock.h" |
| 40 | #include "clock2xxx.h" | 38 | #include "clock2xxx.h" |
| @@ -42,6 +40,7 @@ | |||
| 42 | #include "cm2xxx_3xxx.h" | 40 | #include "cm2xxx_3xxx.h" |
| 43 | #include "cm-regbits-24xx.h" | 41 | #include "cm-regbits-24xx.h" |
| 44 | #include "sdrc.h" | 42 | #include "sdrc.h" |
| 43 | #include "sram.h" | ||
| 45 | 44 | ||
| 46 | const struct prcm_config *curr_prcm_set; | 45 | const struct prcm_config *curr_prcm_set; |
| 47 | const struct prcm_config *rate_table; | 46 | const struct prcm_config *rate_table; |
diff --git a/arch/arm/mach-omap2/clkt34xx_dpll3m2.c b/arch/arm/mach-omap2/clkt34xx_dpll3m2.c index 5510d92abe6e..6cf298e262f6 100644 --- a/arch/arm/mach-omap2/clkt34xx_dpll3m2.c +++ b/arch/arm/mach-omap2/clkt34xx_dpll3m2.c | |||
| @@ -21,12 +21,11 @@ | |||
| 21 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
| 22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
| 23 | 23 | ||
| 24 | #include "../plat-omap/sram.h" | ||
| 25 | |||
| 26 | #include "clock.h" | 24 | #include "clock.h" |
| 27 | #include "clock3xxx.h" | 25 | #include "clock3xxx.h" |
| 28 | #include "clock34xx.h" | 26 | #include "clock34xx.h" |
| 29 | #include "sdrc.h" | 27 | #include "sdrc.h" |
| 28 | #include "sram.h" | ||
| 30 | 29 | ||
| 31 | #define CYCLES_PER_MHZ 1000000 | 30 | #define CYCLES_PER_MHZ 1000000 |
| 32 | 31 | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 4fadc7895579..814f69955d72 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
| @@ -27,8 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | #include <plat-omap/dma-omap.h> | 28 | #include <plat-omap/dma-omap.h> |
| 29 | 29 | ||
| 30 | #include "../plat-omap/sram.h" | ||
| 31 | |||
| 32 | #include "omap_hwmod.h" | 30 | #include "omap_hwmod.h" |
| 33 | |||
