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:
Jon Lin 2020-12-13 19:25:18 +08:00
parent 8ff9c29cc8
commit 4bf17e940b
1 changed files with 1 additions and 1 deletions

View File

@ -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
};