summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-01-25 12:05:51 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:35 -0500
commitd10fc50f78ebae7c7f52469eced7c0d6d8a89f8c (patch)
treed37538f8b63bc870fa67d7857fcff6ae890b4fe4 /drivers/serial
parent884f901368c153c28778f8e13fbf206fe2b6884f (diff)
pl011: Convert CONFIG_PL011_SERIAL to Kconfig
We want to use Kconfig logic to depend on whether pl01x devices are built in, so let's convert their inclusion selection to Kconfig. This round goes to pl011. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 2816121dec..99aa817e63 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -453,6 +453,12 @@ config PL010_SERIAL
help
Select this to enable a UART for platforms using PL010.
+config PL011_SERIAL
+ bool "ARM PL011 driver"
+ depends on !DM_SERIAL
+ help
+ Select this to enable a UART for platforms using PL011.
+
config ROCKCHIP_SERIAL
bool "Rockchip on-chip UART support"
depends on DM_SERIAL && SPL_OF_PLATDATA