soc/amd/stoneyridge: Add bootblock_fch_init
Add a method in bootblock that can be used for printing registers.
BUG=none
TEST=compiled grunt
Change-Id: I8dff30e589761fbad92cfc2709546dba169993d8
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/28059
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index a6219b4..c4b8d04 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -621,6 +621,7 @@
}
}
+/* Before console init */
void bootblock_fch_early_init(void)
{
int reboot = 0;
@@ -643,6 +644,9 @@
enable_aoac_devices();
}
+/* After console init */
+void bootblock_fch_init(void) {}
+
void sb_enable(device_t dev)
{
printk(BIOS_DEBUG, "%s\n", __func__);