commit | c6855195e4b4dd07d1ae04d9d98ed999f65b7dc3 | [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 | f47f87f257b790bbc9b071de433324dab2305d7d [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>