diff options
author | Eric Bénard <eric@eukrea.com> | 2014-02-08 15:16:06 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-10 09:13:31 +0100 |
commit | 4395095ab5206c9d97618be3dab152fceaef6509 (patch) | |
tree | 88c1d603b79ff426f6dce3850e4daac96c9fb17a | |
parent | 1515c7f091d5e2edd104fb7026cc50f13ab43f9a (diff) | |
download | barebox-4395095ab5206c9d97618be3dab152fceaef6509.tar.gz barebox-4395095ab5206c9d97618be3dab152fceaef6509.tar.xz |
sata-imx: i.MX53, use the internal 120MHz clock by default
this allows SATA to work on i.MX53 QSB-R :
barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1
imx-sata 10000000.sata: port 0: SATA link ok
imx-sata 10000000.sata: port 0: Spinning up device...
imx-sata 10000000.sata: port 0: ok.
ata0: registered /dev/ata0
before this fix the log was :
barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1
imx-sata 10000000.sata: port 0: SATA link timeout
set parameter: Connection timed out
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/ata/sata-imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata-imx.c b/drivers/ata/sata-imx.c index b7bd1107cc..450cf4f53f 100644 --- a/drivers/ata/sata-imx.c +++ b/drivers/ata/sata-imx.c @@ -59,7 +59,7 @@ static int imx53_sata_init(struct imx_ahci *imx_ahci) */ val = readl(base + 0x180c); val &= (0x3 << 1); - val |= (0x1 << 1); + val |= (0x2 << 1); writel(val, base + 0x180c); return 0; |