From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 6 Oct 2018 20:28:52 -0400 Subject: [U-Boot] configs: drop CONFIG_SYS_EXTRA_ENV_RELOC In-Reply-To: <20180927103834.28543-1-simon.k.r.goldschmidt@gmail.com> References: <20180927103834.28543-1-simon.k.r.goldschmidt@gmail.com> Message-ID: <20181007002852.GD15855@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: