Thread (92 messages) 92 messages, 11 authors, 2007-03-24

Re: [PATCH 03/17] bootwrapper: Add xlate_reg(), and use it to find serial registers.

From: Scott Wood <hidden>
Date: 2007-03-21 16:01:20

On Wed, Mar 21, 2007 at 02:49:30PM +0100, Segher Boessenkool wrote:
I didn't look at the actual code but it should be really
small; I hope it doesn't copy the Linux code with its
millions of workarounds for broken device trees -- we
should insist on correct trees, or even just fix them
if they *are* broken ;-)
It's around 1700 bytes.  Most of the complexity is for dealing with
different #address-cells and #size-cells -- if we could assume a max of 2
for each, then it could be simplified quite a bit by using u64 instead of
arrays.  However, that wouldn't work with PCI, which has 3 address cells.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help