summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-22 15:47:08 +0300
committerTom Rini <trini@konsulko.com>2021-07-08 05:22:42 +0300
commitbc08dc563e4e79f7fd06a6e81acfd2d570961a8d (patch)
treeabee6596b2aafd9bda4084408037edc1b70d81a4 /drivers/serial
parentf4a6f75b48c1565b5d1be9a90c3f5a21d588b936 (diff)
downloadu-boot-bc08dc563e4e79f7fd06a6e81acfd2d570961a8d.tar.xz
arm: Remove edb9315a board
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last PL010_SERIAL using board, so remove those references. Cc: Sergey Kostanbaev <sergey.kostanbaev@fairwaves.ru> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/Kconfig8
-rw-r--r--drivers/serial/Makefile1
-rw-r--r--drivers/serial/serial_pl01x.c4
3 files changed, 2 insertions, 11 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 9f82467c4e..961e3fb031 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -332,7 +332,7 @@ config DEBUG_UART_APBUART
config DEBUG_UART_PL010
bool "pl010"
- depends on PL01X_SERIAL || PL010_SERIAL
+ depends on PL01X_SERIAL
help
Select this to enable a debug UART using the pl01x driver with the
PL010 UART type. You will need to provide parameters to make this
@@ -695,12 +695,6 @@ config INTEL_MID_SERIAL
Select this to enable a UART for Intel MID platforms.
This uses the ns16550 driver as a library.
-config PL010_SERIAL
- bool "ARM PL010 driver"
- depends on !DM_SERIAL
- help
- Select this to enable a UART for platforms using PL010.
-
config PL011_SERIAL
bool "ARM PL011 driver"
depends on !DM_SERIAL
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 6c0fdca586..3cbea8156f 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -24,7 +24,6 @@ endif
ifdef CONFIG_DM_SERIAL
obj-$(CONFIG_PL01X_SERIAL) += serial_pl01x.o
else
-obj-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
obj-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
obj-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
endif
diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c
index 5283d5ed11..76b96ad414 100644
--- a/drivers/serial/serial_pl01x.c
+++ b/drivers/serial/serial_pl01x.c
@@ -191,9 +191,7 @@ static void pl01x_serial_init_baud(int baudrate)
{
int clock = 0;
-#if defined(CONFIG_PL010_SERIAL)
- pl01x_type = TYPE_PL010;
-#elif defined(CONFIG_PL011_SERIAL)
+#if defined(CONFIG_PL011_SERIAL)
pl01x_type = TYPE_PL011;
clock = CONFIG_PL011_CLOCK;
#endif