ARM: OMAP: Split sram.h to local headers and minimal shared header
Most of the defines are specific to omap1 and omap2+, and should be in the local headers. Only minimal function prototypes need to be shared. As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* shared code: http://www.spinics.net/lists/linux-omap/msg80520.html So this patch re-adds a minimal plat/sram.h. The new plat/sram.h must not be included from drivers, that will break build for omap2+ CONFIG_MULTIPLATFORM. Note that this patch temporarily adds two more relative includes; Those will be removed in the following patch. Signed-off-by:Tony Lindgren <tony@atomide.com>
Showing
- arch/arm/mach-omap1/clock.c 1 addition, 2 deletionsarch/arm/mach-omap1/clock.c
- arch/arm/mach-omap1/clock_data.c 1 addition, 2 deletionsarch/arm/mach-omap1/clock_data.c
- arch/arm/mach-omap1/devices.c 1 addition, 2 deletionsarch/arm/mach-omap1/devices.c
- arch/arm/mach-omap1/pm.c 2 additions, 2 deletionsarch/arm/mach-omap1/pm.c
- arch/arm/mach-omap1/sram.h 7 additions, 0 deletionsarch/arm/mach-omap1/sram.h
- arch/arm/mach-omap2/clkt2xxx_dpllcore.c 1 addition, 2 deletionsarch/arm/mach-omap2/clkt2xxx_dpllcore.c
- arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c 1 addition, 2 deletionsarch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
- arch/arm/mach-omap2/clkt34xx_dpll3m2.c 1 addition, 2 deletionsarch/arm/mach-omap2/clkt34xx_dpll3m2.c
- arch/arm/mach-omap2/io.c 1 addition, 2 deletionsarch/arm/mach-omap2/io.c
- arch/arm/mach-omap2/omap4-common.c 0 additions, 2 deletionsarch/arm/mach-omap2/omap4-common.c
- arch/arm/mach-omap2/pm24xx.c 3 additions, 2 deletionsarch/arm/mach-omap2/pm24xx.c
- arch/arm/mach-omap2/pm34xx.c 2 additions, 2 deletionsarch/arm/mach-omap2/pm34xx.c
- arch/arm/mach-omap2/sdrc.c 0 additions, 2 deletionsarch/arm/mach-omap2/sdrc.c
- arch/arm/mach-omap2/sdrc2xxx.c 1 addition, 2 deletionsarch/arm/mach-omap2/sdrc2xxx.c
- arch/arm/mach-omap2/sleep34xx.S 1 addition, 2 deletionsarch/arm/mach-omap2/sleep34xx.S
- arch/arm/mach-omap2/sram.h 1 addition, 25 deletionsarch/arm/mach-omap2/sram.h
- arch/arm/plat-omap/include/plat/sram.h 12 additions, 0 deletionsarch/arm/plat-omap/include/plat/sram.h
- arch/arm/plat-omap/sram.c 3 additions, 2 deletionsarch/arm/plat-omap/sram.c
Loading
Please register or sign in to comment