summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-07 07:42:20 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 06:44:17 +0300
commitfe08d39d1b5fa908c89030a02482d7310bd58b35 (patch)
treee6b0069575a5a00822ae50c6f73c60f192d747a2 /include/init.h
parente98791ab80bd136bfaba8c0b2c40651da45ffbf9 (diff)
downloadu-boot-fe08d39d1b5fa908c89030a02482d7310bd58b35.tar.xz
x86: fsp: Add a new arch_fsp_init_r() hook
With FSP2 we need to run silicon init early after relocation. Add a new hook for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index 8b65b2afe4..970a39a6a0 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);
/**