diff options
| author | Marek Vasut <[email protected]> | 2026-01-28 00:48:40 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-13 13:20:11 -0600 |
| commit | a3075db94d49f415658bf7e961e1eae90d9abc33 (patch) | |
| tree | c7fdf2ab32f9888160f80eaf8d20294bce5ba4e5 /scripts/basic | |
| parent | dba21bf0b6ececa4bbc15ac93b3cdf4b09286ed7 (diff) | |
lmb: Reinstate access to memory above ram_top
Revert commit eb052cbb896f ("lmb: add and reserve memory above ram_top")
and commit 1a48b0be93d4 ("lmb: prohibit allocations above ram_top even from
same bank"). These are based on incorrect premise of the first commit, that
"U-Boot does not use memory above ram_top". While U-Boot itself indeed does
not and should not use memory above ram_top, user can perfectly well use
that memory from the U-Boot shell, for example to load content in there.
Currently, attempt to use that memory to load large image using TFTP ends
with "TFTP error: trying to overwrite reserved memory...". With this change
in place, the memory can be used again.
Fixes: eb052cbb896f ("lmb: add and reserve memory above ram_top")
Fixes: 1a48b0be93d4 ("lmb: prohibit allocations above ram_top even from same bank")
Reported-by: Yuya Hamamachi <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
