On 2015-04-21 01:17, Scott Wood wrote:
> On Wed, 2015-04-08 at 16:44 +0200, Stefan Agner wrote:
>> +case ALT_BUF_ONFI:
>> +/* Reverse byte since the controller uses big endianness */
>> +c = nfc->column % 4;
>> +c = nfc->column - c + (3 - c);
>
> These two l
On Wed, 2015-04-08 at 16:44 +0200, Stefan Agner wrote:
> + case ALT_BUF_ONFI:
> + /* Reverse byte since the controller uses big endianness */
> + c = nfc->column % 4;
> + c = nfc->column - c + (3 - c);
These two lines can be simplified to "c = nfc->column ^
This changes enable ONFI detection. The Read ID command now allows
one address byte which is needed for ONFI detection. To read the
ONFI parameter page, the NAND_CMD_PARAM need to be supported. The
CMD code enables one command and one address byte along with reading
data from flash using R/B#, as s
3 matches
Mail list logo