]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: am4372: Reserve pm code and data regions in ocmcram sram node
authorDave Gerlach <d-gerlach@ti.com>
Mon, 19 Feb 2018 03:34:58 +0000 (21:34 -0600)
committerTony Lindgren <tony@atomide.com>
Tue, 27 Feb 2018 17:43:25 +0000 (09:43 -0800)
commit83fe421a86d2a9adf0dc0f047a93b82351002ea0
tree08bc7712999de3e963ea3c56291aa8abd2ad1704
parentc86322865fdcd6b4d5d01c05282fec6aa4a4e530
ARM: dts: am4372: 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/am4372.dtsi