ARM: dts: am33xx: Reserve pm code and data regions in ocmcram sram node
authorDave Gerlach <d-gerlach@ti.com>
Mon, 19 Feb 2018 03:34:57 +0000 (21:34 -0600)
committerTony Lindgren <tony@atomide.com>
Tue, 27 Feb 2018 17:43:24 +0000 (09:43 -0800)
commit31ffe020af5d1048fddfa6b3f0002da9f5042cc0
treea80ae05c1ab6f8b09f32f4f74a0bc2f94de6be10
parentef1e7b45c97398bdc8edcfe627b335c4a0dd3cb0
ARM: dts: am33xx: Reserve pm code and data regions in ocmcram sram node

Add a 'pm_sram_code' reserved region to the ocmcram node to be exposed
by the mmio-sram driver as a pool but also mark it protect-exec so that
it can run code copied to it using sram_exec_copy.

Add another 'pm_sram_data' reserved region to the ocmcram node to act as
the data space for any code running from the 'pm_sram_code' region that
is exposed as a regular pool.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am33xx.dtsi