diff options
author | Keng Soon Cheah <keng.soon.cheah@ni.com> | 2017-08-24 20:29:07 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-13 09:24:24 -0400 |
commit | cac73f20acc85327e677602229d40c2aa7047767 (patch) | |
tree | dfcf8d2fe3a75bbc25146a9655dd7a1d3723efbc /drivers/serial/Makefile | |
parent | 2d2531be861cb7ec25aa7980b1099ca4f5f46d86 (diff) | |
download | u-boot-cac73f20acc85327e677602229d40c2aa7047767.tar.gz |
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>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r-- | drivers/serial/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index 72a6996a0a..7adcee3e10 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile @@ -49,6 +49,7 @@ obj-$(CONFIG_BCM283X_MU_SERIAL) += serial_bcm283x_mu.o obj-$(CONFIG_MSM_SERIAL) += serial_msm.o obj-$(CONFIG_MVEBU_A3700_UART) += serial_mvebu_a3700.o obj-$(CONFIG_MPC8XX_CONS) += serial_mpc8xx.o +obj-$(CONFIG_NULLDEV_SERIAL) += serial_nulldev.o ifndef CONFIG_SPL_BUILD obj-$(CONFIG_USB_TTY) += usbtty.o |