libpit: add DeviceType = 8 entry for MMC with blksize 4096
Newer devices have an emmc with 4096 block size instead of 512. These seem to have DeviceType=8 instead of DeviceType=2.
This commit is contained in:
parent
cedfcd8c80
commit
31745c287a
|
@ -262,6 +262,10 @@ void Interface::PrintPit(const PitData *pitData)
|
|||
Interface::Print("All (?)");
|
||||
break;
|
||||
|
||||
case PitEntry::kDeviceTypeMMC4096:
|
||||
Interface::Print("MMC 4096");
|
||||
break;
|
||||
|
||||
default:
|
||||
Interface::Print("Unknown");
|
||||
break;
|
||||
|
|
|
@ -61,7 +61,8 @@ namespace libpit
|
|||
kDeviceTypeOneNand = 0,
|
||||
kDeviceTypeFile, // FAT
|
||||
kDeviceTypeMMC,
|
||||
kDeviceTypeAll // ?
|
||||
kDeviceTypeAll, // ?
|
||||
kDeviceTypeMMC4096 = 8 // block size 4096
|
||||
};
|
||||
|
||||
enum
|
||||
|
|
Loading…
Reference in New Issue