summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Ma <peng.ma@nxp.com>2018-10-11 10:34:19 +0000
committerYork Sun <york.sun@nxp.com>2018-12-06 14:37:19 -0800
commit5fcae59741d95f946b45e0c48dfaeb16f3b617ae (patch)
treeddef28aada3980825cfada58f518d3d7ffe68568
parent7f91b6584446856f8b4b4d8bb28ac77f9f011e6c (diff)
scsi: ceva: add ls1046a soc support
Add ahci compatible support for ls1046a soc. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
-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 65896d1705..a2d21d9f23 100644
--- a/drivers/ata/sata_ceva.c
+++ b/drivers/ata/sata_ceva.c
@@ -99,6 +99,7 @@ enum ceva_soc {
CEVA_LS1012A,
CEVA_LS1021A,
CEVA_LS1043A,
+ CEVA_LS1046A,
};
struct ceva_sata_priv {
@@ -138,6 +139,7 @@ static int ceva_init_sata(struct ceva_sata_priv *priv)
case CEVA_LS1012A:
case CEVA_LS1043A:
+ case CEVA_LS1046A:
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);
@@ -170,6 +172,7 @@ static const struct udevice_id sata_ceva_ids[] = {
{ .compatible = "fsl,ls1012a-ahci", .data = CEVA_LS1012A },
{ .compatible = "fsl,ls1021a-ahci", .data = CEVA_LS1021A },
{ .compatible = "fsl,ls1043a-ahci", .data = CEVA_LS1043A },
+ { .compatible = "fsl,ls1046a-ahci", .data = CEVA_LS1046A },
{ }
};