Skip to content
Snippets Groups Projects
Commit b74ab737 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Scott Wood
Browse files

nand_spl: read environment early, when booting from NAND using nand_spl


Currently, when booting from NAND using nand_spl, in the beginning the default
environment is used until later in boot process the dynamic environment is read
out. This way environment variables that must be interpreted early, like the
baudrate or "silent", cannot be modified dynamically and remain at their
default values. Fix this problem by reading out main and redundand (if used)
copies of the environment in the nand_spl code.

Signed-off-by: default avatarGuennadi Liakhovetski <lg@denx.de>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 378adfcd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment