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:
3028304
)
bootstd: rauc: Free private data when booting
author
Martin Schwan
<m.schwan@phytec.de>
Wed, 13 Aug 2025 11:54:08 +0000
(13:54 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 21 Aug 2025 21:05:04 +0000
(15:05 -0600)
The private data struct can be freed when loading the boot script, as we
don't need the slot information anymore at this point.
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
boot/bootmeth_rauc.c
patch
|
blob
|
history
diff --git
a/boot/bootmeth_rauc.c
b/boot/bootmeth_rauc.c
index
f781a7f
..
9c082da
100644
(file)
--- a/
boot/bootmeth_rauc.c
+++ b/
boot/bootmeth_rauc.c
@@
-409,6
+409,8
@@
static int distro_rauc_boot(struct udevice *dev, struct bootflow *bflow)
if (ret)
return log_msg_ret("boot", ret);
+ distro_rauc_priv_free(priv);
+
return 0;
}