[U-Boot] [PATCH v3 06/11] arm: rpi: Enable device tree control for Rasberry Pi
Stephen Warren
swarren at wwwdotorg.org
Tue Aug 11 05:47:09 CEST 2015
On 08/07/2015 07:42 AM, Simon Glass wrote:
> Enable device tree control so that we can use driver model fully and avoid
> using platform data.
I'm still not convinced about this change.
Re: the commit message about: What about the driver model is not being
fully used without DT?
Overall: What advantage does using DT have to either a developer or an
end-user?
I don't believe this patch fixes and bugs or enables any new features
for an end-user.
>From the maintainer perspective: It seems to me that it's far simpler to
have a tiny struct for each device in the C code than to pull in a whole
slew of DT parsing cruft just to work out the same struct at run-time.
As such, this patch can only make it harder to maintain the code since
there's more of it, and it's more complex.
I just don't see the advantage of switching to DT for U-Boot control.
More information about the U-Boot
mailing list