[U-Boot] configs: drop CONFIG_SYS_EXTRA_ENV_RELOC

Tom Rini trini at konsulko.com
Sun Oct 7 00:28:52 UTC 2018


On Thu, Sep 27, 2018 at 12:38:34PM +0200, Simon Goldschmidt wrote:

> Instead of manually specifying CONFIG_SYS_EXTRA_ENV_RELOC
> for every board that needs it, it shouldn't hurt to let
> initr_reloc_global_data() always relocate gd->env_addr
> unless we know this pointer is outside the initial binary.
> 
> To achieve this, the relocation is omitted if
> CONFIG_ENV_ADDR is defined (and ENV_IS_EMBEDDED is not).
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181006/80834d46/attachment.sig>


More information about the U-Boot mailing list