mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-05-05 10:24:01 +00:00
mtd: nand: parse out the JEDEC compliant NAND
This patch adds the parsing code for the JEDEC compliant NAND. Since we need the 0x40 as the column address, this patch also makes the NAND_CMD_PARAM to use the 8-bit address only. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
committed by
Brian Norris
parent
7852f8962f
commit
913618185e
@ -925,7 +925,7 @@ static inline bool nand_is_slc(struct nand_chip *chip)
|
||||
*/
|
||||
static inline int nand_opcode_8bits(unsigned int command)
|
||||
{
|
||||
return command == NAND_CMD_READID;
|
||||
return command == NAND_CMD_READID || command == NAND_CMD_PARAM;
|
||||
}
|
||||
|
||||
/* return the supported JEDEC features. */
|
||||
|
||||
Reference in New Issue
Block a user