Home
last modified time | relevance | path

Searched hist:"3 a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dcfi_flash.c3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48 Sat Mar 21 13:59:34 UTC 2009 Eric Schumann <E.Schumann@phytec.de> 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>