summaryrefslogtreecommitdiff
path: root/src/soc/amd/sabrina/preload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/sabrina/preload.c')
-rw-r--r--src/soc/amd/sabrina/preload.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/amd/sabrina/preload.c b/src/soc/amd/sabrina/preload.c
new file mode 100644
index 0000000000..ae3723741a
--- /dev/null
+++ b/src/soc/amd/sabrina/preload.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* TODO: Check if this is still correct */
+
+#include <bootstate.h>
+#include <fsp/api.h>
+
+static void start_fsps_preload(void *unused)
+{
+ preload_fsps();
+}
+
+BOOT_STATE_INIT_ENTRY(BS_PRE_DEVICE, BS_ON_ENTRY, start_fsps_preload, NULL);