bmips: remove unneeded downstream serial patch
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 23 Feb 2021 11:34:27 +0000 (12:34 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 23 Feb 2021 11:35:52 +0000 (12:35 +0100)
Disabling CONFIG_SERIAL_8250 makes the upstream serial driver work OOB.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/config-5.10
target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch [deleted file]

index e8386fa69060e147034e3dac9462a93e772d8910..86c71aaeef86d44b5d951d868aec0ae2968bad63 100644 (file)
@@ -213,9 +213,9 @@ CONFIG_RESET_BCM6345=y
 CONFIG_RESET_CONTROLLER=y
 CONFIG_RFS_ACCEL=y
 CONFIG_RPS=y
+# CONFIG_SERIAL_8250 is not set
 CONFIG_SERIAL_BCM63XX=y
 CONFIG_SERIAL_BCM63XX_CONSOLE=y
-CONFIG_SERIAL_MCTRL_GPIO=y
 CONFIG_SGL_ALLOC=y
 CONFIG_SMP=y
 CONFIG_SMP_UP=y
diff --git a/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch b/target/linux/bmips/patches-5.10/201-serial-bcm63xx-init-uart-earlier.patch
deleted file mode 100644 (file)
index 468f89d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/drivers/tty/serial/bcm63xx_uart.c
-+++ b/drivers/tty/serial/bcm63xx_uart.c
-@@ -916,7 +916,7 @@ static void __exit bcm_uart_exit(void)
-       uart_unregister_driver(&bcm_uart_driver);
- }
--module_init(bcm_uart_init);
-+subsys_initcall(bcm_uart_init);
- module_exit(bcm_uart_exit);
- MODULE_AUTHOR("Maxime Bizon <mbizon@freebox.fr>");