[U-Boot] [PATCH 19/29] dm: ahci: Drop use of probe_ent
Bin Meng
bmeng.cn at gmail.com
Tue Jun 13 03:14:09 UTC 2017
On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at 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 <sjg at 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.cn at gmail.com>
More information about the U-Boot
mailing list