mirror of https://github.com/acidanthera/audk.git
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:
parent
8e456a7794
commit
a06638eac2
|
@ -14,8 +14,6 @@
|
|||
|
||||
|
||||
#include <Base.h>
|
||||
|
||||
|
||||
#include <Library/SerialPortLib.h>
|
||||
|
||||
/**
|
||||
|
@ -35,7 +33,7 @@ SerialPortInitialize (
|
|||
VOID
|
||||
)
|
||||
{
|
||||
return RETURN_UNSUPPORTED;
|
||||
return RETURN_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue