git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c73630
)
bootdev: drop unnecessary assert on bootflow->bdev
author
Thomas Weißschuh
<thomas.weissschuh@linutronix.de>
Mon, 12 Feb 2024 09:35:12 +0000
(10:35 +0100)
committer
Tom Rini
<trini@konsulko.com>
Sat, 2 Mar 2024 17:26:19 +0000
(12:26 -0500)
Not all flows have a device and the function already contains logic to
handle this case.
Fixes:
eccb25cd5922
("bootstd: Allow the bootdev to be optional in bootflows")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
boot/bootdev-uclass.c
patch
|
blob
|
history
diff --git
a/boot/bootdev-uclass.c
b/boot/bootdev-uclass.c
index
35afb93
..
0fa6dad
100644
(file)
--- a/
boot/bootdev-uclass.c
+++ b/
boot/bootdev-uclass.c
@@
-39,7
+39,6
@@
int bootdev_add_bootflow(struct bootflow *bflow)
struct bootflow *new;
int ret;
- assert(bflow->dev);
ret = bootstd_get_priv(&std);
if (ret)
return ret;