am33xx/omap: Move save_omap_boot_params to omap-common/boot-common.c
We need to call the save_omap_boot_params function on am33xx/ti81xx and other newer TI SoCs, so move the function to boot-common. Only OMAP4+ has the omap_hw_init_context function so add ifdefs to not call it on am33xx/ti81xx. Call save_omap_boot_params from s_init on am33xx/ti81xx boards. Reviewed-by:R Sricharan <r.sricharan@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
Showing
- arch/arm/cpu/armv7/omap-common/boot-common.c 39 additions, 0 deletionsarch/arm/cpu/armv7/omap-common/boot-common.c
- arch/arm/cpu/armv7/omap-common/hwinit-common.c 0 additions, 36 deletionsarch/arm/cpu/armv7/omap-common/hwinit-common.c
- arch/arm/include/asm/arch-am33xx/sys_proto.h 1 addition, 0 deletionsarch/arm/include/asm/arch-am33xx/sys_proto.h
- arch/arm/include/asm/arch-omap4/sys_proto.h 1 addition, 0 deletionsarch/arm/include/asm/arch-omap4/sys_proto.h
- arch/arm/include/asm/arch-omap5/sys_proto.h 1 addition, 0 deletionsarch/arm/include/asm/arch-omap5/sys_proto.h
- board/isee/igep0033/board.c 9 additions, 0 deletionsboard/isee/igep0033/board.c
- board/phytec/pcm051/board.c 9 additions, 0 deletionsboard/phytec/pcm051/board.c
- board/ti/am335x/board.c 9 additions, 0 deletionsboard/ti/am335x/board.c
- board/ti/ti814x/evm.c 9 additions, 0 deletionsboard/ti/ti814x/evm.c
Loading
Please register or sign in to comment