diff options
author | SRICHARAN R <r.sricharan@ti.com> | 2013-04-24 00:41:23 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-10 08:25:56 -0400 |
commit | fda06812a068f916f64d9d1b3d1730e8213195b3 (patch) | |
tree | b6efdc49f508ec4ec805200b6fe621ed1ba8b8c7 /arch/arm/include/asm/omap_boot.h | |
parent | f92f2277a6cadfdc703a6700593cac3d8211bf53 (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/omap_boot.h')
-rw-r--r-- | arch/arm/include/asm/omap_boot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_boot.h b/arch/arm/include/asm/omap_boot.h index 87a95302fa..a803965ac5 100644 --- a/arch/arm/include/asm/omap_boot.h +++ b/arch/arm/include/asm/omap_boot.h @@ -45,5 +45,6 @@ struct omap_boot_parameters { unsigned char omap_bootdevice; unsigned char reset_reason; unsigned char ch_flags; + unsigned long omap_bootmode; }; #endif |