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

@@ -1,2 +1,4 @@
ramstage-y += cstates.c
romstage-y += gpio.c
bootblock-y += early_init.c
romstage-y += early_init.c

View File

@@ -15,6 +15,7 @@
* GNU General Public License for more details.
*/
#include <bootblock_common.h>
#include <stdint.h>
#include <cf9_reset.h>
#include <device/pnp_ops.h>
@@ -111,7 +112,7 @@ void mainboard_pre_raminit_config(int s3_resume)
}
}
void mainboard_superio_config(void)
void bootblock_mainboard_early_init(void)
{
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
}