|
|
@@ -58,6 +58,9 @@ static int ahci_probe(struct platform_device *pdev)
|
|
|
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci"))
|
|
|
hpriv->flags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ;
|
|
|
|
|
|
+ if (of_device_is_compatible(dev->of_node, "snps,dwc-ahci"))
|
|
|
+ hpriv->flags |= AHCI_HFLAG_32BIT_ONLY;
|
|
|
+
|
|
|
rc = ahci_platform_init_host(pdev, hpriv, &ahci_port_info,
|
|
|
&ahci_platform_sht);
|
|
|
if (rc)
|