Skip to content

Commit

Permalink
scsi: ceva: add ls2080a soc support
Browse files Browse the repository at this point in the history
Add ahci compatible support for ls2080a soc.

Signed-off-by: Peng Ma <[email protected]>
Acked-by: Michal Simek <[email protected]>
[YS: add fallthrough comment]
Reviewed-by: York Sun <[email protected]>
  • Loading branch information
Peng Ma authored and York Sun committed Dec 6, 2018
1 parent b9c716e commit 1039d1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/ata/sata_ceva.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ enum ceva_soc {
CEVA_LS1043A,
CEVA_LS1046A,
CEVA_LS1088A,
CEVA_LS2080A,
};

struct ceva_sata_priv {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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 },
{ }
};

Expand Down

0 comments on commit 1039d1a

Please sign in to comment.