| #
a07b97f2 |
| 22-May-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
mtd: mtd_blk: map the part address if dev is mtd_blk
The blk_dread will occor error if the image is packed with multiple firmwares, for example boot.img, when nand or spi nand have bad block. So cal
mtd: mtd_blk: map the part address if dev is mtd_blk
The blk_dread will occor error if the image is packed with multiple firmwares, for example boot.img, when nand or spi nand have bad block. So call mtd_blk_map_table_init to remap part address to make sure reading correct data.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Icebc6b1c5a10758efa615424d0706b9ed6ec23ad
show more ...
|