Add platform-independent coreboot support library
This patch adds the foundation for a platform-independent coreboot
support library that can be shared by all platforms that boot BL31 from
coreboot (acting as BL2). It adds code to parse the "coreboot table", a
data structure that coreboot uses to communicate different kinds of
information to later-stage firmware and certain OS drivers.

As a first small use case for this information, allow platforms to
access the serial console configuration used by coreboot, removing the
need to hardcode base address and divisors and allowing Trusted Firmware
to benefit from coreboot's user configuration (e.g. which UART to pick
and which baud rate to use).

Change-Id: I2bfb39cd2609ce6640b844ab68df6c9ae3f28e9e
Signed-off-by: Julius Werner <jwerner@chromium.org>
1 parent 38ba8e9 commit 3429c77ab09b69eef4ed752c2d641ed724e72110
@Julius Werner Julius Werner authored on 9 Jun 2017
Showing 4 changed files
View
include/lib/coreboot.h 0 → 100644
View
lib/coreboot/coreboot.mk 0 → 100644
View
lib/coreboot/coreboot_table.c 0 → 100644
View
make_helpers/defaults.mk