Kconfig 3.1 KB
Newer Older
1 2
# au1000-style gpio and interrupt controllers
config ALCHEMY_GPIOINT_AU1000
3 4
	bool

M
Manuel Lauss 已提交
5 6 7 8
# au1300-style GPIO/INT controller
config ALCHEMY_GPIOINT_AU1300
	bool

9 10 11 12 13 14 15
# select this in your board config if you don't want to use the gpio
# namespace as documented in the manuals.  In this case however you need
# to create the necessary gpio_* functions in your board code/headers!
# see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
config ALCHEMY_GPIO_INDIRECT
	def_bool n

16 17
choice
	prompt "Machine type"
18
	depends on MIPS_ALCHEMY
19 20 21 22 23 24
	default MIPS_DB1000

config MIPS_MTX1
	bool "4G Systems MTX-1 board"
	select DMA_NONCOHERENT
	select HW_HAS_PCI
25
	select ALCHEMY_GPIOINT_AU1000
26
	select SYS_SUPPORTS_LITTLE_ENDIAN
27
	select SYS_HAS_EARLY_PRINTK
28 29 30

config MIPS_DB1000
	bool "Alchemy DB1000 board"
31
	select ALCHEMY_GPIOINT_AU1000
32 33 34
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SYS_SUPPORTS_LITTLE_ENDIAN
35
	select SYS_HAS_EARLY_PRINTK
36 37 38

config MIPS_DB1100
	bool "Alchemy DB1100 board"
39
	select ALCHEMY_GPIOINT_AU1000
40 41
	select DMA_NONCOHERENT
	select SYS_SUPPORTS_LITTLE_ENDIAN
42
	select SYS_HAS_EARLY_PRINTK
43 44 45

config MIPS_DB1200
	bool "Alchemy DB1200 board"
46
	select ALCHEMY_GPIOINT_AU1000
47 48 49
	select DMA_COHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
50
	select SYS_HAS_EARLY_PRINTK
51

52 53 54 55 56 57 58 59
config MIPS_DB1300
	bool "NetLogic DB1300 board"
	select ALCHEMY_GPIOINT_AU1300
	select DMA_COHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK

60 61
config MIPS_DB1500
	bool "Alchemy DB1500 board"
62
	select ALCHEMY_GPIOINT_AU1000
63 64 65 66 67
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_BIG_ENDIAN
	select SYS_SUPPORTS_LITTLE_ENDIAN
68
	select SYS_HAS_EARLY_PRINTK
69 70 71

config MIPS_DB1550
	bool "Alchemy DB1550 board"
72
	select ALCHEMY_GPIOINT_AU1000
73 74 75 76
	select HW_HAS_PCI
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
77
	select SYS_HAS_EARLY_PRINTK
78 79 80

config MIPS_PB1100
	bool "Alchemy PB1100 board"
81
	select ALCHEMY_GPIOINT_AU1000
82 83 84 85
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SWAP_IO_SPACE
	select SYS_SUPPORTS_LITTLE_ENDIAN
86
	select SYS_HAS_EARLY_PRINTK
87 88 89

config MIPS_PB1200
	bool "Alchemy PB1200 board"
90
	select ALCHEMY_GPIOINT_AU1000
91 92 93
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
94
	select SYS_HAS_EARLY_PRINTK
95 96 97

config MIPS_PB1500
	bool "Alchemy PB1500 board"
98
	select ALCHEMY_GPIOINT_AU1000
99 100 101
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select SYS_SUPPORTS_LITTLE_ENDIAN
102
	select SYS_HAS_EARLY_PRINTK
103 104 105

config MIPS_PB1550
	bool "Alchemy PB1550 board"
106
	select ALCHEMY_GPIOINT_AU1000
107 108 109 110
	select DMA_NONCOHERENT
	select HW_HAS_PCI
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
111
	select SYS_HAS_EARLY_PRINTK
112 113 114 115

config MIPS_XXS1500
	bool "MyCable XXS1500 board"
	select DMA_NONCOHERENT
116
	select ALCHEMY_GPIOINT_AU1000
117
	select SYS_SUPPORTS_LITTLE_ENDIAN
118
	select SYS_HAS_EARLY_PRINTK
119

120 121
config MIPS_GPR
	bool "Trapeze ITS GPR board"
122
	select ALCHEMY_GPIOINT_AU1000
123 124 125 126 127 128
	select HW_HAS_PCI
	select DMA_NONCOHERENT
	select MIPS_DISABLE_OBSOLETE_IDE
	select SYS_SUPPORTS_LITTLE_ENDIAN
	select SYS_HAS_EARLY_PRINTK

129
endchoice