summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwan <m.schwan@phytec.de>2025-08-12 14:38:34 +0200
committerTom Rini <trini@konsulko.com>2025-08-14 09:18:43 -0600
commit0c558bbad9e7581808b358091d1fd979f860e8ac (patch)
tree666149f98a92a32322477e94faad0daf6b46b41a
parent6531aeed374f0818d7259eaa401b92b976723fb2 (diff)
bootstd: rauc: Change global method to check any partitionHEADmaster
The bootmeth rauc should scan all partitions, in particular whole devices, and not be a global method. There may exist multiple RAUC systems on different devices and they should all be detected. This also fixes a bug, where both a global bootflow and one using an actual, complete device would be detected at the same time, when scanning for valid bootflows. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Tested-by: Wadim Egorov <w.egorov@phytec.de>
-rw-r--r--boot/bootmeth_rauc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c
index cc6180221ed..7c1a895139e 100644
--- a/boot/bootmeth_rauc.c
+++ b/boot/bootmeth_rauc.c
@@ -410,7 +410,7 @@ static int distro_rauc_bootmeth_bind(struct udevice *dev)
struct bootmeth_uc_plat *plat = dev_get_uclass_plat(dev);
plat->desc = "RAUC distro boot from MMC";
- plat->flags = BOOTMETHF_GLOBAL;
+ plat->flags = BOOTMETHF_ANY_PART;
return 0;
}