diff options
author | Furquan Shaikh <furquan@google.com> | 2014-08-25 15:11:57 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-21 13:35:26 +0100 |
commit | 68cb88e0559108e934cfae49531c8f3295b868a3 (patch) | |
tree | 7aac6edbbb02606e067b8373209dd3bb5a9b7ad3 /payloads/libpayload/arch/arm64 | |
parent | debc1744e185cc9edd09197dfd220bfbff2cdf1b (diff) |
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>
Diffstat (limited to 'payloads/libpayload/arch/arm64')
-rw-r--r-- | payloads/libpayload/arch/arm64/main.c | 6 |
1 files 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(); |