Skip to content

Commit

Permalink
ahci: qoriq: adjust sata parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tang Yuantian authored and Tejun Heo committed Aug 10, 2016
1 parent 535fd07 commit 107a077
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/ata/ahci_qoriq.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@

#define SATA_ECC_DISABLE 0x00020000

/* for ls1043a */
#define LS1043A_PORT_PHY2 0x28184d1f
#define LS1043A_PORT_PHY3 0x0e081509

enum ahci_qoriq_type {
AHCI_LS1021A,
AHCI_LS1043A,
Expand Down Expand Up @@ -166,8 +162,6 @@ static int ahci_qoriq_phy_init(struct ahci_host_priv *hpriv)

case AHCI_LS1043A:
writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1);
writel(LS1043A_PORT_PHY2, reg_base + PORT_PHY2);
writel(LS1043A_PORT_PHY3, reg_base + PORT_PHY3);
writel(AHCI_PORT_TRANS_CFG, reg_base + PORT_TRANS);
break;

Expand Down

0 comments on commit 107a077

Please sign in to comment.