mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
efi_loader: call efi_init_early() earlier
efi_init_early() creates an event hook for block device probing. It has to be called before any block device is probed. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
@@ -693,6 +693,9 @@ static init_fnc_t init_sequence_r[] = {
|
|||||||
/* initialize higher level parts of CPU like time base and timers */
|
/* initialize higher level parts of CPU like time base and timers */
|
||||||
cpu_init_r,
|
cpu_init_r,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_EFI_SETUP_EARLY
|
||||||
|
efi_init_early,
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_CMD_NAND
|
#ifdef CONFIG_CMD_NAND
|
||||||
initr_nand,
|
initr_nand,
|
||||||
#endif
|
#endif
|
||||||
@@ -792,9 +795,6 @@ static init_fnc_t init_sequence_r[] = {
|
|||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_PRAM)
|
#if defined(CONFIG_PRAM)
|
||||||
initr_mem,
|
initr_mem,
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_EFI_SETUP_EARLY
|
|
||||||
efi_init_early,
|
|
||||||
#endif
|
#endif
|
||||||
run_main_loop,
|
run_main_loop,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user