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: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Showing
想要评论请 注册 或 登录