[U-Boot] [PATCH 14/29] dm: sata: Move ataid into struct ahci_uc_priv

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


On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at chromium.org> wrote:
> This array relates to the AHCI controller so should be exist out on its
> own in the file. Move it into the structure. Adjust functions that need
> access to this to take the structure as a parameter.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/ata/ahci.c | 50 +++++++++++++++++++++++++++-----------------------
>  include/ahci.h     |  1 +
>  2 files changed, 28 insertions(+), 23 deletions(-)
>

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


More information about the U-Boot mailing list