]> git.sur5r.net Git - u-boot/blobdiff - include/linux/mtd/nand.h
Merge git://www.denx.de/git/u-boot-ppc4xx
[u-boot] / include / linux / mtd / nand.h
index 4be885823cfee360e2038f449b08ca4266c1c630..991bd8e63ed0dccf945062b5085065004e667abe 100644 (file)
@@ -725,7 +725,16 @@ static inline int onfi_get_sync_timing_mode(struct nand_chip *chip)
  */
 static inline int nand_opcode_8bits(unsigned int command)
 {
-       return command == NAND_CMD_READID;
+       switch (command) {
+       case NAND_CMD_READID:
+       case NAND_CMD_PARAM:
+       case NAND_CMD_GET_FEATURES:
+       case NAND_CMD_SET_FEATURES:
+               return 1;
+       default:
+               break;
+       }
+       return 0;
 }