]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm, arm926ejs: make thumb mode compileable
authorHeiko Schocher <hs@denx.de>
Tue, 18 Nov 2014 08:41:56 +0000 (09:41 +0100)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 19 Jan 2015 11:49:26 +0000 (12:49 +0100)
commit99197a9e316cbedd315135fcfd7673221a746df7
tree6eb0b781b3ace1f14134ffe2542b4c3b8779ca0f
parentab77f24119e80257de4ab017b877f92f96980562
arm, arm926ejs: make thumb mode compileable

in thumb mode compiler says for example for arch/arm/lib/cache-cp15.c
when enabling CONFIG_SYS_THUMB_BUILD:

{standard input}: Assembler messages:
{standard input}:373: Error: selected processor does not support Thumb mode `mrc p15,0,r4,c1,c0,0'
{standard input}:416: Error: selected processor does not support Thumb mode `mcr p15,0,r3,c2,c0,0'

so, if caches are disabled, do not use this command on arm926ejs.
used on at91 in SPL, to reduce size of SPL.

Signed-off-by: Heiko Schocher <hs@denx.de>
arch/arm/cpu/arm926ejs/cpu.c
arch/arm/lib/cache.c