| title: | Re RFC PATCH Device Tree on ARM platform |
|
On Wed, May 27, 2009 at 06:58:24PM -0500, Scott Wood wrote:
Robert Schwebel wrote:
The oftree by design wants to be a complete hardware description. As
you mention above, there are cases where you *nevertheless* need
ad-hoc information about things *not* encoded into the device tree.
This renders the whole concept ad absurdum. You need a machine number
again - and if you need that: why not stay with the ARM model, define
everything with platform data and avoid the whole thing?
Because its better to have a little platform specific code than a lot
of it?
Until now, oftree has created more problems than it has solved for us.
The idea works fine for well-known things like memory maps and
interrupts. It works badly for corner cases, and embedded land is full
of it. The effort to get the oftree stuff right is often more than a
magnitude of order higher than the effort for the actual functionality.
That should be an alarm sign that something is wrong.
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | rel="nofollow" www.pengutronix.de/ www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
-------------------------------------------------------------------
List admin: rel="nofollow" lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: rel="nofollow" www.arm.linux.org.uk/mailinglists/faq.php www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: rel="nofollow" www.arm.linux.org.uk/mailinglists/etiquette.php www.arm.linux.org.uk/mailinglists/etiquette.php
|