commit | 0a47bbbdf830db27e05985c159325fe811931df0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 14 21:28:36 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:19 2017 -0600 |
tree | 10653f21cea36ce63fe4ba1cfadb3ea6b4368fe7 | |
parent | 0ada89151486389398721d53334cde2cd451820d [diff] |
dm: ahci: Move common code for starting ports into a function This code is duplicated. Create a ahci_start_ports() function to handle this and call it from both places. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>