bootstd: Remove special-case code for boot_targets
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:15 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:39 +0000 (18:11 -0500)
commit6a6638f0939dca65c7d1cd0d766957d3d3adc519
tree7eb2cae66d5f768a0e57322600f3bc604016df3b
parent3e96ed44e8c5b63bd0cef1e263e7991ac16c21e3
bootstd: Remove special-case code for boot_targets

Rather than implement this as its own case in build_order(), process the
boot_targets environment variable in the bootstd_get_bootdev_order()
function. This allows build_order() to be simplified.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c
boot/bootstd-uclass.c
include/bootstd.h