summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-28 17:50:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-28 17:50:28 +0000
commitb8f93281beadfbf699e5b09e172b786b86d204f9 (patch)
tree57aa5630a80c0a34c0ae34e240953327e05dc9bb /nuttx/arch/z80
parent73198560b5abd3c9a467a28367c8560cb3cb787e (diff)
downloadpx4-nuttx-b8f93281beadfbf699e5b09e172b786b86d204f9.tar.gz
px4-nuttx-b8f93281beadfbf699e5b09e172b786b86d204f9.tar.bz2
px4-nuttx-b8f93281beadfbf699e5b09e172b786b86d204f9.zip
z8 configurations all converted to use mconf tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5397 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r--nuttx/arch/z80/Kconfig30
-rw-r--r--nuttx/arch/z80/src/ez80/Kconfig7
-rw-r--r--nuttx/arch/z80/src/z8/Kconfig13
3 files changed, 31 insertions, 19 deletions
diff --git a/nuttx/arch/z80/Kconfig b/nuttx/arch/z80/Kconfig
index a2764cb65..12ab5dc0b 100644
--- a/nuttx/arch/z80/Kconfig
+++ b/nuttx/arch/z80/Kconfig
@@ -13,56 +13,62 @@ config ARCH_CHIP_Z80
---help---
Classic ZiLOG z80 chip
-config ARCH_CHIP_Z8F640X
- bool "Z8F640X"
- select ARCH_CHIP_Z8
- ---help---
- ZiLOG Z8F640X (z8 Encore)
-
config ARCH_CHIP_Z8F6403
bool "Z8F6403"
select ARCH_CHIP_Z8
+ select ARCH_CHIP_Z8F640X
+ select ENDIAN_BIG
+ select HAVE_LOWUARTINIT
---help---
ZiLOG Z8F6403 (z8 Encore)
-config ARCH_CHIP_Z8F642X
- bool "Z8F642X"
- select ARCH_CHIP_Z8
- ---help---
- ZiLOG Z8F642X (z8 Encore)
-
config ARCH_CHIP_Z8F6423
bool "Z8F6423"
select ARCH_CHIP_Z8
+ select ARCH_CHIP_Z8F642X
+ select ENDIAN_BIG
+ select HAVE_LOWUARTINIT
---help---
ZiLOG Z8F6423 (z8 Encore)
config ARCH_CHIP_EZ80F91
bool "EZ80F91"
select ARCH_CHIP_EZ80
+ select HAVE_LOWUARTINIT
---help---
ZiLOG EZ80F91 (ez80 Acclaim)
config ARCH_CHIP_EZ80F92
bool "EZ80F92"
select ARCH_CHIP_EZ80
+ select HAVE_LOWUARTINIT
---help---
ZiLOG EZ80F92 (ez80 Acclaim)
config ARCH_CHIP_EZ80F93
bool "EZ80F93"
select ARCH_CHIP_EZ80
+ select HAVE_LOWUARTINIT
---help---
ZiLOG EZ80F93 (ez80 Acclaim)
endchoice
+config ARCH_CHIP_Z8F642X
+ bool
+
+config ARCH_CHIP_Z8F640X
+ bool
+
config ARCH_CHIP_Z8
bool
config ARCH_CHIP_EZ80
bool
+config HAVE_LOWUARTINIT
+ bool
+
config ARCH_CHIP
string
default "z80" if ARCH_CHIP_Z80
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