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 <pgeorgi@chromium.org>
Original-Commit-Id: 6d6aa84d7255d33e085f12c609f32309521ff58e
Original-Change-Id: I73f888a7b8aa0065c1ca0bf7857c445cc5678cdc
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/214073
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8781
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Furquan Shaikh 2014-08-25 15:11:57 -07:00 committed by Patrick Georgi
parent debc1744e1
commit 68cb88e055
1 changed files with 4 additions and 2 deletions

View File

@ -55,11 +55,13 @@ void start_main(void)
{ {
extern int main(int argc, char **argv); extern int main(int argc, char **argv);
printf("hello libpayload world");
/* Gather system information. */ /* Gather system information. */
lib_get_sysinfo(); lib_get_sysinfo();
#ifndef CONFIG_LP_SKIP_CONSOLE_INIT
console_init();
#endif
printf("ARM64: Libpayload %s\n",__func__);
exception_init(); exception_init();
test_exception(); test_exception();