]> git.baikalelectronics.ru Git - uboot.git/commit
arm: omap3: Compile clock.c with -marm option to unbreak OMAP3530
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 6 Mar 2017 01:16:52 +0000 (03:16 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 15 Mar 2017 00:40:17 +0000 (20:40 -0400)
commit64409628904668bea6dc1926124fd65ed87196f0
tree693dcb83f3111b6d5a1357de02a51e2c932c51fa
parent7cfa15561ea6796e3427629435def91903f37230
arm: omap3: Compile clock.c with -marm option to unbreak OMAP3530

Boards with OMAP3530 SoC fail to boot since commit bd2c4522c26d5
("ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)")
because it enabled the use of Thumb2 for the SPL.

Experiments have shown that the deadlock happens in the
prcm_init() function from 'arch/arm/mach-omap2/omap3/clock.c'.

This patch enforces the compilation of clock.c source file in
ARM mode and makes the deadlock disappear. We are yet to figure
out the root cause of the problem. Still this is somewhat
better than having non-bootable boards for years.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/omap3/Makefile