summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2018-01-05 13:04:54 -0700
committerTom Warren <[email protected]>2018-01-12 10:12:31 -0700
commit15751403b6072acabdd7ccad10013cb80b6c6a34 (patch)
tree3865657a13e2595899fa08d3242288d0fbaf29d9 /scripts
parentf6974712173d60830b7b8aa86b8ceac5a7cfd0c6 (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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Tom Warren <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions