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