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:
Kumar Gala 2020-03-25 11:27:49 -05:00 committed by Kumar Gala
commit 55d4cd2aa8

View file

@ -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. */