serial: Add a SERIAL config
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:13 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commit52510486c59bf3a2dd91d636045af73da562a90b
tree8ea71e57cd695b98573abc919fbd2dbd586b6e00
parent2a736066687168f17a5a92c3b08d16bafc464954
serial: Add a SERIAL config

At present we have SPL_SERIAL and TPL_SERIAL but not piain SERIAL. This
works because there is a special build rule in Makefile that always
includes the drivers/serial directory.

It is better to have all driver directories included by drivers/Makefile
and there is already a rule in there for this purpose. It just needs a
Kconfig for U-Boot proper, so add one.

It is always enabled, for now, since that mimics the current behaviour.
It should be possible to drop the strange 'SERIAL_PRESENT' option at some
point and use SERIAL instead.

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