These patches enable the omap kernel to build and work in Thumb-2 (CONFIG_THUMB2_KERNEL).
They may make useful reading for all low-level BSP maintainers, since in general similar issues tend to crop up whenever migrating code to support Thumb-2.
Tested on: omap3 (Beagle xM A2) Not tested on any other platforms yet.
Dave Martin (3): ARM: omap: Enable low-level omap3 PM code to work with CONFIG_THUMB2_KERNEL ARM: omap4: Correct definition of do_wfi() for CONFIG_THUMB2_KERNEL ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL
arch/arm/mach-omap2/include/mach/omap4-common.h | 5 +++ arch/arm/mach-omap2/omap-headsmp.S | 2 +- arch/arm/mach-omap2/omap44xx-smc.S | 8 ++-- arch/arm/mach-omap2/pm.h | 2 + arch/arm/mach-omap2/pm34xx.c | 13 ++++++-- arch/arm/mach-omap2/sleep34xx.S | 37 +++++++++++++++++++++-- arch/arm/mach-omap2/sram34xx.S | 34 +++++++++++++++----- arch/arm/plat-omap/include/plat/sram.h | 1 + arch/arm/plat-omap/sram.c | 10 +++++- 9 files changed, 90 insertions(+), 22 deletions(-)