efi: Avoid using dm_scan_other()
authorSimon Glass <sjg@chromium.org>
Tue, 19 Dec 2023 14:27:19 +0000 (07:27 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Jan 2024 17:17:46 +0000 (18:17 +0100)
commit50662260c41704d01a83f3d978a18d70eb799089
treeaae44bb492735066d07d518b68db7ff670b641af
parent5a0970ee8cf4391835d21c59e44a65d54d42377c
efi: Avoid using dm_scan_other()

This function is defined by bootstd so using it precludes using that
feature. Use the board_early_init_r() feature instead.

Nove the affected code into a new file, so that it is clear that
this relates to board init.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
configs/efi-x86_app64_defconfig
lib/efi/Makefile
lib/efi/efi_app.c
lib/efi/efi_app_init.c [new file with mode: 0644]