diff options
Diffstat (limited to 'nuttx/arch/z80/src')
-rw-r--r-- | nuttx/arch/z80/src/ez80/Kconfig | 7 | ||||
-rw-r--r-- | nuttx/arch/z80/src/z8/Kconfig | 13 |
2 files changed, 13 insertions, 7 deletions
diff --git a/nuttx/arch/z80/src/ez80/Kconfig b/nuttx/arch/z80/src/ez80/Kconfig index 6bde573f6..d257ca285 100644 --- a/nuttx/arch/z80/src/ez80/Kconfig +++ b/nuttx/arch/z80/src/ez80/Kconfig @@ -31,13 +31,6 @@ config EZ80_EMAC endmenu -config HAVE_LOWUARTINIT - bool "Low UART Init" - default y if !EZ80_UART0 && !EZ80_UART1 && !EZ80_UART2 - default n if EZ80_UART0 || EZ80_UART1 || EZ80_UART2 - ---help--- - Provides low-level UART initialization logic as up_lowuartinit (only needed if there is no serial driver). - if EZ80_EMAC config EZ80_FIAD diff --git a/nuttx/arch/z80/src/z8/Kconfig b/nuttx/arch/z80/src/z8/Kconfig index 1f0289f7c..2bf89905e 100644 --- a/nuttx/arch/z80/src/z8/Kconfig +++ b/nuttx/arch/z80/src/z8/Kconfig @@ -4,4 +4,17 @@ # if ARCH_CHIP_Z8 + +# UART0/1 always enabled + +config Z8_UART0 + bool + default y + select ARCH_HAVE_UART0 + +config Z8_UART1 + bool + default y + select ARCH_HAVE_UART1 + endif |