diff options
author | Simon Glass <sjg@chromium.org> | 2017-07-29 11:35:16 -0600 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-08-17 16:44:17 +0900 |
commit | c893f1e6e5cd6ccd4c7aaaf760f27fa6779e351c (patch) | |
tree | c87ebfdd6da87e5e91d551fd7976d270d8cbfeb4 /include/dwc_ahsata.h | |
parent | b8341f1c39df8708ee783038d8abb2b50dd83fac (diff) | |
download | u-boot-c893f1e6e5cd6ccd4c7aaaf760f27fa6779e351c.tar.gz |
dm: sata: dwc_ahsata: Add support for driver model
Update this driver to support driver model. This involves implementing the
AHCI operations and reusing existing common code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dwc_ahsata.h')
-rw-r--r-- | include/dwc_ahsata.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dwc_ahsata.h b/include/dwc_ahsata.h new file mode 100644 index 0000000000..cae275fe75 --- /dev/null +++ b/include/dwc_ahsata.h @@ -0,0 +1,16 @@ +/* + * Copyright 2017 Google, Inc + * Written by Simon Glass <sjg@chromium.org> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __DWC_AHSATA_H__ +#define __DWC_AHSATA_H__ + +int dwc_ahsata_bus_reset(struct udevice *dev); +int dwc_ahsata_probe(struct udevice *dev); +int dwc_ahsata_scan(struct udevice *dev); +int dwc_ahsata_port_status(struct udevice *dev, int port); + +#endif |