[U-Boot] [RESEND: PATCH v4 0/9] Add support for keystone2 SoC and K2HK EVM

Murali Karicheri m-karicheri2 at ti.com
Thu Mar 27 17:00:38 CET 2014


This patch set add support for Keystone2 SoC and K2HK EVM.

Change history:
	v4
	 - Added multibus support in i2c driver. Tested only on Keystone
	 - Added comments to fdt patch

	v3
	 - Seperated network driver patches from the original series and
	   and is now a different set as there are outstanding issues to be
	   discussed and sorted out. Also the original series is ready
	   for merge to upstream IMO.
	 - Review comments incorporated. Following are the major comments
	   addressed
		- Added KBUILD target for u-boot-spi.gph
		- Added bootup and flashing instructions in README
		- Cleaned up manually replacing #define <tab> with #define <space>
		- Cleaned up k2hk_evm.h include file to remove unnecessary options
	v2
	 - Review comments incorporated. Following are major comments
	   addressed
		- split network driver to navigator driver + ethernet
		  driver
	 	- replaced register base + offset implemenation with struct
	   		based register access implementation
	 	- Added Readme for NAND no subpage write option
	 	- re-use code for davinci i2c driver on keystone2 with updates
		- clock-k2hk.c merged to clock.c
		- currently keeping board specific getclk() command. See the thread
		  for the rational.
	 - Added update to davinci spi driver to re-use on keystone

	v1
	 - added separate patch for sorting tools/Makefile entries
	 - reworked gpimage patch to allow more re-use across omapimage/gpimage
	 - dropped patch related to ubifs file size
	 - added keystone SoC and K2HK EVM support

	v0
	 - preparatory patch for keystone

Murali Karicheri (5):
  tools: mkimage: add support for gpimage format
  NAND: DaVinci: allow forced disable of subpage writes
  i2c, davinci: move i2c_defs.h to the drivers/i2c directory
  spi: davinci: add support for multiple bus and chip select
  k2hk-evm: add configuration for spi1 and spi2 support

