On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <s...@chromium.org> wrote: > With driver model we cannot have static data or assume that there is only > one device of each time. Adjust the code so that 'probe_ent' is not needed > with driver model. Add a new ahci_init_dm() function which can init AHCI > for driver model without re-allocating the uclass data. Move over the only > existing driver to use this new function. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > drivers/ata/ahci.c | 75 > +++++++++++++++++++++++++++++++------------------- > drivers/ata/dwc_ahci.c | 2 +- > include/ahci.h | 8 ++++++ > 3 files changed, 55 insertions(+), 30 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot