cmd: gpt: add eMMC and GPT support
authorCorneliu Doban <cdoban@broadcom.com>
Mon, 9 Nov 2020 06:19:16 +0000 (11:49 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 19:48:23 +0000 (14:48 -0500)
commit12fc1f3bb2237c6eee7bc775599c14df5c997534
tree756c055097ae73e582fc9e83393ea78d725fe3ed
parent9a3122f769d2e0bd0bc213b98bc251f92e3ff979
cmd: gpt: add eMMC and GPT support

Add eMMC and GPT support.
- GPT partition list and command to create the GPT added to u-boot
  environment
- eMMC boot commands added to u-boot environment
- new gpt commands (enumarate and setenv) that are used by broadcom
  update scripts and boot commands
- eMMC specific u-boot configurations with environment saved in eMMC
  and GPT support

Signed-off-by: Corneliu Doban <cdoban@broadcom.com>
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
[trini: Make gpt_setenv initialize ret to -1, given relevant return
        error values]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/gpt.c
include/part.h