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:
parent
f19f1ecb60
commit
7e0712b26e
@ -279,7 +279,7 @@ void arch_preboot_os(void)
|
|||||||
imx_pcie_remove();
|
imx_pcie_remove();
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SATA)
|
#if defined(CONFIG_SATA)
|
||||||
sata_stop();
|
sata_remove(0);
|
||||||
#if defined(CONFIG_MX6)
|
#if defined(CONFIG_MX6)
|
||||||
disable_sata_clock();
|
disable_sata_clock();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user