[U-Boot] [PATCH v1 1/1] spi: lpc32xx_ssp: DM conversion

Jagan Teki jagan at amarulasolutions.com
Mon Nov 5 10:09:00 UTC 2018


On Wed, Sep 19, 2018 at 5:02 PM Vladimir Zapolskiy <vz at mleia.com> wrote:
>
> On 09/04/2018 09:33 AM, Jagan Teki wrote:
> > On Wed, May 9, 2018 at 12:37 PM, Akash Gajjar <gajjar04akash at gmail.com> wrote:
> >> From: Akash Gajjar <gajjar04akash at gmail.com>
> >>
> >> This patch adds support for DM to the LPC32xx SSP SPI driver.
> >>
> >> Some TODOs are left over for later, These would be enhancements to the
> >> original functionality, and can come later. The legacy functionality is
> >> removed in this version.
> >>
> >> Signed-off-by: Akash Gajjar <akash at openedev.com>
> >> ---
>
> [snip]
>
> >> +
> >> +/* TODO: update compatibel device tree */
> >> +static const struct udevice_id lpc32xx_ssp_spi_ids[] = {
> >> +       { .compatible = "" },
> >
> > Don't we have DTS for this platform on Linux?
>
> We have, but it makes little sense to add platform OF support to U-Boot
> at the moment.
>
> In other words, all #if CONFIG_IS_ENABLED(OF_CONTROL) code sections
> shall be removed.

But few core ops should depends on fdt lib functions, any plan on
adding OF_CONTROL to it?


More information about the U-Boot mailing list