driver: uart: ns16550: convert to DT_INST_*
Change to code to use the automatically generated DT_INST_* defines and remove the now unneeded configs and fixups. Signed-off-by: Timo Teräs <timo.teras@iki.fi>
This commit is contained in:
parent
e740818093
commit
6fd168e9a1
49 changed files with 94 additions and 505 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
/* Super-primitive 8250/16550 serial output-only driver, 115200 8n1 */
|
||||
|
||||
#define PORT ((io_port_t)DT_UART_NS16550_PORT_0_BASE_ADDR)
|
||||
#define PORT ((io_port_t)DT_INST_0_NS16550_BASE_ADDRESS)
|
||||
|
||||
#define REG_IER 0x01 /* Interrupt enable reg. */
|
||||
#define REG_LCR 0x03 /* Line control reg. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue