[PATCH v3] lmb: Reserve U-Boot separately if relocation is disabled

Tom Rini trini at konsulko.com
Fri Nov 19 00:26:59 CET 2021


On Sat, Nov 13, 2021 at 06:34:37PM +0100, marek.vasut at gmail.com wrote:

> From: Marek Vasut <marek.vasut+renesas at gmail.com>
> 
> In case U-Boot starts with GD_FLG_SKIP_RELOC, the U-Boot code is
> not relocated, however the stack and heap is at the end of DRAM
> after relocation. Reserve a LMB area for the non-relocated U-Boot
> code so it won't be overwritten.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211118/f2d7dd63/attachment.sig>


More information about the U-Boot mailing list