[U-Boot] [PATCH 4/5] ARM: OMAP: Cleanup boot parameters usage

Tom Rini trini at ti.com
Mon Apr 15 17:43:45 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/15/2013 11:39 AM, Sricharan R wrote:
> On Monday 15 April 2013 09:05 PM, Tom Rini wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 04/15/2013 11:08 AM, Sricharan R wrote:
>>> The boot parameters are read from individual variables
>>> assigned for each of them. This been corrected and now they are
>>> stored as a part of the global data 'gd' structure. So read
>>> them from 'gd' instead.
>>> 
>>> Signed-off-by: Sricharan R <r.sricharan at ti.com> --- 
>>> arch/arm/cpu/armv7/lowlevel_init.S             |    8 ++++- 
>>> arch/arm/cpu/armv7/omap-common/boot-common.c   |   20
>>> ++--------- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |
>>> 46 ++---------------------- 
>>> arch/arm/include/asm/arch-omap4/sys_proto.h    |   11 ++---- 
>>> arch/arm/include/asm/arch-omap5/sys_proto.h    |   12 ++----- 
>>> arch/arm/include/asm/omap_common.h             |    3 ++ 
>>> common/spl/spl.c                               |   12 ++++--- 
>>> include/configs/am335x_evm.h                   |    1 + 
>>> include/configs/pcm051.h                       |    1 + 
>>> include/configs/ti814x_evm.h                   |    1 + 
>>> include/spl.h                                  |    1 - 11
>>> files changed, 32 insertions(+), 84 deletions(-)
>> 
>> I can live with adding CONFIG_OMAP to the am335/ti81* parts.
> Thanks. I was suspicious about this.
> 
> BTW, does am335/ti81 devices get the bootparams from romcode in the
> same as OMAP ?

Yes, that's some common code we all share now.

> Also are there any am335 boards with XIP where i can test this ?

am335x can have NOR, and there is a NOR cape for beaglebone, but we
don't have everything for that in mainline just yet.  Once that gets
closer I will check it out.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRbCAxAAoJENk4IS6UOR1WYV8P/11BbdwmzsnP7kp1vfuBtPeW
cU4A0unTnX6WiIOtEUsOW7i0Mk8QFDsm6KknkCvkOw51Vs+cYTiYeB0hjEmKH129
DEEGGWkhoaupmRtPmmNGzZaCDGbBsWOMexwzCS6L5ozsYWov+FIJtsLVMNR7EV83
8f1O5TA6EtTjmJ31AjvkFTOyTej0p+I167+edLsCzeMCQyuVj/aKWoH2HCHWhkhb
fq/CYExXiW9uhxWKinvECuOk9Yjw9scQWfM21GQQL1GK9zMNv/hZ+SoLptX67twZ
SiQboUdVAz/VhvHC/CvsNjW3lGOVrV1YwAFlhYHrjboA7aAm7H8zQRNbF55r95bc
bjA6bBe8xIWqmeu6tWQRP9zej8V7NWKaGMhFHSqSIE9svCG/x7gUnFal2z3+0hCa
xaxUiJgAAFGmEQNaw9HJ3sLogc18pOLABUSCVmtNlpRh7qTpK7a4qs2bx8gT+FIS
H3GIQRya952wXFipjxnzdKzr4zPmTGtIwzR9PSYSiY0V5w5jsnZ2BBb0YAZNWy4E
SmdwmYb27g3sVNTZzE5UIwv2NM/EY1IpJAca2vCR2n52ibJqraOTqPHMAdya4BX1
I5UD5HiCsX4jokfF+eBl3JllYgj/JoqSQCLS/zpFu+qll1tZHEMIYkhKNU4nDPjg
Su8NIwR0hmJvuOEqtEsz
=U9OR
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list