Re: [PATCH V4] powerpc/prom: Export device tree physical address via proc
From: Segher Boessenkool <hidden>
Date: 2010-07-14 15:45:26
From: Segher Boessenkool <hidden>
Date: 2010-07-14 15:45:26
quoted
Any particular reason you fixed only one of the two mispelings I pointed out? (device tree is two words, not one).Ahh, my fault.
Well I wasn't terribly clear ;-)
quoted
You could use one property instead of two; use addr+len like every other property does. You also should use a better name for the property; is this the previous kernel's device tree? Just "device-tree" makes no sense, it is not pointing to "the" device tree for sure!What about just one node called "flat-device-tree"?
But *what* flat device tree? It cannot be "the" flat device tree, or it would be useless information, since we are already reading it! Segher