summaryrefslogtreecommitdiff
path: root/include/dataflash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dataflash.h')
-rw-r--r--include/dataflash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dataflash.h b/include/dataflash.h
index 142b55546f..84a56c30ce 100644
--- a/include/dataflash.h
+++ b/include/dataflash.h
@@ -23,7 +23,7 @@
/*number of protected area*/
#define NB_DATAFLASH_AREA 5
-#ifdef CONFIG_SYS_NO_FLASH
+#ifndef CONFIG_MTD_NOR_FLASH
/*-----------------------------------------------------------------------
* return codes from flash_write():
@@ -49,7 +49,7 @@
* Set Environment according to label:
*/
# define FLAG_SETENV 0x80
-#endif /* CONFIG_SYS_NO_FLASH */
+#endif /* CONFIG_MTD_NOR_FLASH */
/*define the area structure*/
typedef struct {