summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-01-25 12:05:52 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:35 -0500
commitcf2c7784bd73b77f3a4c423d59d38b47fa0504f1 (patch)
tree9228f2648f0f920ab2dd4e4d464319f1572bb55a /drivers/serial
parentd10fc50f78ebae7c7f52469eced7c0d6d8a89f8c (diff)
pl01x: Convert CONFIG_PL01X_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 pl01x. 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 99aa817e63..4167683885 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -459,6 +459,12 @@ config PL011_SERIAL
help
Select this to enable a UART for platforms using PL011.
+config PL01X_SERIAL
+ bool "ARM PL010 and PL011 driver"
+ depends on DM_SERIAL
+ help
+ Select this to enable a UART for platforms using PL010 or PL011.
+
config ROCKCHIP_SERIAL
bool "Rockchip on-chip UART support"
depends on DM_SERIAL && SPL_OF_PLATDATA