Hook up libhwbase in ramstage

It's hidden behind a configuration option `CONFIG_RAMSTAGE_LIBHWBASE`.

This also adds some glue code to use the coreboot console for debug
output and our monotonic timer framework as timer backend.

v2: Also update 3rdparty/libhwbase to the latest master commit.

Change-Id: I8e8d50271b46aac1141f95ab55ad323ac0889a8d
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/16951
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Nico Huber
2016-10-05 17:46:49 +02:00
committed by Nico Huber
parent 079b5c65c3
commit c83239eabc
9 changed files with 165 additions and 2 deletions

View File

@ -62,5 +62,5 @@ $(foreach arch,$(standard-archs), \
$(eval $(call libgnat-template,$(arch))))
ifeq ($(CONFIG_RAMSTAGE_ADA),y)
ramstage-libs += $$(obj)/libgnat-$(ARCH-ramstage-y)/libgnat.a
ramstage-libs += $(obj)/libgnat-$(ARCH-ramstage-y)/libgnat.a
endif