]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
common: cmd_part: start and size sub-commands introduction
authorPaul Kocialkowski <contact@paulk.fr>
Mon, 15 Jun 2015 19:35:05 +0000 (21:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:52 +0000 (00:42 +0200)
commita9961269224ac150e2a085f82e6686ef3ee78a00
treecdf1a909e0f174282a0ac2610f123b5518ce6084
parent42374ce5397d31b50f70a5229b61c204f4bb642d
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>
common/cmd_part.c