]> git.baikalelectronics.ru Git - arm-tf.git/commit
Add platform-independent coreboot support library
authorJulius Werner <jwerner@chromium.org>
Fri, 9 Jun 2017 22:17:15 +0000 (15:17 -0700)
committerJulius Werner <jwerner@chromium.org>
Fri, 19 Jan 2018 23:21:12 +0000 (15:21 -0800)
commit3429c77ab09b69eef4ed752c2d641ed724e72110
tree5274f8e062b0828309b59d4fdc6a06be199ebc0a
parent38ba8e9327a3911e8a24ada75346c0765ffffba1
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>
include/lib/coreboot.h [new file with mode: 0644]
lib/coreboot/coreboot.mk [new file with mode: 0644]
lib/coreboot/coreboot_table.c [new file with mode: 0644]
make_helpers/defaults.mk