[U-Boot] [PATCH 17/29] dm: ahci: Move common code for starting ports into a function

Bin Meng bmeng.cn at gmail.com
Tue Jun 13 03:13:59 UTC 2017


On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/ata/ahci.c | 45 ++++++++++++++++++++++-----------------------
>  1 file changed, 22 insertions(+), 23 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list