diff options
author | Star Zeng <star.zeng@intel.com> | 2015-11-30 03:18:40 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-11-30 03:18:40 +0000 |
commit | 051eb0c5f8c3b526af7be6cbcbf4314797d71899 (patch) | |
tree | 1f1f13490715a2813cf2b6d905a73a5e1ce10f7a /CorebootPayloadPkg/SerialDxe/SerialDxe.inf | |
parent | 07b3c219af6d777984145de4d7d6faab4b40418b (diff) | |
download | edk2-platforms-051eb0c5f8c3b526af7be6cbcbf4314797d71899.tar.xz |
CorebootPayloadPkg: Use SerialDxe in MdeModulePkg
1. Update fdf and dsc to use SerialDxe in MdeModulePkg.
2. Separate the code that gets SerialRegBase and SerialRegAccessType
by CbParseLib from CorebootPayloadPkg/Library/SerialPortLib to
PlatformHookLib, and then leverage BaseSerialPortLib16550 in
MdeModulePkg.
3. Remove CorebootPayloadPkg/SerialDxe and
CorebootPayloadPkg/Library/SerialPortLib.
(Sync patch r18968 from main trunk.)
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19018 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CorebootPayloadPkg/SerialDxe/SerialDxe.inf')
-rw-r--r-- | CorebootPayloadPkg/SerialDxe/SerialDxe.inf | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/CorebootPayloadPkg/SerialDxe/SerialDxe.inf b/CorebootPayloadPkg/SerialDxe/SerialDxe.inf deleted file mode 100644 index 04d993534e..0000000000 --- a/CorebootPayloadPkg/SerialDxe/SerialDxe.inf +++ /dev/null @@ -1,55 +0,0 @@ -#/** @file
-#
-# Convert SerialLib into SerialIo protocol
-#
-# Copyright (c) 2008 - 2014, Intel Corporation. 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 = 0x00010005
- BASE_NAME = SerialDxe
- FILE_GUID = D3987D4B-971A-435F-8CAF-4967EB627241
- MODULE_TYPE = DXE_DRIVER
- VERSION_STRING = 1.0
-
- ENTRY_POINT = SerialDxeInitialize
-
-[Sources.common]
- SerialIo.c
-
-[Packages]
- MdePkg/MdePkg.dec
- MdeModulePkg/MdeModulePkg.dec
-
-[LibraryClasses]
- BaseLib
- ReportStatusCodeLib
- MemoryAllocationLib
- UefiLib
- UefiBootServicesTableLib
- BaseMemoryLib
- DebugLib
- UefiDriverEntryPoint
- SerialPortLib
-
-
-[Protocols]
- gEfiSerialIoProtocolGuid
- gEfiDevicePathProtocolGuid
-
-[FixedPcd]
- gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
- gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits
- gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity
- gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits
-
-[Depex]
- TRUE
|