Skip to content

Commit 697baf1

Browse files
tbr-ttnashif
authored andcommitted
boards/sparc: default to UART_INTERRUPT_DRIVEN
Use the UART interrupt support. Signed-off-by: Martin Åberg <[email protected]>
1 parent ec138d6 commit 697baf1

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

boards/sparc/generic_leon3/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ config SPARC_CASA
1313
config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
default 50000000
1515

16+
config UART_INTERRUPT_DRIVEN
17+
default y
18+
1619
endif

boards/sparc/generic_leon3/board.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set(EMU_PLATFORM tsim)
44

55
find_program(TSIM tsim-leon3)
66

7-
set(TSIM_SYS)
7+
set(TSIM_SYS -uart_fs 32)

boards/sparc/gr716a_mini/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ config BOARD
1010
config SYS_CLOCK_HW_CYCLES_PER_SEC
1111
default 20000000
1212

13+
config UART_INTERRUPT_DRIVEN
14+
default y
15+
1316
endif

boards/sparc/qemu_leon3/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ if BOARD_QEMU_LEON3
77
config BOARD
88
default "qemu_leon3"
99

10+
config UART_INTERRUPT_DRIVEN
11+
default y
12+
1013
endif

0 commit comments

Comments
 (0)