diff options
author | Marek Vasut | 2021-10-10 23:52:41 +0200 |
---|---|---|
committer | Tom Rini | 2021-10-25 14:29:37 -0400 |
commit | c6855195e4b4dd07d1ae04d9d98ed999f65b7dc3 (patch) | |
tree | 053e9de613a538fc7d706809f7c55f19f0da2220 /include/console.h | |
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>
Diffstat (limited to 'include/console.h')
0 files changed, 0 insertions, 0 deletions