diff options
author | Tom Rini <trini@konsulko.com> | 2021-10-23 10:49:28 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-23 10:49:28 -0400 |
commit | 355d1e24f6143c4839be3c015c191421c4e9449c (patch) | |
tree | ff68e868d404d117f3f9599740f83fd73c99c306 /drivers/mtd/mtdconcat.c | |
parent | f055f2e5a2038002519e5b9affbf259345f4ade9 (diff) | |
parent | b9cfd8b0911209e2ebec887e497510ee42f9e788 (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-spi
- Fix mtd erase with mtdpart (Marek BehĂșn)
- NXP fspi driver fixes (Kuldeep Singh)
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
-rw-r--r-- | drivers/mtd/mtdconcat.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c index 684bc949985..af3c4765c4d 100644 --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c @@ -338,14 +338,6 @@ concat_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops) return -EINVAL; } -static void concat_erase_callback(struct erase_info *instr) -{ - /* Nothing to do here in U-Boot */ -#ifndef __UBOOT__ - wake_up((wait_queue_head_t *) instr->priv); -#endif -} - static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) { int err; @@ -358,7 +350,6 @@ static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) init_waitqueue_head(&waitq); erase->mtd = mtd; - erase->callback = concat_erase_callback; erase->priv = (unsigned long) &waitq; /* @@ -498,8 +489,6 @@ static int concat_erase(struct mtd_info *mtd, struct erase_info *instr) if (err) return err; - if (instr->callback) - instr->callback(instr); return 0; } |