]> git.dujemihanovic.xyz Git - u-boot.git/commit
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2020 17:23:37 +0000 (11:23 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 23 Aug 2020 17:43:10 +0000 (13:43 -0400)
commit3ca0609adc726ed829325ef6363d6ff5402ea9bb
tree1d49e9caeb0cb2dacadd4d1d02f2dd067ad63dfd
parent7e15638d609182b651480b1054b60bf40bd0c6fd
stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV

Now that this is in Kconfig we can move the logic at the top of the file
to Kconfig, and use if() instead of #if. Update the file with these
changes.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/Kconfig
common/stdio.c