History log of /rk3399_rockchip-uboot/drivers/mtd/mtd_blk.c (Results 26 – 50 of 62)
Revision Date Author Comments
# 9148182d 23-Dec-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Support SPI Nor blk_derase

Change-Id: I1be6dfc1fa7acd25f98031f48002abf13479418c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 4bf17e94 13-Dec-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Support mtd_dwrite in spl

Change-Id: I495ca5498fae9f03f6042cb074c9c8c3f590eea5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 661bcdfe 25-Aug-2020 Jason Zhu <jason.zhu@rock-chips.com>

mtd: mtd_blk: add mtd_blk_map_fit() to create map for fit image

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I0d0195f455ee9afb32676510fc077fe63ae5c7ad


# 338697c5 30-Oct-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Support mtd_derase

1.Support SPI Nand and SLC Nand in mtd case;
2.Only support address and length erasesize aligned case;

Change-Id: I8e76274677c153fb61616ebf320e1b86d5060439
Signed-o

mtd: mtd_blk: Support mtd_derase

1.Support SPI Nand and SLC Nand in mtd case;
2.Only support address and length erasesize aligned case;

Change-Id: I8e76274677c153fb61616ebf320e1b86d5060439
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 6524556d 15-Oct-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Fix the way to get Nand mtd_info

Change-Id: I6e47180db41242a92ac74083d5984bcb06d92e9c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# e091dc9d 25-Aug-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Map table length round up to erase size

Change-Id: I5f615d37a572ce0d8ceb8d6d6b76983fc61e316b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 51ceae36 25-Aug-2020 Jason Zhu <jason.zhu@rock-chips.com>

mtd: mtd_blk: support map bad block table in spl

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I48112628812b948e4ab5a34362c8ada12b00471e


# 853fc11f 04-Sep-2020 Jon Lin <jon.lin@rock-chips.com>

blk: Add BLK_MTD_CONT_WRITE tag

Change-Id: I72537387912d5c981dbe205c0d0c1864fa42a555
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 42439462 12-Aug-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Implement mtd_dwrite none-alinged write

Change-Id: I605ee52083ef5d9d2863f347390acc635eabd2bc
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 3fb7bf02 01-Jul-2020 Jason Zhu <jason.zhu@rock-chips.com>

mtd: mtd_blk: implement mtd_dread_prepare()

Prepare to read data, then data is transmitted in background.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Iab560f7f903549a0b6c27f7e8e2

mtd: mtd_blk: implement mtd_dread_prepare()

Prepare to read data, then data is transmitted in background.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Iab560f7f903549a0b6c27f7e8e2ac984ae2ac75c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 04a8326a 22-Jul-2020 Jason Zhu <jason.zhu@rock-chips.com>

mtd_blk: correct the ubi part info when enable a/b

The default ubi part info must be corrected while the part info will
be changed when enable a/b.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.co

mtd_blk: correct the ubi part info when enable a/b

The default ubi part info must be corrected while the part info will
be changed when enable a/b.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I84db2e284f732f62014d3d14d99217fb707b85c0

show more ...


# 0f1dc487 15-Jun-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Check map table block address overflow

1.Check map table block address overflow
2.Reinit map table original value

Change-Id: I4450b5a6856e38e2624da9db31d5eb98de7f5696
Signed-off-by: J

mtd: mtd_blk: Check map table block address overflow

1.Check map table block address overflow
2.Reinit map table original value

Change-Id: I4450b5a6856e38e2624da9db31d5eb98de7f5696
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 9ee38883 02-Jun-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Support mtd_map_write

Change-Id: Ifbd05736a48aa89a2e808ae4d4385bf59458d010
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 360a2911 02-Jun-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Logical offset should not mix with map address

1.Logical offset should not mix with map address
2.Format with nand_read_skip_bad

Change-Id: I0e5adec374ce4de437e4ce7368caec4c7c07e83b
S

mtd: mtd_blk: Logical offset should not mix with map address

1.Logical offset should not mix with map address
2.Format with nand_read_skip_bad

Change-Id: I0e5adec374ce4de437e4ce7368caec4c7c07e83b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 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 ...


# c402731f 24-May-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Add api to get mtd_blk mapped address

Change-Id: I197df5f03e0894584cd2ffb3b7ac1423e84e43df
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# b4e07918 12-May-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Change to use erasesize_shift for calculating

Change-Id: Iba08a6df807db9ca582bc22864f4cc51ac5ca121
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# c9e94690 26-Apr-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: Optimize map table reinitialization

Change-Id: Ie27c8a215568755857cf67444637b1d89f55bd3a
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 19a78027 24-Apr-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: skip bad block if mtd map isn't initiated

Change-Id: I3a2b5d311b43cc82135ecd84956e7a365c5910db
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# d6290238 24-Apr-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: skip bad block if mtd map isn't initiated

Change-Id: I3a2b5d311b43cc82135ecd84956e7a365c5910db
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>


# 1f21bf61 03-Apr-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: add flash map block management

1.SPI Nand MTD partition bad block will not be detected if the address
isn't begin with the partition first block.
2.To avoid this problem, we should use

mtd: mtd_blk: add flash map block management

1.SPI Nand MTD partition bad block will not be detected if the address
isn't begin with the partition first block.
2.To avoid this problem, we should use map partition block address to
get right data.
3.It's compatible if the map table isn't initialed.

Change-Id: I11858b9b30a8fffecdbad804b1bad7b247b51d23
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# 7be22475 23-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 0d742243 03-Apr-2020 Jon Lin <jon.lin@rock-chips.com>

mtd: mtd_blk: add flash map block management

1.SPI Nand MTD partition bad block will not be detected if the address
isn't begin with the partition first block.
2.To avoid this problem, we should use

mtd: mtd_blk: add flash map block management

1.SPI Nand MTD partition bad block will not be detected if the address
isn't begin with the partition first block.
2.To avoid this problem, we should use map partition block address to
get right data.
3.It's compatible if the map table isn't initialed.

Change-Id: I11858b9b30a8fffecdbad804b1bad7b247b51d23
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# f3ba630b 30-Oct-2019 Jason Zhu <jason.zhu@rock-chips.com>

mtd: mtd_blk: fix get: mtd error if device is nand

Change-Id: I1cebba63cbabefa87fd67d98a4d93e151604626d
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>


123