diff options
| author | Alexey Romanov <[email protected]> | 2024-07-18 08:46:04 +0300 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2024-08-08 09:27:45 +0200 |
| commit | c29a6daec184dd429bfccee42179bb5b079843b8 (patch) | |
| tree | 401b0f8112d47dbc375df16347927641ee205128 /disk | |
| parent | b7d5ce05b1b52136af09cf34541c6a91079a4b86 (diff) | |
disk: support MTD partitions
Add new MTD partition driver, which can be useful with
mtdblock driver combination.
Signed-off-by: Alexey Romanov <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
Diffstat (limited to 'disk')
| -rw-r--r-- | disk/part.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c index bc932526f90..86f669926e1 100644 --- a/disk/part.c +++ b/disk/part.c @@ -304,7 +304,8 @@ static void print_part_header(const char *type, struct blk_desc *desc) CONFIG_IS_ENABLED(DOS_PARTITION) || \ CONFIG_IS_ENABLED(ISO_PARTITION) || \ CONFIG_IS_ENABLED(AMIGA_PARTITION) || \ - CONFIG_IS_ENABLED(EFI_PARTITION) + CONFIG_IS_ENABLED(EFI_PARTITION) || \ + CONFIG_IS_ENABLED(MTD_PARTITIONS) printf("\nPartition Map for %s device %d -- Partition Type: %s\n\n", uclass_get_name(desc->uclass_id), desc->devnum, type); #endif /* any CONFIG_..._PARTITION */ |
