From: Peng Ma Date: Thu, 11 Oct 2018 10:34:19 +0000 (+0000) Subject: scsi: ceva: add ls1046a soc support X-Git-Tag: v2025.01-rc5-pxa1908~3221^2~17 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=5fcae59741d95f946b45e0c48dfaeb16f3b617ae;p=u-boot.git scsi: ceva: add ls1046a soc support Add ahci compatible support for ls1046a soc. Signed-off-by: Peng Ma Reviewed-by: York Sun --- 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 }, { } };