summaryrefslogtreecommitdiff
path: root/include/mtd/cfi_flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mtd/cfi_flash.h')
-rw-r--r--include/mtd/cfi_flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mtd/cfi_flash.h b/include/mtd/cfi_flash.h
index 1321da19102..52cd1c4dbc4 100644
--- a/include/mtd/cfi_flash.h
+++ b/include/mtd/cfi_flash.h
@@ -147,8 +147,8 @@ struct cfi_pri_hdr {
u8 minor_version;
} __attribute__((packed));
-#ifndef CONFIG_SYS_FLASH_BANKS_LIST
-#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE }
+#ifndef CFG_SYS_FLASH_BANKS_LIST
+#define CFG_SYS_FLASH_BANKS_LIST { CFG_SYS_FLASH_BASE }
#endif
/*