nand_base: fix for ONFI chips that do not support GET/SET FEATURES

Huang Shijie b32955 at freescale.com
Wed May 1 22:41:32 EDT 2013


于 2013年05月02日 10:34, David Mosberger-Tang 写道:
> +	    !(le16_to_cpu(chip->onfi_params.opt_cmd) & 4))
it's better to add a macro to replace the hardcore '4', such as

#define ONFI_OPT_CMD_SET_GET_FEAT (1 << 2)

Just a suggestion. :)

thanks
Huang Shijie




More information about the linux-mtd mailing list