[PATCH] of/address: Add of_iomap_nocache

David Miller davem at davemloft.net
Fri Aug 5 09:08:01 EST 2011


From: Rob Herring <robherring2 at gmail.com>
Date: Thu, 04 Aug 2011 10:52:58 -0500

> On 08/04/2011 05:12 AM, David Miller wrote:
>> From: David Brown <davidb at codeaurora.org>
>> Date: Thu,  4 Aug 2011 02:53:49 -0700
>> 
>>> Add uncached mappings from devicetree nodes similar to regular io
>>> mappings.
>>>
>>> Signed-off-by: David Brown <davidb at codeaurora.org>
>> 
>> You'll need to add a sparc implementation.
> 
> Sparc just defines ioremap_nocache to ioremap, so is that really needed?

Yes because if someone uses this of_iomap_nocache() in a driver the
sparc build is going to fail, we need as least the define to make
it equal to of_iomap() as David did in his follow-on patch.



More information about the devicetree-discuss mailing list