]> git.baikalelectronics.ru Git - uboot.git/commit
serial: nulldev: Add nulldev serial driver
authorKeng Soon Cheah <keng.soon.cheah@ni.com>
Fri, 25 Aug 2017 03:29:07 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Sep 2017 13:24:24 +0000 (09:24 -0400)
commit4fd673bc522836432c0e3029ec5232447657173a
treedfcf8d2fe3a75bbc25146a9655dd7a1d3723efbc
parent9b92f93e978d9db05b28b57940f46e11c2946b3e
serial: nulldev: Add nulldev serial driver

Some device the serial console's initialization cannot run early during
the boot process. Hence, nulldev serial device is helpful on that
situation.

For example, if the serial module was implemented in FPGA. Serial
initialization is prohibited to run until the FPGA was programmed.

This commit is to adding nulldev serial driver. This will allows the
default console to be specified as a nulldev.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Keng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/serial_nulldev.c [new file with mode: 0644]