mtd: mtd_blk: Support mtd_dwrite in spl
Change-Id: I495ca5498fae9f03f6042cb074c9c8c3f590eea5 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
8ff9c29cc8
commit
4bf17e940b
|
|
@ -647,8 +647,8 @@ static int mtd_blk_probe(struct udevice *udev)
|
|||
|
||||
static const struct blk_ops mtd_blk_ops = {
|
||||
.read = mtd_dread,
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
.write = mtd_dwrite,
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
.erase = mtd_derase,
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue