]> git.ipfire.org Git - thirdparty/u-boot.git/commit
config_distro_bootcmd: do not scan boot partitions if distro_bootpart is defined master
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Fri, 27 Mar 2026 15:16:07 +0000 (11:16 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 13 Apr 2026 23:34:48 +0000 (17:34 -0600)
commitf7bef8f81f4f1b97b071b14a8c1f61df6285fc63
treed02c82fbce60799bdf06c95f67e304897163e62d
parent163d939b2839e156e58c234f07bf987228b91137
config_distro_bootcmd: do not scan boot partitions if distro_bootpart is defined

For some projects, designing the active bootable partition is done by
setting distro_bootpart in the environment instead of changing the bootable
flag on the active partition.

This patch makes it possible to support both models by scanning boot
partitions only if distro_bootpart is not defined in the environment.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
include/config_distro_bootcmd.h