Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tang Yuantian and committed by
Tejun Heo
107a077d 535fd072

-6
-6
drivers/ata/ahci_qoriq.c
··· 44 44 45 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 47 enum ahci_qoriq_type { 52 48 AHCI_LS1021A, 53 49 AHCI_LS1043A, ··· 162 166 163 167 case AHCI_LS1043A: 164 168 writel(AHCI_PORT_PHY_1_CFG, reg_base + PORT_PHY1); 165 - writel(LS1043A_PORT_PHY2, reg_base + PORT_PHY2); 166 - writel(LS1043A_PORT_PHY3, reg_base + PORT_PHY3); 167 169 writel(AHCI_PORT_TRANS_CFG, reg_base + PORT_TRANS); 168 170 break; 169 171