console: Drop EARLY_CONSOLE option

We have means to easily disable a specific console in romstage if
necessary, so this global option makes little sense.

The option was initially introduced as a work-around for build issues
around CACHE_AS_RAM, ROMCC and ARCH_ARMV7 dependencies for UARTs.

Change-Id: I797bdd11a48ddd813d3ee7ccef9a0c050f16f669
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5607
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Kyösti Mälkki
2014-04-15 18:19:48 +03:00
parent 28837c6b01
commit 48713a1bf7
14 changed files with 8 additions and 23 deletions

View File

@ -7,17 +7,9 @@ config BOOTBLOCK_CONSOLE
help
Use console during the bootblock if supported
config EARLY_CONSOLE
bool "Enable early (pre-RAM) console output."
default y if CACHE_AS_RAM
default n
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.

View File

@ -6,8 +6,8 @@ ramstage-y += die.c
smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c
smm-$(CONFIG_SMM_TSEG) += die.c
romstage-$(CONFIG_EARLY_CONSOLE) += vtxprintf.c printk.c
romstage-$(CONFIG_EARLY_CONSOLE) += init.c console.c
romstage-y += vtxprintf.c printk.c
romstage-y += init.c console.c
romstage-y += post.c
romstage-y += die.c