TianoCore EDK2 master
|
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/SpiConfiguration.h>
#include <Protocol/SpiHc.h>
#include <Protocol/SpiIo.h>
#include "SpiBus.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SpiBusEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
SPI bus DXE driver
Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SpiBusDxe.c.
EFI_STATUS EFIAPI SpiBusEntry | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entry point of the Spi Bus layer
[in] | ImageHandle | Image handle of this driver. |
[in] | SystemTable | Pointer to standard EFI system table. |
EFI_SUCCESS | Succeed. |
EFI_DEVICE_ERROR | SpiPeripheral is NULL. |
EFI_NOT_FOUND | Fail to locate SpiHcProtocol or SpiIoConfigurationProtocol |
EFI_OUT_OF_RESOURCES | Failed to allocate SpiIoChip |
Definition at line 32 of file SpiBusDxe.c.