History

serial: support 16-bit register interface for console

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)

Masahiro Yamada committed 11 years ago

Commit bd94c401 parent 004e2ed9 files · +57 −13Browse files

Showing the changes to include/uapi (1 of 9 files). Show all

Unified · Split

include/uapi/linux/serial.h+1−0
@@ -69,6 +69,7 @@ struct serial_struct { · 68 unmodified lines
69#define SERIAL_IO_AU 469#define SERIAL_IO_AU 4
70#define SERIAL_IO_TSI 570#define SERIAL_IO_TSI 5
71#define SERIAL_IO_MEM32BE 671#define SERIAL_IO_MEM32BE 6
72#define SERIAL_IO_MEM16 7
72 73
73#define UART_CLEAR_FIFO 0x0174#define UART_CLEAR_FIFO 0x01
74#define UART_USE_FIFO 0x0275#define UART_USE_FIFO 0x02

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t