
This patch series provides a new command - "gpt" for eMMC partition table (in the GPT format) restoration.
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.
Moreover the part_efi.h file has been moved to ./include directory to be easily available from other subsystems.
The GPT detailed description has been written to README.gpt file.
Tested at: - Exynos4210 rev.1 - TRATS Samsung development board
Chang Hyun Park (1): gpt: The leXX_to_int() calls replaced with ones defined at <compiler.h>
Lukasz Majewski (6): vsprintf:fix: Change type returned by ustrtoul part:efi: Move part_efi.h file to ./include gpt:doc: GPT (GUID Partition Table) documentation 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 | 404 +++++++++++++++++++++++++++++++++++++++++++++++ disk/part_efi.c | 210 ++++++++++++++++-------- disk/part_efi.h | 139 ---------------- doc/README.gpt | 207 ++++++++++++++++++++++++ include/configs/trats.h | 23 +++- include/exports.h | 2 +- include/part.h | 3 + include/part_efi.h | 143 +++++++++++++++++ lib/vsprintf.c | 2 +- 10 files changed, 922 insertions(+), 212 deletions(-) create mode 100644 common/cmd_gpt.c delete mode 100644 disk/part_efi.h create mode 100644 doc/README.gpt create mode 100644 include/part_efi.h