console: Squelch console output from AP CPUs in romstage
Add Kconfig option SQUELCH_EARLY_SMP and have it enabled by default. Console drivers have unpredictable results if multiple threads attempt to share same resources without spinlock. Serial UARTs have not had huge problems, only distorted output, but those relying on cache-as-ram (CBMEM and usbdebug) may require this. Change-Id: I7f406fdea7b6dc6a341c4da2fab56f7b7ff568b4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3854 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
@ -14,6 +14,18 @@ config EARLY_CONSOLE
|
||||
help
|
||||
Use console during early (pre-RAM) boot stages
|
||||
|
||||
config SQUELCH_EARLY_SMP
|
||||
bool "Squelch AP CPUs from early console."
|
||||
default y
|
||||
depends on EARLY_CONSOLE
|
||||
help
|
||||
When selected only the BSP CPU will output to early console.
|
||||
|
||||
Console drivers have unpredictable behaviour if multiple threads
|
||||
attempt to share the same resources without a spinlock.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config CONSOLE_SERIAL
|
||||
bool "Serial port console output"
|
||||
default y
|
||||
|
Reference in New Issue
Block a user