[U-Boot] [PATCH v3 0/8] CPSW switch plus SPL net support

Ilya Yanok ilya.yanok at cogentembedded.com
Wed Jul 25 00:22:15 CEST 2012


These patches add CPSW switch driver and enable support for it
on TI AM335x based boards. This version is rebased on top of
u-boot-ti/next. Also now CPSW driver uses internal controller
memory for DMA descriptors so coherent allocator is no longer
a requirement for this series.

The second part of the series provides support for networking in SPL.
These patches try to use network infrasctructure as is, without
trying to cut some minimal set of it, so the resulting SPL image
is quite big and only useful for boards with plenty of SRAM/OCRAM
(like TI AM335x based ones).

Changes in v2:
 - fix timeout handling
 - use internal RAM for descriptors

Changes in v3:
 - add support for setting different VCI in SPL
 - change calls to miiphy_{speed,duplex}() to phy_startup()
 - drop volatiles
 - fix whitespace problem
 - set Vendor Class Identifier for SPL
 - stop DMA on driver halt (fix by Mugunthan V N)
 - use BOOTP in SPL regardless of CONFIG_CMD_DHCP

Chandan Nath (3):
  am33xx: CPSW init and definitions
  am33xx: pin mux defintions for CPSW switch
  am335x_evm: CPSW support

Cyril Chemparathy (1):
  cpsw: add driver for cpsw ethernet device

Ilya Yanok (4):
  am335x_evm: read the on-board EEPROM
  net/bootp: add VCI support for BOOTP also
  OMAP: networking support for SPL
  am335x_evm: enable networking in SPL

 arch/arm/cpu/armv7/am33xx/clock.c             |    8 +-
 arch/arm/cpu/armv7/omap-common/Makefile       |    3 +
 arch/arm/cpu/armv7/omap-common/spl.c          |    5 +
 arch/arm/cpu/armv7/omap-common/spl_eth.c      |   50 ++
 arch/arm/include/asm/arch-am33xx/common_def.h |    2 +
 arch/arm/include/asm/arch-am33xx/cpu.h        |   11 +
 arch/arm/include/asm/arch-am33xx/hardware.h   |    5 +
 arch/arm/include/asm/omap_common.h            |    4 +
 board/ti/am335x/evm.c                         |  175 ++++-
 board/ti/am335x/mux.c                         |   47 ++
 common/Makefile                               |    6 +
 common/cmd_nvedit.c                           |    6 +-
 common/env_common.c                           |    3 +-
 drivers/net/Makefile                          |    1 +
 drivers/net/cpsw.c                            |  991 +++++++++++++++++++++++++
 include/configs/am335x_evm.h                  |   26 +-
 include/cpsw.h                                |   51 ++
 lib/Makefile                                  |   10 +-
 lib/vsprintf.c                                |    2 +-
 net/bootp.c                                   |   28 +-
 net/net.c                                     |    3 +
 spl/Makefile                                  |    3 +
 22 files changed, 1424 insertions(+), 16 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/omap-common/spl_eth.c
 create mode 100644 drivers/net/cpsw.c
 create mode 100644 include/cpsw.h

-- 
1.7.9.5



More information about the U-Boot mailing list