On the Utilite board this delay is necessary to prevent a link timeout. It seems the values written to GPR13 have to settle for some time before further accesses may be made. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/ata/sata-imx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/sata-imx.c b/drivers/ata/sata-imx.c index 42a56dc..612762e 100644 --- a/drivers/ata/sata-imx.c +++ b/drivers/ata/sata-imx.c @@ -37,6 +37,8 @@ static int imx6_sata_init(struct imx_ahci *imx_ahci) writel(val, base + IOMUXC_GPR13); writel(val | 2, base + IOMUXC_GPR13); + udelay(100); + return 0; } -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox