summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRichard Zhu <Richard.Zhu@freescale.com>2015-10-09 14:43:24 +0800
committerRichard Zhu <Richard.Zhu@freescale.com>2015-10-19 11:11:30 +0800
commit31a7eab5be9843263535306dbaa08592b66714e5 (patch)
treedf400cb30eeb4d71b03f03993dbef2a3ef7140dd /drivers
parent8b08d0e657a121136eebe5bb6a998b7c9a6bff25 (diff)
MLK-11681-2 ata: imx: enable sata on imx6qp
Since the version of the imx6qp's ahci controller is same to the version of imx6q ahci controller. So, this work-around should be applied to imx6qp ahci too. Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/ahci_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c
index 8a2cd5c81b0f..69422dc1c2c8 100644
--- a/drivers/ata/ahci_imx.c
+++ b/drivers/ata/ahci_imx.c
@@ -648,7 +648,7 @@ static int imx_ahci_probe(struct platform_device *pdev)
* which is present on mx6q, and not on mx53,
* we should use sg_tablesize = 1 for reliable operation
*/
- if (imxpriv->type == AHCI_IMX6Q) {
+ if (imxpriv->type == AHCI_IMX6Q || imxpriv->type == AHCI_IMX6QP) {
dma_addr_t dma;
ahci_platform_sht.sg_tablesize = 1;