[PATCH] disk: gpt: verify alternate LBA points to last usable LBA

Tom Rini trini at konsulko.com
Tue Apr 13 16:28:03 CEST 2021

On Mon, Mar 08, 2021 at 04:07:11PM +0000, Stefan Herbrechtsmeier wrote:

> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> The gpt command require the GPT backup header at the standard location
> at the end of the device. Check the alternate LBA value before reading
> the GPT backup header from the last usable LBA of the device.
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210413/2a65c831/attachment.sig>

More information about the U-Boot mailing list