Home
last modified time | relevance | path

Searched refs:SpiAddress (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperDxe.c243 UINT64 SpiAddress; in PlatformFlashLockPolicy() local
270 SpiAddress = 0; in PlatformFlashLockPolicy()
271 …if (!PlatformIsSpiRangeProtected ((UINT32) SpiAddress, (UINT32) (CpuAddressNvStorage - CpuAddressF… in PlatformFlashLockPolicy()
275 (UINTN) SpiAddress, (UINTN)(CpuAddressNvStorage - CpuAddressFlashDevice)) in PlatformFlashLockPolicy()
279 (UINT32) SpiAddress, in PlatformFlashLockPolicy()
288 SpiAddress = CpuAddressNvStorage - CpuAddressFlashDevice; in PlatformFlashLockPolicy()
289 SpiAddress += ((UINT64) PcdGet32 (PcdFlashNvStorageVariableSize)); in PlatformFlashLockPolicy()
294 …if (!PlatformIsSpiRangeProtected ((UINT32) SpiAddress, SpiFlashDeviceSize - ((UINT32) SpiAddress))… in PlatformFlashLockPolicy()
298 (UINTN) SpiAddress, in PlatformFlashLockPolicy()
299 (UINTN) (SpiFlashDeviceSize - ((UINT32) SpiAddress))) in PlatformFlashLockPolicy()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/FlashDeviceLib/
DFlashDeviceLib.c41 UINT32 SpiAddress; in SpiFlashErase() local
43 SpiAddress = (UINT32)(UINTN)(BaseAddress) - (UINT32)FlashDeviceBase; in SpiFlashErase()
53 (UINT32) SpiAddress, in SpiFlashErase()
61 SpiAddress += SectorSize; in SpiFlashErase()
77 UINT32 SpiAddress; in SpiFlashBlockErase() local
79 SpiAddress = (UINT32)(UINTN)(BaseAddress) - (UINT32)FlashDeviceBase; in SpiFlashBlockErase()
89 (UINT32) SpiAddress, in SpiFlashBlockErase()
97 SpiAddress += SectorSize; in SpiFlashBlockErase()
116 UINT32 SpiAddress; in SpiFlashWrite() local
118 SpiAddress = (UINT32)(UINTN)(DstBufferPtr) - (UINT32)FlashDeviceBase; in SpiFlashWrite()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscBiosVendorFunction.c67 UINT32 SpiAddress; in FlashRead()
70 SpiAddress = (UINT32)(UINTN)(BaseAddress); in FlashRead()
80 (UINT32) SpiAddress, in FlashRead()
88 Print(L"Read SPI ROM Failed [%08x]\n", SpiAddress); in FlashRead()