UPSTREAM: arch/x86: Enable postcar console
Add a Kconfig value to enable the console during postcar. Add a call to console_init at the beginning of the postcar stage in exit_car.S. TEST=Build and run on Galileo Gen2 BUG=None BRANCH=None Change-Id: I36982430d0619e1ae8a3745964e497e9c11cf3db Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/16001 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/366300 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
41f7ffa449
commit
903e737fdb
4 changed files with 15 additions and 2 deletions
|
|
@ -26,6 +26,11 @@ stack_top:
|
|||
.text
|
||||
.global _start
|
||||
_start:
|
||||
#if IS_ENABLED(CONFIG_POSTCAR_CONSOLE)
|
||||
/* Enable the console */
|
||||
call console_init
|
||||
#endif /* CONFIG_POSTCAR_CONSOLE */
|
||||
|
||||
/* chipset_teardown_car() is expected to disable cache-as-ram. */
|
||||
call chipset_teardown_car
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue