summaryrefslogtreecommitdiff
path: root/src/soc/amd/glinda/preload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/glinda/preload.c')
-rw-r--r--src/soc/amd/glinda/preload.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/soc/amd/glinda/preload.c b/src/soc/amd/glinda/preload.c
new file mode 100644
index 0000000000..47f3580714
--- /dev/null
+++ b/src/soc/amd/glinda/preload.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* TODO: Move to common? */
+
+#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);