summaryrefslogtreecommitdiff
path: root/include/dataflash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dataflash.h')
-rw-r--r--include/dataflash.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/dataflash.h b/include/dataflash.h
index fbd5e17..68f0324 100644
--- a/include/dataflash.h
+++ b/include/dataflash.h
@@ -38,11 +38,7 @@
#include "config.h"
/*number of protected area*/
-#ifdef CONFIG_NEW_PARTITION
-# define NB_DATAFLASH_AREA 6
-#else
-# define NB_DATAFLASH_AREA 4
-#endif
+#define NB_DATAFLASH_AREA 5
#ifdef CFG_NO_FLASH