nb/intel/i945: Initialize console in bootblock

Change-Id: Ic6ea158714998195614a63ee46a057f405de5616
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36796
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Arthur Heymans
2019-11-12 23:48:42 +01:00
committed by Patrick Georgi
parent e27c013f39
commit c583920a74
25 changed files with 44 additions and 21 deletions

View File

@@ -15,3 +15,5 @@
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
romstage-y += early_init.c

View File

@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
#include <bootblock_common.h>
#include <stdint.h>
#include <arch/io.h>
#include <delay.h>
@@ -75,7 +76,7 @@ static void pnp_exit_ext_func_mode(pnp_devfn_t dev)
outb(0xaa, port);
}
void mainboard_superio_config(void)
void bootblock_mainboard_early_init(void)
{
pnp_devfn_t dev;