aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/board_r.c3
-rw-r--r--include/init.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 9a25f6e..e711de6 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -715,6 +715,9 @@ static init_fnc_t init_sequence_r[] = {
efi_memory_init,
#endif
initr_binman,
+#ifdef CONFIG_FSP_VERSION2
+ arch_fsp_init_r,
+#endif
initr_dm_devices,
stdio_init_tables,
initr_serial,
diff --git a/include/init.h b/include/init.h
index 8b65b2a..970a39a 100644
--- a/include/init.h
+++ b/include/init.h
@@ -67,6 +67,17 @@ int mach_cpu_init(void);
*/
int arch_fsp_init(void);
+/**
+ * arch_fsp_init() - perform post-relocation firmware support package init
+ *
+ * Where U-Boot relies on binary blobs to handle part of the system init, this
+ * function can be used to set up the blobs. This is used on some Intel
+ * platforms.
+ *
+ * Return: 0
+ */
+int arch_fsp_init_r(void);
+
int dram_init(void);
/**