]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Library/SerialPortLib/SerialPortLib.c
EmbeddedPkg: Introduced a separate SerialPortExtLib library
[mirror_edk2.git] / Omap35xxPkg / Library / SerialPortLib / SerialPortLib.c
index 9a70593dbf8babc45ee418c7c4d77a17c62abe51..2f93140e4cc850c8215c1a09063eaca4c4acd051 100644 (file)
@@ -17,7 +17,6 @@
 #include <Base.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/SerialPortLib.h>\r
-#include <Library/SerialPortExtLib.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/IoLib.h>\r
 #include <Library/OmapLib.h>\r
@@ -123,57 +122,3 @@ SerialPortPoll (
   }\r
 }\r
 \r
-/**\r
-  Set the serial device control bits.\r
-\r
-  @return    Always return EFI_UNSUPPORTED.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-SerialPortSetControl (\r
-  IN UINT32                   Control\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r
-/**\r
-  Get the serial device control bits.\r
-\r
-  @param  Control                 Control signals read from the serial device.\r
-\r
-  @retval EFI_SUCCESS             The control bits were read from the serial device.\r
-  @retval EFI_DEVICE_ERROR        The serial device is not functioning correctly.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-SerialPortGetControl (\r
-  OUT UINT32                  *Control\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r
-\r
-/**\r
-  Set the serial device attributes.\r
-\r
-  @return    Always return EFI_UNSUPPORTED.\r
-\r
-**/\r
-RETURN_STATUS\r
-EFIAPI\r
-SerialPortSetAttributes (\r
-  IN UINT64              BaudRate,\r
-  IN UINT32              ReceiveFifoDepth,\r
-  IN UINT32              Timeout,\r
-  IN EFI_PARITY_TYPE     Parity,\r
-  IN UINT8               DataBits,\r
-  IN EFI_STOP_BITS_TYPE  StopBits\r
-  )\r
-{\r
-  return RETURN_SUCCESS;\r
-}\r
-\r