Skip to content

Network support for spear platform and spear1300 support

Vipin KUMAR u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17u-boot.img file not created when srctree and objtree are differentMakefile+1 -10 replies
2/17change_bit routine definedarch/arm/include/asm/bitops.h+9 -20 replies
3/17SPEAr : SMI erase and write timeouts increasedarch/arm/include/asm/arch-spear/spr_smi.h drivers/mtd/spr_smi.c+7 -70 replies
4/17SPEAr : Placing ethaddr write and read within CONFIG_CMD_NETboard/spear/common/spr_misc.c+20 -30 replies
5/17SPEAr : Reducing the max RAM size to 128MBinclude/configs/spear-common.h+1 -10 replies
6/17SPEAr : Basic arch related support added for SPEAr SoCsarch/arm/cpu/arm926ejs/spear/Makefile arch/arm/include/asm/arch-spear/spr_misc.h cpu/arm926ejs/spear/cpu_info.c +1 more+85 -21 reply
6/17SPEAr : Basic arch related support added for SPEAr SoCs+0 -00 replies
7/17SPEAr : Network driver support addeddrivers/net/Makefile drivers/net/dw_eth.c drivers/net/dw_eth.h +1 more+787 -05 replies
7/17SPEAr : Network driver support added+0 -00 replies
7/17SPEAr : Network driver support added+0 -00 replies
7/17SPEAr : Network driver support added+0 -00 replies
8/17SPEAr : Network support configured for spear SoCsarch/arm/include/asm/arch-spear/hardware.h board/spear/spear300/spear300.c board/spear/spear310/spear310.c +4 more+36 -20 replies
9/17SPEAr : macb driver support added for spear310 and spear320arch/arm/include/asm/arch-spear/hardware.h board/spear/spear310/spear310.c board/spear/spear320/spear320.c +2 more+60 -20 replies
10/17SPEAr : FSMC driver support addeddrivers/mtd/nand/Makefile drivers/mtd/nand/fsmc_nand.c drivers/mtd/nand/fsmc_nand.h+468 -01 reply
10/17SPEAr : FSMC driver support added+0 -01 reply
11/17SPEAr : Configuring FSMC driver for NAND interfacearch/arm/include/asm/arch-spear/hardware.h arch/arm/include/asm/arch-spear/spr_nand.h board/spear/spear300/spear300.c +8 more+24 -1951 reply
11/17SPEAr : Configuring FSMC driver for NAND interface+0 -01 reply
12/17SPEAr : i2c driver moved completely into drivers/i2carch/arm/include/asm/arch-spear/spr_i2c.h drivers/i2c/Makefile drivers/i2c/dw_i2c.c +3 more+479 -4791 reply
12/17SPEAr : i2c driver moved completely into drivers/i2c+0 -00 replies
13/17SPEAr : smi driver moved completely into drivers/mtdarch/arm/include/asm/arch-spear/spr_smi.h drivers/mtd/Makefile drivers/mtd/spr_smi.c +3 more+642 -6420 replies
14/17SPEAr : USBD driver support addeddrivers/serial/usbtty.h drivers/usb/gadget/Makefile drivers/usb/gadget/dw_udc.c +4 more+1248 -12320 replies
15/17SPEAr : Basic spear1300 architecture support addedcpu/arm_cortexa8/spear13xx/Makefile cpu/arm_cortexa8/spear13xx/cache.S cpu/arm_cortexa8/spear13xx/cpu_info.c +6 more+926 -00 replies
16/17SPEAr : spear1300 SoC support addedMakefile board/spear/common/Makefile board/spear/spear1300/Makefile +5 more+423 -60 replies
17/17SPEAr : Supporting various configurations for spear3xx and spear6xx boardsMakefile board/spear/spear300/config.mk board/spear/spear310/config.mk +4 more+34 -460 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/17] Network support for spear platform and spear1300 support

