drivers: rk_nand: fix update loader fail issue

bug: The NAND driver will write data to the wrong address with
2K page size SLC NAND FLASH.

[   14.047987] IDBlockWriteData 100 100
[   14.074717] IDBlockWriteData 100 100 ret= 0
[   14.075091] IdBlockReadData 100 100
[   14.084396] IdBlockReadData 100 100 ret= 0
[   14.084777] write and check error:1 idb=1,offset=86,r=238,w=40238

Change-Id: Id92051d9a6a345454054fe79b88ec05c48174d81
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao
2018-05-28 11:30:59 +08:00
committed by Tao Huang
parent 8959500786
commit ebe4a2e212
File diff suppressed because it is too large Load Diff