Remove unneeded return after ifdef

Pointed out by benjamindoron.  Residue return after config mod
negated the configuration option.

Signed-off-by: Eugene D Myers <cedarhouse@comcast.net>
This commit is contained in:
Eugene D Myers 2020-08-22 12:21:23 -04:00
parent cbdf338843
commit a5ef16fa62
2 changed files with 1 additions and 2 deletions

View File

@ -126,7 +126,7 @@ DebugPrint (
serial_initialized = 1;
SerialPortInitialize();
}
#if CONFIG_STM_CBMEM_CONSOLE == 1
#ifdef CONFIG_STM_CBMEM_CONSOLE
if(cbmem_initialized == 0)
{
init_cbcons();

View File

@ -151,7 +151,6 @@ fail:
void coreboot_debug_putc(char c)
{
#ifdef CONFIG_STM_CBMEM_CONSOLE
return;
if (!cbcon)
return;