The following set of patches contain
1. Network driver support for designware IP
2. FSMC(Flexible static memory controller) support for ST IP.
3. I2C driver support for designware IP
4. SMI driver support for ST IP
5. spear1300 SoC and board support
6. misc changes in spear platform and board related code
7. change_bit routine defined in bitops.h(similar to setbit and clearbit)
8. Fix for u-boot.img generation

FSMC, I2C, SMI drivers earlier existed with the names spr_i2c, spr_nand etc. These drivers have now been ported as generic IPs so that the code can be reused by other platforms using the same peripheral

Vipin Kumar (17):
u-boot.img file not created when srctree and objtree are different change_bit routine defined
SPEAr : SMI erase and write timeouts increased
SPEAr : Placing ethaddr write and read within CONFIG_CMD_NET SPEAr : Reducing the max RAM size to 128MB
SPEAr : Basic arch related support added for SPEAr SoCs SPEAr : Network driver support added
SPEAr : Network support configured for spear SoCs
SPEAr : macb driver support added for spear310 and spear320 SPEAr : FSMC driver support added
SPEAr : Configuring FSMC driver for NAND interface
SPEAr : i2c driver moved completely into drivers/i2c SPEAr : smi driver moved completely into drivers/mtd SPEAr : USBD driver support added
SPEAr : Basic spear1300 architecture support added
SPEAr : spear1300 SoC support added
SPEAr : Supporting various configurations for spear3xx and spear6xx
boards

 Makefile                                   |   24 +-
 arch/arm/cpu/arm926ejs/spear/Makefile      |    3 +-
 arch/arm/include/asm/arch-spear/hardware.h |   16 +-
 arch/arm/include/asm/arch-spear/spr_i2c.h  |  146 ----
 arch/arm/include/asm/arch-spear/spr_misc.h |    5 +
 arch/arm/include/asm/arch-spear/spr_nand.h |   57 --
 arch/arm/include/asm/arch-spear/spr_smi.h  |  115 ----
 arch/arm/include/asm/bitops.h              |   11 +-
 board/spear/common/Makefile                |   10 +-
 board/spear/common/spr_misc.c              |   23 +-
 board/spear/spear1300/Makefile             |   51 ++
 board/spear/spear1300/config.mk            |   28 +
 board/spear/spear1300/spear1300.c          |   89 +++
 board/spear/spear1300/spr_lowlevel_init.S  |   38 +
 board/spear/spear300/config.mk             |   11 -
 board/spear/spear300/spear300.c            |   11 +-
 board/spear/spear310/config.mk             |   11 -
 board/spear/spear310/spear310.c            |   18 +-
 board/spear/spear320/config.mk             |   11 -
 board/spear/spear320/spear320.c            |   15 +-
 board/spear/spear600/config.mk             |   11 -
 board/spear/spear600/spear600.c            |   11 +-
 cpu/arm926ejs/spear/cpu_info.c             |   76 ++
 cpu/arm_cortexa8/spear13xx/Makefile        |   52 ++
 cpu/arm_cortexa8/spear13xx/cache.S         |  112 +++
 cpu/arm_cortexa8/spear13xx/cpu_info.c      |  105 +++
 cpu/arm_cortexa8/spear13xx/reset.c         |   47 ++
 cpu/arm_cortexa8/spear13xx/timer.c         |  136 ++++
 drivers/i2c/Makefile                       |    2 +-
 drivers/i2c/dw_i2c.c                       |  331 +++++++++
 drivers/i2c/dw_i2c.h                       |  146 ++++
 drivers/i2c/spr_i2c.c                      |  331 ---------
 drivers/mtd/Makefile                       |    2 +-
 drivers/mtd/nand/Makefile                  |    2 +-
 drivers/mtd/nand/fsmc_nand.c               |  363 ++++++++++
 drivers/mtd/nand/fsmc_nand.h               |  104 +++
 drivers/mtd/nand/spr_nand.c                |  124 ----
 drivers/mtd/spr_smi.c                      |  523 --------------
 drivers/mtd/st_smi.c                       |  523 ++++++++++++++
 drivers/mtd/st_smi.h                       |  115 ++++
 drivers/net/Makefile                       |    1 +
 drivers/net/dw_eth.c                       |  504 ++++++++++++++
 drivers/net/dw_eth.h                       |  281 ++++++++
 drivers/serial/usbtty.h                    |    4 +-
 drivers/usb/gadget/Makefile                |    2 +-
 drivers/usb/gadget/dw_udc.c                | 1014 ++++++++++++++++++++++++++++
 drivers/usb/gadget/spr_udc.c               |  998 ---------------------------
 include/asm-arm/arch-spear/clk.h           |   27 +
 include/asm-arm/arch-spear13xx/hardware.h  |   40 ++
 include/asm-arm/arch-spear13xx/spr_gpt.h   |   85 +++
 include/asm-arm/arch-spear13xx/spr_misc.h  |  317 +++++++++
 include/asm-arm/arch-spear13xx/sys_proto.h |   32 +
 include/configs/spear-common.h             |   27 +-
 include/configs/spear13xx.h                |  199 ++++++
 include/configs/spear3xx.h                 |   30 +
 include/configs/spear6xx.h                 |   13 +
 include/netdev.h                           |    1 +
 include/usb/dw_udc.h                       |  230 +++++++
 include/usb/spr_udc.h                      |  230 -------
 59 files changed, 5237 insertions(+), 2607 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-spear/spr_i2c.h
 delete mode 100644 arch/arm/include/asm/arch-spear/spr_nand.h
 delete mode 100644 arch/arm/include/asm/arch-spear/spr_smi.h
 create mode 100644 board/spear/spear1300/Makefile
 create mode 100644 board/spear/spear1300/config.mk
 create mode 100644 board/spear/spear1300/spear1300.c
 create mode 100644 board/spear/spear1300/spr_lowlevel_init.S
 create mode 100644 cpu/arm926ejs/spear/cpu_info.c
 create mode 100644 cpu/arm_cortexa8/spear13xx/Makefile
 create mode 100644 cpu/arm_cortexa8/spear13xx/cache.S
 create mode 100644 cpu/arm_cortexa8/spear13xx/cpu_info.c
 create mode 100755 cpu/arm_cortexa8/spear13xx/reset.c
 create mode 100644 cpu/arm_cortexa8/spear13xx/timer.c
 create mode 100644 drivers/i2c/dw_i2c.c
 create mode 100644 drivers/i2c/dw_i2c.h
 delete mode 100644 drivers/i2c/spr_i2c.c
 create mode 100755 drivers/mtd/nand/fsmc_nand.c
 create mode 100644 drivers/mtd/nand/fsmc_nand.h
 delete mode 100644 drivers/mtd/nand/spr_nand.c
 delete mode 100644 drivers/mtd/spr_smi.c
 create mode 100644 drivers/mtd/st_smi.c
 create mode 100644 drivers/mtd/st_smi.h
 create mode 100755 drivers/net/dw_eth.c
 create mode 100644 drivers/net/dw_eth.h
 create mode 100644 drivers/usb/gadget/dw_udc.c
 delete mode 100644 drivers/usb/gadget/spr_udc.c
 create mode 100644 include/asm-arm/arch-spear/clk.h
 create mode 100644 include/asm-arm/arch-spear13xx/hardware.h
 create mode 100755 include/asm-arm/arch-spear13xx/spr_gpt.h
 create mode 100755 include/asm-arm/arch-spear13xx/spr_misc.h
 create mode 100644 include/asm-arm/arch-spear13xx/sys_proto.h
 create mode 100644 include/configs/spear13xx.h
 create mode 100644 include/usb/dw_udc.h
 delete mode 100644 include/usb/spr_udc.h