This patch drops arch/i386/lib/console.c and arch/i386/lib/console_print.c and
makes include/console/console.h and console/console.c usable both in __PRE_RAM__ and coreboot_ram stages. While debugging this, I removed an indirection from the e7520 ram init code (same as we did on a couple of other chipsets, removes some register pressure from romcc) Also, drop remainders of CONFIG_USE_INIT (except the one odd piece of dead code in cache_as_ram.inc) Then some ap_romstage.c fixes, at least the nvidia/l1_2pvv compiled for me with CONFIG_AP_CODE_IN_CAR set in Kconfig which it did not before. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5341 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
b8ac05d187
commit
5a1f597085
@@ -14,3 +14,5 @@ driver-$(CONFIG_CONSOLE_VGA) += vga_console.o
|
||||
driver-$(CONFIG_CONSOLE_BTEXT) += btext_console.o
|
||||
driver-$(CONFIG_CONSOLE_BTEXT) += font-8x16.o
|
||||
driver-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.o
|
||||
|
||||
$(obj)/console/console.o : $(obj)/build.h
|
||||
|
Reference in New Issue
Block a user