]> git.baikalelectronics.ru Git - uboot.git/commit
serial: ns16550: Add support for SPL_DEBUG_UART_BASE
authorPali Rohár <pali@kernel.org>
Fri, 6 May 2022 09:05:16 +0000 (11:05 +0200)
committerStefan Roese <sr@denx.de>
Tue, 17 May 2022 04:44:06 +0000 (06:44 +0200)
commitb320cbd79bb367c621c27e18e42f5ac1210d9ab6
tree6547670477b84267c6187cb5b1fb556836c35605
parentaff755349bedf8a292b1656397dfc15fbf1a1fab
serial: ns16550: Add support for SPL_DEBUG_UART_BASE

Use CONFIG_VAL(DEBUG_UART_BASE) instead of CONFIG_DEBUG_UART_BASE, so
proper config value (CONFIG_DEBUG_UART_BASE or CONFIG_SPL_DEBUG_UART_BASE)
is used based on building target.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/serial/ns16550.c