]> Git Repo - J-u-boot.git/commit
common: cmd_part: start and size sub-commands introduction
authorPaul Kocialkowski <[email protected]>
Mon, 15 Jun 2015 19:35:05 +0000 (21:35 +0200)
committerTom Rini <[email protected]>
Fri, 19 Jun 2015 20:46:47 +0000 (16:46 -0400)
commit8607c4f127d0f2a6d2572960821443563f4eca51
tree7d0915a8d52d4aa25e47bc9318a1eff58080c131
parenta78f78ebeb51169ce0ae22f2cd6db93ca33b20e3
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 <[email protected]>
Acked-by: Stephen Warren <[email protected]>
[trini: Change "%lx" to LBAF]
Signed-off-by: Tom Rini <[email protected]>
common/cmd_part.c
This page took 0.034201 seconds and 4 git commands to generate.