
-----Original Message----- From: Kumar Gala [mailto:galak@kernel.crashing.org] Sent: Thursday, October 01, 2009 7:13 PM To: Kumar Gopalpet-B05799 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v0 2/2] u-boot-2009.08 NET: Base support for etsec2.0
On Sep 24, 2009, at 7:07 AM, Sandeep Gopalpet wrote:
- Modified the tsec_mdio structure to include the new regs 2.
Modified the MDIO_BASE_ADDR so that it will handle both
older version
and new version of etsec.
Signed-off-by: Sandeep Gopalpet sandeep.kumar@freescale.com
include/asm-ppc/immap_85xx.h | 6 +++++- include/tsec.h | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/ immap_85xx.h index dc82f49..bbeb585 100644 --- a/include/asm-ppc/immap_85xx.h +++ b/include/asm-ppc/immap_85xx.h @@ -1936,10 +1936,14 @@ typedef struct ccsr_gur { (CONFIG_SYS_IMMR +
CONFIG_SYS_MPC85xx_USB_OFFSET)
/* TSEC and MDIO OFFSETS */ +#ifdef CONFIG_P1020
we should use something like TSECV2 instead of CONFIG_P1020
OK. Will update the patch and send it across based on your recent changes to immap_85xx.h