u-boot-brain/drivers/mtd
Matthias Fuchs c63ad6325a cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST
This patch adds a configurable flash auto protection list that can be used
to make U-Boot protect flash regions in flash_init().

The idea has been discussed on the u-boot mailing list starting
on Nov 18th, 2007.

Even this patch brings a new feature it is used as a bugfix for 4xx
platforms where flash_init() does not completely protect the
monitor's flash range in all situations.

U-Boot protects the flash range from CFG_MONITOR_BASE to
(CFG_MONITOR_BASE + monitor_flash_len  - 1) by default. This does not
include the reset vector at 0xfffffffc.

Example:
#define CFG_FLASH_AUTOPROTECT_LIST {{0xfff80000, 0x80000}}

This config option will auto protect the last 512k of flash that
contains the bootloader on board like APC405 and PMC405.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2008-04-25 15:52:14 +02:00
..
nand PATCH - Fix oob data copied into supplied buffer 2008-04-21 08:43:46 +02:00
nand_legacy drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00
onenand Fix OneNAND read 2008-04-13 23:11:16 -07:00
at45.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00
cfi_flash.c cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST 2008-04-25 15:52:14 +02:00
dataflash.c Clean up dataflash partitioning 2008-04-18 00:24:05 -07:00
jedec_flash.c MTD/CFI: Add support for 16bit legacy AMD flash 2008-03-28 11:44:23 +01:00
Makefile dataflash: Move CONFIG_HAS_DATAFLASH to Makefile 2008-04-01 07:30:51 +02:00
mw_eeprom.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00