Skip to content
Snippets Groups Projects
Commit 3a3baf3e authored by Eric Schumann's avatar Eric Schumann Committed by Stefan Roese
Browse files

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: default avatarEric Schumann <E.Schumann@phytec.de>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarWolfgang Denk <wd@denx.de>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent ee1702d7
No related branches found
No related tags found
Loading
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