diff options
author | Peng Ma <peng.ma@nxp.com> | 2018-10-22 10:43:20 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-12-06 14:38:03 -0800 |
commit | 1039d1ac63d540398c5ebb681864dd6e04f86e7b (patch) | |
tree | 0235c494a116e4fc73d003fd090399d780800305 | |
parent | b9c716ea66ed5701fc1246d6edeb77ddab78a1da (diff) |
scsi: ceva: add ls2080a soc support
Add ahci compatible support for ls2080a soc.
Signed-off-by: Peng Ma <peng.ma@nxp.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
[YS: add fallthrough comment]
Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r-- | drivers/ata/sata_ceva.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/sata_ceva.c b/drivers/ata/sata_ceva.c index fa8679709e..8887be901c 100644 --- a/drivers/ata/sata_ceva.c +++ b/drivers/ata/sata_ceva.c @@ -105,6 +105,7 @@ enum ceva_soc { CEVA_LS1043A, CEVA_LS1046A, CEVA_LS1088A, + CEVA_LS2080A, }; struct ceva_sata_priv { @@ -146,6 +147,8 @@ static int ceva_init_sata(struct ceva_sata_priv *priv) case CEVA_LS1043A: case CEVA_LS1046A: writel(ECC_DIS_VAL_CH2, ECC_DIS_ADDR_CH2); + /* fallthrough */ + case CEVA_LS2080A: writel(CEVA_PHY1_CFG, base + AHCI_VEND_PPCFG); writel(CEVA_TRANS_CFG, base + AHCI_VEND_PTC); if (priv->flag & FLAG_COHERENT) @@ -187,6 +190,7 @@ static const struct udevice_id sata_ceva_ids[] = { { .compatible = "fsl,ls1043a-ahci", .data = CEVA_LS1043A }, { .compatible = "fsl,ls1046a-ahci", .data = CEVA_LS1046A }, { .compatible = "fsl,ls1088a-ahci", .data = CEVA_LS1088A }, + { .compatible = "fsl,ls2080a-ahci", .data = CEVA_LS2080A }, { } }; |