Commit 416dd6cd authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Carles Cufi
Browse files

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: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent 7e1baee4
Loading
Loading
Loading
Loading
+3 −0
Changes for soc/arc/snps_arc_iot/Kconfig.defconfig: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -38,4 +38,7 @@ config UART_NS16550
	default y
	depends on SERIAL

config UART_NS16550_ACCESS_IOPORT
	default y

endif # ARC_IOT
+0 −5
Changes for soc/arc/snps_arc_iot/soc.h: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -19,11 +19,6 @@
/* default system clock */
#define SYSCLK_DEFAULT_IOSC_HZ			MHZ(16)

/*
 * UART: use lr and sr to access subsystem uart IP
 */
#define UART_NS16550_ACCESS_IOPORT

/* ARC EM Core IRQs */
#define IRQ_TIMER0				16
#define IRQ_TIMER1				17