coreboot/payloads/libpayload/arch/arm
Julius Werner 5f65c17cbf arm: Thumb ALL the things!
This patch switches every last part of Coreboot on ARM over to Thumb
mode: libpayload, the internal libgcc, and assorted assembly files. In
combination with the respective depthcharge patch, this will switch to
Thumb mode right after the entry point of the bootblock and not switch
back to ARM until the final assembly stub that jumps to the kernel.

The required changes to make this work include some new headers and
Makefile flags to handle assembly files (using the unified syntax and
the same helper macros as Linux), modifying our custom-written libgcc
code for 64-bit division to support Thumb (removing some stale old files
that were never really used for clarity), and flipping the general
CFLAGS to Thumb (some more cleanup there as well while I'm at it).

BUG=None
TEST=Snow and Nyan still boot.

Change-Id: I80c04281e3adbf74f9f477486a96b9fafeb455b3
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182212
Reviewed-by: Gabe Black <gabeblack@chromium.org>
2014-01-14 03:29:48 +00:00
..
asmlib.h arm: Update mem* functions to newer versions 2014-01-14 03:29:44 +00:00
cache.c libpayload: expose dcache_line_bytes() in ARM cache API 2013-10-23 05:21:24 +00:00
Config.in ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
coreboot.c libpayload: Add vboot handoff parsing on ARM 2013-12-17 03:15:39 +00:00
dummy_media.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
exception.c arm: Remove exception_test() 2013-11-20 06:51:13 +00:00
exception_asm.S arm: Remove exception_test() 2013-11-20 06:51:13 +00:00
head.S arm: Move libgcc assembly macros to arch/asm.h 2014-01-14 03:29:41 +00:00
libpayload.ldscript ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
main.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
Makefile.inc arm: Thumb ALL the things! 2014-01-14 03:29:48 +00:00
memcpy.S arm: Update mem* functions to newer versions 2014-01-14 03:29:44 +00:00
memmove.S arm: Update mem* functions to newer versions 2014-01-14 03:29:44 +00:00
memset.S arm: Update mem* functions to newer versions 2014-01-14 03:29:44 +00:00
sysinfo.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
timer.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
util.S arm: Move libgcc assembly macros to arch/asm.h 2014-01-14 03:29:41 +00:00
virtual.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00