dm: serial: Allow the UART driver to be dropped from the image
authorSimon Glass <sjg@chromium.org>
Mon, 14 Dec 2015 04:36:58 +0000 (21:36 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit92c55b682cf24dc454d95149d3476dc66d514555
tree606529151644a1ef23dd6f0a31317be4da357f56
parentd4f847ecd789c8b99d98a512e85406255fa192ce
dm: serial: Allow the UART driver to be dropped from the image

In very very space-constrained devices even the full UART driver is too
large. In this case the debug UART can still be used in some cases.

Add options to enable the UART driver in SPL and U-Boot proper. Enable both
options by default.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Thomas Chou <thomas@wytron.com.tw>
drivers/serial/Kconfig
drivers/serial/serial-uclass.c