diff options
| author | Simon Glass <[email protected]> | 2019-12-06 21:42:20 -0700 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2019-12-15 11:44:17 +0800 |
| commit | fe08d39d1b5fa908c89030a02482d7310bd58b35 (patch) | |
| tree | e6b0069575a5a00822ae50c6f73c60f192d747a2 /common | |
| parent | e98791ab80bd136bfaba8c0b2c40651da45ffbf9 (diff) | |
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/board_r.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c index 9a25f6ec285..e711de64b5b 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -715,6 +715,9 @@ static init_fnc_t init_sequence_r[] = { efi_memory_init, #endif initr_binman, +#ifdef CONFIG_FSP_VERSION2 + arch_fsp_init_r, +#endif initr_dm_devices, stdio_init_tables, initr_serial, |
