]> git.sur5r.net Git - u-boot/commit
GPT: read partition table from device into a data structure
authorAlison Chaiken <alison@peloton-tech.com>
Tue, 4 Jul 2017 18:18:50 +0000 (11:18 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 5 Aug 2017 00:34:04 +0000 (20:34 -0400)
commit09a49930e4154974dd918ed42d129d50c110c45a
tree946d405a2ced9e90870f505e4a870ffcf5a76c5b
parent73d6d18b7147c90d6f8a60acb8dad663a225e63d
GPT: read partition table from device into a data structure

Make the partition table available for modification by reading it from
the user-specified device into a linked list.   Provide an accessor
function for command-line testing.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
[trini: Make this depend on CMD_GPT_RENAME, as it is the user of this
code]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/gpt.c
include/part.h