Fix issue when BaseDebugLibSerialPort is combined with BaseSerialPortLibNull. It will ASSERT() due to the recent addition of a CONSTRUCTOR to BaseDebugLibSerialPort that calls SerialPortInitialize().

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
This commit is contained in:
mdkinney 2010-12-30 01:07:39 +00:00
parent 8e456a7794
commit a06638eac2
1 changed files with 1 additions and 3 deletions

View File

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