]> git.dujemihanovic.xyz Git - u-boot.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)
commit2e2c514a40e956d857707f157201c5606c0e9da0
tree0067c4268daef0c84f82e829da4ec3402a92093e
parent7e45bb0867fd88ff044a71903882e6ff098dea11
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