diff options
author | Eric Schumann <E.Schumann@phytec.de> | 2009-03-21 09:59:34 -0400 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-03-23 09:50:45 +0100 |
commit | 3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48 (patch) | |
tree | 3ff7dcc79e59efc483436d24115295fdf22e324a /lib_nios | |
parent | ee1702d75a30d076139d1841383a1fa7220a0e11 (diff) | |
download | u-boot-imx-3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48.zip u-boot-imx-3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48.tar.gz u-boot-imx-3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48.tar.bz2 |
Make flash protection work, when the environment is in EEPROM
On the pcm030 the environment is located in the onboard EEPROM. But we want
to handle flash sector protection in a safe manner. So we must read the
unlock environment variable from EEPROM instead from flash.
This patch is required as long the evironment is saved into the EEPROM.
Stefan: Additional change as suggested by Wolfgang, use bigger char array
(instead of 4).
Signed-off-by: Eric Schumann <E.Schumann@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib_nios')
0 files changed, 0 insertions, 0 deletions