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

2017-06-12 Thread Bin Meng
On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass 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 > --- > > d

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

2017-06-05 Thread Simon Glass
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 --- drivers/ata/ahci.c | 50 +++