ARM: OMAP: Split sram.h to local headers and minimal shared header
authorTony Lindgren <tony@atomide.com>
Mon, 29 Oct 2012 20:54:06 +0000 (13:54 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 17:14:13 +0000 (10:14 -0700)
commitbf027ca13738b1548910351952c3fe9b63263a9a
tree546f201d9ad7c5dc7b3597c88ea9a6ed8647de30
parenteba36d77a80ba2b0bc435fafc8a1ea4f571da4f6
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>
18 files changed:
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/clock_data.c
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap1/sram.h [new file with mode: 0644]
arch/arm/mach-omap2/clkt2xxx_dpllcore.c
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
arch/arm/mach-omap2/clkt34xx_dpll3m2.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap4-common.c
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-omap2/sdrc.c
arch/arm/mach-omap2/sdrc2xxx.c
arch/arm/mach-omap2/sleep34xx.S
arch/arm/mach-omap2/sram.h [moved from arch/arm/plat-omap/sram.h with 79% similarity]
arch/arm/plat-omap/include/plat/sram.h [new file with mode: 0644]
arch/arm/plat-omap/sram.c