summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/Flash/Flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Omap35xxPkg/Flash/Flash.h')
-rw-r--r--Omap35xxPkg/Flash/Flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Omap35xxPkg/Flash/Flash.h b/Omap35xxPkg/Flash/Flash.h
index 2e95b96bb..a1a4349eb 100644
--- a/Omap35xxPkg/Flash/Flash.h
+++ b/Omap35xxPkg/Flash/Flash.h
@@ -74,10 +74,10 @@
//Nand status register bit definition
#define NAND_SUCCESS (0x0UL << 0)
-#define NAND_FAILURE (0x1UL << 0)
+#define NAND_FAILURE BIT0
#define NAND_BUSY (0x0UL << 6)
-#define NAND_READY (0x1UL << 6)
+#define NAND_READY BIT6
#define NAND_RESET_STATUS (0x60UL << 0)