]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Flash/Flash.h
Patch from open source community for CryptoPkg to allow it to build for ARM using...
[mirror_edk2.git] / Omap35xxPkg / Flash / Flash.h
index 2e95b96bb925d1079f7f8aa7edda56e72cbb8a1a..9bfdba5d03f2070614c45ef1681bd670ab6e01eb 100644 (file)
@@ -1,8 +1,8 @@
 /** @file
 
-  Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
 
-  All rights reserved. This program and the accompanying materials
+  This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
   which accompanies this distribution.  The full text of the license may be found at
   http://opensource.org/licenses/bsd-license.php
 
 //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)