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
This commit is contained in:
patacongo 2012-11-28 17:50:28 +00:00
parent 7efa9df77e
commit 372c910446
4 changed files with 37 additions and 19 deletions

View file

@ -117,6 +117,12 @@ config ARCH_STACKDUMP
---help---
Enable to do stack dumps after assertions
config ENDIAN_BIG
bool "Big Endian Architecture"
default n
---help---
Select if architecture operates using big-endian byte ordering.
comment "Board Settings"
config BOARD_LOOPSPERMSEC

View file

@ -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

View file

@ -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

View file

@ -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