u-boot-brain/drivers/mtd
Eric Schumann 3a3baf3ee6 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>
2009-03-23 09:50:45 +01:00
..
nand nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
nand_legacy NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS 2009-01-23 10:32:51 -06:00
onenand OneNAND: Additional sync with 2.6.27 2009-01-23 10:32:48 -06:00
spi spi flash: fix crash due to spi flash miscommunication 2009-01-24 01:57:40 +01:00
ubi Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c Make flash protection work, when the environment is in EEPROM 2009-03-23 09:50:45 +01:00
cfi_mtd.c cfi-mtd: Add cfi-mtd driver. 2008-11-24 11:05:25 +01:00
dataflash.c mtd/dataflash.c: fix a problem with the last partition 2008-12-02 21:53:24 +01:00
jedec_flash.c jedec_flash: Only use manufacturer defines from common flash.h 2009-02-05 11:27:58 +01:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-ubi 2008-11-25 11:40:57 +01:00
mtdcore.c mtd: Remove a printf() from add_mtd_device(). 2008-11-24 11:29:53 +01:00
mtdpart.c MTD: Fix problem based on non-working relocation (list head mtd_partitions) 2008-12-09 10:07:23 +01:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00