[RFC PATCH] Consolidate SRAM support

Rob Herring robherring2 at gmail.com
Fri Apr 15 09:39:55 EDT 2011


Russell,

On 04/15/2011 08:06 AM, Russell King - ARM Linux wrote:
> This is work in progress.
>
> We have two SoCs using SRAM, both with their own allocation systems,
> and both with their own ways of copying functions into the SRAM.

It's more than that. Several i.MX chips use plat-mxc/iram_alloc.c.

lpc32xx and pnx4008 also use iram, but do not have an allocator (only 1 
user). Both are doing a copy the suspend code to IRAM and run it which 
may also be a good thing to have generic code for. Several i.MX chips 
also need to run from IRAM for suspend.

Rob



More information about the linux-arm-kernel mailing list