]> git.dujemihanovic.xyz Git - u-boot.git/commit
part: let list put the list in an environment variable
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 5 Jan 2015 17:13:37 +0000 (18:13 +0100)
committerTom Rini <trini@ti.com>
Thu, 29 Jan 2015 18:36:54 +0000 (13:36 -0500)
commite86df6ef4f392879c0654e91e6c94801911491a9
treebaddd47e21363660f630f10e248d64d9dd02a99e
parent1a1ad8e0903ec916d1e3ef8c18fa335d765a4342
part: let list put the list in an environment variable

Add an optional third argument to the "part list" command which puts a
space seperated list of valid partitions into the given environment
variable. This is useful for allowing boot scripts to iterate of all
partitions of a device.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
common/cmd_part.c