[U-Boot] [U-Boot,v1,1/3] arm, arm926ejs: make thumb mode compileable

Andreas Bießmann andreas.devel at googlemail.com
Mon Jan 19 12:50:03 CET 2015


Dear Heiko Schocher,

Heiko Schocher <hs at denx.de> writes:
>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 at denx.de>
>---
>
> arch/arm/cpu/arm926ejs/cpu.c | 2 ++
> arch/arm/lib/cache.c         | 2 ++
> 2 files changed, 4 insertions(+)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list