]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: support scanning a single partition
authorNam Cao <namcao@linutronix.de>
Wed, 21 Feb 2024 12:41:44 +0000 (13:41 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 15:25:47 +0000 (10:25 -0500)
commit1132471405512619241dc879861f1b5beb95c48c
treede05f1909883b36d6fc7c0993522403713aba307
parentc15d73d18925dc2dbb3082874b61b924bad9388c
bootstd: support scanning a single partition

The "bootflow" command currently doesn't support scanning a single
partition. This is inconvenient in setups with multiple bootable
partitions within a single disk, but only one is desired.

Support scanning a single disk partition. Specifically, support the
syntax:
bootflow scan mmc1:4
which scans only mmc device 1, partition 4.

Signed-off-by: Nam Cao <namcao@linutronix.de>
boot/bootdev-uclass.c
boot/bootflow.c
doc/develop/bootstd.rst
include/bootflow.h