[PATCH 12/12] mtd: nand: provision full ID support

Huang Shijie b32955 at freescale.com
Wed Mar 6 00:32:30 EST 2013


于 2013年03月05日 18:37, Artem Bityutskiy 写道:
> I was thinking about
>
> if (type->mfr_id == 0)
> 	/* this is device-only ID */
> else
> 	/* this is full ID */
>
> or
>
> static inline bool is_full_nand_id(type) {
> 	return type->mfr_id;
> }
okay. If you think we should not add another table for the full-id nand.
I will follow your advice.

thanks
Huang Shijie




More information about the linux-mtd mailing list