summaryrefslogtreecommitdiff
path: root/cmd/cramfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cramfs.c')
-rw-r--r--cmd/cramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cramfs.c b/cmd/cramfs.c
index c1034916c6..965ca4e60d 100644
--- a/cmd/cramfs.c
+++ b/cmd/cramfs.c
@@ -31,7 +31,7 @@
#include <flash.h>
-#ifdef CONFIG_SYS_NO_FLASH
+#ifndef CONFIG_MTD_NOR_FLASH
# define OFFSET_ADJUSTMENT 0
#else
# define OFFSET_ADJUSTMENT (flash_info[id.num].start[0])