summaryrefslogtreecommitdiff
path: root/include/rwsig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rwsig.h')
-rw-r--r--include/rwsig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rwsig.h b/include/rwsig.h
index c43932b173..425618490b 100644
--- a/include/rwsig.h
+++ b/include/rwsig.h
@@ -91,7 +91,7 @@ void rwsig_jump_now(void);
* which might actually be in the PSTATE region.
*/
#define CONFIG_RO_PUBKEY_ADDR (CONFIG_PROGRAM_MEMORY_BASE \
- + (CONFIG_FLASH_SIZE / 2) \
+ + (CONFIG_FLASH_SIZE_BYTES / 2) \
- CONFIG_RO_PUBKEY_SIZE)
#endif
#endif /* CONFIG_RO_PUBKEY_ADDR */