]> git.sur5r.net Git - u-boot/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)
commitcac73f20acc85327e677602229d40c2aa7047767
treedfcf8d2fe3a75bbc25146a9655dd7a1d3723efbc
parent2d2531be861cb7ec25aa7980b1099ca4f5f46d86
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]