rb532-serial.patch 644 B

1234567891011121314151617
  1. diff -Nur linux-4.14.334.orig/arch/mips/rb532/devices.c linux-4.14.334/arch/mips/rb532/devices.c
  2. --- linux-4.14.334.orig/arch/mips/rb532/devices.c 2023-12-20 15:32:39.000000000 +0100
  3. +++ linux-4.14.334/arch/mips/rb532/devices.c 2026-04-21 10:44:49.676097062 +0200
  4. @@ -225,11 +225,11 @@
  5. static struct plat_serial8250_port rb532_uart_res[] = {
  6. {
  7. .type = PORT_16550A,
  8. - .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE),
  9. + .mapbase = REGBASE + UART0BASE,
  10. .irq = UART0_IRQ,
  11. .regshift = 2,
  12. .iotype = UPIO_MEM,
  13. - .flags = UPF_BOOT_AUTOCONF,
  14. + .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
  15. },
  16. {
  17. .flags = 0,