mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-12 22:26:13 -04:00
Remove outdated definition of FLASH_PARAMETERS
This commit is contained in:
parent
c38ed925b0
commit
7cea8ee512
2 changed files with 7 additions and 32 deletions
|
@ -326,8 +326,8 @@ USTATUS FfsParser::parseIntelImage(const UByteArray & intelImage, const UINT32 l
|
|||
const FLASH_DESCRIPTOR_COMPONENT_SECTION* componentSection = (const FLASH_DESCRIPTOR_COMPONENT_SECTION*)calculateAddress8((UINT8*)descriptor, descriptorMap->ComponentBase);
|
||||
|
||||
UINT8 descriptorVersion = 2;
|
||||
// Check descriptor version by getting hardcoded value of FlashParameters.ReadClockFrequency
|
||||
if (componentSection->FlashParameters.ReadClockFrequency == FLASH_FREQUENCY_20MHZ)
|
||||
// Check descriptor version by getting hardcoded value of zero in FlashParameters.ReadClockFrequency
|
||||
if (componentSection->FlashParameters.ReadClockFrequency == 0)
|
||||
descriptorVersion = 1;
|
||||
|
||||
// Regions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue