summaryrefslogtreecommitdiff
path: root/firmware/include/AT91SAM7.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/AT91SAM7.h')
-rw-r--r--firmware/include/AT91SAM7.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/AT91SAM7.h b/firmware/include/AT91SAM7.h
index 53eb072..42743f6 100644
--- a/firmware/include/AT91SAM7.h
+++ b/firmware/include/AT91SAM7.h
@@ -1942,6 +1942,6 @@ typedef struct _AT91S_UDP {
#endif
#define AT91C_IFLASH_NB_OF_PAGES (AT91C_ISRAM_SIZE>>AT91C_IFLASH_PAGE_SHIFT)
-#define AT91C_IFLASH_LOCK_REGION_SIZE (AT91C_ISRAM_SIZE/AT91C_IFLASH_NB_OF_LOCK_BITS)
+#define AT91C_IFLASH_LOCK_REGION_SIZE (AT91C_IFLASH_SIZE/AT91C_IFLASH_NB_OF_LOCK_BITS)
#endif/*__AT91SAM7_H__*/
personal git repositories of Harald Welte. Your mileage may vary