[U-Boot] [PATCH v2 0/7] omap5: spl/u-boot: Add spl/u-boot support for omap5 soc.
sricharan
r.sricharan at ti.com
Fri Nov 11 06:15:18 CET 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 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.
Changes in V2:
* Rebased all patches on top of latest mainline.
* Fixed sdram size hardcoding in EMIF support patch.
* Addressed Tom Rini's comments in build support patch.
This build has been validated for all armv7 cpus.
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 | 9 +-
arch/arm/cpu/armv7/omap-common/Makefile | 13 +
arch/arm/cpu/armv7/omap-common/clocks-common.c | 609 +++++++++++
.../{omap4/emif.c => omap-common/emif-common.c} | 300 ++----
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 267 +++++
.../armv7/{omap4 => omap-common}/lowlevel_init.S | 37 +-
.../{omap4/mem.c => omap-common/mem-common.c} | 0
arch/arm/cpu/armv7/omap-common/spl.c | 9 +-
arch/arm/cpu/armv7/omap4/Makefile | 11 +-
arch/arm/cpu/armv7/omap4/board.c | 384 -------
arch/arm/cpu/armv7/omap4/clocks.c | 628 ++---------
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 | 83 --
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} | 46 +-
arch/arm/include/asm/arch-omap4/sys_proto.h | 38 +-
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} | 104 +-
.../asm/{arch-omap4 => arch-omap5}/sys_proto.h | 55 +-
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 | 31 +-
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/Makefile | 2 -
board/ti/panda/panda.c | 27 +-
board/ti/panda/panda_mux_data.h | 54 +-
board/ti/sdp4430/Makefile | 4 +-
board/ti/sdp4430/sdp.c | 27 +-
board/ti/sdp4430/sdp4430_mux_data.h | 53 +-
boards.cfg | 1 +
drivers/mmc/omap_hsmmc.c | 26 +-
include/configs/omap4_common.h | 7 +-
include/configs/{omap4_common.h => omap5_evm.h} | 121 ++-
spl/Makefile | 3 +
55 files changed, 5029 insertions(+), 3700 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 (76%)
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/panda/Makefile => arch/arm/cpu/armv7/omap5/config.mk (54%)
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} (87%)
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} (65%)
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} (78%)
copy board/ti/{sdp4430/sdp4430_mux_data.h => omap5_evm/mux_data.h} (81%)
copy include/configs/{omap4_common.h => omap5_evm.h} (77%)
More information about the U-Boot
mailing list