[PATCH] loads: Block writes into LMB reserved areas of U-Boot

Tom Rini trini at konsulko.com
Tue Oct 26 15:34:48 CEST 2021


On Sun, Oct 10, 2021 at 11:52:41PM +0200, marek.vasut at gmail.com wrote:

> From: Marek Vasut <marek.vasut+renesas at gmail.com>
> 
> The loads srec loading may overwrite piece of U-Boot accidentally.
> Prevent that by using LMB to detect whether upcoming write would
> overwrite piece of reserved U-Boot code, and if that is the case,
> abort the srec loading.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20211026/3f65250f/attachment.sig>


More information about the U-Boot mailing list