boot: Keep track of which bootmeths have been used
authorSimon Glass <sjg@chromium.org>
Wed, 15 Oct 2025 15:44:08 +0000 (16:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 22 Oct 2025 20:16:56 +0000 (14:16 -0600)
commitbef963cb751049cacc86f2754452efadd03ae2f0
tree8d3ab1a17fb3204b9d978bfc91caac75d6690a31
parent0fe6de0dc5b137a2def3a8cc0baa2fb73a3f8541
boot: Keep track of which bootmeths have been used

Add a bitfield which tracks when bootmeths have been used. This will be
needed when global bootmeths can be used later in the iteration.

Fix a missing bootflow_free() while here.

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