Skip to content

Commit 416dd6c

Browse files
gmarullcarlescufi
authored andcommitted
soc: arch: snps_arc_iot: select UART_NS16550_ACCESS_IOPORT
NS16550 driver no longer relies on definitions found in <soc.h>, SoC can select UART_NS16550_ACCESS_IOPORT instead. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 7e1baee commit 416dd6c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

soc/arc/snps_arc_iot/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ config UART_NS16550
3838
default y
3939
depends on SERIAL
4040

41+
config UART_NS16550_ACCESS_IOPORT
42+
default y
43+
4144
endif # ARC_IOT

soc/arc/snps_arc_iot/soc.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
/* default system clock */
2020
#define SYSCLK_DEFAULT_IOSC_HZ MHZ(16)
2121

22-
/*
23-
* UART: use lr and sr to access subsystem uart IP
24-
*/
25-
#define UART_NS16550_ACCESS_IOPORT
26-
2722
/* ARC EM Core IRQs */
2823
#define IRQ_TIMER0 16
2924
#define IRQ_TIMER1 17

0 commit comments

Comments
 (0)