[U-Boot] [PATCH 2/2] disk: efi: ignore 'IGNOREME' GPT header found on cros eMMCs
Simon Glass
sjg at chromium.org
Wed Apr 24 03:54:26 UTC 2019
Hi Urja,
On Wed, 3 Apr 2019 at 06:25, Urja Rannikko <urjaman at gmail.com> wrote:
>
> Some ChromeOS devices (atleast veyron speedy) have the first 8MiB of
> the eMMC write protected and equipped with a dummy 'IGNOREME' GPT
> header - instead of spewing error messages about it, just silently
> try the backup GPT.
>
> Note: this does not touch the gpt cmd writing/verifying functions,
> those will still complain.
>
> Signed-off-by: Urja Rannikko <urjaman at gmail.com>
> ---
> disk/part_efi.c | 28 +++++++++++++++++++++-------
> include/part_efi.h | 2 ++
> 2 files changed, 23 insertions(+), 7 deletions(-)
Could we add a Kconfig to control this? Other devices shouldn't have this code.
Regards,
SImon
More information about the U-Boot
mailing list