• Julius Werner's avatar
    Add platform-independent coreboot support library · 3429c77a
    Julius Werner authored
    
    
    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: default avatarJulius Werner <jwerner@chromium.org>
    3429c77a
coreboot.mk 411 Bytes