CorebootPayloadPkg: Use SerialDxe in MdeModulePkg
authorStar Zeng <star.zeng@intel.com>
Thu, 26 Nov 2015 08:49:26 +0000 (08:49 +0000)
committerlzeng14 <lzeng14@Edk2>
Thu, 26 Nov 2015 08:49:26 +0000 (08:49 +0000)
commitbae5ddc057959f264cfedad2b512afc770b1ee7f
tree54bb231ebed8458361a194829bbb340a9cce7213
parent9fffd8e204bbd2022e06adaacfbe5eeab7fcce7f
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
CorebootPayloadPkg/CorebootPayloadPkg.fdf
CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc
CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc
CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h
CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.c [new file with mode: 0644]
CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf [new file with mode: 0644]
CorebootPayloadPkg/Library/SerialPortLib/SerialPortLib.c [deleted file]
CorebootPayloadPkg/Library/SerialPortLib/SerialPortLib.inf [deleted file]
CorebootPayloadPkg/SerialDxe/SerialDxe.inf [deleted file]
CorebootPayloadPkg/SerialDxe/SerialIo.c [deleted file]