diff options
author | Alexey Romanov <avromanov@salutedevices.com> | 2024-07-18 08:45:27 +0300 |
---|---|---|
committer | Michael Trimarchi <michael@amarulasolutions.com> | 2024-08-08 09:28:05 +0200 |
commit | aa5b67ce226267440e64fadc57d3a21e5842027c (patch) | |
tree | 809f26bbef1aaa225960dcdd3be38c4a900fffa7 /include/part.h | |
parent | 6b0c9f2cb511b2b06fd675a49162208c9105f2a0 (diff) | |
download | u-boot-aa5b67ce226267440e64fadc57d3a21e5842027c.tar.gz |
disk: support UBI partitions
UBI partition is abstraction over UBI volumes.
Can be used by UBI block device.
Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index a5994f2cace..54b986cee63 100644 --- a/include/part.h +++ b/include/part.h @@ -31,6 +31,7 @@ struct block_drvr { #define PART_TYPE_AMIGA 0x04 #define PART_TYPE_EFI 0x05 #define PART_TYPE_MTD 0x06 +#define PART_TYPE_UBI 0x07 /* maximum number of partition entries supported by search */ #define DOS_ENTRY_NUMBERS 8 @@ -38,6 +39,7 @@ struct block_drvr { #define MAC_ENTRY_NUMBERS 64 #define AMIGA_ENTRY_NUMBERS 8 #define MTD_ENTRY_NUMBERS 64 +#define UBI_ENTRY_NUMBERS UBI_MAX_VOLUMES /* * Type string for U-Boot bootable partitions |