Commit Graph

2 Commits

Author SHA1 Message Date
Dingqiang Lin 6281205a07 rockchip: rkflash: update spi nand ECC strategy
1.Read ECC status according to each flash's identify Internal ECC;
2.Refresh data before reach ECC Flipping Bits.

Change-Id: I346167d4c252261813ff0a6bb670a64bec6026dd
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-06-28 16:19:10 +08:00
Dingqiang Lin ba0501aca2 rockchip: rkflash: add slc nand flash and spi nand flash support
1.All three types of flash including slc nand flash, spi nand flash
and spi nor flash are code compatibility
2.Add vendor partition ops
3.Unified naming format and variable with code in kernel

Change-Id: I0aa1c5daf9ec51296a6d2d904b2cf1ea7a0dd077
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-06-13 11:19:19 +08:00