From 68cb88e0559108e934cfae49531c8f3295b868a3 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Mon, 25 Aug 2014 15:11:57 -0700 Subject: [PATCH] libpayload arm64: Add console_init to enable console logs BUG=None BRANCH=None TEST=Compiles sucessfully and hello libpayload seen on screen Change-Id: If312e005e306f7f70138aa27d2ef5b39620ec91e Signed-off-by: Patrick Georgi Original-Commit-Id: 6d6aa84d7255d33e085f12c609f32309521ff58e Original-Change-Id: I73f888a7b8aa0065c1ca0bf7857c445cc5678cdc Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/214073 Original-Reviewed-by: Aaron Durbin Original-Commit-Queue: Furquan Shaikh Original-Tested-by: Furquan Shaikh Reviewed-on: http://review.coreboot.org/8781 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/arch/arm64/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/payloads/libpayload/arch/arm64/main.c b/payloads/libpayload/arch/arm64/main.c index ba4fc60473..864e3cafd1 100644 --- a/payloads/libpayload/arch/arm64/main.c +++ b/payloads/libpayload/arch/arm64/main.c @@ -55,11 +55,13 @@ void start_main(void) { extern int main(int argc, char **argv); - printf("hello libpayload world"); /* Gather system information. */ lib_get_sysinfo(); - +#ifndef CONFIG_LP_SKIP_CONSOLE_INIT + console_init(); +#endif + printf("ARM64: Libpayload %s\n",__func__); exception_init(); test_exception();