From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kim Phillips Date: Wed, 28 Oct 2009 15:06:11 -0500 Subject: [U-Boot] [PATCH v3 1/2] NET: Move MDIO regs out of TSEC Space In-Reply-To: <125671975819-git-send-email-sandeep.kumar@freescale.com> References: <125671975819-git-send-email-sandeep.kumar@freescale.com> Message-ID: <20091028150611.d6d61275.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 28 Oct 2009 14:19:18 +0530 Sandeep Gopalpet wrote: > Moved the mdio regs out of the tsec structure,and > provided different offsets for tsec base and mdio > base so that provision for etsec2.0 can be provided. > > This patch helps in providing the support for etsec2.0 > In etsec2.0, the MDIO register space and the etsec reg > space are different. > > Also, moved the TSEC_BASE_ADDR and MDIO_BASE_ADDR definitons into > platform specific files. > > Signed-off-by: Sandeep Gopalpet > --- without this patchseries: U-Boot 2009.11-rc1 (Oct 28 2009 - 14:57:54) MPC83XX Reset Status: Software Hard, External/Internal Soft, External/Internal Hard CPU: e300c3, MPC8315E, Rev: 1.0 at 400 MHz, CSB: 133.333 MHz Board: Freescale MPC8315ERDB Rev 0.1 I2C: ready DRAM: 128 MB FLASH: 8 MB NAND: 32 MiB PCIE0: No link PCIE1: No link In: serial Out: serial Err: serial Net: eTSEC0, eTSEC1 Hit any key to stop autoboot: 0 => ping $serverip Speed: 1000, full duplex Using eTSEC0 device host 192.168.1.1 is alive => with this patchseries: U-Boot 2009.11-rc1-00002-g3775d27 (Oct 28 2009 - 14:45:51) MPC83XX Reset Status: Software Hard, External/Internal Soft, External/Internal Hard CPU: e300c3, MPC8315E, Rev: 1.0 at 400 MHz, CSB: 133.333 MHz Board: Freescale MPC8315ERDB Rev 0.1 I2C: ready DRAM: 128 MB FLASH: 8 MB NAND: 32 MiB PCIE0: No link PCIE1: No link In: serial Out: serial Err: serial Net: eTSEC0: No support for PHY id 0; assuming generic eTSEC1: No support for PHY id 0; assuming generic eTSEC0, eTSEC1 Hit any key to stop autoboot: 0 => ping $serverip eTSEC0: No link. eTSEC1: No link. ping failed; host 192.168.1.1 is not alive do you not test older version tsecs/83xx? > +typedef struct tsec_mdio > +{ please also move this brace onto the above line. Kim