From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 17 Feb 2018 15:51:54 -0500 Subject: [U-Boot] [U-Boot,1/2] env: Fix env_load_location In-Reply-To: <1518041832-337-1-git-send-email-york.sun@nxp.com> References: <1518041832-337-1-git-send-email-york.sun@nxp.com> Message-ID: <20180217205154.GC4311@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 Wed, Feb 07, 2018 at 02:17:11PM -0800, York Sun wrote: > Commit 7d714a24d725 ("env: Support multiple environments") added > static variable env_load_location. When saving environmental > variables, this variable is presumed to have the value set before. > In case the value was set before relocation and U-Boot runs from a > NOR flash, this variable wasn't writable. This causes failure when > saving the environment. To save this location, global data must be > used instead. > > Signed-off-by: York Sun > CC: Maxime Ripard 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: