mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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>
This commit is contained in:
parent
e98791ab80
commit
fe08d39d1b
|
@ -715,6 +715,9 @@ static init_fnc_t init_sequence_r[] = {
|
||||||
efi_memory_init,
|
efi_memory_init,
|
||||||
#endif
|
#endif
|
||||||
initr_binman,
|
initr_binman,
|
||||||
|
#ifdef CONFIG_FSP_VERSION2
|
||||||
|
arch_fsp_init_r,
|
||||||
|
#endif
|
||||||
initr_dm_devices,
|
initr_dm_devices,
|
||||||
stdio_init_tables,
|
stdio_init_tables,
|
||||||
initr_serial,
|
initr_serial,
|
||||||
|
|
|
@ -67,6 +67,17 @@ int mach_cpu_init(void);
|
||||||
*/
|
*/
|
||||||
int arch_fsp_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);
|
int dram_init(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user