mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
bootstd: Drop the bootdev-specific list of bootflows
This list is only used by two functions, which can be updated to iterate through the global list. Take this approach, which allows the bootdev list to be dropped. Overall this makes the code slightly more complicated, but will allow moving the bootflow list into an alist Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -123,7 +123,7 @@ void bootstd_clear_glob(void);
|
||||
int bootstd_prog_boot(void);
|
||||
|
||||
/**
|
||||
* bootstd_add_bootflow() - Add a bootflow to the bootdev's and global list
|
||||
* bootstd_add_bootflow() - Add a bootflow to the global list
|
||||
*
|
||||
* All fields in @bflow must be set up. Note that @bflow->dev is used to add the
|
||||
* bootflow to that device.
|
||||
|
||||
Reference in New Issue
Block a user