diff options
author | Star Zeng <star.zeng@intel.com> | 2015-11-26 08:49:26 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-11-26 08:49:26 +0000 |
commit | bae5ddc057959f264cfedad2b512afc770b1ee7f (patch) | |
tree | 54bb231ebed8458361a194829bbb340a9cce7213 /CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h | |
parent | 9fffd8e204bbd2022e06adaacfbe5eeab7fcce7f (diff) | |
download | edk2-bae5ddc057959f264cfedad2b512afc770b1ee7f.tar.gz |
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.
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/trunk/edk2@18968 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h')
-rw-r--r-- | CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h b/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h index 975a77186..641e1cbf0 100644 --- a/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h +++ b/CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h @@ -1,7 +1,7 @@ /** @file
Head file for BDS Platform specific code
-Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2014 - 2015, 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
@@ -29,7 +29,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Library/DevicePathLib.h>
#include <Protocol/PciIo.h>
-#include <Protocol/SerialIo.h>
#include <Guid/GlobalVariable.h>
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];
@@ -94,7 +93,7 @@ extern VENDOR_DEVICE_PATH gUartDeviceVenderNode; (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8) \
} \
}, \
- EFI_SERIAL_IO_PROTOCOL_GUID \
+ {0xD3987D4B, 0x971A, 0x435F, {0x8C, 0xAF, 0x49, 0x67, 0xEB, 0x62, 0x72, 0x41}} \
}
#define gUart \
|