]> git.baikalelectronics.ru Git - uboot.git/commit
serial: ns16550: Allow serial to enabled/disabled in SPL
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:14 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:51:01 +0000 (13:51 +0800)
commit7d4d6bfeafc7167723e45309c5d8738e304b720d
tree0067c4268daef0c84f82e829da4ec3402a92093e
parente49b20ba8827ee7c118c06705a2de09ed6d95960
serial: ns16550: Allow serial to enabled/disabled in SPL

At present this driver uses the wrong condition for including the code and
drivers in SPL/TPL. Update it so that the code is only included if
DM_SERIAL is enabled for SPL/TPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/serial/ns16550.c