disk: support MTD partitions
Add new MTD partition driver, which can be useful with mtdblock driver combination. Signed-off-by: Alexey Romanov <avromanov@salutedevices.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
This commit is contained in:

committed by
Michael Trimarchi

parent
b7d5ce05b1
commit
c29a6daec1
@@ -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 */
|
||||
|
Reference in New Issue
Block a user