]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: ahci: Move common code for starting ports into a function
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:36 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit62b4ec8e302c7d616e37f2c2c2836edfea712309
tree10653f21cea36ce63fe4ba1cfadb3ea6b4368fe7
parent099c239d687cd48cc05f372b9f354ffcfeeba83c
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>
drivers/ata/ahci.c