]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx-common: sata: return failure if not i.MX6DQPlus
authorPeng Fan <van.freenix@gmail.com>
Mon, 23 May 2016 10:36:00 +0000 (18:36 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 24 May 2016 12:59:56 +0000 (14:59 +0200)
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>
arch/arm/imx-common/sata.c

index dd9698d3cd75931036cfc8c82a26f62742e9a553..acf9831870c860fb4137e69b79f5c9524d933f73 100644 (file)
@@ -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();