[U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function

Tom Rini trini at ti.com
Wed May 8 19:56:27 CEST 2013


On Wed, May 08, 2013 at 02:50:14PM +0530, Sricharan R wrote:
> Tom,
> 
> On Wednesday 24 April 2013 04:11 PM, Sricharan R wrote:
> > 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
> >
>  Does this look ok, go to get in ?

With the posted changes to 4 and 5 (for platforms that are new to
u-boot-ti/master), applied, thanks for the reminder!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130508/27ddc35e/attachment.pgp>


More information about the U-Boot mailing list