]> git.dujemihanovic.xyz Git - u-boot.git/commit
exynos: allow SPL to build in thumb mode
authorGuillaume GARDET <guillaume.gardet@free.fr>
Wed, 2 Jan 2019 13:31:41 +0000 (14:31 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 3 Jan 2019 00:37:18 +0000 (09:37 +0900)
commit2a195703d6e62172e532ffae05a79e9d12f602bc
tree64f911bf99868b73465c370f8a335c04c57c2dfa
parentc96d90367a6a229210b8b16681cfe9e5c8aeced1
exynos: allow SPL to build in thumb mode

Building peach-pi smdk5420 and peach-pit with thumb mode for SPL
ends-up in the following error:

Error: Thumb encoding does not support an immediate here -- `msr cpsr_c,#0x13|0xC0'

Use an intermediate register to be able to use thumb for exynos5 SPL.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/mach-exynos/include/mach/system.h