From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 13 Apr 2021 10:28:03 -0400 Subject: [PATCH] disk: gpt: verify alternate LBA points to last usable LBA In-Reply-To: <20210308160712.75779-1-stefan.herbrechtsmeier-oss@weidmueller.com> References: <20210308160712.75779-1-stefan.herbrechtsmeier-oss@weidmueller.com> Message-ID: <20210413142803.GS1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Mar 08, 2021 at 04:07:11PM +0000, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > 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 > Reviewed-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: