[U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Fri Jan 11 10:01:54 UTC 2019
On Fri, Jan 11, 2019 at 10:22 AM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
>
> On Wed, Jan 9, 2019 at 10:36 AM Alexey Brodkin
> <alexey.brodkin at synopsys.com> wrote:
>
>
> > Might be a bit naïve question but why depend on SPL_OF_PLATDATA only?
> > What about CONFIG_OF_EMBED?
>
> No driver should depend on OF_EMBED IIUC. New U-Boot spils a warning
> when production boards are using it.
By now, actually I even dislike the idea of depending on OF_PLATDATA myself.
Maybe we should fix the OF_PLATDATA to driver matching code to better handle
drivers with multiple compatible strings instead of adding dedicated drivers.
Regards,
Simon
More information about the U-Boot
mailing list