diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-28 06:30:30 +0000 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-29 14:25:40 +0200 |
commit | 5e847f7729b3cc34b572b4f59ee7d468b3b76ccc (patch) | |
tree | 22ad4f595b7c3aad733f3885df2f4cdace28c2d2 /common | |
parent | 6c640422baa46c5061efa5d2ff1b386bca72253c (diff) | |
download | u-boot-5e847f7729b3cc34b572b4f59ee7d468b3b76ccc.tar.gz |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c index ff17720cf3..93c9c2e50d 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -693,6 +693,9 @@ static init_fnc_t init_sequence_r[] = { /* initialize higher level parts of CPU like time base and timers */ cpu_init_r, #endif +#ifdef CONFIG_EFI_SETUP_EARLY + efi_init_early, +#endif #ifdef CONFIG_CMD_NAND initr_nand, #endif @@ -793,9 +796,6 @@ static init_fnc_t init_sequence_r[] = { #if defined(CONFIG_PRAM) initr_mem, #endif -#ifdef CONFIG_EFI_SETUP_EARLY - efi_init_early, -#endif run_main_loop, }; |