Stephen Warren 5cf41dccff cmd_part: add partition-related command
This implements the following:

part uuid mmc 0:1
  -> print partition UUID
part uuid mmc 0:1 uuid
  -> set environment variable to partition UUID
part list mmc 0
  -> list the partitions on the specified device

"part uuid" can be useful when writing a bootcmd which searches all
known devices for something bootable, and then wants the kernel to
use the same partition as the root device, e.g.:

part uuid ${devtype} ${devnum}:${rootpart} uuid
setenv bootargs root=PARTUUID=${uuid} ...

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2012-09-25 15:05:47 -07:00
..
2011-10-22 01:22:21 +02:00
2012-08-09 23:47:43 +02:00
2011-07-28 16:41:06 +02:00
2012-09-05 17:32:42 -05:00
2012-03-27 22:05:28 +02:00
2011-07-28 17:22:53 +02:00
2011-10-22 01:13:35 +02:00
2012-08-09 23:39:18 +02:00
2011-12-07 08:41:22 +01:00
2012-07-10 11:35:38 +02:00
2011-10-22 01:13:35 +02:00
2011-12-05 22:48:10 +01:00
2011-09-04 23:27:52 +02:00
2011-10-26 21:33:42 +02:00
2012-09-21 00:05:00 +02:00