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>
Showing
- arch/arm/cpu/armv7/omap-common/hwinit-common.c 44 additions, 6 deletionsarch/arm/cpu/armv7/omap-common/hwinit-common.c
- arch/arm/include/asm/global_data.h 8 additions, 0 deletionsarch/arm/include/asm/global_data.h
- arch/arm/include/asm/omap_boot.h 1 addition, 0 deletionsarch/arm/include/asm/omap_boot.h
- arch/arm/include/asm/omap_common.h 3 additions, 1 deletionarch/arm/include/asm/omap_common.h
Loading
Please register or sign in to comment