[U-Boot] [RFC for-v2019.01 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA

Chris Packham judge.packham at gmail.com
Tue Nov 27 03:33:06 UTC 2018


On Tue, Nov 27, 2018 at 1:25 AM Tom Rini <trini at konsulko.com> wrote:
>
> On Mon, Nov 26, 2018 at 07:32:38PM +1300, Chris Packham wrote:
> > Hi Tom,
> >
> > On Mon, Nov 26, 2018 at 7:20 AM Tom Rini <trini at konsulko.com> wrote:
> > >
> > > As the core of the subsystem has been converted along with some of the
> > > drivers, formalize a deadline for migration.
> > >
> > > Cc: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
> > > Cc: Simon Glass <sjg at chromium.org>
> > > Cc: Bin Meng <bmeng.cn at gmail.com>
> > > Cc: Nikita Kiryanov <nikita at compulab.co.il>
> > > Cc: York Sun <york.sun at nxp.com>
> > > Cc: Fabio Estevam <festevam at gmail.com>
> > > Cc: Peng Fan <peng.fan at nxp.com>
> > > Cc: Stefano Babic <sbabic at denx.de>
> > > Cc: Stefan Roese <sr at denx.de>
> > > Signed-off-by: Tom Rini <trini at konsulko.com>
> > > ---
> > > Apologies for the scattershot CC list here.  A problem with this
> > > particular migration is we have a number of drivers for older platforms
> > > without clear ownership.  Please feel free to loop in other people you
> > > know that might have interest here.  Thanks!
> > > ---
> > >  Makefile                       |  7 +++++++
> > >  doc/driver-model/MIGRATION.txt | 10 ++++++++++
> > >  2 files changed, 17 insertions(+)
> > >
> > > diff --git a/Makefile b/Makefile
> > > index 28ea46820b30..1f8ae23971bf 100644
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -932,6 +932,13 @@ ifneq ($(CONFIG_DM_USB)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
> > >         @echo "See doc/driver-model/MIGRATION.txt for more info."
> > >         @echo "===================================================="
> > >  endif
> > > +ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
> > > +       @echo "===================== WARNING ======================"
> > > +       @echo "This board does not use CONFIG_DM_SCSI. Please update"
> > > +       @echo "the storage controller to use CONFIG_DM_USB before the v2019.07 release."
> >
> > Should that be CONFIG_DM_SCSI on the 2nd line?
>
> Yes, thanks.  Now, ah, I believe you have access to some of the Marvell
> hardware that has drivers that need converting?  Does this deadline
> sound reasonable to you?

Can't say I've looked closely at the SATA stuff. For USB there's not
much stopping the kirkwood boards from using DM_USB it just needs to
use some of the mbus support that already exists for mvebu. This might
be the final nail in the coffin for orion5x.

None of the alliedtelesis boards that use kirkwood have usb hardware
fitted. They'll do for testing the mbus changes. I do have an old
kirkwood eval board which I think has both USB and SATA. I'll need to
dust it off and see if it still works (I know the actual u-boot
support for it was dropped I while back).

I think the USB migration is definitely doable by the deadline. Even
if it ends up build test only for some boards. I can take a look at
SATA but it's not a subsystem I've dealt with before.


More information about the U-Boot mailing list