summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/southbridge.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2018-08-13 10:39:03 -0600
committerMartin Roth <martinroth@google.com>2018-08-14 21:54:27 +0000
commitd820f4b8fb6602993c003f2db3e18029d9105b2a (patch)
tree31dc33a1321abe2609e5f0e447242695a09eb9cf /src/soc/amd/stoneyridge/southbridge.c
parent7c1e959ff6cfe2280e9a2e9c635936768b661cd7 (diff)
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>
Diffstat (limited to 'src/soc/amd/stoneyridge/southbridge.c')
-rw-r--r--src/soc/amd/stoneyridge/southbridge.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index a6219b4b5c..c4b8d04d37 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -621,6 +621,7 @@ static void setup_misc(int *reboot)
}
}
+/* Before console init */
void bootblock_fch_early_init(void)
{
int reboot = 0;
@@ -643,6 +644,9 @@ void bootblock_fch_early_init(void)
enable_aoac_devices();
}
+/* After console init */
+void bootblock_fch_init(void) {}
+
void sb_enable(device_t dev)
{
printk(BIOS_DEBUG, "%s\n", __func__);