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>
master
Simon Glass 7 years ago committed by Jaehoon Chung
parent f19f1ecb60
commit 7e0712b26e
  1. 2
      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

Loading…
Cancel
Save