coreboot-kgpe-d16/payloads/libpayload/arch/arm
Vadim Bendebury 864ec8c488 libpayload: Consolidate coreboot table parsing
There are three instances of coreboot.c in libpayload. for x86, arm
and arm64 architectures. The arm and arm64 instances are exactly the
same. The differences with the x86 instance are as follows:

 - a very slightly different set of coreboot table tags is parsed (one
   tag added and two removed)

 - instead of checking a fixed address if it contains the coreboot
   table, the x86 version iterates over two address ranges.

This patch refactors the module, leaving architecture specific
processing in arch subdirectories and moving the common code into
libc.

BUG=none
TEST=none yet

Change-Id: I1c7ad6f74e3498e93df78086ba0ff708c08e0a5c
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 3df209d58ebd5c5b1cf0168f6466e065d1ef3598
Original-Change-Id: I6dfed73f6ba5939f692d0f98d2774c0e0312a25f
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/210770
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8750
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-03-20 15:31:59 +01:00
..
Config.in libpayload: arm: Pass the coreboot table location to the payload. 2014-12-09 18:38:48 +01:00
Makefile.inc libpayload: Add remote GDB support 2015-01-09 07:06:51 +01:00
asmlib.h arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
cache.c arm: Redesign, clarify and clean up cache related code 2014-11-10 21:34:49 +01:00
coreboot.c libpayload: Consolidate coreboot table parsing 2015-03-20 15:31:59 +01:00
cpu.S arm: Fix minor mistake in cache maintenance assembly 2014-12-15 23:27:41 +01:00
dummy_media.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
eabi_compat.c libpayload: arm: Add EABI compatible utility functions. 2014-12-30 19:04:54 +01:00
exception.c libpayload: Rework exception hook interface 2015-01-09 07:05:15 +01:00
exception_asm.S libpayload: Rework exception hook interface 2015-01-09 07:05:15 +01:00
gdb.c libpayload: Add remote GDB support 2015-01-09 07:06:51 +01:00
head.S libpayload: arm: add code to clear bss 2015-01-06 16:56:23 +01:00
libpayload.ldscript ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
main.c libpayload: Make it possible to install callbacks for particular exceptions. 2014-12-09 18:39:06 +01:00
memcpy.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memmove.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memset.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
selfboot.c libpayload: Introduce new Kconfig to explicitly allow GPL code 2015-01-09 07:06:27 +01:00
sysinfo.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
timer.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
util.S arm: Move libgcc assembly macros to arch/asm.h 2014-09-22 18:46:57 +02:00
virtual.c ARM: API to Map Physical Address to Wipe Memory above 4GB 2014-12-09 18:39:34 +01:00