IN UINT8 ClockAddress\r
)\r
{\r
- EFI_STATUS Status;\r
EFI_SMBUS_DEVICE_ADDRESS SlaveAddress;\r
UINT8 Buffer[MAX_CLOCK_GENERATOR_BUFFER_LENGTH];\r
UINTN Length;\r
SlaveAddress.SmbusDeviceAddress = ClockAddress >> 1;\r
Length = sizeof (Buffer);\r
Command = 0;\r
- Status = SmbusPpi->Execute (\r
+ SmbusPpi->Execute (\r
PeiServices,\r
SmbusPpi,\r
SlaveAddress,\r
\r
EFI_PLATFORM_INFO_HOB *PlatformInfoHob;\r
BOOLEAN EnableSpreadSpectrum;\r
- UINT8 ClockGenID=0;\r
SYSTEM_CONFIGURATION SystemConfiguration;\r
\r
UINTN Length;\r
DEBUG((EFI_D_ERROR, "Clock Generator CK505 Not Present, vendor ID on board is %x\n",(Data & 0x0F)));\r
return EFI_SUCCESS;\r
}\r
- ClockGenID = Data & 0x0F;\r
\r
EnableSpreadSpectrum = FALSE;\r
VariableSize = sizeof (SYSTEM_CONFIGURATION);\r
IN OUT EFI_PLATFORM_INFO_HOB *PlatformInfoHob\r
)\r
{\r
- UINT32 PcieLength;\r
- EFI_STATUS Status;\r
+ UINT32 PcieLength;\r
\r
\r
PlatformInfoHob->IohSku = MmPci16(0, MC_BUS, MC_DEV, MC_FUN, PCI_DEVICE_ID_OFFSET);\r
\r
PlatformInfoHob->IchRevision = PchLpcPciCfg8(PCI_REVISION_ID_OFFSET);\r
\r
- //\r
- //64MB\r
- //\r
- PcieLength = 0x04000000;\r
+ //\r
+ //64MB\r
+ //\r
+ PcieLength = 0x04000000;\r
\r
//\r
// Don't support BASE above 4GB currently.\r
//\r
PlatformInfoHob->SysData.SysIoApicEnable = ICH_IOAPIC;\r
\r
- DEBUG ((EFI_D_ERROR, "PlatformFlavor is %x (%x=tablet,%x=mobile,%x=desktop)\n", PlatformInfoHob->PlatformFlavor,FlavorTablet,FlavorMobile,FlavorDesktop));\r
+ DEBUG ((EFI_D_ERROR, "PlatformFlavor is %x (%x=tablet,%x=mobile,%x=desktop)\n",\r
+ PlatformInfoHob->PlatformFlavor,\r
+ FlavorTablet,\r
+ FlavorMobile,\r
+ FlavorDesktop));\r
\r
- //\r
- // Get Platform Info and fill the Hob.\r
- //\r
- PlatformInfoHob->RevisonId = PLATFORM_INFO_HOB_REVISION;\r
+ //\r
+ // Get Platform Info and fill the Hob.\r
+ //\r
+ PlatformInfoHob->RevisonId = PLATFORM_INFO_HOB_REVISION;\r
\r
- //\r
- // Get GPIO table\r
- //\r
- Status = MultiPlatformGpioTableInit (PeiServices, PlatformInfoHob);\r
+ //\r
+ // Get GPIO table\r
+ //\r
+ MultiPlatformGpioTableInit (PeiServices, PlatformInfoHob);\r
\r
- //\r
- // Program GPIO\r
- //\r
- Status = MultiPlatformGpioProgram (PeiServices, PlatformInfoHob);\r
+ //\r
+ // Program GPIO\r
+ //\r
+ MultiPlatformGpioProgram (PeiServices, PlatformInfoHob);\r
\r
- //\r
- // Update OemId\r
- //\r
- Status = InitializeBoardOemId (PeiServices, PlatformInfoHob);\r
- Status = InitializeBoardSsidSvid (PeiServices, PlatformInfoHob);\r
+ //\r
+ // Update OemId\r
+ //\r
+ InitializeBoardOemId (PeiServices, PlatformInfoHob);\r
+ InitializeBoardSsidSvid (PeiServices, PlatformInfoHob);\r
\r
- return EFI_SUCCESS;\r
+ return EFI_SUCCESS;\r
}\r