commit | 4d2be387be878b313ebe8672485e363e4eaea060 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Oct 10 23:52:41 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 25 14:29:37 2021 -0400 |
tree | 053e9de613a538fc7d706809f7c55f19f0da2220 | |
parent | d07a6e320c111d0165a5db0d8ba252ebbf775e45 [diff] |
loads: Block writes into LMB reserved areas of U-Boot 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@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>