summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/southbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/southbridge.c')
-rw-r--r--src/soc/amd/stoneyridge/southbridge.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index 46906d09ab..735642f027 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -181,6 +181,14 @@ void sb_program_gpio(void)
printk(BIOS_SPEW, "End GPIO programming\n");
}
+static void sb_program_gpio_ram(void *unused)
+{
+ sb_program_gpio();
+}
+
+BOOT_STATE_INIT_ENTRY(BS_WRITE_TABLES, BS_ON_ENTRY,
+ sb_program_gpio_ram, NULL);
+
/**
* @brief Find the size of a particular wide IO
*