diff options
author | Tang Yuantian <Yuantian.Tang@nxp.com> | 2016-08-08 21:51:21 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-08-10 00:03:30 -0400 |
commit | 107a077d19341b4d47ae06f0bd24883b94e64628 (patch) | |
tree | 58db474530ad98803d93f0c5124f5d70bd2ae308 /drivers/ata | |
parent | 535fd072202dbc8afe5a4093178132bdd4ac2424 (diff) |
ahci: qoriq: adjust sata parameter
The default values for Port Phy2Cfg register and
Port Phy3Cfg register are better, no need to overwrite them.
Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci_qoriq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index 7bdee9bd8786..ed357a184ee4 100644 --- a/drivers/ata/ahci_qoriq.c +++ b/drivers/ata/ahci_qoriq.c | |||
@@ -44,10 +44,6 @@ | |||
44 | 44 | ||
45 | #define SATA_ECC_DISABLE 0x00020000 | 45 | #define SATA_ECC_DISABLE 0x00020000 |
46 | 46 | ||
47 | /* for ls1043a */ | ||
48 | #define LS1043A_PORT_PHY2 0x28184d1f | ||
49 | #define LS1043A_PORT_PHY3 0x0e081509 | ||
50 | |||
51 | enum ahci_qoriq_type { | 47 | enum ahci_qoriq_type { |
52 | AHCI_LS1021A, | 48 | AHCI_LS1021A, |
53 | AHCI_LS1043A, | 49 | AHCI_LS1043A, |
@@ -166,8 +162,6 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv) | |||
166 | 162 | ||
167 | case AHCI_LS1043A: | 163 | case AHCI_LS1043A: |
168 | writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); | 164 | writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); |
169 | writel(LS1043A_PORT_PHY2, reg_base + PORT_PHY2); | ||
170 | writel(LS1043A_PORT_PHY3, reg_base + PORT_PHY3); | ||
171 | writel(AHCI_PORT_TRANS_CFG, reg_base + PORT_TRANS); | 165 | writel(AHCI_PORT_TRANS_CFG, reg_base + PORT_TRANS); |
172 | break; | 166 | break; |
173 | 167 | ||