[U-Boot] [U-Boot,1/2] env: Fix env_load_location

Tom Rini trini at konsulko.com
Sat Feb 17 20:51:54 UTC 2018


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 <york.sun at nxp.com>
> CC: Maxime Ripard <maxime.ripard at free-electrons.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/20180217/e7265311/attachment.sig>


More information about the U-Boot mailing list