summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2009-05-18 14:07:22 (GMT)
committerScott Wood <scottwood@freescale.com>2009-07-07 22:58:07 (GMT)
commitb74ab737369bbbe66c15cbe6c0d0b6a351b00c96 (patch)
treedb8ac354c673912879ea5632114b18f17a2d53cc /README
parent378adfcdf4bbd77ee4cbc3276d4733e218308a21 (diff)
downloadu-boot-b74ab737369bbbe66c15cbe6c0d0b6a351b00c96.tar.xz
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: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index 0e84337..de700bd 100644
--- a/README
+++ b/README
@@ -2428,6 +2428,12 @@ to save the current settings.
to a block boundary, and CONFIG_ENV_SIZE must be a multiple of
the NAND devices block size.
+- CONFIG_NAND_ENV_DST
+
+ Defines address in RAM to which the nand_spl code should copy the
+ environment. If redundant environment is used, it will be copied to
+ CONFIG_NAND_ENV_DST + CONFIG_ENV_SIZE.
+
- CONFIG_SYS_SPI_INIT_OFFSET
Defines offset to the initial SPI buffer area in DPRAM. The