Home
last modified time | relevance | path

Searched hist:"8 cf6fca4b89eca507b30e4950bce1b2ee4930c2c" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtd_blk.c8cf6fca4b89eca507b30e4950bce1b2ee4930c2c Thu Aug 15 01:13:29 UTC 2019 Jason Zhu <jason.zhu@rock-chips.com> mtd: mtd_blk: get mtd through dev_get_priv() when the storage is nand

In the nand mtd, we will use chip info to operate nand, and get the chip
through mtd_to_nand(). So we should get mtd through dev_get_priv() but not
dev_get_uclass_platdata.

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