This patch series provides a new command - "gpt" for eMMC partition table (in the GPT format) restoration and display.
As a pre-work, some cleanup at the part_efi.c file was performed to remove custom macros and make GPT related structures more readable. The GPT detailed description has been written to README.gpt file. Tested at: - Exynos4210 rev.1 - TRATS Samsung development board Lukasz Majewski (6): gpt:doc: GPT (GUID Partition Table) documentation gpt: Replace the leXX_to_int() calls with ones defined at <compiler.h> gpt: Replacement of GPT structures members with ones indicating endianness and size gpt: Support for GPT (GUID Partition Table) restoration gpt: Support for new "gpt" command gpt: Enable support for GPT partition table restoration at Samsung's Trats common/Makefile | 1 + common/cmd_gpt.c | 182 ++++++++++++++++++++++++++ disk/part_efi.c | 334 +++++++++++++++++++++++++++++++++++++---------- disk/part_efi.h | 85 ++++++------ doc/README.gpt | 199 ++++++++++++++++++++++++++++ include/configs/trats.h | 23 +++- include/part.h | 2 + 7 files changed, 715 insertions(+), 111 deletions(-) create mode 100644 common/cmd_gpt.c create mode 100644 doc/README.gpt -- 1.7.2.3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot