summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index caa6d0b897..548f889e72 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -26,6 +26,13 @@
#define PSTATE_BANK_COUNT 0
#endif
+/* This enum is useful to identify different regions during verification. */
+enum flash_region {
+ FLASH_REGION_RW = 0,
+ FLASH_REGION_RO,
+ FLASH_REGION_COUNT
+};
+
/*****************************************************************************/
/* Low-level methods, for use by flash_common. */