summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mtd/nand/denali.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mtd/nand/denali.h')
-rw-r--r--kernel/drivers/mtd/nand/denali.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/mtd/nand/denali.h b/kernel/drivers/mtd/nand/denali.h
index 145bf8893..4b12cd302 100644
--- a/kernel/drivers/mtd/nand/denali.h
+++ b/kernel/drivers/mtd/nand/denali.h
@@ -178,6 +178,8 @@
#define REVISION 0x370
#define REVISION__VALUE 0xffff
+#define MAKE_COMPARABLE_REVISION(x) swab16((x) & REVISION__VALUE)
+#define REVISION_5_1 0x00000501
#define ONFI_DEVICE_FEATURES 0x380
#define ONFI_DEVICE_FEATURES__VALUE 0x003f