]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/EmbeddedPkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
index 6120c46b3515c066ef435a68e40efc2255e29bcb..e9062cacbb42995c3ebfaf4b0535e51ba9938bc9 100644 (file)
@@ -2,17 +2,11 @@
 # Embedded Package\r
 #\r
 #\r
-# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
 # Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>\r
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 #\r
-#    This program and the accompanying materials\r
-#    are licensed and made available under the terms and conditions of the BSD License\r
-#    which accompanies this distribution. The full text of the license may be found at\r
-#    http://opensource.org/licenses/bsd-license.php\r
-#\r
-#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#    SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 #**/\r
 \r
@@ -27,8 +21,8 @@
   PLATFORM_VERSION               = 0.1\r
   DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/Embedded\r
-  SUPPORTED_ARCHITECTURES        = IA32|X64|IPF|ARM|AARCH64\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|ARM|AARCH64\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
 \r
@@ -46,6 +40,9 @@
 # Library Class section - list of all Library Classes needed by this Platform.\r
 #\r
 ################################################################################\r
+\r
+!include MdePkg/MdeLibs.dsc.inc\r
+\r
 [LibraryClasses.common]\r
 #  DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
 \r
   # Networking Requirements\r
-  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
+  !include NetworkPkg/NetworkLibs.dsc.inc\r
   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
 \r
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
   DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
 \r
+  TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
+\r
 [LibraryClasses.common.DXE_DRIVER]\r
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
-  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
+  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
 \r
 \r
 [LibraryClasses.common.UEFI_APPLICATION]\r
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
-  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
+  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
 \r
 [LibraryClasses.common.UEFI_DRIVER]\r
   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
-  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
+  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
 \r
 [LibraryClasses.common.SEC]\r
   ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
 \r
-  #\r
-  # Control what commands are supported from the UI\r
-  # Turn these on and off to add features or save size\r
-  #\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
-\r
   gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
 \r
 \r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
   gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
 \r
   gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
   gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
 # Values are in EFI Pages (4K). DXE Core will make sure that\r
 # at least this much of each type of memory can be allocated\r
 # from a single memory range. This way you only end up with\r
-# maximum of two fragements for each type in the memory map\r
+# maximum of two fragments for each type in the memory map\r
 # (the memory used, and the free memory that was prereserved\r
 # but not used).\r
 #\r
   gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
   gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
 \r
-[PcdsFixedAtBuild.IPF]\r
-  gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
-\r
-#\r
-# This makes it so you can source level debug with NT32. VC++ debugger limitiation!\r
-#\r
-#[BuildOptions]\r
-#  DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
-#  RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096\r
-#  *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006\r
-\r
 [BuildOptions]\r
-  RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security\r
   *_*_*_CC_FLAGS  = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
 \r
 ################################################################################\r
   EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf\r
   EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r
   EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
+  EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf\r
 \r
   EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
   EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
 \r
   EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
 \r
-  # Drivers\r
-  EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf\r
-  EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf\r
-\r
   EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
   EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
   EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
-  EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
   EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
   EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
 \r
   EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf\r
   EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf\r
+  EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.inf\r
 \r
-[Components.ARM]\r
-  EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r
+  EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf {\r
+    <LibraryClasses>\r
+      DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r
+  }\r
 \r
 [Components.ARM, Components.AARCH64]\r
   EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf\r
   EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
   EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r
 \r
-[Components.IA32, Components.X64, Components.IPF, Components.ARM]\r
+[Components.IA32, Components.X64, Components.ARM]\r
   EmbeddedPkg/GdbStub/GdbStub.inf\r