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

Sourav Poddar sourav.poddar at ti.com
Wed Sep 25 02:24:51 EDT 2013


On Wednesday 25 September 2013 11:46 AM, Huang Shijie wrote:
> 于 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.
OK.
>
> thanks
> Huang Shijie
>




More information about the linux-mtd mailing list