summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-14 18:03:48 +0200
committerWolfgang Denk <wd@denx.de>2007-08-14 18:03:48 +0200
commit3f76451b4a9f52f8c37a0526df217d12175182ea (patch)
tree0c40d10e755ee3cc71cfce81a1a28f5584eda2a0 /include/flash.h
parent71d67f43dabe8dd8adbe594b6c61944a2d106efa (diff)
parente54b970173769307a116bd34028b6d0c2eea2a4e (diff)
Merge with /home/wd/git/u-boot/custodian/u-boot-arm
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 43b9c6bdca6..b0bf733f18d 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -119,6 +119,11 @@ extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int of
*/
#define FLAG_PROTECT_SET 0x01
#define FLAG_PROTECT_CLEAR 0x02
+#define FLAG_PROTECT_INVALID 0x03
+/*-----------------------------------------------------------------------
+ * Set Environment according to label:
+ */
+#define FLAG_SETENV 0x80
/*-----------------------------------------------------------------------
* Device IDs