arch: x86: Convert to new DT_INST macros
Convert older DT_INST_ macro use the new include/devicetree.h DT_INST macro APIs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
e31026310d
commit
55d4cd2aa8
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
/* Super-primitive 8250/16550 serial output-only driver, 115200 8n1 */
|
||||
|
||||
#define PORT ((io_port_t)DT_INST_0_NS16550_BASE_ADDRESS)
|
||||
#define PORT ((io_port_t)DT_REG_ADDR(DT_INST(0, ns16550)))
|
||||
|
||||
#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