Skip to content
Snippets Groups Projects
Commit 1a48b0be authored by Sughosh Ganu's avatar Sughosh Ganu Committed by Tom Rini
Browse files

lmb: prohibit allocations above ram_top even from same bank


There are platforms which set the value of ram_top based on certain
restrictions that the platform might have in accessing memory above
ram_top, even when the memory region is in the same DRAM bank. So,
even though the LMB allocator works as expected, when trying to
allocate memory above ram_top, prohibit this by marking all memory
above ram_top as reserved, even if the said memory region is from the
same bank.

Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Tested-by: default avatarAndreas Schwab <schwab@suse.de>
parent ef9574da
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment