coreboot/payloads/libpayload/arch
Vadim Bendebury 3df209d58e 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: I6dfed73f6ba5939f692d0f98d2774c0e0312a25f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210770
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2014-08-06 08:01:28 +00:00
..
arm Consolidate coreboot table parsing 2014-08-06 08:01:28 +00:00
arm64 Consolidate coreboot table parsing 2014-08-06 08:01:28 +00:00
x86 Consolidate coreboot table parsing 2014-08-06 08:01:28 +00:00
Config.in libpayload: Add support for arm64 in libpayload 2014-06-07 01:28:57 +00:00