mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
x86: Convert arch_fsp_init() to use events
Convert this to use events instead of calling a function directly in the init sequence. Rename it to arch_fsp_init_f() to distinguish it from the one that happens after relocation. For FSPv2 nothing needs to be done here, so drop the empty function. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -32,6 +32,15 @@ enum event_t {
|
||||
/* Init hooks */
|
||||
EVT_MISC_INIT_F,
|
||||
|
||||
/*
|
||||
* Emitted before relocation to set up Firmware Support Package
|
||||
*
|
||||
* Where U-Boot relies on binary blobs to handle part of the system
|
||||
* init, this event can be used to set up the blobs. This is used on
|
||||
* some Intel platforms
|
||||
*/
|
||||
EVT_FSP_INIT_F,
|
||||
|
||||
/* Fpga load hook */
|
||||
EVT_FPGA_LOAD,
|
||||
|
||||
|
Reference in New Issue
Block a user