projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5437a8
)
imx-common: sata: return failure if not i.MX6DQPlus
author
Peng Fan
<van.freenix@gmail.com>
Mon, 23 May 2016 10:36:00 +0000
(18:36 +0800)
committer
Stefano 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
patch
|
blob
|
history
diff --git
a/arch/arm/imx-common/sata.c
b/arch/arm/imx-common/sata.c
index dd9698d3cd75931036cfc8c82a26f62742e9a553..acf9831870c860fb4137e69b79f5c9524d933f73 100644
(file)
--- 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();