[U-Boot] [PATCH 0/7] omap5: spl/u-boot: Add spl/u-boot support for omap5 soc.

sricharan r.sricharan at ti.com
Wed Oct 19 14:47:17 CEST 2011


OMAP5 is Texas Instrument's SOC based on ARM Cortex-A15 SMP architecture.
It's a dual core SOC with GIC used for interrupt handling and SCU for cache
coherency.

This patch series essentially adds the spl/u-boot support for omap5 soc.
There is quite a amount of code that can be reused for omap4 and 5. All that
has been considered here and made common for omap4/5 architectures. Rest of
the code is retained in the soc specific directories.

This patch series has been tested on the following platforms.
OMAP4:
-----
OMAP 4430/4460 sdp, Panda board.

OMAP5:
-----
All pre-silicon platforms.

sricharan (7):
  omap4: make omap4 code common for future reuse
  omap: Checkpatch fixes
  omap5: Add minimal support for omap5430.
  omap5: clocks: Add clocks support for omap5 platform.
  omap5: emif: Add emif/ddr configurations required for omap5 evm.
  omap4/5: Add support for booting with CH.
  omap5: Add omap5_evm board build support.

 MAINTAINERS                                        |    1 +
 Makefile                                           |    3 +-
 arch/arm/cpu/armv7/omap-common/Makefile            |   13 +
 arch/arm/cpu/armv7/omap-common/clocks-common.c     |  608 +++++++++++
 .../{omap4/emif.c => omap-common/emif-common.c}    |  296 ++----
 arch/arm/cpu/armv7/omap-common/hwinit-common.c     |  259 +++++
 .../armv7/{omap4 => omap-common}/lowlevel_init.S   |   35 +-
 .../{omap4/mem.c => omap-common/mem-common.c}      |    0
 arch/arm/cpu/armv7/omap-common/spl.c               |    8 +-
 arch/arm/cpu/armv7/omap4/Makefile                  |   11 +-
 arch/arm/cpu/armv7/omap4/board.c                   |  372 -------
 arch/arm/cpu/armv7/omap4/clocks.c                  |  627 ++---------
 arch/arm/cpu/armv7/omap4/emif.c                    | 1135 +-------------------
 arch/arm/cpu/armv7/omap4/hwinit.c                  |  167 +++
 arch/arm/cpu/armv7/omap4/omap4_mux_data.h          |   76 --
 arch/arm/cpu/armv7/omap4/sdram_elpida.c            |    2 +-
 arch/arm/cpu/armv7/omap4/sys_info.c                |   53 -
 arch/arm/cpu/armv7/{omap4 => omap5}/Makefile       |    9 +-
 arch/arm/cpu/armv7/omap5/clocks.c                  |  432 ++++++++
 .../Makefile => arch/arm/cpu/armv7/omap5/config.mk |   33 +-
 arch/arm/cpu/armv7/omap5/emif.c                    |  105 ++
 arch/arm/cpu/armv7/omap5/hwinit.c                  |   78 ++
 arch/arm/cpu/armv7/omap5/sdram_elpida.c            |  178 +++
 arch/arm/include/asm/arch-omap3/mmc_host_def.h     |   11 +-
 arch/arm/include/asm/arch-omap4/clocks.h           |   23 +
 arch/arm/include/asm/arch-omap4/emif.h             | 1021 ------------------
 arch/arm/include/asm/arch-omap4/mmc_host_def.h     |   11 +-
 .../arm/include/asm/arch-omap4/{omap4.h => omap.h} |   30 +-
 arch/arm/include/asm/arch-omap4/sys_proto.h        |   40 +-
 arch/arm/include/asm/arch-omap5/clocks.h           |  722 +++++++++++++
 arch/arm/include/asm/arch-omap5/cpu.h              |  175 +++
 arch/arm/include/asm/arch-omap5/gpio.h             |   50 +
 arch/arm/include/asm/arch-omap5/i2c.h              |   74 ++
 .../asm/{arch-omap4 => arch-omap5}/mmc_host_def.h  |   11 +-
 arch/arm/include/asm/arch-omap5/mux_omap5.h        |  344 ++++++
 .../asm/{arch-omap4/omap4.h => arch-omap5/omap.h}  |  115 ++-
 .../asm/{arch-omap4 => arch-omap5}/sys_proto.h     |   57 +-
 arch/arm/include/asm/armv7.h                       |    3 +
 arch/arm/include/asm/emif.h                        | 1035 ++++++++++++++++++
 arch/arm/include/asm/mach-types.h                  |   13 +
 arch/arm/include/asm/omap_common.h                 |   32 +-
 board/ti/{sdp4430 => omap5_evm}/Makefile           |   10 +-
 board/ti/{sdp4430/sdp.c => omap5_evm/evm.c}        |   22 +-
 .../sdp4430_mux_data.h => omap5_evm/mux_data.h}    |   62 +-
 board/ti/panda/panda.c                             |    8 +
 board/ti/sdp4430/Makefile                          |    4 +-
 board/ti/sdp4430/sdp.c                             |   25 +
 board/ti/sdp4430/sdp4430_mux_data.h                |   46 +
 boards.cfg                                         |    1 +
 drivers/mmc/omap_hsmmc.c                           |   26 +-
 include/configs/omap4_common.h                     |    2 +-
 .../configs/{omap4_common.h => omap5_evm5430.h}    |   44 +-
 spl/Makefile                                       |    3 +
 53 files changed, 4899 insertions(+), 3622 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/omap-common/clocks-common.c
 copy arch/arm/cpu/armv7/{omap4/emif.c => omap-common/emif-common.c} (80%)
 create mode 100644 arch/arm/cpu/armv7/omap-common/hwinit-common.c
 rename arch/arm/cpu/armv7/{omap4 => omap-common}/lowlevel_init.S (77%)
 rename arch/arm/cpu/armv7/{omap4/mem.c => omap-common/mem-common.c} (100%)
 delete mode 100644 arch/arm/cpu/armv7/omap4/board.c
 create mode 100644 arch/arm/cpu/armv7/omap4/hwinit.c
 delete mode 100644 arch/arm/cpu/armv7/omap4/omap4_mux_data.h
 delete mode 100644 arch/arm/cpu/armv7/omap4/sys_info.c
 copy arch/arm/cpu/armv7/{omap4 => omap5}/Makefile (92%)
 create mode 100644 arch/arm/cpu/armv7/omap5/clocks.c
 copy board/ti/sdp4430/Makefile => arch/arm/cpu/armv7/omap5/config.mk (53%)
 create mode 100644 arch/arm/cpu/armv7/omap5/emif.c
 create mode 100644 arch/arm/cpu/armv7/omap5/hwinit.c
 create mode 100644 arch/arm/cpu/armv7/omap5/sdram_elpida.c
 delete mode 100644 arch/arm/include/asm/arch-omap4/emif.h
 copy arch/arm/include/asm/arch-omap4/{omap4.h => omap.h} (90%)
 create mode 100644 arch/arm/include/asm/arch-omap5/clocks.h
 create mode 100644 arch/arm/include/asm/arch-omap5/cpu.h
 create mode 100644 arch/arm/include/asm/arch-omap5/gpio.h
 create mode 100644 arch/arm/include/asm/arch-omap5/i2c.h
 copy arch/arm/include/asm/{arch-omap4 => arch-omap5}/mmc_host_def.h (96%)
 create mode 100644 arch/arm/include/asm/arch-omap5/mux_omap5.h
 rename arch/arm/include/asm/{arch-omap4/omap4.h => arch-omap5/omap.h} (62%)
 copy arch/arm/include/asm/{arch-omap4 => arch-omap5}/sys_proto.h (65%)
 create mode 100644 arch/arm/include/asm/emif.h
 copy board/ti/{sdp4430 => omap5_evm}/Makefile (93%)
 copy board/ti/{sdp4430/sdp.c => omap5_evm/evm.c} (79%)
 copy board/ti/{sdp4430/sdp4430_mux_data.h => omap5_evm/mux_data.h} (81%)
 copy include/configs/{omap4_common.h => omap5_evm5430.h} (88%)



More information about the U-Boot mailing list