From: Peng Fan Date: Mon, 23 May 2016 10:36:00 +0000 (+0800) Subject: imx-common: sata: return failure if not i.MX6DQPlus X-Git-Tag: v2016.07-rc2~49^2~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aff3756104544ed1bb45835db4a7824fece8709e;p=u-boot imx-common: sata: return failure if not i.MX6DQPlus The i.MX6DQPlus support sata interface, we should not return failure when CPU is i.MX6DQPlus. Signed-off-by: Peng Fan Cc: Stefano Babic --- diff --git a/arch/arm/imx-common/sata.c b/arch/arm/imx-common/sata.c index dd9698d3cd..acf9831870 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();