dm: serial: Remove serial drivers not yet converted to driver model
cover dm: serial: Remove serial drivers not yet converted to driver model
The deadline was yesterday, so lets remove all the drivers that are not converted and don't appear to be used.
There are still five that do seem to be in use but are not converted:
arm_dcc.c
mcfuart.c
serial_bfin.c
serial_pxa.c
serial_s3c24x0.c
I will send emails to the maintainers to get these completed.
Simon Glass (6):
dm: freescale: Drop mxs_auart serial driver
dm: opencores: Drop opencores_yanu serial driver
dm: freescale: serial: Drop serial_imx serial driver
dm: serial: Drop serial_max3100 serial driver
dm: pxa: serial: Drop serial_sa1100 serial driver
dm: Update on current serial driver status
doc/driver-model/serial-howto.txt | 14 +- drivers/serial/Makefile | 5 - drivers/serial/mxs_auart.c | 151 -------------------- drivers/serial/opencores_yanu.c | 242 ------------------------------- drivers/serial/serial_imx.c | 223 ----------------------------- drivers/serial/serial_max3100.c | 294 -------------------------------------- drivers/serial/serial_sa1100.c | 162 --------------------- include/configs/mxs.h | 2 - 8 files changed, 4 insertions(+), 1089 deletions(-) delete mode 100644 drivers/serial/mxs_auart.c delete mode 100644 drivers/serial/opencores_yanu.c delete mode 100644 drivers/serial/serial_imx.c delete mode 100644 drivers/serial/serial_max3100.c delete mode 100644 drivers/serial/serial_sa1100.c
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 1/6 dm: freescale: Drop mxs_auart serial driver
This does not appear to be used, and has not been converted to driver model by the deadline (doc/driver-model/serial-howto.txt).
---
drivers/serial/Makefile | 1 - drivers/serial/mxs_auart.c | 151 --------------------------------------------- include/configs/mxs.h | 2 - 3 files changed, 154 deletions(-) delete mode 100644 drivers/serial/mxs_auart.c
drivers/serial/Makefile +0 -1
@@ -37,7 +37,6 @@ obj-$(CONFIG_SCIF_CONSOLE) += serial_sh.o obj-$(CONFIG_ZYNQ_SERIAL) += serial_zynq.o obj-$(CONFIG_BFIN_SERIAL) += serial_bfin.o obj-$(CONFIG_FSL_LPUART) += serial_lpuart.o -obj-$(CONFIG_MXS_AUART) += mxs_auart.o obj-$(CONFIG_ARC_SERIAL) += serial_arc.o obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o
drivers/serial/mxs_auart.c deleted +0 -151
151 lines not on this page · raw message
include/configs/mxs.h +0 -2
@@ -121,12 +121,10 @@* DUART Serial Driver. * Conflicts with AUART driver which can be set by board. */ -#ifndef CONFIG_MXS_AUART #define CONFIG_PL011_SERIAL #define CONFIG_PL011_CLOCK 24000000#define CONFIG_PL01x_PORTS { (void *)MXS_UARTDBG_BASE }#define CONFIG_CONS_INDEX 0 -#endif /* Default baudrate can be overriden by board! */ #ifndef CONFIG_BAUDRATE #define CONFIG_BAUDRATE 115200
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 1/6 dm: freescale: Drop mxs_auart serial driver
Quoted 4 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/9a88115c/attachment.sig>
PATCH 2/6 dm: opencores: Drop opencores_yanu serial driver
In reply to Simon GlassThis does not appear to be used, and has not been converted to driver model by the deadline (doc/driver-model/serial-howto.txt).
---
drivers/serial/Makefile | 1 - drivers/serial/opencores_yanu.c | 242 ---------------------------------------- 2 files changed, 243 deletions(-) delete mode 100644 drivers/serial/opencores_yanu.c
drivers/serial/Makefile +0 -1
@@ -22,7 +22,6 @@ obj-$(CONFIG_ATMEL_USART) += atmel_usart.o obj-$(CONFIG_EFI_APP) += serial_efi.o obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o obj-$(CONFIG_MCFUART) += mcfuart.o -obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o obj-$(CONFIG_SYS_NS16550) += ns16550.o obj-$(CONFIG_S5P) += serial_s5p.o obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
drivers/serial/opencores_yanu.c deleted +0 -242
242 lines not on this page · raw message
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 2/6 dm: opencores: Drop opencores_yanu serial driver
Quoted 4 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>
Dead code:
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160204/02b6e16f/attachment.sig>
PATCH 2/6 dm: opencores: Drop opencores_yanu serial driver
In reply to Simon GlassQuoted 5 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/ca53907b/attachment.sig>
PATCH 3/6 dm: freescale: serial: Drop serial_imx serial driver
In reply to Simon GlassThis does not appear to be used, and has not been converted to driver model by the deadline (doc/driver-model/serial-howto.txt).
---
drivers/serial/Makefile | 1 - drivers/serial/serial_imx.c | 223 -------------------------------------------- 2 files changed, 224 deletions(-) delete mode 100644 drivers/serial/serial_imx.c
drivers/serial/Makefile +0 -1
@@ -24,7 +24,6 @@ obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o obj-$(CONFIG_MCFUART) += mcfuart.o obj-$(CONFIG_SYS_NS16550) += ns16550.o obj-$(CONFIG_S5P) += serial_s5p.o -obj-$(CONFIG_IMX_SERIAL) += serial_imx.o obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o obj-$(CONFIG_MXC_UART) += serial_mxc.o obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
drivers/serial/serial_imx.c deleted +0 -223
223 lines not on this page · raw message
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 3/6 dm: freescale: serial: Drop serial_imx serial driver
Quoted 4 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>
Dead code:
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160204/480dc9d3/attachment.sig>
PATCH 3/6 dm: freescale: serial: Drop serial_imx serial driver
In reply to Simon GlassQuoted 5 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/54905a95/attachment.sig>
PATCH 4/6 dm: serial: Drop serial_max3100 serial driver
In reply to Simon GlassThis does not appear to be used, and has not been converted to driver model by the deadline (doc/driver-model/serial-howto.txt).
---
drivers/serial/Makefile | 1 - drivers/serial/serial_max3100.c | 294 ---------------------------------------- 2 files changed, 295 deletions(-) delete mode 100644 drivers/serial/serial_max3100.c
drivers/serial/Makefile +0 -1
@@ -24,7 +24,6 @@ obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o obj-$(CONFIG_MCFUART) += mcfuart.o obj-$(CONFIG_SYS_NS16550) += ns16550.o obj-$(CONFIG_S5P) += serial_s5p.o -obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o obj-$(CONFIG_MXC_UART) += serial_mxc.o obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o obj-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o
drivers/serial/serial_max3100.c deleted +0 -294
294 lines not on this page · raw message
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 4/6 dm: serial: Drop serial_max3100 serial driver
Quoted 4 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>
Dead code:
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160204/c59cc01c/attachment.sig>
PATCH 4/6 dm: serial: Drop serial_max3100 serial driver
In reply to Simon GlassQuoted 5 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/52276188/attachment.sig>
PATCH 5/6 dm: pxa: serial: Drop serial_sa1100 serial driver
In reply to Simon GlassThis does not appear to be used, and has not been converted to driver model by the deadline (doc/driver-model/serial-howto.txt).
---
drivers/serial/Makefile | 1 - drivers/serial/serial_sa1100.c | 162 ----------------------------------------- 2 files changed, 163 deletions(-) delete mode 100644 drivers/serial/serial_sa1100.c
drivers/serial/Makefile +0 -1
@@ -26,7 +26,6 @@ obj-$(CONFIG_SYS_NS16550) += ns16550.o obj-$(CONFIG_S5P) += serial_s5p.o obj-$(CONFIG_MXC_UART) += serial_mxc.o obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o -obj-$(CONFIG_SA1100_SERIAL) += serial_sa1100.o obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o
drivers/serial/serial_sa1100.c deleted +0 -162
162 lines not on this page · raw message
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 5/6 dm: pxa: serial: Drop serial_sa1100 serial driver
Quoted 4 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>
Dead code:
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160204/fbe17d74/attachment.sig>
PATCH 5/6 dm: pxa: serial: Drop serial_sa1100 serial driver
In reply to Simon GlassQuoted 5 lines · Simon Glass
This does not appear to be used, and has not been converted to driver model by the deadline (
doc/driver-model/serial-howto.txt).Signed-off-by Simon Glass <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/b3db92b1/attachment.sig>
PATCH 6/6 dm: Update on current serial driver status
In reply to Simon GlassUpdate the README to reflect the current status.
---
doc/driver-model/serial-howto.txt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)
doc/driver-model/serial-howto.txt +4 -10
@@ -1,23 +1,17 @@ How to port a serial driver to driver model =========================================== -About 16 of 33 serial drivers have been converted as at September 2015. It -is time for maintainers to start converting over the remaining serial drivers: +Almost all of the serial drivers have been converted as at January 2016. These +ones remain: arm_dcc.c - lpc32xx_hsuart.c mcfuart.c - mxs_auart.c - opencores_yanu.c serial_bfin.c - serial_imx.c - serial_max3100.c serial_pxa.c serial_s3c24x0.c - serial_sa1100.c - usbtty.c -You should complete this by the end of January 2016. +The deadline for this work was the end of January 2016. If no one steps +forward to convert these, at some point there may come a patch to remove them! Here is a suggested approach for converting your serial driver over to driver model. Please feel free to update this file with your ideas and suggestions.
Signature · 1 line
2.7.0.rc3.207.g0ac5344
PATCH 6/6 dm: Update on current serial driver status
Quoted 3 lines · Simon Glass
Update the README to reflect the current status.
Signed-off-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160208/ab0da110/attachment.sig>