[PATCH] drivers: mtd: m25p80: Add quad read support.

Huang Shijie b32955 at freescale.com
Wed Sep 25 02:16:31 EDT 2013


于 2013年09月24日 20:10, Sourav Poddar 写道:
> +static int quad_enable(struct m25p *flash)
> +{
> +	u8 cmd[3];
> +	cmd[0] = OPCODE_WRSR;
> +	cmd[1] = 0x00;
> +	cmd[2] = 0x02;
> +
Please use a macro here, do not use a hardcode.

thanks
Huang Shijie




More information about the linux-mtd mailing list