Skip to content

CPSW switch plus SPL net support

Tom Rini u-boot 2 versions – New

Get series with b4
b4 am 20120803160810.GH16633@bill-the-cat

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 8 patches 0 repliesNew
  2. v3 posting 1/20 of 8 patches 0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/8] CPSW switch plus SPL net support
Quoted 58 lines · Ilya Yanok

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 +-
Quoted 8 lines
 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

Applied parts 1 to 5 to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120803/a40b2d1e/attachment.pgp>