board/b4860qds: Add support to make PCIe SATA work on B4860QDS
PATCH 1/1 board/b4860qds: Add support to make PCIe SATA work on B4860QDS
1) SerDes2 Refclks have been set properly to make PCIe SATA to work as it work on SerDes refclk of 100MHz
2) Mask the SerDes's device reset request before changing the Refclks for SerDes1 and SerDes2 for PLL locks to happen properly, device reset request bit unmasked after SerDes refclks configuration
--- arch/powerpc/include/asm/immap_85xx.h | 3 + board/freescale/b4860qds/b4860qds.c | 119 ++++++++++++++++++++++++++++++--- 2 files changed, 113 insertions(+), 9 deletions(-)
arch/powerpc/include/asm/immap_85xx.h +3 -0
@@ -1722,6 +1722,9 @@ typedef struct ccsr_gur {u32 rstrqpblsr;/* Reset request preboot loader status */ u8 res11[8 ];u32 rstrqmr1;/* Reset request mask */ +#ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2 +#define FSL_CORENET_RSTRQMR1_SRDS_RST_MSK 0x00000800 +#endif u8 res12[4 ];u32 rstrqsr1;/* Reset request status */ u8 res13[4 ];
board/freescale/b4860qds/b4860qds.c +110 -9
166 lines not on this page · raw message
Signature · 1 line
1.7.6.GIT
PATCH 1/1 board/b4860qds: Add support to make PCIe SATA work on B4860QDS
Quoted 9 lines · Shaveta Leekha
1) SerDes2 Refclks have been set properly to make PCIe SATA to work as it work on SerDes refclk of 100MHz
2) Mask the SerDes's device reset request before changing the Refclks for SerDes1 and SerDes2 for PLL locks to happen properly, device reset request bit unmasked after SerDes refclks configurationSigned-off-by Shaveta Leekha <[email protected]>---
Applied to u-boot-mpc85xx/master. Thanks.
York