arm64: remove printk() before console_init()
commit8ff6c215a1c759ed4506a0bdbe4aa6a2fe9bd74f
authorAaron Durbin <adurbin@chromium.org>
Sat, 6 Sep 2014 06:07:41 +0000 (6 01:07 -0500)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 27 Mar 2015 07:04:44 +0000 (27 08:04 +0100)
treebea3bcaf942fe7030aeb7a385ea27d02d67d7b15
parent4da4d3c9448a40a6e97d56cd6dc5db8d416e40b4
arm64: remove printk() before console_init()

printk() shouldn't be called until the consoles have been
initialized. This just so happened to work by luck. Once
CONFIG_SMP is enabled that breaks because of spinlock
usage in uncached memory.

BUG=chrome-os-partner:31761
BRANCH=None
TEST=Built with CONFIG_SMP and ramstage doesn't hang early.

Change-Id: I54231db3c811c0d19c5c7fbaa406cacd1ff019ec
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 31c3f972ac5c89472009b5b2cb7dbc0f02cfd9a0
Original-Change-Id: I6091b1e949e648b3435231946e5924260bf1807f
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/216920
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/9037
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/arch/arm64/armv8/mmu.c