Commit a1d78317 authored by Peng Ma's avatar Peng Ma Committed by Jens Axboe

ahci: qoriq: add ls1028a platforms support

Ls1028a is a new introduced soc which supports ATA3.0
Signed-off-by: default avatarPeng Ma <peng.ma@nxp.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2be8481a
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
enum ahci_qoriq_type { enum ahci_qoriq_type {
AHCI_LS1021A, AHCI_LS1021A,
AHCI_LS1028A,
AHCI_LS1043A, AHCI_LS1043A,
AHCI_LS2080A, AHCI_LS2080A,
AHCI_LS1046A, AHCI_LS1046A,
...@@ -72,6 +73,7 @@ static bool ecc_initialized; ...@@ -72,6 +73,7 @@ static bool ecc_initialized;
static const struct of_device_id ahci_qoriq_of_match[] = { static const struct of_device_id ahci_qoriq_of_match[] = {
{ .compatible = "fsl,ls1021a-ahci", .data = (void *)AHCI_LS1021A}, { .compatible = "fsl,ls1021a-ahci", .data = (void *)AHCI_LS1021A},
{ .compatible = "fsl,ls1028a-ahci", .data = (void *)AHCI_LS1028A},
{ .compatible = "fsl,ls1043a-ahci", .data = (void *)AHCI_LS1043A}, { .compatible = "fsl,ls1043a-ahci", .data = (void *)AHCI_LS1043A},
{ .compatible = "fsl,ls2080a-ahci", .data = (void *)AHCI_LS2080A}, { .compatible = "fsl,ls2080a-ahci", .data = (void *)AHCI_LS2080A},
{ .compatible = "fsl,ls1046a-ahci", .data = (void *)AHCI_LS1046A}, { .compatible = "fsl,ls1046a-ahci", .data = (void *)AHCI_LS1046A},
...@@ -223,6 +225,7 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv) ...@@ -223,6 +225,7 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv)
writel(AHCI_PORT_AXICC_CFG, reg_base + PORT_AXICC); writel(AHCI_PORT_AXICC_CFG, reg_base + PORT_AXICC);
break; break;
case AHCI_LS1028A:
case AHCI_LS1088A: case AHCI_LS1088A:
case AHCI_LX2160A: case AHCI_LX2160A:
if (!(qpriv->ecc_addr || ecc_initialized)) if (!(qpriv->ecc_addr || ecc_initialized))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment