summaryrefslogtreecommitdiff
path: root/board/fads
diff options
context:
space:
mode:
Diffstat (limited to 'board/fads')
-rw-r--r--board/fads/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/fads/flash.c b/board/fads/flash.c
index c23dff7..d2a46b2 100644
--- a/board/fads/flash.c
+++ b/board/fads/flash.c
@@ -94,7 +94,7 @@ unsigned long flash_init (void)
/* Remap FLASH according to real size */
memctl->memc_or0 =
- ((((unsigned long) ~1) << i) & OR_AM_MSK) |
+ ((((unsigned long) ~0) << i) & OR_AM_MSK) |
CFG_OR_TIMING_FLASH;
memctl->memc_br0 = CFG_BR0_PRELIM;