dm: sata: Update the AHCI uclass to support operations
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:15 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commitb8341f1c39df8708ee783038d8abb2b50dd83fac
treef640f5e5024d4e995c948e7655e9d649b3c42788
parent7e0712b26ee877ca46cc7ba9978c52a9c3f40dc4
dm: sata: Update the AHCI uclass to support operations

At present the AHCI uclass is just a shell and we still use the global
functions to access SATA. Fix this by adding operations to the uclass.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/ata/sata.c
include/ahci.h