summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-05-23 18:36:00 +0800
committerStefano Babic <sbabic@denx.de>2016-05-24 14:59:56 +0200
commitaff3756104544ed1bb45835db4a7824fece8709e (patch)
tree6c0d6bca2544bfad1eeab5fc1b27c8b58e35e03f
parentb5437a8082b7385f0d2db90e37c2342b1c0fc59f (diff)
downloadu-boot-imx-aff3756104544ed1bb45835db4a7824fece8709e.zip
u-boot-imx-aff3756104544ed1bb45835db4a7824fece8709e.tar.gz
u-boot-imx-aff3756104544ed1bb45835db4a7824fece8709e.tar.bz2
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>
-rw-r--r--arch/arm/imx-common/sata.c2
1 files changed, 1 insertions, 1 deletions
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();