[PATCH v4 1/5] efi: stub: Define debug uart functions only if CONFIG_DEBUG_UART is enabled

Quentin Schulz quentin.schulz at cherry.de
Fri May 16 17:22:17 CEST 2025


Hi Lukasz,

On 5/15/25 5:55 PM, Lukasz Czechowski wrote:
> Initialize the debug uart only in case CONFIG_DEBUG_UART is
> enabled. The _debug_uart_putc is used internally by debug uart
> functions, so it must be also included inside #ifdef block,
> otherwise it will cause compilation warnings.
> 
> Signed-off-by: Lukasz Czechowski <lukasz.czechowski at thaumatec.com>

Suggested-by: Quentin Schulz <quentin.schulz at cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks!
Quentin


More information about the U-Boot mailing list