mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
f92f2277a6
commit
fda06812a0
4 changed files with 56 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue