Up till now "gpt" command was only able to write (i.e. restore) GPT partition on specified medium with information provided at "$partitions" env variable.
This patch series adds complementary feature - namely "gpt verify", which allows checking (at e.g. boot time) if previously created GPT layout is still correct. This patch series clearly applies on top of u-boot/master: SHA1: cad04990715f7eaecd45196e84cf10e9e3248dae It has been tested on Beaglebone Black development board (Sitara AM335x CPU). Lukasz Majewski (6): gpt: command: Remove duplicated check for empty partition description gpt: command: cosmetic: Replace printf with puts gpt: doc: README: Update README entry for gpt verify extension gpt: doc: Update gpt command's help description gpt: part: Definition and declaration of GPT verification functions gpt: command: Extend gpt command to support GPT table verification common/cmd_gpt.c | 106 ++++++++++++++++++++++++++++++++++++++----------------- disk/part_efi.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/README.gpt | 26 +++++++++++++- include/part.h | 35 ++++++++++++++++++ 4 files changed, 235 insertions(+), 33 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot