commit | cf01b5bbc8c91b848067209c0dc7a6668236322d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 14 21:28:38 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:19 2017 -0600 |
tree | 6e2216bdef8a49a4d332d68c1f15187d7cf246d8 | |
parent | 84fac5432a48004727f0c9e215fc5b53f5e74712 [diff] |
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>