[PATCH 1/3] [v2] davinci: sram: ioremap the davinci_soc_info specified sram regions

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Jun 1 01:17:53 EDT 2011


On 17:46 Tue 31 May     , Ben Gardiner wrote:
> The current davinci init sets up SRAM in iotables. There has been an observed
> failure to boot a da850 with 128K specified in the iotable.
> 
> Make the davinci sram allocator -- now based on RMK's consolidated SRAM
> support -- do an ioremap of the region specified by the entries in
> davinci_soc_info before registering with pv_pool_create().
you should update the commit message
> 
> This commit breaks runtime of davinci boards since the regions that
> the sram init is now trying to ioremap have been iomapped by their
> iotable entries. The iotable entries will be removed in the patches
> to come.
> 
> Signed-off-by: Ben Gardiner <bengardiner at nanometrics.ca>
> CC: Sekhar Nori <nsekhar at ti.com>
> 
> ---
> Changes since v1:
>  * return -ENOMEM if ioremap fails (Sekhar Nori)
you need to put your sob

otherwise 

Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

for the whole series

Best Regards,
J.



More information about the linux-arm-kernel mailing list