]> git.sur5r.net Git - u-boot/commit
gpt: part: Definition and declaration of GPT verification functions
authorLukasz Majewski <l.majewski@majess.pl>
Fri, 20 Nov 2015 07:06:16 +0000 (08:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 23 Nov 2015 16:01:50 +0000 (11:01 -0500)
commitcef68bf9042dda6b77b5845a25f37b9ea882074b
treef88a860607adf1f1c80bd4f38a813c3386b126b7
parent74f889b039b3a73bbe76663175527fdabebd3702
gpt: part: Definition and declaration of GPT verification functions

This commit provides definition and declaration of GPT verification
functions - namely gpt_verify_headers() and gpt_verify_partitions().
The former is used to only check CRC32 of GPT's header and PTEs.
The latter examines each partition entry and compare attributes such as:
name, start offset and size with ones provided at '$partitions' env
variable.

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com>
disk/part_efi.c
include/part.h