soc: arc: snps_emsk: fix typo bug in DT define

DT_INST_{0,1}_NS16650 should be DT_INST_{0,1}_NS16550.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-03-19 01:00:28 -05:00 committed by Anas Nashif
commit 24fb6da4f3

View file

@ -18,14 +18,14 @@ static int uart_ns16550_init(struct device *dev)
/* On ARC EM Starter kit board, /* On ARC EM Starter kit board,
* send the UART the command to clear the interrupt * send the UART the command to clear the interrupt
*/ */
#ifdef DT_INST_0_NS16650 #ifdef DT_INST_0_NS16550
sys_write32(0, DT_INST_0_NS16550_BASE_ADDRESS+0x4); sys_write32(0, DT_INST_0_NS16550_BASE_ADDRESS+0x4);
sys_write32(0, DT_INST_0_NS16550_BASE_ADDRESS+0x10); sys_write32(0, DT_INST_0_NS16550_BASE_ADDRESS+0x10);
#endif /* DT_INST_0_NS16650 */ #endif /* DT_INST_0_NS16550 */
#ifdef DT_INST_1_NS16650 #ifdef DT_INST_1_NS16550
sys_write32(0, DT_INST_1_NS16550_BASE_ADDRESS+0x4); sys_write32(0, DT_INST_1_NS16550_BASE_ADDRESS+0x4);
sys_write32(0, DT_INST_1_NS16550_BASE_ADDRESS+0x10); sys_write32(0, DT_INST_1_NS16550_BASE_ADDRESS+0x10);
#endif /* DT_INST_1_NS16650 */ #endif /* DT_INST_1_NS16550 */
return 0; return 0;
} }