lkml.org 
[lkml]   [2012]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] Add device tree support for on-chip SRAM
On Fri, Aug 24, 2012 at 11:17:41AM +0200, Philipp Zabel wrote:
> These patches add support to configure the on-chip SRAM via device-tree
> node and to obtain the resulting genalloc pool from a phandle pointing
> at the node.
> This allows drivers to allocate SRAM with the genalloc API without
> hard-coding the genalloc pool address.
>
It looks like a good stuff. But in the end, there is nothing IMX
specific with iram_alloc.c. Why do we name it in IMX?

Regards,
Shawn

> regards
> Philipp
>
> ---
> arch/arm/boot/dts/imx53.dtsi | 5 ++
> arch/arm/boot/dts/imx6q.dtsi | 5 ++
> arch/arm/plat-mxc/include/mach/iram.h | 41 -----------------
> arch/arm/plat-mxc/iram_alloc.c | 81 ++++++++++++++++++++-------------
> include/linux/genalloc.h | 14 ++++++
> lib/genalloc.c | 77 +++++++++++++++++++++++++++++++
> 6 files changed, 150 insertions(+), 73 deletions(-)
>


\
 
 \ /
  Last update: 2012-08-24 17:01    [W:0.265 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site