summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeng Ma <peng.ma@nxp.com>2018-08-01 11:35:15 +0800
committerYork Sun <york.sun@nxp.com>2018-09-27 08:52:18 -0700
commit822d060830c3b25d5e1e285698ea36a49b76609c (patch)
tree8b15ea7bd7acb386ee1242cd49dc0c75080e1890 /drivers
parentd92116566bd2230bd0e3daf254a1f6e4f9afac34 (diff)
scsi: ceva: add ls1043a soc support
Add ahci compatible support for ls1043a soc. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/sata_ceva.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/sata_ceva.c b/drivers/ata/sata_ceva.c
index 047cff7f83..327ffa5013 100644
--- a/drivers/ata/sata_ceva.c
+++ b/drivers/ata/sata_ceva.c
@@ -88,6 +88,7 @@
enum ceva_soc {
CEVA_1V84,
CEVA_LS1012A,
+ CEVA_LS1043A,
};
struct ceva_sata_priv {
@@ -114,6 +115,7 @@ static int ceva_init_sata(struct ceva_sata_priv *priv)
break;
case CEVA_LS1012A:
+ case CEVA_LS1043A:
writel(ECC_DIS_ADDR_CH2, ECC_DIS_VAL_CH2);
writel(CEVA_PHY1_CFG, base + AHCI_VEND_PPCFG);
writel(CEVA_TRANS_CFG, base + AHCI_VEND_PTC);
@@ -144,6 +146,7 @@ static int sata_ceva_probe(struct udevice *dev)
static const struct udevice_id sata_ceva_ids[] = {
{ .compatible = "ceva,ahci-1v84", .data = CEVA_1V84 },
{ .compatible = "fsl,ls1012a-ahci", .data = CEVA_LS1012A },
+ { .compatible = "fsl,ls1043a-ahci", .data = CEVA_LS1043A },
{ }
};