Parcourir la source

mpc512x. Micron nand flash needs a reset before a read command is issued.

Micron nand flash needs a reset before a read command is issued.
The current mpc5121_nfc driver ignores the reset command.
Paul Gibson il y a 16 ans
Parent
commit
d3f4941874
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      drivers/mtd/nand/mpc5121_nfc.c

+ 1 - 0
drivers/mtd/nand/mpc5121_nfc.c

@@ -334,6 +334,7 @@ static void mpc5121_nfc_command(struct mtd_info *mtd, unsigned command,
 	case NAND_CMD_ERASE2:
 	case NAND_CMD_ERASE2:
 	case NAND_CMD_READID:
 	case NAND_CMD_READID:
 	case NAND_CMD_STATUS:
 	case NAND_CMD_STATUS:
+	case NAND_CMD_RESET:
 		break;
 		break;
 
 
 	default:
 	default: