]> git.sur5r.net Git - u-boot/commitdiff
dm: sata: imx: Allow driver model to be used for sata
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:14 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
Update the sata call to work with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-imx/cpu.c

index 9e83b4221e025e1a8004fc4fba6ff3ea1e26394f..1017eb84f95ad028acd7bab274ec226ae7452267 100644 (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