.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | | -#if defined(CONFIG_SERIAL_EFM32_UART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) |
---|
3 | | -#define SUPPORT_SYSRQ |
---|
4 | | -#endif |
---|
5 | | - |
---|
6 | 2 | #include <linux/kernel.h> |
---|
7 | 3 | #include <linux/module.h> |
---|
8 | 4 | #include <linux/io.h> |
---|
.. | .. |
---|
204 | 200 | /* |
---|
205 | 201 | * This is a reserved bit and I only saw it read as 0. But to be |
---|
206 | 202 | * sure not to be confused too much by new devices adhere to the |
---|
207 | | - * warning in the reference manual that reserverd bits might |
---|
| 203 | + * warning in the reference manual that reserved bits might |
---|
208 | 204 | * read as 1 in the future. |
---|
209 | 205 | */ |
---|
210 | 206 | rxdata &= ~SW_UARTn_RXDATAX_BERR; |
---|
.. | .. |
---|
748 | 744 | efm_port->port.type = PORT_EFMUART; |
---|
749 | 745 | efm_port->port.iotype = UPIO_MEM32; |
---|
750 | 746 | efm_port->port.fifosize = 2; |
---|
| 747 | + efm_port->port.has_sysrq = IS_ENABLED(CONFIG_SERIAL_EFM32_UART_CONSOLE); |
---|
751 | 748 | efm_port->port.ops = &efm32_uart_pops; |
---|
752 | 749 | efm_port->port.flags = UPF_BOOT_AUTOCONF; |
---|
753 | 750 | |
---|