Skip to content
Snippets Groups Projects
Commit 8607c4f1 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Tom Rini
Browse files

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: default avatarPaul Kocialkowski <contact@paulk.fr>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
[trini: Change "%lx" to LBAF]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent a78f78eb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment