dm: sata: imx: Allow driver model to be used for sata

Update the sata call to work with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2017-07-29 11:35:14 -06:00 committed by Jaehoon Chung
parent f19f1ecb60
commit 7e0712b26e

View File

@ -279,7 +279,7 @@ void arch_preboot_os(void)
imx_pcie_remove();
#endif
#if defined(CONFIG_SATA)
sata_stop();
sata_remove(0);
#if defined(CONFIG_MX6)
disable_sata_clock();
#endif