dm: serial: Allow driver-model serial to be disabled for TPL
authorSimon Glass <sjg@chromium.org>
Sun, 2 Apr 2017 15:50:32 +0000 (09:50 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2017 20:36:59 +0000 (16:36 -0400)
commit891f7ae63318293cd5807fb611f86f545080b1f6
tree27d59064d6f953675b95b162d48c0bfb70d2cd0b
parent5a6f06f696c9c4cf84666ac12b3b3bc3f6fcd93d
dm: serial: Allow driver-model serial to be disabled for TPL

Add separate enable/disable controls for driver-model serial. While this
is generally enabled in SPL it may not be in TPL, since serial output can
be obtained with the debug UART with minimal code size.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig
drivers/serial/Makefile