[U-Boot] [PATCH V2 09/15] imx-common: sata: return failure if not i.MX6DQPlus
Peng Fan
van.freenix at gmail.com
Mon May 23 12:36:00 CEST 2016
The i.MX6DQPlus support sata interface, we should not
return failure when CPU is i.MX6DQPlus.
Signed-off-by: Peng Fan <van.freenix at gmail.com>
Cc: Stefano Babic <sbabic at denx.de>
---
arch/arm/imx-common/sata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/imx-common/sata.c b/arch/arm/imx-common/sata.c
index dd9698d..acf9831 100644
--- a/arch/arm/imx-common/sata.c
+++ b/arch/arm/imx-common/sata.c
@@ -15,7 +15,7 @@ int setup_sata(void)
struct iomuxc *const iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR;
int ret;
- if (!is_mx6dq())
+ if (!is_mx6dq() && !is_mx6dqp())
return 1;
ret = enable_sata_clock();
--
2.6.2
More information about the U-Boot
mailing list