commit | 0ecd9031210838327903afedd5fb7532080635b5 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Mon Sep 26 19:28:56 2016 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Wed Nov 30 16:15:51 2016 +0100 |
tree | 8f960e9f13eb72dfb4ac2289fa2a26666e6ced53 | |
parent | fde2572d5b3fd36d7f3495886e70369807c69bc4 [diff] |
MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve When calculating the region to reserve for the stack in arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough memory to reach the end of the address space. Signed-off-by: Paul Burton <paul.burton@imgtec.com>