[PATCH u-boot-dm + u-boot-spi 0/6] Support SPI NORs and OF partitions in `mtd list`
Marek Behún
marek.behun at nic.cz
Tue Feb 9 03:48:38 CET 2021
Hello,
this patchset adds support for U-Boot to parse MTD partitions from
device-tree, and also improves support for SPI NOR access via the `mtd`
command.
Marek
Cc: Tom Rini <trini at konsulko.com>
Cc: Dario Binacchi <dariobin at libero.it>
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Priyanka Jain <priyanka.jain at nxp.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Heiko Schocher <hs at denx.de>
Cc: Jagan Teki <jagan at amarulasolutions.com>
Marek Behún (6):
dm: add non-translating version of ofnode_get_addr_size_index
mtd: add support for parsing partitions defined in OF
mtd: spi-nor: allow registering multiple MTDs when DM is enabled
mtd: spi-nor: fill-in mtd->dev member
mtd: remove mtd_probe function
mtd: probe SPI NOR devices in mtd_probe_devices()
drivers/core/ofnode.c | 19 ++++-
drivers/mtd/mtd-uclass.c | 15 ----
drivers/mtd/mtd_uboot.c | 128 ++++++++++++++++++++-------------
drivers/mtd/mtdpart.c | 60 ++++++++++++++++
drivers/mtd/spi/sf_internal.h | 4 +-
drivers/mtd/spi/sf_mtd.c | 19 ++++-
drivers/mtd/spi/sf_probe.c | 6 +-
drivers/mtd/spi/spi-nor-core.c | 1 +
drivers/mtd/spi/spi-nor-tiny.c | 1 +
include/dm/ofnode.h | 17 +++++
include/linux/mtd/mtd.h | 9 +++
include/mtd.h | 1 -
12 files changed, 206 insertions(+), 74 deletions(-)
--
2.26.2
More information about the U-Boot
mailing list