ARM: OMAP4+: Move SRAM data to DT
authorRajendra Nayak <rnayak@ti.com>
Wed, 10 Sep 2014 16:04:03 +0000 (11:04 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 18 Sep 2014 16:47:00 +0000 (09:47 -0700)
commit8b9a2810b02e3d9806ba2bf307c8e8dcedaf902d
tree2050277e37e338d428f77f1bda37b111ae380158
parent0616f4eeddd81a22f4a5f0cc09b0ad71b94404cf
ARM: OMAP4+: Move SRAM data to DT

Use drivers/misc/sram.c driver to manage SRAM on all DT only
OMAP platforms (am33xx, am43xx, omap4 and omap5) instead of
the existing private plat-omap/sram.c

Address and size related data  is removed from mach-omap2/sram.c
and now passed to drivers/misc/sram.c from DT.

Users can hence use general purpose allocator apis instead of
OMAP private ones to manage and use SRAM.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx.dtsi
arch/arm/boot/dts/am4372.dtsi
arch/arm/boot/dts/omap4.dtsi
arch/arm/boot/dts/omap5.dtsi
arch/arm/configs/omap2plus_defconfig
arch/arm/mach-omap2/sram.c
arch/arm/mach-omap2/sram.h