[U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function
Sricharan R
r.sricharan at ti.com
Wed Apr 24 12:41:20 CEST 2013
The save_boot_params function does not store the data in a
always writable area. So the code is broken for a 'XIP' boot.
This series corrects this by storing it in 'gd' and also
adds a 'C' equivalent function for the same. The essential cleanups
for the same are added in this.
Tested this on omap5 uevm board with SD/EMMC boot.
omap4/5 boards does not have a XIP flash.
So yet to test XIP with this series.
Also verfied a MAKEALL for armv7.
Sricharan R (5):
ARM: OMAP: Make omap_boot_parameters common across socs
ARM: OMAP4/5: Make OMAPx_SRAM_SCRATCH_ defines common
ARM: OMAP: Correct save_boot_params and replace with 'C' function
ARM: OMAP: Cleanup boot parameters usage
ARM: OMAP: Add arch_cpu_init function
arch/arm/cpu/armv7/lowlevel_init.S | 8 +++-
arch/arm/cpu/armv7/omap-common/boot-common.c | 20 ++------
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 61 +++++++++++++++++++++---
arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 50 +------------------
arch/arm/cpu/armv7/omap4/emif.c | 4 +-
arch/arm/cpu/armv7/omap4/hw_data.c | 2 +-
arch/arm/cpu/armv7/omap4/hwinit.c | 3 +-
arch/arm/cpu/armv7/omap5/emif.c | 4 +-
arch/arm/cpu/armv7/omap5/hw_data.c | 2 +-
arch/arm/cpu/armv7/omap5/hwinit.c | 3 +-
arch/arm/include/asm/arch-am33xx/omap.h | 25 ----------
arch/arm/include/asm/arch-omap4/omap.h | 36 --------------
arch/arm/include/asm/arch-omap4/sys_proto.h | 11 ++---
arch/arm/include/asm/arch-omap5/omap.h | 36 --------------
arch/arm/include/asm/arch-omap5/sys_proto.h | 12 ++---
arch/arm/include/asm/global_data.h | 8 ++++
arch/arm/include/asm/omap_boot.h | 50 +++++++++++++++++++
arch/arm/include/asm/omap_common.h | 19 ++++++++
common/spl/spl.c | 12 +++--
include/configs/am335x_evm.h | 4 ++
include/configs/omap4_common.h | 4 ++
include/configs/omap5_common.h | 3 ++
include/configs/pcm051.h | 4 ++
include/configs/ti814x_evm.h | 4 ++
include/spl.h | 1 -
25 files changed, 187 insertions(+), 199 deletions(-)
create mode 100644 arch/arm/include/asm/omap_boot.h
--
1.7.9.5
More information about the U-Boot
mailing list