/** @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)