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

sjg at google.com sjg at google.com
Thu Jun 15 19:20:58 UTC 2017


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>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 drivers/ata/ahci.c | 50 +++++++++++++++++++++++++++-----------------------
 include/ahci.h     |  1 +
 2 files changed, 28 insertions(+), 23 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list