]> git.baikalelectronics.ru Git - uboot.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)
commit4dec833a788e7b77dc8ba84e9eea69605311e36a
tree1d49e9caeb0cb2dacadd4d1d02f2dd067ad63dfd
parentadfeffb901ba604494d5a049af057611541c566b
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