Browse 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 15 năm trước cách đây
mục cha
commit
d3f4941874
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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: