diff options
author | Stephen Warren <swarren@nvidia.com> | 2018-01-05 13:04:54 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2018-01-12 10:12:31 -0700 |
commit | 15751403b6072acabdd7ccad10013cb80b6c6a34 (patch) | |
tree | 3865657a13e2595899fa08d3242288d0fbaf29d9 /cmd/host.c | |
parent | f6974712173d60830b7b8aa86b8ceac5a7cfd0c6 (diff) |
ARM: bootm: don't assume sp is in DRAM bank 0
arch_lmb_reserve() currently assumes that the stack pointer is within DRAM
bank 0. This is not necessarily true. Enhance the code to search through
DRAM banks until the bank that does contain SP is found, and then reserve
the tail of that bank.
Fixes: 2d1916e48bd8 ("ARM: add flat device tree support")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'cmd/host.c')
0 files changed, 0 insertions, 0 deletions