drivers: rk_nand: fix update loader fail issue

patch for arm aarch32 and aarch64.

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: I2d635d0939edb2b2674c37898d5afd668da2ae5a
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao
2018-05-30 11:54:34 +08:00
committed by Tao Huang
parent 3f3c077099
commit 911b15f3de
3 changed files with 19067 additions and 18400 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff