Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 01:07:39 +0000 (01:07 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 01:07:39 +0000 (01:07 +0000)
The fix is to change SerialPortInitialize() to always return RETURN_SUCCESS instead of RETURN_UNSUPPORTED.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11207 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.c

index f53d127d2a7a78c7169d45e7b6ac13a4b4b95d61..d44fa523c2d89f1b2251f55ea7963954255f84c2 100644 (file)
@@ -14,8 +14,6 @@
 \r
 \r
 #include <Base.h>\r
-\r
-\r
 #include <Library/SerialPortLib.h>\r
 \r
 /**\r
@@ -35,7 +33,7 @@ SerialPortInitialize (
   VOID\r
   )\r
 {\r
-  return RETURN_UNSUPPORTED;\r
+  return RETURN_SUCCESS;\r
 }\r
 \r
 /**\r