]> git.sur5r.net Git - u-boot/commit
ARM: OMAP: Correct save_boot_params and replace with 'C' function
authorSRICHARAN R <r.sricharan@ti.com>
Wed, 24 Apr 2013 00:41:23 +0000 (00:41 +0000)
committerTom Rini <trini@ti.com>
Fri, 10 May 2013 12:25:56 +0000 (08:25 -0400)
commitfda06812a068f916f64d9d1b3d1730e8213195b3
treeb6efdc49f508ec4ec805200b6fe621ed1ba8b8c7
parentf92f2277a6cadfdc703a6700593cac3d8211bf53
ARM: OMAP: Correct save_boot_params and replace with 'C' function

Currently save_boot_params saves the boot parameters passed
from romcode. But this is not stored in a writable location
consistently. So the current code would not work for a
'XIP' boot. Change this by saving the boot parameters in
'gd' which is always writable. Also add a 'C' function
instead of an assembly code that is more readable.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
arch/arm/cpu/armv7/omap-common/hwinit-common.c
arch/arm/include/asm/global_data.h
arch/arm/include/asm/omap_boot.h
arch/arm/include/asm/omap_common.h