Browse Source

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 <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Peng Fan 9 năm trước cách đây
mục cha
commit
aff3756104
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/arm/imx-common/sata.c

+ 1 - 1
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();