summaryrefslogtreecommitdiffstats
path: root/include/flash.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-04-01 13:41:03 +0200
committerStefan Roese <sr@denx.de>2006-04-01 13:44:14 +0200
commit2662b40cace272da5759040622561d821c878d56 (patch)
treee1e0ab867abd8bec63720d5b5306ef1038de3510 /include/flash.h
parent05d8dce9d07cf4073ea15fbc448c1ce22b6baf0f (diff)
downloadblackbird-obmc-uboot-2662b40cace272da5759040622561d821c878d56.tar.gz
blackbird-obmc-uboot-2662b40cace272da5759040622561d821c878d56.zip
* Changes/fixes for drivers/cfi_flash.c:
- Add Intel legacy lock/unlock support to common CFI driver On some Intel flash's (e.g. Intel J3) legacy unlocking is supported, meaning that unlocking of one sector will unlock all sectors of this bank. Using this feature, unlocking of all sectors upon startup (via env var "unlock=yes") will get much faster. - Fixed problem with multiple reads of envronment variable "unlock" as pointed out by Reinhard Arlt & Anders Larsen. - Removed unwanted linefeeds from "protect" command when CFG_FLASH_PROTECTION is enabled. - Changed p3p400 board to use CFG_FLASH_PROTECTION Patch by Stefan Roese, 01 Apr 2006 * Changes/fixes for drivers/cfi_flash.c: - Correctly handle the cases where CFG_HZ != 1000 (several XScale-based boards) - Fix the timeout calculation of buffered writes (off by a factor of 1000) Patch by Anders Larsen, 31 Mar 2006
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 4c68c6832f..a84dc6872e 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -45,6 +45,7 @@ typedef struct {
ushort vendor; /* the primary vendor id */
ushort cmd_reset; /* Vendor specific reset command */
ushort interface; /* used for x8/x16 adjustments */
+ ushort legacy_unlock; /* support Intel legacy (un)locking */
#endif
} flash_info_t;
OpenPOWER on IntegriCloud