Vitaly Andrianov (4):
  fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()
  arm: add support for arch timer
  i2c, davinci: convert driver to new mutlibus/mutliadapter framework
  k2hk: add support for k2hk SOC and EVM

 Makefile                                           |   10 +
 README                                             |    5 +
 arch/arm/cpu/arm926ejs/davinci/dm355.c             |    2 +-
 arch/arm/cpu/arm926ejs/davinci/dm365.c             |    2 +-
 arch/arm/cpu/arm926ejs/davinci/dm644x.c            |    2 +-
 arch/arm/cpu/arm926ejs/davinci/dm646x.c            |    2 +-
 arch/arm/cpu/armv7/keystone/Makefile               |   17 +
 arch/arm/cpu/armv7/keystone/aemif.c                |   71 ++++
 arch/arm/cpu/armv7/keystone/clock.c                |  318 ++++++++++++++++
 arch/arm/cpu/armv7/keystone/cmd_clock.c            |  124 ++++++
 arch/arm/cpu/armv7/keystone/cmd_mon.c              |  131 +++++++
 arch/arm/cpu/armv7/keystone/ddr3.c                 |   69 ++++
 arch/arm/cpu/armv7/keystone/init.c                 |   56 +++
 arch/arm/cpu/armv7/keystone/msmc.c                 |   68 ++++
 arch/arm/cpu/armv7/keystone/psc.c                  |  238 ++++++++++++
 arch/arm/cpu/armv7/keystone/spl.c                  |   45 +++
 arch/arm/include/asm/arch-davinci/i2c_defs.h       |   71 +---
 arch/arm/include/asm/arch-keystone/clock-k2hk.h    |  109 ++++++
 arch/arm/include/asm/arch-keystone/clock.h         |   17 +
 arch/arm/include/asm/arch-keystone/clock_defs.h    |  121 ++++++
 arch/arm/include/asm/arch-keystone/emif_defs.h     |   73 ++++
 arch/arm/include/asm/arch-keystone/hardware-k2hk.h |  150 ++++++++
 arch/arm/include/asm/arch-keystone/hardware.h      |  175 +++++++++
 arch/arm/include/asm/arch-keystone/i2c_defs.h      |   17 +
 arch/arm/include/asm/arch-keystone/nand_defs.h     |   25 ++
 arch/arm/include/asm/arch-keystone/psc_defs.h      |   90 +++++
 arch/arm/include/asm/arch-keystone/spl.h           |   12 +
 arch/arm/lib/Makefile                              |    1 +
 arch/arm/lib/arch_timer.c                          |   58 +++
 board/ti/k2hk_evm/Makefile                         |    9 +
 board/ti/k2hk_evm/README                           |  122 ++++++
 board/ti/k2hk_evm/board.c                          |  236 ++++++++++++
 board/ti/k2hk_evm/ddr3.c                           |  269 +++++++++++++
 boards.cfg                                         |    1 +
 common/image-fdt.c                                 |    5 +
 common/image.c                                     |    1 +
 drivers/i2c/Makefile                               |    2 +-
 drivers/i2c/davinci_i2c.c                          |  402 ++++++++++++--------
 drivers/i2c/davinci_i2c.h                          |   78 ++++
 drivers/mtd/nand/davinci_nand.c                    |    3 +
 drivers/serial/ns16550.c                           |    8 +
 drivers/spi/davinci_spi.c                          |   60 ++-
 drivers/spi/davinci_spi.h                          |   33 ++
 include/configs/cam_enc_4xx.h                      |    8 +-
 include/configs/da830evm.h                         |    8 +-
 include/configs/da850evm.h                         |    8 +-
 include/configs/davinci_dm355evm.h                 |    8 +-
 include/configs/davinci_dm355leopard.h             |    8 +-
 include/configs/davinci_dm365evm.h                 |    8 +-
 include/configs/davinci_dm6467evm.h                |    8 +-
 include/configs/davinci_dvevm.h                    |    8 +-
 include/configs/davinci_schmoogie.h                |    8 +-
 include/configs/davinci_sffsdr.h                   |    8 +-
 include/configs/davinci_sonata.h                   |    8 +-
 include/configs/ea20.h                             |    6 +-
 include/configs/enbw_cmc.h                         |    8 +-
 include/configs/k2hk_evm.h                         |  221 +++++++++++
 include/fdt_support.h                              |    7 +
 include/image.h                                    |    1 +
 tools/Makefile                                     |    2 +
 tools/gpheader.h                                   |   40 ++
 tools/gpimage-common.c                             |   80 ++++
 tools/gpimage.c                                    |   77 ++++
 tools/imagetool.c                                  |    2 +
 tools/imagetool.h                                  |    1 +
 tools/omapimage.c                                  |  104 +----
 tools/omapimage.h                                  |    5 -
 67 files changed, 3563 insertions(+), 387 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/keystone/Makefile
 create mode 100644 arch/arm/cpu/armv7/keystone/aemif.c
 create mode 100644 arch/arm/cpu/armv7/keystone/clock.c
 create mode 100644 arch/arm/cpu/armv7/keystone/cmd_clock.c
 create mode 100644 arch/arm/cpu/armv7/keystone/cmd_mon.c
 create mode 100644 arch/arm/cpu/armv7/keystone/ddr3.c
 create mode 100644 arch/arm/cpu/armv7/keystone/init.c
 create mode 100644 arch/arm/cpu/armv7/keystone/msmc.c
 create mode 100644 arch/arm/cpu/armv7/keystone/psc.c
 create mode 100644 arch/arm/cpu/armv7/keystone/spl.c
 create mode 100644 arch/arm/include/asm/arch-keystone/clock-k2hk.h
 create mode 100644 arch/arm/include/asm/arch-keystone/clock.h
 create mode 100644 arch/arm/include/asm/arch-keystone/clock_defs.h
 create mode 100644 arch/arm/include/asm/arch-keystone/emif_defs.h
 create mode 100644 arch/arm/include/asm/arch-keystone/hardware-k2hk.h
 create mode 100644 arch/arm/include/asm/arch-keystone/hardware.h
 create mode 100644 arch/arm/include/asm/arch-keystone/i2c_defs.h
 create mode 100644 arch/arm/include/asm/arch-keystone/nand_defs.h
 create mode 100644 arch/arm/include/asm/arch-keystone/psc_defs.h
 create mode 100644 arch/arm/include/asm/arch-keystone/spl.h
 create mode 100644 arch/arm/lib/arch_timer.c
 create mode 100644 board/ti/k2hk_evm/Makefile
 create mode 100644 board/ti/k2hk_evm/README
 create mode 100644 board/ti/k2hk_evm/board.c
 create mode 100644 board/ti/k2hk_evm/ddr3.c
 create mode 100644 drivers/i2c/davinci_i2c.h
 create mode 100644 include/configs/k2hk_evm.h
 create mode 100644 tools/gpheader.h
 create mode 100644 tools/gpimage-common.c
 create mode 100644 tools/gpimage.c

-- 
1.7.9.5



More information about the U-Boot mailing list