]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: use CONFIG_IS_ENABLED() when checking for DM_SERIAL in include/asm/config.h
authorMarek Mojík <marek.mojik@nic.cz>
Thu, 6 Jun 2024 16:33:25 +0000 (18:33 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jul 2024 19:07:43 +0000 (13:07 -0600)
commit6c6a4115c9eb6483313f77da777e0548230ebc55
treeb0bb36356bf470f2a827892563167447168a2429
parent748023c6bacc82f04f08f7251347debadefc34d5
powerpc: use CONFIG_IS_ENABLED() when checking for DM_SERIAL in include/asm/config.h

Use the CONFIG_IS_ENABLED() macro when checking for DM_SERIAL so that
CFG_SYS_NS16550_CLK is not defined as get_serial_clock() in SPL if SPL
does not have DM_SERIAL enabled.

Signed-off-by: Marek Mojík <marek.mojik@nic.cz>
Reviewed-by: Marek Behún <kabel@kernel.org>
arch/powerpc/include/asm/config.h