Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are supported for the 8250 console, but the 16-bit (MMIO16) is not. The 8250 UART device on my board is connected to a 16-bit bus and my main motivation is to use earlycon with it. (Refer to arch/arm/boot/dts/uniphier-support-card.dtsi)
Showing the changes to include/uapi (1 of 9 files). Show all
Unified · Split
| @@ -69,6 +69,7 @@ struct serial_struct { · 68 unmodified lines | |||
| 69 | #define SERIAL_IO_AU 4 | 69 | #define SERIAL_IO_AU 4 |
| 70 | #define SERIAL_IO_TSI 5 | 70 | #define SERIAL_IO_TSI 5 |
| 71 | #define SERIAL_IO_MEM32BE 6 | 71 | #define SERIAL_IO_MEM32BE 6 |
| 72 | #define SERIAL_IO_MEM16 7 | ||
| 72 | 73 | ||
| 73 | #define UART_CLEAR_FIFO 0x01 | 74 | #define UART_CLEAR_FIFO 0x01 |
| 74 | #define UART_USE_FIFO 0x02 | 75 | #define UART_USE_FIFO 0x02 |