diff options
author | Roger Quadros <rogerq@ti.com> | 2014-09-23 15:07:01 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-10 13:44:41 (GMT) |
commit | 02590aa31cc282cffafac559032981094f716fa9 (patch) | |
tree | 5c7bf6bad027640e56c3f071a1f27041427780fb /drivers | |
parent | 115e71f7da1f6fd96c20793842f5751897d9fdee (diff) | |
download | u-boot-fsl-qoriq-02590aa31cc282cffafac559032981094f716fa9.tar.xz |
ahci: Don't start command DMA engine before buffers are set
The DMA/FIS buffers are set in ahci_port_start() which is called
after ahci_host_init(). So don't start the DMA engine here
(i.e. don't set FIS_RX)
This fixes the following error at kernel boot on OMAP platforms (e.g. DRA7x)
WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x260/0x358()
44000000.ocp:L3 Custom Error: MASTER SATA TARGET GPMC (Idle): Data Access in User mode during Functional access
Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/ahci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index dce99ad..a93a8e1 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -229,7 +229,6 @@ static int ahci_host_init(struct ahci_probe_ent *probe_ent) * already be on in the command register. */ cmd = readl(port_mmio + PORT_CMD); - cmd |= PORT_CMD_FIS_RX; cmd |= PORT_CMD_SPIN_UP; writel_with_flush(cmd, port_mmio + PORT_CMD); |