Adding the GUID to README.gpt and hooking it up in code turned out to require two other, mostly janitorial, patches, the first and last here.
I've tested that "part list host 0" does show the type: u-boot-env for a test image I generated with one partition's type guid set to the value defined here. Rasmus Villemoes (3): lib/uuid.c: change prototype of uuid_guid_get_str() doc/README.gpt: define partition type GUID for U-Boot environment doc/README.gpt: reflow partition type GUID table disk/part_efi.c | 9 +++++---- doc/README.gpt | 34 ++++++++++++++++++---------------- include/part_efi.h | 3 +++ include/uuid.h | 4 +--- lib/uuid.c | 14 +++++++------- 5 files changed, 34 insertions(+), 30 deletions(-) -- 2.23.0