aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass2017-03-28 10:27:18 -0600
committerTom Rini2017-04-05 13:52:36 -0400
commit671549e5b0f51ad015746f0dcbe05332dfe370b1 (patch)
tree0107d1449b4ef4ea25b01c72e5010cd11ecb42af /include/common.h
parent2d986c0f54fba2b0e25898976d8ceb16a78ad8cb (diff)
board_f: x86: Rename x86_fsp_init() to arch_fsp_init()
While x86 is the only user and this could in principle be moved to arch_cpu_init() there is some justification for this being a separate call. It provides a way to handle init which is not CPU-specific, but must happen before the CPU can be set up. Rename the function to be more generic. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 8bd4087babf..5f5c0f46e04 100644
--- a/include/common.h
+++ b/include/common.h
@@ -286,6 +286,15 @@ int update_flash_size(int flash_size);
int arch_early_init_r(void);
/**
+ * arch_fsp_init() - perform 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.
+ */
+int arch_fsp_init(void);
+
+/**
* arch_cpu_init_dm() - init CPU after driver model is available
*
* This is called immediately after driver model is available before