switch-coreboot/src
Julius Werner 25a282dabc 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.

Original-Change-Id: I80c04281e3adbf74f9f477486a96b9fafeb455b3
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/182212
Original-Reviewed-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 5f65c17cbfae165a95354146ae79e06c512c2c5a)

Conflicts:
	payloads/libpayload/include/arm/arch/asm.h
	src/arch/arm/Makefile.inc
	src/arch/arm/armv7/Makefile.inc

*** There is an issue with what to do with ramstage-S-ccopts, and
*** will need to be covered in additional ARM cleanup patches.

Change-Id: I80c04281e3adbf74f9f477486a96b9fafeb455b3
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/6930
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2014-11-09 01:37:13 +01:00
..
arch arm: Thumb ALL the things! 2014-11-09 01:37:13 +01:00
console cbmem console: Locate the preram console with a symbol instead of a section. 2014-10-07 23:41:28 +02:00
cpu fsp_rangeley: Switch to per-device ACPI 2014-11-08 20:12:31 +01:00
device device/dram/ddr3.c: Fix sizeof on array func param overflow 2014-11-08 07:09:34 +01:00
drivers drivers/ioapic: DEVICE_NOOP some stub function callbacks 2014-11-07 12:50:22 +01:00
ec {arch,cpu,drivers,ec}: Don't hide pointers behind typedefs 2014-10-27 23:40:05 +01:00
include pci_ops.{c,h}: Don't hide pointers behind typedefs 2014-11-05 14:45:57 +01:00
lib cbmem: Fix 64-bit pointer related casts in dynamic_cbmem.c 2014-10-28 17:09:49 +01:00
mainboard fsp_rangeley: Switch to per-device ACPI 2014-11-08 20:12:31 +01:00
northbridge fsp_rangeley: Switch to per-device ACPI 2014-11-08 20:12:31 +01:00
soc arm: Thumb ALL the things! 2014-11-09 01:37:13 +01:00
southbridge fsp_rangeley: Switch to per-device ACPI 2014-11-08 20:12:31 +01:00
superio superio/ite: Use common dispatch for pnp entry/exit functions 2014-11-04 11:36:32 +01:00
vendorcode amd/agesa/f16kb: Invalid inline asm in gcc-intrin.h 2014-11-04 13:33:54 +01:00
Kconfig src/Kconfig: Don't treat warns as errors on Clang builds yet 2014-10-28 23:02:28 +01:00