[PULL] Pull request for u-boot-nand-20240808
Michael Nazzareno Trimarchi
michael at amarulasolutions.com
Thu Aug 8 10:49:48 CEST 2024
Hi Tom
The following changes since commit b7d5ce05b1b52136af09cf34541c6a91079a4b86:
Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sunxi (2024-08-06
09:36:46 -0600)
are available in the Git repository at:
git://source.denx.de:u-boot/custodians/u-boot-nand-flash.git/
u-boot-nand-20240808
for you to fetch changes up to 855f9b6241407d19f01d4245456be428b5d88f52:
spinand: bind UBI block (2024-08-08 09:28:09 +0200)
----------------------------------------------------------------
This series adds support for the UBI block device, which allows to read/write
data block by block. The series was tested by Alexey Romanov on SPI NAND.
The patches pass the pipeline CI:
https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/21933
----------------------------------------------------------------
Alexey Romanov (9):
disk: support MTD partitions
drivers: introduce mtdblock abstraction
spinand: bind mtdblock
ubi: allow to read from volume with offset
ubi: allow to write to volume with offset
drivers: introduce UBI block abstraction
disk: don't try search for partition type if already set
disk: support UBI partitions
spinand: bind UBI block
cmd/ubi.c | 78 +++++++++++++--
disk/part.c | 10 +-
drivers/block/blk-uclass.c | 2 +
drivers/mtd/Kconfig | 9 ++
drivers/mtd/Makefile | 1 +
drivers/mtd/mtdblock.c | 227 ++++++++++++++++++++++++++++++++++++++++++++
drivers/mtd/mtdpart.c | 76 +++++++++++++++
drivers/mtd/nand/spi/core.c | 29 ++++++
drivers/mtd/ubi/Kconfig | 7 ++
drivers/mtd/ubi/Makefile | 1 +
drivers/mtd/ubi/block.c | 130 +++++++++++++++++++++++++
drivers/mtd/ubi/part.c | 99 +++++++++++++++++++
env/ubi.c | 16 ++--
include/linux/mtd/mtd.h | 25 +++++
include/part.h | 5 +
include/ubi_uboot.h | 13 ++-
16 files changed, 711 insertions(+), 17 deletions(-)
create mode 100644 drivers/mtd/mtdblock.c
create mode 100644 drivers/mtd/ubi/block.c
create mode 100644 drivers/mtd/ubi/part.c
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com
More information about the U-Boot
mailing list