public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sricharan R <r.sricharan@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function
Date: Thu, 9 May 2013 11:34:33 +0530	[thread overview]
Message-ID: <518B3C71.5000707@ti.com> (raw)
In-Reply-To: <20130508175627.GJ6931@bill-the-cat>

Hi Tom,

On Wednesday 08 May 2013 11:26 PM, Tom Rini wrote:
> 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!
>
  Thanks for it !!

Regards,
 Sricharan

  reply	other threads:[~2013-05-09  6:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 10:41 [U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function Sricharan R
2013-04-24 10:41 ` [U-Boot] [PATCH V2 1/5] ARM: OMAP: Make omap_boot_parameters common across socs Sricharan R
2013-04-24 10:41 ` [U-Boot] [PATCH V2 2/5] ARM: OMAP4/5: Make OMAPx_SRAM_SCRATCH_ defines common Sricharan R
2013-04-24 10:41 ` [U-Boot] [PATCH V2 3/5] ARM: OMAP: Correct save_boot_params and replace with 'C' function Sricharan R
2013-04-24 10:41 ` [U-Boot] [PATCH V2 4/5] ARM: OMAP: Cleanup boot parameters usage Sricharan R
2013-05-08 17:56   ` Tom Rini
2013-04-24 10:41 ` [U-Boot] [PATCH V2 5/5] ARM: OMAP: Add arch_cpu_init function Sricharan R
2013-05-08 17:56   ` Tom Rini
2013-05-08  9:20 ` [U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function Sricharan R
2013-05-08 17:56   ` Tom Rini
2013-05-09  6:04     ` Sricharan R [this message]
2013-05-31 14:18 ` Tom Rini
2013-05-31 14:22   ` Tom Rini
2013-06-03  6:09     ` Sricharan R
2013-06-03  7:26       ` Sricharan R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=518B3C71.5000707@ti.com \
    --to=r.sricharan@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox