[PATCH v4 2/5] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set
Tom Rini
trini at konsulko.com
Mon May 19 16:48:27 CEST 2025
On Thu, May 15, 2025 at 05:55:45PM +0200, Lukasz Czechowski wrote:
> In case DEBUG UART is not used, define dummy macros replacing
> the actual function implementations that will not be available.
> This allows to compile code and avoid linker errors.
> Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available,
> to avoid compilation errors.
>
> Signed-off-by: Lukasz Czechowski <lukasz.czechowski at thaumatec.com>
After looking over the current state of the whole thread, this makes
sense to me as-is.
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250519/ef005867/attachment.sig>
More information about the U-Boot
mailing list