
19 Aug
2015
19 Aug
'15
6:14 a.m.
-----Original Message----- From: Tang Yuantian-B29983 Sent: Wednesday, August 19, 2015 8:01 AM To: Sun York-R58495 Cc: u-boot@lists.denx.de; Kushwaha Prabhakar-B32579; Wang Huan-B18965 Subject: RE: [PATCH v2] arm/ls1021a: Add sata support on qds and twr board
+#ifdef CONFIG_SYS_FSL_ERRATUM_A008407 +#define SATA_ECC_REG_ADDR 0x20220520
- unsigned int __iomem *ecc_reg = (void *)SATA_ECC_REG_ADDR;
#endif
- out_le32(&ccsr_ahci->ppcfg, 0xa003fffe);
- out_le32(&ccsr_ahci->pp2c, 0x28183411);
- out_le32(&ccsr_ahci->pp3c, 0x0e081004);
- out_le32(&ccsr_ahci->pp4c, 0x00480811);
- out_le32(&ccsr_ahci->pp5c, 0x192c96a4);
- out_le32(&ccsr_ahci->ptc, 0x08000025);
It looks to be SoC specific configuration. It should be in soc files not in board files.
--prabhakar