summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-29 17:35:14 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2017-08-17 07:44:17 (GMT)
commit7e0712b26ee877ca46cc7ba9978c52a9c3f40dc4 (patch)
tree423728fa3f97a1b83d5a36164538bae209fbabc3 /arch
parentf19f1ecb6025f0e2afb237a59b24462c5340787a (diff)
downloadu-boot-7e0712b26ee877ca46cc7ba9978c52a9c3f40dc4.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 9e83b42..1017eb8 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -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