[PATCH v1 5/6] disk: support UBI partitions
Heiko Schocher
hs at denx.de
Sat Mar 23 06:05:22 CET 2024
Hello Alexey,
On 06.03.24 14:49, Alexey Romanov wrote:
> UBI partition is abstraction over UBI volumes.
> Can be used by UBI block device.
>
> Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
> ---
> drivers/mtd/ubi/Makefile | 1 +
> drivers/mtd/ubi/part.c | 99 ++++++++++++++++++++++++++++++++++++++++
> include/part.h | 2 +
> 3 files changed, 102 insertions(+)
> create mode 100644 drivers/mtd/ubi/part.c
>
> diff --git a/drivers/mtd/ubi/Makefile b/drivers/mtd/ubi/Makefile
> index 67b1a05348..e443f3585e 100644
> --- a/drivers/mtd/ubi/Makefile
> +++ b/drivers/mtd/ubi/Makefile
> @@ -8,3 +8,4 @@ obj-$(CONFIG_MTD_UBI_FASTMAP) += fastmap.o
> obj-y += misc.o
> obj-y += debug.o
> obj-$(CONFIG_BLK) += block.o
> +obj-y += part.o
May it is good to have this as an Kconfig option? So boards which
do not use UBI block will save code size...
Beside of this:
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list