[U-Boot] [PATCH v4 1/2] NET: Move MDIO regs out of TSEC Space

Kumar Gala galak at kernel.crashing.org
Sat Oct 31 17:30:03 CET 2009


On Oct 30, 2009, at 2:05 PM, 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 <sandeep.kumar at freescale.com>
> ---
> drivers/net/tsec.c           |   21 +++++++++----------
> include/asm-ppc/immap_83xx.h |   11 +++++++++-
> include/asm-ppc/immap_85xx.h |    9 ++++++++
> include/asm-ppc/immap_86xx.h |   10 ++++++++-
> include/tsec.h               |   44 ++++++++++++++++++++ 
> +---------------------
> 5 files changed, 60 insertions(+), 35 deletions(-)

applied to 8xxx-next w/some minor changes:

* removed TSEC_SIZE from immap_83xx.h
* moved TSEC_MDIO_OFFSET into tsec.h out of immap_*.h
* matched style in immap_85xx.h

- k


More information about the U-Boot mailing list