summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-11-21 20:19:05 +0100
committerHarald Welte <laforge@gnumonks.org>2010-11-21 20:19:05 +0100
commit855b8fdd853cc25a95094364e0fc57c1ffbb5cc0 (patch)
tree034146d5a7e0114b6e02000213ac303a63b553a0 /firmware
parentde125b725076e84134d5e9e9d3c56d3ef0bcf075 (diff)
AT91SAM7.h: Fix computation of AT91C_IFLASH_LOCK_REGION_SIZE
Diffstat (limited to 'firmware')
-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