mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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
@@ -30,12 +30,15 @@ struct block_drvr {
|
||||
#define PART_TYPE_ISO 0x03
|
||||
#define PART_TYPE_AMIGA 0x04
|
||||
#define PART_TYPE_EFI 0x05
|
||||
#define PART_TYPE_MTD 0x06
|
||||
|
||||
/* maximum number of partition entries supported by search */
|
||||
#define DOS_ENTRY_NUMBERS 8
|
||||
#define ISO_ENTRY_NUMBERS 64
|
||||
#define MAC_ENTRY_NUMBERS 64
|
||||
#define AMIGA_ENTRY_NUMBERS 8
|
||||
#define MTD_ENTRY_NUMBERS 64
|
||||
|
||||
/*
|
||||
* Type string for U-Boot bootable partitions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user