Re: [PATCH] of: add ranges address translation for default bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/19/2013 12:39 PM, Sascha Hauer wrote:
On Sun, May 19, 2013 at 10:07:26AM +0200, Sebastian Hesselbarth wrote:
On 05/19/2013 09:34 AM, Sascha Hauer wrote:
First of all you dropped 1:1 translation, see the attached fixup.

I know I dropped it, but have you tried empty/bool properties?
I had no luck with an empty/bool ranges, so I removed the 1:1
translation by empty property and wanted to take a look at bool
props first.

Probably because of_get_property doesn't seem to be 100% Linux
compatible. Our version returns NULL for empty properties whereas
the Linux version seems to return some valid pointer for zero length
properties.

I knew there was something ;)

I used of_find_property instead in my fixup, but maybe it's better
to change the behaviour of of_get_property instead.

Yes. With the next mvebu consolidation patches, we get rid of any
board specific code for Armada 370/XP, Dove, and Kirkwood. On top
of that, I then start with replacing static timer and uart
registration with DT probed devices. That is when I need ranges
translation.

I can rework DT ranges and bool properties, send a patch set before
mvebu DT, and you drop this one.

But I will not start working on it before Thomas finds some time to
test/comment on the (not yet) published consolidation patches.

Sebastian

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux