Home
last modified time | relevance | path

Searched hist:"4279 efc4" (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/ata/
H A Ddwc_ahci.c4279efc4 Wed Jun 14 22:28:38 CDT 2017 Simon Glass <sjg@chromium.org> dm: ahci: Drop use of probe_ent

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
H A Dahci.c4279efc4 Wed Jun 14 22:28:38 CDT 2017 Simon Glass <sjg@chromium.org> dm: ahci: Drop use of probe_ent

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
/openbmc/u-boot/include/
H A Dahci.h4279efc4 Wed Jun 14 22:28:38 CDT 2017 Simon Glass <sjg@chromium.org> dm: ahci: Drop use of probe_ent

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>