mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-26 09:58:22 +08:00
Recognise B360MHD3.F3 descriptor version
This commit is contained in:
parent
bdec60c173
commit
570ba2bf4f
@ -3039,7 +3039,8 @@ UINT8 FfsEngine::reconstructIntelImage(const QModelIndex& index, QByteArray& rec
|
|||||||
if (componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_20MHZ) { // Old descriptor
|
if (componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_20MHZ) { // Old descriptor
|
||||||
descriptorVersion = 1;
|
descriptorVersion = 1;
|
||||||
}
|
}
|
||||||
else if (componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_17MHZ) { // Skylake+ descriptor
|
else if (componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_17MHZ || // Skylake+ descriptor
|
||||||
|
componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_50MHZ_30MHZ) { // Coffee Lake+ descriptor
|
||||||
descriptorVersion = 2;
|
descriptorVersion = 2;
|
||||||
ecBegin = calculateRegionOffset(regionSection->EcBase);
|
ecBegin = calculateRegionOffset(regionSection->EcBase);
|
||||||
ecEnd = ecBegin + calculateRegionSize(regionSection->EcBase, regionSection->EcLimit);
|
ecEnd = ecBegin + calculateRegionSize(regionSection->EcBase, regionSection->EcLimit);
|
||||||
|
Loading…
Reference in New Issue
Block a user