EmbeddedPkg : Add FdtPlatformDxe driver

The FdtPlatformDxe driver installs the FDT of the platform it
is running on into the UEFI Configuration table at the end of
the DXE phase.

Please refer to the README.txt file for a global overview of
the driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16933 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Ronald Cron
2015-02-25 19:20:57 +00:00
committed by oliviermartin
parent d0c1d371fb
commit 158497a094
6 changed files with 863 additions and 4 deletions

View File

@@ -0,0 +1,55 @@
#/** @file
#
# Copyright (c) 2015, ARM Ltd. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#**/
[Defines]
INF_VERSION = 0x00010006
BASE_NAME = FdtPlatformDxe
FILE_GUID = 6e9a4c69-57c6-4fcd-b083-4f2c3bdb6051
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 0.1
ENTRY_POINT = FdtPlatformEntryPoint
[Sources.common]
FdtPlatform.c
[Packages]
EmbeddedPkg/EmbeddedPkg.dec
ArmPkg/ArmPkg.dec
MdePkg/MdePkg.dec
[LibraryClasses]
UefiDriverEntryPoint
BdsLib
DxeServicesTableLib
BaseMemoryLib
DebugLib
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
[Protocols]
gEfiDevicePathFromTextProtocolGuid
[Guids]
gEfiEndOfDxeEventGroupGuid
gFdtTableGuid
gFdtVariableGuid
[FeaturePcd]
gEmbeddedTokenSpaceGuid.PcdOverridePlatformFdt
[Pcd]
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths
[Depex]
TRUE