diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-06-15 21:35:05 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-19 16:46:47 -0400 |
commit | 8607c4f127d0f2a6d2572960821443563f4eca51 (patch) | |
tree | 7d0915a8d52d4aa25e47bc9318a1eff58080c131 /board | |
parent | a78f78ebeb51169ce0ae22f2cd6db93ca33b20e3 (diff) |
common: cmd_part: start and size sub-commands introduction
This introduces the part start and part size sub-commands. The purpose of these
is to store the start block and size of a partition in a variable, given the
device and partition number.
This allows reading raw data that fits a single partition more easily.
For instance, this could be used to figure out the start block and size of a
kernel partition when a partition table is present, given the partition number.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Stephen Warren <swarren@nvidia.com>
[trini: Change "%lx" to LBAF]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions