powerpc: t1040: Correct RCW MAC2_GMII_SEL value
authorBin Meng <bmeng.cn@gmail.com>
Mon, 8 Oct 2018 13:55:56 +0000 (06:55 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 29 Oct 2018 20:13:33 +0000 (13:13 -0700)
Per T1040RM (Rev. 1, 08/2015), the value of
FSL_CORENET_RCWSR13_MAC2_GMII_SEL_ENET_PORT is wrong
and should be 0x00000080 (bit 440 in the RCW).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Poonam Aggrwal <poonam.aggrwal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/include/asm/immap_85xx.h

index 7995093621040835b1522a1d8652517eedecfbbc..8ec2a38aad4d7ed2e971d51aa9d5f738cc4cb3b2 100644 (file)
@@ -1789,7 +1789,7 @@ typedef struct ccsr_gur {
 #define FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_MII 0x20000000
 #define FSL_CORENET_RCWSR13_MAC2_GMII_SEL      0x00000080
 #define FSL_CORENET_RCWSR13_MAC2_GMII_SEL_L2_SWITCH    0x00000000
-#define FSL_CORENET_RCWSR13_MAC2_GMII_SEL_ENET_PORT    0x80000000
+#define FSL_CORENET_RCWSR13_MAC2_GMII_SEL_ENET_PORT    0x00000080
 #define CONFIG_SYS_FSL_SCFG_PIXCLKCR_OFFSET    0x28
 #define PXCKEN_MASK    0x80000000
 #define PXCK_MASK      0x00FF0000