]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: optee: Drop special call to bootm_find_other()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:15 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commitb020254d71ed0873baddb9b9bc6ec5bf1e82b26c
tree608232e33cc5d42a2833d31ad7bff7538fc75f7d
parente2fc90e5ad469b10c0d7abe54f5689957c88a518
bootm: optee: Drop special call to bootm_find_other()

The normal bootm flow calls bootm_find_other() can call the
BOOTM_STATE_FINDOTHER state as part of its processing. Fix the
condition there so that this hack can be removed.

Also drop the confusing check for the OS type, since do_bootm_tee() is
only called if the condition is met - see bootm_os_get_boot_func()

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootm.c
boot/bootm_os.c