From: Daniel Schwierzeck Date: Wed, 30 Nov 2016 16:22:29 +0100 Subject: [U-Boot] [PATCH 02/23] MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve In-Reply-To: <20160926182917.27531-3-paul.burton@imgtec.com> References: <20160926182917.27531-1-paul.burton@imgtec.com> <20160926182917.27531-3-paul.burton@imgtec.com> Message-ID: <07a8df6f-3a5e-69ce-7e1f-6e496bba1bfc@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 26.09.2016 um 20:28 schrieb Paul Burton: > 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 > --- > > arch/mips/lib/bootm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > applied to u-boot-mips, thanks! -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: