]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: zynq_gem: Correct SGMII enable bit setting
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 16 May 2016 10:01:38 +0000 (15:31 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 16 May 2016 10:19:41 +0000 (12:19 +0200)
Correct the SGMII enable bit position to 27 instead
of 31.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c

index 33d079ab3bdda38dba6177f29b08e7367b4904e7..84b45b9f99025f908674a3867fa93eb3ba0cec8c 100644 (file)
@@ -56,7 +56,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #define ZYNQ_GEM_NWCFG_SPEED1000       0x00000400 /* 1Gbps operation */
 #define ZYNQ_GEM_NWCFG_FDEN            0x00000002 /* Full Duplex mode */
 #define ZYNQ_GEM_NWCFG_FSREM           0x00020000 /* FCS removal */
-#define ZYNQ_GEM_NWCFG_SGMII_ENBL      0x80000000 /* SGMII Enable */
+#define ZYNQ_GEM_NWCFG_SGMII_ENBL      0x08000000 /* SGMII Enable */
 #define ZYNQ_GEM_NWCFG_PCS_SEL         0x00000800 /* PCS select */
 #ifdef CONFIG_ARM64
 #define ZYNQ_GEM_NWCFG_MDCCLKDIV       0x00100000 /* Div pclk by 64, max 160MHz */