diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-04-23 17:03:26 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-23 17:03:26 -0400 |
commit | 5d1617b247aa63698618215a9f39ecf905d55779 (patch) | |
tree | 63629a804f6be1d9950725a86f9e67dd5328da6a /arch/blackfin | |
parent | f950f605b9cd0e4bb53b902d2b2edbbb3e6079fc (diff) |
[Blackfin] arch: merge ip0x-specific board changes
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Kconfig | 5 | ||||
-rw-r--r-- | arch/blackfin/configs/IP0X_defconfig | 1252 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/Kconfig | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/Makefile | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ip0x.c | 279 |
5 files changed, 1542 insertions, 1 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index d1590c7ed758..308bbe291d8f 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -249,7 +249,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
249 | 249 | ||
250 | config MEM_MT48LC32M16A2TG_75 | 250 | config MEM_MT48LC32M16A2TG_75 |
251 | bool | 251 | bool |
252 | depends on (BFIN527_EZKIT) | 252 | depends on (BFIN527_EZKIT || BFIN532_IP0X) |
253 | default y | 253 | default y |
254 | 254 | ||
255 | source "arch/blackfin/mach-bf527/Kconfig" | 255 | source "arch/blackfin/mach-bf527/Kconfig" |
@@ -281,6 +281,7 @@ config CLKIN_HZ | |||
281 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS) | 281 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS) |
282 | default "30000000" if BFIN561_EZKIT | 282 | default "30000000" if BFIN561_EZKIT |
283 | default "24576000" if PNAV10 | 283 | default "24576000" if PNAV10 |
284 | default "10000000" if BFIN532_IP0X | ||
284 | help | 285 | help |
285 | The frequency of CLKIN crystal oscillator on the board in Hz. | 286 | The frequency of CLKIN crystal oscillator on the board in Hz. |
286 | 287 | ||
@@ -304,6 +305,7 @@ config MEM_ADD_WIDTH | |||
304 | default 10 if BFIN537_STAMP | 305 | default 10 if BFIN537_STAMP |
305 | default 11 if BFIN533_STAMP | 306 | default 11 if BFIN533_STAMP |
306 | default 10 if PNAV10 | 307 | default 10 if PNAV10 |
308 | default 10 if BFIN532_IP0X | ||
307 | 309 | ||
308 | config PLL_BYPASS | 310 | config PLL_BYPASS |
309 | bool "Bypass PLL" | 311 | bool "Bypass PLL" |
@@ -450,6 +452,7 @@ config MEM_SIZE | |||
450 | default 64 if PNAV10 | 452 | default 64 if PNAV10 |
451 | default 32 if H8606_HVSISTEMAS | 453 | default 32 if H8606_HVSISTEMAS |
452 | default 64 if BFIN548_BLUETECHNIX_CM | 454 | default 64 if BFIN548_BLUETECHNIX_CM |
455 | default 64 if BFIN532_IP0X | ||
453 | 456 | ||
454 | choice | 457 | choice |
455 | prompt "DDR SDRAM Chip Type" | 458 | prompt "DDR SDRAM Chip Type" |
diff --git a/arch/blackfin/configs/IP0X_defconfig b/arch/blackfin/configs/IP0X_defconfig new file mode 100644 index 000000000000..5f6ff04a86c3 --- /dev/null +++ b/arch/blackfin/configs/IP0X_defconfig | |||
@@ -0,0 +1,1252 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.22.18 | ||
4 | # | ||
5 | # CONFIG_MMU is not set | ||
6 | # CONFIG_FPU is not set | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
9 | CONFIG_BLACKFIN=y | ||
10 | CONFIG_ZONE_DMA=y | ||
11 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
13 | CONFIG_GENERIC_HWEIGHT=y | ||
14 | CONFIG_GENERIC_HARDIRQS=y | ||
15 | CONFIG_GENERIC_IRQ_PROBE=y | ||
16 | # CONFIG_GENERIC_TIME is not set | ||
17 | CONFIG_GENERIC_GPIO=y | ||
18 | CONFIG_FORCE_MAX_ZONEORDER=14 | ||
19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
21 | |||
22 | # | ||
23 | # Code maturity level options | ||
24 | # | ||
25 | CONFIG_EXPERIMENTAL=y | ||
26 | CONFIG_BROKEN_ON_SMP=y | ||
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
28 | |||
29 | # | ||
30 | # General setup | ||
31 | # | ||
32 | CONFIG_LOCALVERSION="" | ||
33 | CONFIG_LOCALVERSION_AUTO=y | ||
34 | CONFIG_SYSVIPC=y | ||
35 | # CONFIG_IPC_NS is not set | ||
36 | CONFIG_SYSVIPC_SYSCTL=y | ||
37 | # CONFIG_POSIX_MQUEUE is not set | ||
38 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
39 | # CONFIG_TASKSTATS is not set | ||
40 | # CONFIG_UTS_NS is not set | ||
41 | # CONFIG_AUDIT is not set | ||
42 | # CONFIG_IKCONFIG is not set | ||
43 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | CONFIG_SYSFS_DEPRECATED=y | ||
45 | # CONFIG_RELAY is not set | ||
46 | CONFIG_BLK_DEV_INITRD=y | ||
47 | CONFIG_INITRAMFS_SOURCE="" | ||
48 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
49 | CONFIG_SYSCTL=y | ||
50 | CONFIG_EMBEDDED=y | ||
51 | CONFIG_UID16=y | ||
52 | CONFIG_SYSCTL_SYSCALL=y | ||
53 | CONFIG_KALLSYMS=y | ||
54 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
55 | # CONFIG_HOTPLUG is not set | ||
56 | CONFIG_PRINTK=y | ||
57 | CONFIG_BUG=y | ||
58 | CONFIG_ELF_CORE=y | ||
59 | CONFIG_BASE_FULL=y | ||
60 | CONFIG_FUTEX=y | ||
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EPOLL=y | ||
63 | CONFIG_SIGNALFD=y | ||
64 | CONFIG_EVENTFD=y | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | ||
66 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | ||
67 | # CONFIG_NP2 is not set | ||
68 | CONFIG_SLAB=y | ||
69 | # CONFIG_SLUB is not set | ||
70 | # CONFIG_SLOB is not set | ||
71 | CONFIG_RT_MUTEXES=y | ||
72 | CONFIG_TINY_SHMEM=y | ||
73 | CONFIG_BASE_SMALL=0 | ||
74 | |||
75 | # | ||
76 | # Loadable module support | ||
77 | # | ||
78 | CONFIG_MODULES=y | ||
79 | CONFIG_MODULE_UNLOAD=y | ||
80 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
81 | # CONFIG_MODVERSIONS is not set | ||
82 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
83 | CONFIG_KMOD=y | ||
84 | |||
85 | # | ||
86 | # Block layer | ||
87 | # | ||
88 | CONFIG_BLOCK=y | ||
89 | # CONFIG_LBD is not set | ||
90 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
91 | # CONFIG_LSF is not set | ||
92 | |||
93 | # | ||
94 | # IO Schedulers | ||
95 | # | ||
96 | CONFIG_IOSCHED_NOOP=y | ||
97 | CONFIG_IOSCHED_AS=y | ||
98 | # CONFIG_IOSCHED_DEADLINE is not set | ||
99 | CONFIG_IOSCHED_CFQ=y | ||
100 | CONFIG_DEFAULT_AS=y | ||
101 | # CONFIG_DEFAULT_DEADLINE is not set | ||
102 | # CONFIG_DEFAULT_CFQ is not set | ||
103 | # CONFIG_DEFAULT_NOOP is not set | ||
104 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
105 | CONFIG_PREEMPT_NONE=y | ||
106 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
107 | # CONFIG_PREEMPT is not set | ||
108 | |||
109 | # | ||
110 | # Blackfin Processor Options | ||
111 | # | ||
112 | |||
113 | # | ||
114 | # Processor and Board Settings | ||
115 | # | ||
116 | # CONFIG_BF522 is not set | ||
117 | # CONFIG_BF523 is not set | ||
118 | # CONFIG_BF524 is not set | ||
119 | # CONFIG_BF525 is not set | ||
120 | # CONFIG_BF526 is not set | ||
121 | # CONFIG_BF527 is not set | ||
122 | # CONFIG_BF531 is not set | ||
123 | CONFIG_BF532=y | ||
124 | # CONFIG_BF533 is not set | ||
125 | # CONFIG_BF534 is not set | ||
126 | # CONFIG_BF536 is not set | ||
127 | # CONFIG_BF537 is not set | ||
128 | # CONFIG_BF542 is not set | ||
129 | # CONFIG_BF544 is not set | ||
130 | # CONFIG_BF547 is not set | ||
131 | # CONFIG_BF548 is not set | ||
132 | # CONFIG_BF549 is not set | ||
133 | # CONFIG_BF561 is not set | ||
134 | # CONFIG_BF_REV_0_0 is not set | ||
135 | # CONFIG_BF_REV_0_1 is not set | ||
136 | # CONFIG_BF_REV_0_2 is not set | ||
137 | # CONFIG_BF_REV_0_3 is not set | ||
138 | # CONFIG_BF_REV_0_4 is not set | ||
139 | CONFIG_BF_REV_0_5=y | ||
140 | # CONFIG_BF_REV_ANY is not set | ||
141 | # CONFIG_BF_REV_NONE is not set | ||
142 | CONFIG_BF53x=y | ||
143 | CONFIG_BFIN_SINGLE_CORE=y | ||
144 | CONFIG_MEM_MT48LC32M16A2TG_75=y | ||
145 | # CONFIG_BFIN533_EZKIT is not set | ||
146 | # CONFIG_BFIN533_STAMP is not set | ||
147 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set | ||
148 | # CONFIG_H8606_HVSISTEMAS is not set | ||
149 | CONFIG_BFIN532_IP0X=y | ||
150 | # CONFIG_GENERIC_BF533_BOARD is not set | ||
151 | |||
152 | # | ||
153 | # BF533/2/1 Specific Configuration | ||
154 | # | ||
155 | |||
156 | # | ||
157 | # Interrupt Priority Assignment | ||
158 | # | ||
159 | |||
160 | # | ||
161 | # Priority | ||
162 | # | ||
163 | CONFIG_UART_ERROR=7 | ||
164 | CONFIG_SPORT0_ERROR=7 | ||
165 | CONFIG_SPI_ERROR=7 | ||
166 | CONFIG_SPORT1_ERROR=7 | ||
167 | CONFIG_PPI_ERROR=7 | ||
168 | CONFIG_DMA_ERROR=7 | ||
169 | CONFIG_PLLWAKE_ERROR=7 | ||
170 | CONFIG_RTC_ERROR=8 | ||
171 | CONFIG_DMA0_PPI=8 | ||
172 | CONFIG_DMA1_SPORT0RX=9 | ||
173 | CONFIG_DMA2_SPORT0TX=9 | ||
174 | CONFIG_DMA3_SPORT1RX=9 | ||
175 | CONFIG_DMA4_SPORT1TX=9 | ||
176 | CONFIG_DMA5_SPI=10 | ||
177 | CONFIG_DMA6_UARTRX=10 | ||
178 | CONFIG_DMA7_UARTTX=10 | ||
179 | CONFIG_TIMER0=11 | ||
180 | CONFIG_TIMER1=11 | ||
181 | CONFIG_TIMER2=11 | ||
182 | CONFIG_PFA=12 | ||
183 | CONFIG_PFB=12 | ||
184 | CONFIG_MEMDMA0=13 | ||
185 | CONFIG_MEMDMA1=13 | ||
186 | CONFIG_WDTIMER=13 | ||
187 | |||
188 | # | ||
189 | # Board customizations | ||
190 | # | ||
191 | # CONFIG_CMDLINE_BOOL is not set | ||
192 | |||
193 | # | ||
194 | # Clock/PLL Setup | ||
195 | # | ||
196 | CONFIG_CLKIN_HZ=10000000 | ||
197 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
198 | CONFIG_MAX_VCO_HZ=400000000 | ||
199 | CONFIG_MIN_VCO_HZ=50000000 | ||
200 | CONFIG_MAX_SCLK_HZ=133333333 | ||
201 | CONFIG_MIN_SCLK_HZ=27000000 | ||
202 | |||
203 | # | ||
204 | # Kernel Timer/Scheduler | ||
205 | # | ||
206 | # CONFIG_HZ_100 is not set | ||
207 | CONFIG_HZ_250=y | ||
208 | # CONFIG_HZ_300 is not set | ||
209 | # CONFIG_HZ_1000 is not set | ||
210 | CONFIG_HZ=250 | ||
211 | |||
212 | # | ||
213 | # Memory Setup | ||
214 | # | ||
215 | CONFIG_MEM_SIZE=64 | ||
216 | CONFIG_MEM_ADD_WIDTH=10 | ||
217 | |||
218 | # | ||
219 | # Hardware addresses | ||
220 | # | ||
221 | CONFIG_IP0X_NET1=0x20100000 | ||
222 | CONFIG_IP0X_NET2=0x20200000 | ||
223 | CONFIG_IP0X_USB=0x20300000 | ||
224 | CONFIG_BOOT_LOAD=0x1000 | ||
225 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
226 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
227 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
228 | |||
229 | # | ||
230 | # Blackfin Kernel Optimizations | ||
231 | # | ||
232 | |||
233 | # | ||
234 | # Memory Optimizations | ||
235 | # | ||
236 | CONFIG_I_ENTRY_L1=y | ||
237 | CONFIG_EXCPT_IRQ_SYSC_L1=y | ||
238 | CONFIG_DO_IRQ_L1=y | ||
239 | CONFIG_CORE_TIMER_IRQ_L1=y | ||
240 | CONFIG_IDLE_L1=y | ||
241 | CONFIG_SCHEDULE_L1=y | ||
242 | CONFIG_ARITHMETIC_OPS_L1=y | ||
243 | CONFIG_ACCESS_OK_L1=y | ||
244 | CONFIG_MEMSET_L1=y | ||
245 | CONFIG_MEMCPY_L1=y | ||
246 | CONFIG_SYS_BFIN_SPINLOCK_L1=y | ||
247 | # CONFIG_IP_CHECKSUM_L1 is not set | ||
248 | CONFIG_CACHELINE_ALIGNED_L1=y | ||
249 | # CONFIG_SYSCALL_TAB_L1 is not set | ||
250 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | ||
251 | CONFIG_RAMKERNEL=y | ||
252 | # CONFIG_ROMKERNEL is not set | ||
253 | CONFIG_SELECT_MEMORY_MODEL=y | ||
254 | CONFIG_FLATMEM_MANUAL=y | ||
255 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
256 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
257 | CONFIG_FLATMEM=y | ||
258 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
259 | # CONFIG_SPARSEMEM_STATIC is not set | ||
260 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
261 | # CONFIG_RESOURCES_64BIT is not set | ||
262 | CONFIG_ZONE_DMA_FLAG=1 | ||
263 | CONFIG_LARGE_ALLOCS=y | ||
264 | # CONFIG_BFIN_GPTIMERS is not set | ||
265 | CONFIG_BFIN_DMA_5XX=y | ||
266 | # CONFIG_DMA_UNCACHED_2M is not set | ||
267 | CONFIG_DMA_UNCACHED_1M=y | ||
268 | # CONFIG_DMA_UNCACHED_NONE is not set | ||
269 | |||
270 | # | ||
271 | # Cache Support | ||
272 | # | ||
273 | # CONFIG_BFIN_ICACHE is not set | ||
274 | # CONFIG_BFIN_DCACHE is not set | ||
275 | # CONFIG_BFIN_ICACHE_LOCK is not set | ||
276 | CONFIG_L1_MAX_PIECE=16 | ||
277 | # CONFIG_MPU is not set | ||
278 | |||
279 | # | ||
280 | # Asynchonous Memory Configuration | ||
281 | # | ||
282 | |||
283 | # | ||
284 | # EBIU_AMGCTL Global Control | ||
285 | # | ||
286 | CONFIG_C_AMCKEN=y | ||
287 | CONFIG_C_CDPRIO=y | ||
288 | # CONFIG_C_AMBEN is not set | ||
289 | # CONFIG_C_AMBEN_B0 is not set | ||
290 | # CONFIG_C_AMBEN_B0_B1 is not set | ||
291 | # CONFIG_C_AMBEN_B0_B1_B2 is not set | ||
292 | CONFIG_C_AMBEN_ALL=y | ||
293 | |||
294 | # | ||
295 | # EBIU_AMBCTL Control | ||
296 | # | ||
297 | CONFIG_BANK_0=0xffc2 | ||
298 | CONFIG_BANK_1=0xffc2 | ||
299 | CONFIG_BANK_2=0xffc2 | ||
300 | CONFIG_BANK_3=0xffc2 | ||
301 | |||
302 | # | ||
303 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | ||
304 | # | ||
305 | # CONFIG_PCI is not set | ||
306 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
307 | |||
308 | # | ||
309 | # PCCARD (PCMCIA/CardBus) support | ||
310 | # | ||
311 | |||
312 | # | ||
313 | # Executable file formats | ||
314 | # | ||
315 | CONFIG_BINFMT_ELF_FDPIC=y | ||
316 | CONFIG_BINFMT_FLAT=y | ||
317 | CONFIG_BINFMT_ZFLAT=y | ||
318 | # CONFIG_BINFMT_SHARED_FLAT is not set | ||
319 | # CONFIG_BINFMT_MISC is not set | ||
320 | |||
321 | # | ||
322 | # Power management options | ||
323 | # | ||
324 | CONFIG_PM=y | ||
325 | # CONFIG_PM_LEGACY is not set | ||
326 | # CONFIG_PM_DEBUG is not set | ||
327 | # CONFIG_PM_SYSFS_DEPRECATED is not set | ||
328 | CONFIG_PM_BFIN_SLEEP_DEEPER=y | ||
329 | # CONFIG_PM_BFIN_SLEEP is not set | ||
330 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
331 | |||
332 | # | ||
333 | # Networking | ||
334 | # | ||
335 | CONFIG_NET=y | ||
336 | |||
337 | # | ||
338 | # Networking options | ||
339 | # | ||
340 | CONFIG_PACKET=y | ||
341 | # CONFIG_PACKET_MMAP is not set | ||
342 | CONFIG_UNIX=y | ||
343 | CONFIG_XFRM=y | ||
344 | # CONFIG_XFRM_USER is not set | ||
345 | # CONFIG_XFRM_SUB_POLICY is not set | ||
346 | # CONFIG_XFRM_MIGRATE is not set | ||
347 | # CONFIG_NET_KEY is not set | ||
348 | CONFIG_INET=y | ||
349 | # CONFIG_IP_MULTICAST is not set | ||
350 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
351 | CONFIG_IP_FIB_HASH=y | ||
352 | CONFIG_IP_PNP=y | ||
353 | # CONFIG_IP_PNP_DHCP is not set | ||
354 | # CONFIG_IP_PNP_BOOTP is not set | ||
355 | # CONFIG_IP_PNP_RARP is not set | ||
356 | # CONFIG_NET_IPIP is not set | ||
357 | # CONFIG_NET_IPGRE is not set | ||
358 | # CONFIG_ARPD is not set | ||
359 | CONFIG_SYN_COOKIES=y | ||
360 | # CONFIG_INET_AH is not set | ||
361 | # CONFIG_INET_ESP is not set | ||
362 | # CONFIG_INET_IPCOMP is not set | ||
363 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
364 | # CONFIG_INET_TUNNEL is not set | ||
365 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
366 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
367 | CONFIG_INET_XFRM_MODE_BEET=y | ||
368 | CONFIG_INET_DIAG=y | ||
369 | CONFIG_INET_TCP_DIAG=y | ||
370 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
371 | CONFIG_TCP_CONG_CUBIC=y | ||
372 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
373 | # CONFIG_TCP_MD5SIG is not set | ||
374 | # CONFIG_IP_VS is not set | ||
375 | # CONFIG_IPV6 is not set | ||
376 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
377 | # CONFIG_INET6_TUNNEL is not set | ||
378 | # CONFIG_NETLABEL is not set | ||
379 | # CONFIG_NETWORK_SECMARK is not set | ||
380 | CONFIG_NETFILTER=y | ||
381 | # CONFIG_NETFILTER_DEBUG is not set | ||
382 | |||
383 | # | ||
384 | # Core Netfilter Configuration | ||
385 | # | ||
386 | # CONFIG_NETFILTER_NETLINK is not set | ||
387 | # CONFIG_NF_CONNTRACK_ENABLED is not set | ||
388 | # CONFIG_NF_CONNTRACK is not set | ||
389 | CONFIG_NETFILTER_XTABLES=y | ||
390 | # CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set | ||
391 | # CONFIG_NETFILTER_XT_TARGET_DSCP is not set | ||
392 | # CONFIG_NETFILTER_XT_TARGET_MARK is not set | ||
393 | # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set | ||
394 | # CONFIG_NETFILTER_XT_TARGET_NFLOG is not set | ||
395 | # CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set | ||
396 | # CONFIG_NETFILTER_XT_MATCH_COMMENT is not set | ||
397 | # CONFIG_NETFILTER_XT_MATCH_DCCP is not set | ||
398 | # CONFIG_NETFILTER_XT_MATCH_DSCP is not set | ||
399 | # CONFIG_NETFILTER_XT_MATCH_ESP is not set | ||
400 | # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set | ||
401 | # CONFIG_NETFILTER_XT_MATCH_LIMIT is not set | ||
402 | CONFIG_NETFILTER_XT_MATCH_MAC=y | ||
403 | # CONFIG_NETFILTER_XT_MATCH_MARK is not set | ||
404 | # CONFIG_NETFILTER_XT_MATCH_POLICY is not set | ||
405 | CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y | ||
406 | # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set | ||
407 | # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set | ||
408 | # CONFIG_NETFILTER_XT_MATCH_REALM is not set | ||
409 | # CONFIG_NETFILTER_XT_MATCH_SCTP is not set | ||
410 | # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set | ||
411 | # CONFIG_NETFILTER_XT_MATCH_STRING is not set | ||
412 | # CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set | ||
413 | # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set | ||
414 | |||
415 | # | ||
416 | # IP: Netfilter Configuration | ||
417 | # | ||
418 | # CONFIG_IP_NF_QUEUE is not set | ||
419 | CONFIG_IP_NF_IPTABLES=y | ||
420 | CONFIG_IP_NF_MATCH_IPRANGE=y | ||
421 | CONFIG_IP_NF_MATCH_TOS=y | ||
422 | # CONFIG_IP_NF_MATCH_RECENT is not set | ||
423 | # CONFIG_IP_NF_MATCH_ECN is not set | ||
424 | # CONFIG_IP_NF_MATCH_AH is not set | ||
425 | # CONFIG_IP_NF_MATCH_TTL is not set | ||
426 | # CONFIG_IP_NF_MATCH_OWNER is not set | ||
427 | # CONFIG_IP_NF_MATCH_ADDRTYPE is not set | ||
428 | CONFIG_IP_NF_FILTER=y | ||
429 | CONFIG_IP_NF_TARGET_REJECT=y | ||
430 | # CONFIG_IP_NF_TARGET_LOG is not set | ||
431 | # CONFIG_IP_NF_TARGET_ULOG is not set | ||
432 | CONFIG_IP_NF_MANGLE=y | ||
433 | CONFIG_IP_NF_TARGET_TOS=y | ||
434 | # CONFIG_IP_NF_TARGET_ECN is not set | ||
435 | # CONFIG_IP_NF_TARGET_TTL is not set | ||
436 | # CONFIG_IP_NF_RAW is not set | ||
437 | # CONFIG_IP_NF_ARPTABLES is not set | ||
438 | # CONFIG_IP_DCCP is not set | ||
439 | # CONFIG_IP_SCTP is not set | ||
440 | # CONFIG_TIPC is not set | ||
441 | # CONFIG_ATM is not set | ||
442 | # CONFIG_BRIDGE is not set | ||
443 | # CONFIG_VLAN_8021Q is not set | ||
444 | # CONFIG_DECNET is not set | ||
445 | # CONFIG_LLC2 is not set | ||
446 | # CONFIG_IPX is not set | ||
447 | # CONFIG_ATALK is not set | ||
448 | # CONFIG_X25 is not set | ||
449 | # CONFIG_LAPB is not set | ||
450 | # CONFIG_ECONET is not set | ||
451 | # CONFIG_WAN_ROUTER is not set | ||
452 | |||
453 | # | ||
454 | # QoS and/or fair queueing | ||
455 | # | ||
456 | # CONFIG_NET_SCHED is not set | ||
457 | |||
458 | # | ||
459 | # Network testing | ||
460 | # | ||
461 | # CONFIG_NET_PKTGEN is not set | ||
462 | # CONFIG_HAMRADIO is not set | ||
463 | # CONFIG_IRDA is not set | ||
464 | # CONFIG_BT is not set | ||
465 | # CONFIG_AF_RXRPC is not set | ||
466 | |||
467 | # | ||
468 | # Wireless | ||
469 | # | ||
470 | # CONFIG_CFG80211 is not set | ||
471 | # CONFIG_WIRELESS_EXT is not set | ||
472 | # CONFIG_MAC80211 is not set | ||
473 | # CONFIG_IEEE80211 is not set | ||
474 | # CONFIG_RFKILL is not set | ||
475 | |||
476 | # | ||
477 | # Device Drivers | ||
478 | # | ||
479 | |||
480 | # | ||
481 | # Generic Driver Options | ||
482 | # | ||
483 | CONFIG_STANDALONE=y | ||
484 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
485 | # CONFIG_SYS_HYPERVISOR is not set | ||
486 | |||
487 | # | ||
488 | # Connector - unified userspace <-> kernelspace linker | ||
489 | # | ||
490 | # CONFIG_CONNECTOR is not set | ||
491 | CONFIG_MTD=y | ||
492 | # CONFIG_MTD_DEBUG is not set | ||
493 | # CONFIG_MTD_CONCAT is not set | ||
494 | CONFIG_MTD_PARTITIONS=y | ||
495 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
496 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
497 | |||
498 | # | ||
499 | # User Modules And Translation Layers | ||
500 | # | ||
501 | CONFIG_MTD_CHAR=y | ||
502 | CONFIG_MTD_BLKDEVS=y | ||
503 | CONFIG_MTD_BLOCK=y | ||
504 | # CONFIG_FTL is not set | ||
505 | # CONFIG_NFTL is not set | ||
506 | # CONFIG_INFTL is not set | ||
507 | # CONFIG_RFD_FTL is not set | ||
508 | # CONFIG_SSFDC is not set | ||
509 | |||
510 | # | ||
511 | # RAM/ROM/Flash chip drivers | ||
512 | # | ||
513 | CONFIG_MTD_CFI=y | ||
514 | # CONFIG_MTD_JEDECPROBE is not set | ||
515 | CONFIG_MTD_GEN_PROBE=y | ||
516 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
517 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
518 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
519 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
520 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
521 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
522 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
523 | CONFIG_MTD_CFI_I1=y | ||
524 | CONFIG_MTD_CFI_I2=y | ||
525 | # CONFIG_MTD_CFI_I4 is not set | ||
526 | # CONFIG_MTD_CFI_I8 is not set | ||
527 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
528 | CONFIG_MTD_CFI_AMDSTD=y | ||
529 | # CONFIG_MTD_CFI_STAA is not set | ||
530 | CONFIG_MTD_CFI_UTIL=y | ||
531 | CONFIG_MTD_RAM=y | ||
532 | # CONFIG_MTD_ROM is not set | ||
533 | # CONFIG_MTD_ABSENT is not set | ||
534 | |||
535 | # | ||
536 | # Mapping drivers for chip access | ||
537 | # | ||
538 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
539 | # CONFIG_MTD_PHYSMAP is not set | ||
540 | CONFIG_MTD_UCLINUX=y | ||
541 | CONFIG_MTD_PLATRAM=y | ||
542 | |||
543 | # | ||
544 | # Self-contained MTD device drivers | ||
545 | # | ||
546 | # CONFIG_MTD_DATAFLASH is not set | ||
547 | # CONFIG_MTD_M25P80 is not set | ||
548 | # CONFIG_MTD_SLRAM is not set | ||
549 | # CONFIG_MTD_PHRAM is not set | ||
550 | # CONFIG_MTD_MTDRAM is not set | ||
551 | # CONFIG_MTD_BLOCK2MTD is not set | ||
552 | |||
553 | # | ||
554 | # Disk-On-Chip Device Drivers | ||
555 | # | ||
556 | # CONFIG_MTD_DOC2000 is not set | ||
557 | # CONFIG_MTD_DOC2001 is not set | ||
558 | # CONFIG_MTD_DOC2001PLUS is not set | ||
559 | CONFIG_MTD_NAND=y | ||
560 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
561 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
562 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
563 | CONFIG_MTD_NAND_BFIN=y | ||
564 | CONFIG_BFIN_NAND_BASE=0x20000000 | ||
565 | CONFIG_BFIN_NAND_SIZE=0x10000000 | ||
566 | CONFIG_BFIN_NAND_CLE=2 | ||
567 | CONFIG_BFIN_NAND_ALE=1 | ||
568 | CONFIG_BFIN_NAND_READY=10 | ||
569 | CONFIG_MTD_NAND_IDS=y | ||
570 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
571 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
572 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
573 | # CONFIG_MTD_ONENAND is not set | ||
574 | |||
575 | # | ||
576 | # UBI - Unsorted block images | ||
577 | # | ||
578 | # CONFIG_MTD_UBI is not set | ||
579 | |||
580 | # | ||
581 | # Parallel port support | ||
582 | # | ||
583 | # CONFIG_PARPORT is not set | ||
584 | |||
585 | # | ||
586 | # Plug and Play support | ||
587 | # | ||
588 | # CONFIG_PNPACPI is not set | ||
589 | |||
590 | # | ||
591 | # Block devices | ||
592 | # | ||
593 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
594 | # CONFIG_BLK_DEV_LOOP is not set | ||
595 | # CONFIG_BLK_DEV_NBD is not set | ||
596 | # CONFIG_BLK_DEV_UB is not set | ||
597 | CONFIG_BLK_DEV_RAM=y | ||
598 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
599 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
600 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
601 | # CONFIG_CDROM_PKTCDVD is not set | ||
602 | # CONFIG_ATA_OVER_ETH is not set | ||
603 | |||
604 | # | ||
605 | # Misc devices | ||
606 | # | ||
607 | # CONFIG_IDE is not set | ||
608 | |||
609 | # | ||
610 | # SCSI device support | ||
611 | # | ||
612 | # CONFIG_RAID_ATTRS is not set | ||
613 | CONFIG_SCSI=y | ||
614 | # CONFIG_SCSI_TGT is not set | ||
615 | # CONFIG_SCSI_NETLINK is not set | ||
616 | CONFIG_SCSI_PROC_FS=y | ||
617 | |||
618 | # | ||
619 | # SCSI support type (disk, tape, CD-ROM) | ||
620 | # | ||
621 | CONFIG_BLK_DEV_SD=y | ||
622 | # CONFIG_CHR_DEV_ST is not set | ||
623 | # CONFIG_CHR_DEV_OSST is not set | ||
624 | # CONFIG_BLK_DEV_SR is not set | ||
625 | # CONFIG_CHR_DEV_SG is not set | ||
626 | # CONFIG_CHR_DEV_SCH is not set | ||
627 | |||
628 | # | ||
629 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
630 | # | ||
631 | # CONFIG_SCSI_MULTI_LUN is not set | ||
632 | # CONFIG_SCSI_CONSTANTS is not set | ||
633 | # CONFIG_SCSI_LOGGING is not set | ||
634 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
635 | CONFIG_SCSI_WAIT_SCAN=m | ||
636 | |||
637 | # | ||
638 | # SCSI Transports | ||
639 | # | ||
640 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
641 | # CONFIG_SCSI_FC_ATTRS is not set | ||
642 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
643 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
644 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
645 | |||
646 | # | ||
647 | # SCSI low-level drivers | ||
648 | # | ||
649 | # CONFIG_ISCSI_TCP is not set | ||
650 | # CONFIG_SCSI_DEBUG is not set | ||
651 | # CONFIG_ATA is not set | ||
652 | |||
653 | # | ||
654 | # Multi-device support (RAID and LVM) | ||
655 | # | ||
656 | # CONFIG_MD is not set | ||
657 | |||
658 | # | ||
659 | # Network device support | ||
660 | # | ||
661 | CONFIG_NETDEVICES=y | ||
662 | # CONFIG_DUMMY is not set | ||
663 | # CONFIG_BONDING is not set | ||
664 | # CONFIG_EQUALIZER is not set | ||
665 | # CONFIG_TUN is not set | ||
666 | # CONFIG_PHYLIB is not set | ||
667 | |||
668 | # | ||
669 | # Ethernet (10 or 100Mbit) | ||
670 | # | ||
671 | CONFIG_NET_ETHERNET=y | ||
672 | CONFIG_MII=y | ||
673 | # CONFIG_SMC91X is not set | ||
674 | # CONFIG_SMSC911X is not set | ||
675 | CONFIG_DM9000=y | ||
676 | CONFIG_NETDEV_1000=y | ||
677 | # CONFIG_AX88180 is not set | ||
678 | CONFIG_NETDEV_10000=y | ||
679 | |||
680 | # | ||
681 | # Wireless LAN | ||
682 | # | ||
683 | # CONFIG_WLAN_PRE80211 is not set | ||
684 | # CONFIG_WLAN_80211 is not set | ||
685 | |||
686 | # | ||
687 | # USB Network Adapters | ||
688 | # | ||
689 | # CONFIG_USB_CATC is not set | ||
690 | # CONFIG_USB_KAWETH is not set | ||
691 | # CONFIG_USB_PEGASUS is not set | ||
692 | # CONFIG_USB_RTL8150 is not set | ||
693 | # CONFIG_USB_USBNET_MII is not set | ||
694 | # CONFIG_USB_USBNET is not set | ||
695 | # CONFIG_WAN is not set | ||
696 | # CONFIG_PPP is not set | ||
697 | # CONFIG_SLIP is not set | ||
698 | # CONFIG_SHAPER is not set | ||
699 | # CONFIG_NETCONSOLE is not set | ||
700 | # CONFIG_NETPOLL is not set | ||
701 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
702 | |||
703 | # | ||
704 | # ISDN subsystem | ||
705 | # | ||
706 | # CONFIG_ISDN is not set | ||
707 | |||
708 | # | ||
709 | # Telephony Support | ||
710 | # | ||
711 | # CONFIG_PHONE is not set | ||
712 | |||
713 | # | ||
714 | # Input device support | ||
715 | # | ||
716 | # CONFIG_INPUT is not set | ||
717 | |||
718 | # | ||
719 | # Hardware I/O ports | ||
720 | # | ||
721 | # CONFIG_SERIO is not set | ||
722 | # CONFIG_GAMEPORT is not set | ||
723 | |||
724 | # | ||
725 | # Character devices | ||
726 | # | ||
727 | # CONFIG_AD9960 is not set | ||
728 | # CONFIG_SPI_ADC_BF533 is not set | ||
729 | # CONFIG_BF5xx_PFLAGS is not set | ||
730 | # CONFIG_BF5xx_PPIFCD is not set | ||
731 | # CONFIG_BFIN_SIMPLE_TIMER is not set | ||
732 | # CONFIG_BF5xx_PPI is not set | ||
733 | CONFIG_BFIN_SPORT=y | ||
734 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
735 | # CONFIG_AD5304 is not set | ||
736 | # CONFIG_VT is not set | ||
737 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
738 | |||
739 | # | ||
740 | # Serial drivers | ||
741 | # | ||
742 | # CONFIG_SERIAL_8250 is not set | ||
743 | |||
744 | # | ||
745 | # Non-8250 serial port support | ||
746 | # | ||
747 | CONFIG_SERIAL_BFIN=y | ||
748 | CONFIG_SERIAL_BFIN_CONSOLE=y | ||
749 | CONFIG_SERIAL_BFIN_DMA=y | ||
750 | # CONFIG_SERIAL_BFIN_PIO is not set | ||
751 | CONFIG_SERIAL_BFIN_UART0=y | ||
752 | # CONFIG_BFIN_UART0_CTSRTS is not set | ||
753 | CONFIG_SERIAL_CORE=y | ||
754 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
755 | # CONFIG_SERIAL_BFIN_SPORT is not set | ||
756 | CONFIG_UNIX98_PTYS=y | ||
757 | # CONFIG_LEGACY_PTYS is not set | ||
758 | |||
759 | # | ||
760 | # CAN, the car bus and industrial fieldbus | ||
761 | # | ||
762 | # CONFIG_CAN4LINUX is not set | ||
763 | |||
764 | # | ||
765 | # IPMI | ||
766 | # | ||
767 | # CONFIG_IPMI_HANDLER is not set | ||
768 | CONFIG_WATCHDOG=y | ||
769 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
770 | |||
771 | # | ||
772 | # Watchdog Device Drivers | ||
773 | # | ||
774 | # CONFIG_SOFT_WATCHDOG is not set | ||
775 | # CONFIG_BFIN_WDT is not set | ||
776 | |||
777 | # | ||
778 | # USB-based Watchdog Cards | ||
779 | # | ||
780 | # CONFIG_USBPCWATCHDOG is not set | ||
781 | CONFIG_HW_RANDOM=y | ||
782 | # CONFIG_GEN_RTC is not set | ||
783 | # CONFIG_R3964 is not set | ||
784 | # CONFIG_RAW_DRIVER is not set | ||
785 | |||
786 | # | ||
787 | # TPM devices | ||
788 | # | ||
789 | # CONFIG_TCG_TPM is not set | ||
790 | # CONFIG_I2C is not set | ||
791 | |||
792 | # | ||
793 | # SPI support | ||
794 | # | ||
795 | CONFIG_SPI=y | ||
796 | CONFIG_SPI_MASTER=y | ||
797 | |||
798 | # | ||
799 | # SPI Master Controller Drivers | ||
800 | # | ||
801 | CONFIG_SPI_BFIN=y | ||
802 | # CONFIG_SPI_BITBANG is not set | ||
803 | |||
804 | # | ||
805 | # SPI Protocol Masters | ||
806 | # | ||
807 | # CONFIG_SPI_AT25 is not set | ||
808 | # CONFIG_SPI_SPIDEV is not set | ||
809 | |||
810 | # | ||
811 | # Dallas's 1-wire bus | ||
812 | # | ||
813 | # CONFIG_W1 is not set | ||
814 | # CONFIG_HWMON is not set | ||
815 | |||
816 | # | ||
817 | # Multifunction device drivers | ||
818 | # | ||
819 | # CONFIG_MFD_SM501 is not set | ||
820 | |||
821 | # | ||
822 | # Multimedia devices | ||
823 | # | ||
824 | # CONFIG_VIDEO_DEV is not set | ||
825 | # CONFIG_DVB_CORE is not set | ||
826 | CONFIG_DAB=y | ||
827 | # CONFIG_USB_DABUSB is not set | ||
828 | |||
829 | # | ||
830 | # Graphics support | ||
831 | # | ||
832 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
833 | |||
834 | # | ||
835 | # Display device support | ||
836 | # | ||
837 | # CONFIG_DISPLAY_SUPPORT is not set | ||
838 | # CONFIG_VGASTATE is not set | ||
839 | # CONFIG_FB is not set | ||
840 | |||
841 | # | ||
842 | # Sound | ||
843 | # | ||
844 | # CONFIG_SOUND is not set | ||
845 | |||
846 | # | ||
847 | # USB support | ||
848 | # | ||
849 | CONFIG_USB_ARCH_HAS_HCD=y | ||
850 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
851 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
852 | CONFIG_USB=y | ||
853 | # CONFIG_USB_DEBUG is not set | ||
854 | |||
855 | # | ||
856 | # Miscellaneous USB options | ||
857 | # | ||
858 | CONFIG_USB_DEVICEFS=y | ||
859 | CONFIG_USB_DEVICE_CLASS=y | ||
860 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
861 | # CONFIG_USB_SUSPEND is not set | ||
862 | # CONFIG_USB_OTG is not set | ||
863 | CONFIG_USB_OTG_WHITELIST=y | ||
864 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
865 | |||
866 | # | ||
867 | # USB Host Controller Drivers | ||
868 | # | ||
869 | # CONFIG_USB_ISP116X_HCD is not set | ||
870 | CONFIG_USB_ISP1362_HCD=y | ||
871 | # CONFIG_USB_ISP1760_HCD is not set | ||
872 | # CONFIG_USB_SL811_HCD is not set | ||
873 | # CONFIG_USB_MUSB_HDRC is not set | ||
874 | |||
875 | # | ||
876 | # USB Device Class drivers | ||
877 | # | ||
878 | # CONFIG_USB_ACM is not set | ||
879 | # CONFIG_USB_PRINTER is not set | ||
880 | |||
881 | # | ||
882 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
883 | # | ||
884 | |||
885 | # | ||
886 | # may also be needed; see USB_STORAGE Help for more information | ||
887 | # | ||
888 | CONFIG_USB_STORAGE=y | ||
889 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
890 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
891 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
892 | # CONFIG_USB_STORAGE_DPCM is not set | ||
893 | # CONFIG_USB_STORAGE_USBAT is not set | ||
894 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
895 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
896 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
897 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
898 | # CONFIG_USB_STORAGE_KARMA is not set | ||
899 | # CONFIG_USB_LIBUSUAL is not set | ||
900 | |||
901 | # | ||
902 | # USB Imaging devices | ||
903 | # | ||
904 | # CONFIG_USB_MDC800 is not set | ||
905 | # CONFIG_USB_MICROTEK is not set | ||
906 | CONFIG_USB_MON=y | ||
907 | |||
908 | # | ||
909 | # USB port drivers | ||
910 | # | ||
911 | |||
912 | # | ||
913 | # USB Serial Converter support | ||
914 | # | ||
915 | # CONFIG_USB_SERIAL is not set | ||
916 | |||
917 | # | ||
918 | # USB Miscellaneous drivers | ||
919 | # | ||
920 | # CONFIG_USB_EMI62 is not set | ||
921 | # CONFIG_USB_EMI26 is not set | ||
922 | # CONFIG_USB_ADUTUX is not set | ||
923 | # CONFIG_USB_AUERSWALD is not set | ||
924 | # CONFIG_USB_RIO500 is not set | ||
925 | # CONFIG_USB_LEGOTOWER is not set | ||
926 | # CONFIG_USB_LCD is not set | ||
927 | # CONFIG_USB_BERRY_CHARGE is not set | ||
928 | # CONFIG_USB_LED is not set | ||
929 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
930 | # CONFIG_USB_CYTHERM is not set | ||
931 | # CONFIG_USB_PHIDGET is not set | ||
932 | # CONFIG_USB_IDMOUSE is not set | ||
933 | # CONFIG_USB_FTDI_ELAN is not set | ||
934 | # CONFIG_USB_APPLEDISPLAY is not set | ||
935 | # CONFIG_USB_LD is not set | ||
936 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
937 | # CONFIG_USB_IOWARRIOR is not set | ||
938 | # CONFIG_USB_TEST is not set | ||
939 | |||
940 | # | ||
941 | # USB DSL modem support | ||
942 | # | ||
943 | |||
944 | # | ||
945 | # USB Gadget Support | ||
946 | # | ||
947 | # CONFIG_USB_GADGET is not set | ||
948 | CONFIG_MMC=m | ||
949 | # CONFIG_MMC_DEBUG is not set | ||
950 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
951 | |||
952 | # | ||
953 | # MMC/SD Card Drivers | ||
954 | # | ||
955 | CONFIG_MMC_BLOCK=m | ||
956 | |||
957 | # | ||
958 | # MMC/SD Host Controller Drivers | ||
959 | # | ||
960 | CONFIG_SPI_MMC=m | ||
961 | CONFIG_SPI_MMC_FRAMEWORK_DRIVER=y | ||
962 | # CONFIG_SPI_MMC_BFIN_PIO_SPI is not set | ||
963 | CONFIG_SPI_MMC_CS_CHAN=5 | ||
964 | CONFIG_SPI_MMC_MAX_HZ=20000000 | ||
965 | # CONFIG_SPI_MMC_CARD_DETECT is not set | ||
966 | # CONFIG_SPI_MMC_DEBUG_MODE is not set | ||
967 | |||
968 | # | ||
969 | # LED devices | ||
970 | # | ||
971 | # CONFIG_NEW_LEDS is not set | ||
972 | |||
973 | # | ||
974 | # LED drivers | ||
975 | # | ||
976 | |||
977 | # | ||
978 | # LED Triggers | ||
979 | # | ||
980 | |||
981 | # | ||
982 | # InfiniBand support | ||
983 | # | ||
984 | |||
985 | # | ||
986 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
987 | # | ||
988 | |||
989 | # | ||
990 | # Real Time Clock | ||
991 | # | ||
992 | CONFIG_RTC_LIB=y | ||
993 | CONFIG_RTC_CLASS=y | ||
994 | CONFIG_RTC_HCTOSYS=y | ||
995 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
996 | # CONFIG_RTC_DEBUG is not set | ||
997 | |||
998 | # | ||
999 | # RTC interfaces | ||
1000 | # | ||
1001 | CONFIG_RTC_INTF_SYSFS=y | ||
1002 | CONFIG_RTC_INTF_PROC=y | ||
1003 | CONFIG_RTC_INTF_DEV=y | ||
1004 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1005 | # CONFIG_RTC_DRV_TEST is not set | ||
1006 | |||
1007 | # | ||
1008 | # I2C RTC drivers | ||
1009 | # | ||
1010 | |||
1011 | # | ||
1012 | # SPI RTC drivers | ||
1013 | # | ||
1014 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1015 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1016 | |||
1017 | # | ||
1018 | # Platform RTC drivers | ||
1019 | # | ||
1020 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1021 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1022 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1023 | # CONFIG_RTC_DRV_V3020 is not set | ||
1024 | |||
1025 | # | ||
1026 | # on-CPU RTC drivers | ||
1027 | # | ||
1028 | CONFIG_RTC_DRV_BFIN=y | ||
1029 | |||
1030 | # | ||
1031 | # DMA Engine support | ||
1032 | # | ||
1033 | # CONFIG_DMA_ENGINE is not set | ||
1034 | |||
1035 | # | ||
1036 | # DMA Clients | ||
1037 | # | ||
1038 | |||
1039 | # | ||
1040 | # DMA Devices | ||
1041 | # | ||
1042 | |||
1043 | # | ||
1044 | # PBX support | ||
1045 | # | ||
1046 | # CONFIG_PBX is not set | ||
1047 | |||
1048 | # | ||
1049 | # File systems | ||
1050 | # | ||
1051 | CONFIG_EXT2_FS=y | ||
1052 | CONFIG_EXT2_FS_XATTR=y | ||
1053 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
1054 | # CONFIG_EXT2_FS_SECURITY is not set | ||
1055 | # CONFIG_EXT3_FS is not set | ||
1056 | # CONFIG_EXT4DEV_FS is not set | ||
1057 | CONFIG_FS_MBCACHE=y | ||
1058 | # CONFIG_REISERFS_FS is not set | ||
1059 | # CONFIG_JFS_FS is not set | ||
1060 | # CONFIG_FS_POSIX_ACL is not set | ||
1061 | # CONFIG_XFS_FS is not set | ||
1062 | # CONFIG_GFS2_FS is not set | ||
1063 | # CONFIG_OCFS2_FS is not set | ||
1064 | # CONFIG_MINIX_FS is not set | ||
1065 | # CONFIG_ROMFS_FS is not set | ||
1066 | CONFIG_INOTIFY=y | ||
1067 | CONFIG_INOTIFY_USER=y | ||
1068 | # CONFIG_QUOTA is not set | ||
1069 | CONFIG_DNOTIFY=y | ||
1070 | # CONFIG_AUTOFS_FS is not set | ||
1071 | # CONFIG_AUTOFS4_FS is not set | ||
1072 | # CONFIG_FUSE_FS is not set | ||
1073 | |||
1074 | # | ||
1075 | # CD-ROM/DVD Filesystems | ||
1076 | # | ||
1077 | # CONFIG_ISO9660_FS is not set | ||
1078 | # CONFIG_UDF_FS is not set | ||
1079 | |||
1080 | # | ||
1081 | # DOS/FAT/NT Filesystems | ||
1082 | # | ||
1083 | CONFIG_FAT_FS=y | ||
1084 | CONFIG_MSDOS_FS=y | ||
1085 | CONFIG_VFAT_FS=y | ||
1086 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1087 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1088 | # CONFIG_NTFS_FS is not set | ||
1089 | |||
1090 | # | ||
1091 | # Pseudo filesystems | ||
1092 | # | ||
1093 | CONFIG_PROC_FS=y | ||
1094 | CONFIG_PROC_SYSCTL=y | ||
1095 | CONFIG_SYSFS=y | ||
1096 | # CONFIG_TMPFS is not set | ||
1097 | # CONFIG_HUGETLB_PAGE is not set | ||
1098 | CONFIG_RAMFS=y | ||
1099 | # CONFIG_CONFIGFS_FS is not set | ||
1100 | |||
1101 | # | ||
1102 | # Miscellaneous filesystems | ||
1103 | # | ||
1104 | # CONFIG_ADFS_FS is not set | ||
1105 | # CONFIG_AFFS_FS is not set | ||
1106 | # CONFIG_HFS_FS is not set | ||
1107 | # CONFIG_HFSPLUS_FS is not set | ||
1108 | # CONFIG_BEFS_FS is not set | ||
1109 | # CONFIG_BFS_FS is not set | ||
1110 | # CONFIG_EFS_FS is not set | ||
1111 | CONFIG_YAFFS_FS=y | ||
1112 | CONFIG_YAFFS_YAFFS1=y | ||
1113 | # CONFIG_YAFFS_DOES_ECC is not set | ||
1114 | CONFIG_YAFFS_YAFFS2=y | ||
1115 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
1116 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
1117 | CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10 | ||
1118 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
1119 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
1120 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
1121 | # CONFIG_JFFS2_FS is not set | ||
1122 | # CONFIG_CRAMFS is not set | ||
1123 | # CONFIG_VXFS_FS is not set | ||
1124 | # CONFIG_HPFS_FS is not set | ||
1125 | # CONFIG_QNX4FS_FS is not set | ||
1126 | # CONFIG_SYSV_FS is not set | ||
1127 | # CONFIG_UFS_FS is not set | ||
1128 | |||
1129 | # | ||
1130 | # Network File Systems | ||
1131 | # | ||
1132 | # CONFIG_NFS_FS is not set | ||
1133 | # CONFIG_NFSD is not set | ||
1134 | # CONFIG_SMB_FS is not set | ||
1135 | # CONFIG_CIFS is not set | ||
1136 | # CONFIG_NCP_FS is not set | ||
1137 | # CONFIG_CODA_FS is not set | ||
1138 | # CONFIG_AFS_FS is not set | ||
1139 | # CONFIG_9P_FS is not set | ||
1140 | |||
1141 | # | ||
1142 | # Partition Types | ||
1143 | # | ||
1144 | # CONFIG_PARTITION_ADVANCED is not set | ||
1145 | CONFIG_MSDOS_PARTITION=y | ||
1146 | |||
1147 | # | ||
1148 | # Native Language Support | ||
1149 | # | ||
1150 | CONFIG_NLS=y | ||
1151 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1152 | CONFIG_NLS_CODEPAGE_437=y | ||
1153 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1154 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1155 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1156 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1157 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1158 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1159 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1160 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1161 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1162 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1163 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1164 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1165 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1166 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1167 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1168 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1169 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1170 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1171 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1172 | # CONFIG_NLS_ISO8859_8 is not set | ||
1173 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1174 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1175 | # CONFIG_NLS_ASCII is not set | ||
1176 | CONFIG_NLS_ISO8859_1=y | ||
1177 | # CONFIG_NLS_ISO8859_2 is not set | ||
1178 | # CONFIG_NLS_ISO8859_3 is not set | ||
1179 | # CONFIG_NLS_ISO8859_4 is not set | ||
1180 | # CONFIG_NLS_ISO8859_5 is not set | ||
1181 | # CONFIG_NLS_ISO8859_6 is not set | ||
1182 | # CONFIG_NLS_ISO8859_7 is not set | ||
1183 | # CONFIG_NLS_ISO8859_9 is not set | ||
1184 | # CONFIG_NLS_ISO8859_13 is not set | ||
1185 | # CONFIG_NLS_ISO8859_14 is not set | ||
1186 | # CONFIG_NLS_ISO8859_15 is not set | ||
1187 | # CONFIG_NLS_KOI8_R is not set | ||
1188 | # CONFIG_NLS_KOI8_U is not set | ||
1189 | # CONFIG_NLS_UTF8 is not set | ||
1190 | |||
1191 | # | ||
1192 | # Distributed Lock Manager | ||
1193 | # | ||
1194 | # CONFIG_DLM is not set | ||
1195 | |||
1196 | # | ||
1197 | # Profiling support | ||
1198 | # | ||
1199 | # CONFIG_PROFILING is not set | ||
1200 | |||
1201 | # | ||
1202 | # Kernel hacking | ||
1203 | # | ||
1204 | # CONFIG_PRINTK_TIME is not set | ||
1205 | CONFIG_ENABLE_MUST_CHECK=y | ||
1206 | # CONFIG_MAGIC_SYSRQ is not set | ||
1207 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1208 | # CONFIG_DEBUG_FS is not set | ||
1209 | # CONFIG_HEADERS_CHECK is not set | ||
1210 | # CONFIG_DEBUG_KERNEL is not set | ||
1211 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1212 | # CONFIG_DEBUG_MMRS is not set | ||
1213 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | ||
1214 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1215 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1216 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1217 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1218 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1219 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1220 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | ||
1221 | # CONFIG_EARLY_PRINTK is not set | ||
1222 | CONFIG_CPLB_INFO=y | ||
1223 | CONFIG_ACCESS_CHECK=y | ||
1224 | |||
1225 | # | ||
1226 | # Security options | ||
1227 | # | ||
1228 | # CONFIG_KEYS is not set | ||
1229 | CONFIG_SECURITY=y | ||
1230 | # CONFIG_SECURITY_NETWORK is not set | ||
1231 | CONFIG_SECURITY_CAPABILITIES=m | ||
1232 | # CONFIG_SECURITY_ROOTPLUG is not set | ||
1233 | |||
1234 | # | ||
1235 | # Cryptographic options | ||
1236 | # | ||
1237 | # CONFIG_CRYPTO is not set | ||
1238 | |||
1239 | # | ||
1240 | # Library routines | ||
1241 | # | ||
1242 | CONFIG_BITREVERSE=y | ||
1243 | CONFIG_CRC_CCITT=y | ||
1244 | # CONFIG_CRC16 is not set | ||
1245 | # CONFIG_CRC_ITU_T is not set | ||
1246 | CONFIG_CRC32=y | ||
1247 | # CONFIG_LIBCRC32C is not set | ||
1248 | CONFIG_ZLIB_INFLATE=y | ||
1249 | CONFIG_PLIST=y | ||
1250 | CONFIG_HAS_IOMEM=y | ||
1251 | CONFIG_HAS_IOPORT=y | ||
1252 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/mach-bf533/boards/Kconfig b/arch/blackfin/mach-bf533/boards/Kconfig index 751de5110afc..840059241fbe 100644 --- a/arch/blackfin/mach-bf533/boards/Kconfig +++ b/arch/blackfin/mach-bf533/boards/Kconfig | |||
@@ -26,6 +26,12 @@ config H8606_HVSISTEMAS | |||
26 | help | 26 | help |
27 | HV Sistemas H8606 board support. | 27 | HV Sistemas H8606 board support. |
28 | 28 | ||
29 | config BFIN532_IP0X | ||
30 | bool "IP04/IP08 IP-PBX" | ||
31 | depends on (BF532) | ||
32 | help | ||
33 | Core support for IP04/IP04 open hardware IP-PBX. | ||
34 | |||
29 | config GENERIC_BF533_BOARD | 35 | config GENERIC_BF533_BOARD |
30 | bool "Generic" | 36 | bool "Generic" |
31 | help | 37 | help |
diff --git a/arch/blackfin/mach-bf533/boards/Makefile b/arch/blackfin/mach-bf533/boards/Makefile index 54f57fb9791e..b7a1a1d79bda 100644 --- a/arch/blackfin/mach-bf533/boards/Makefile +++ b/arch/blackfin/mach-bf533/boards/Makefile | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | obj-$(CONFIG_GENERIC_BF533_BOARD) += generic_board.o | 5 | obj-$(CONFIG_GENERIC_BF533_BOARD) += generic_board.o |
6 | obj-$(CONFIG_BFIN533_STAMP) += stamp.o | 6 | obj-$(CONFIG_BFIN533_STAMP) += stamp.o |
7 | obj-$(CONFIG_BFIN532_IP0X) += ip0x.o | ||
7 | obj-$(CONFIG_BFIN533_EZKIT) += ezkit.o | 8 | obj-$(CONFIG_BFIN533_EZKIT) += ezkit.o |
8 | obj-$(CONFIG_BFIN533_BLUETECHNIX_CM) += cm_bf533.o | 9 | obj-$(CONFIG_BFIN533_BLUETECHNIX_CM) += cm_bf533.o |
9 | obj-$(CONFIG_H8606_HVSISTEMAS) += H8606.o | 10 | obj-$(CONFIG_H8606_HVSISTEMAS) += H8606.o |
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c new file mode 100644 index 000000000000..4af61474a991 --- /dev/null +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
@@ -0,0 +1,279 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-bf533/ip0x.c | ||
3 | * Based on: arch/blackfin/mach-bf533/bf1.c | ||
4 | * Based on: arch/blackfin/mach-bf533/stamp.c | ||
5 | * Author: Ivan Danov <idanov@gmail.com> | ||
6 | * Modified for IP0X David Rowe | ||
7 | * | ||
8 | * Created: 2007 | ||
9 | * Description: Board info file for the IP04/IP08 boards, which | ||
10 | * are derived from the BlackfinOne V2.0 boards. | ||
11 | * | ||
12 | * Modified: | ||
13 | * COpyright 2007 David Rowe | ||
14 | * Copyright 2006 Intratrade Ltd. | ||
15 | * Copyright 2005 National ICT Australia (NICTA) | ||
16 | * Copyright 2004-2006 Analog Devices Inc. | ||
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify | ||
19 | * it under the terms of the GNU General Public License as published by | ||
20 | * the Free Software Foundation; either version 2 of the License, or | ||
21 | * (at your option) any later version. | ||
22 | * | ||
23 | * This program is distributed in the hope that it will be useful, | ||
24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
26 | * GNU General Public License for more details. | ||
27 | * | ||
28 | * You should have received a copy of the GNU General Public License | ||
29 | * along with this program; if not, see the file COPYING, or write | ||
30 | * to the Free Software Foundation, Inc., | ||
31 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
32 | */ | ||
33 | |||
34 | #include <linux/device.h> | ||
35 | #include <linux/platform_device.h> | ||
36 | #include <linux/mtd/mtd.h> | ||
37 | #include <linux/mtd/partitions.h> | ||
38 | #include <linux/spi/spi.h> | ||
39 | #include <linux/spi/flash.h> | ||
40 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
41 | #include <linux/usb/isp1362.h> | ||
42 | #endif | ||
43 | #include <asm/irq.h> | ||
44 | #include <asm/bfin5xx_spi.h> | ||
45 | |||
46 | /* | ||
47 | * Name the Board for the /proc/cpuinfo | ||
48 | */ | ||
49 | const char bfin_board_name[] = "IP04/IP08"; | ||
50 | |||
51 | /* | ||
52 | * Driver needs to know address, irq and flag pin. | ||
53 | */ | ||
54 | #if defined(CONFIG_BFIN532_IP0X) | ||
55 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
56 | |||
57 | #include <linux/dm9000.h> | ||
58 | |||
59 | static struct resource dm9000_resource1[] = { | ||
60 | { | ||
61 | .start = 0x20100000, | ||
62 | .end = 0x20100000 + 1, | ||
63 | .flags = IORESOURCE_MEM | ||
64 | },{ | ||
65 | .start = 0x20100000 + 2, | ||
66 | .end = 0x20100000 + 3, | ||
67 | .flags = IORESOURCE_MEM | ||
68 | },{ | ||
69 | .start = IRQ_PF15, | ||
70 | .end = IRQ_PF15, | ||
71 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | ||
72 | } | ||
73 | }; | ||
74 | |||
75 | static struct resource dm9000_resource2[] = { | ||
76 | { | ||
77 | .start = 0x20200000, | ||
78 | .end = 0x20200000 + 1, | ||
79 | .flags = IORESOURCE_MEM | ||
80 | },{ | ||
81 | .start = 0x20200000 + 2, | ||
82 | .end = 0x20200000 + 3, | ||
83 | .flags = IORESOURCE_MEM | ||
84 | },{ | ||
85 | .start = IRQ_PF14, | ||
86 | .end = IRQ_PF14, | ||
87 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | ||
88 | } | ||
89 | }; | ||
90 | |||
91 | /* | ||
92 | * for the moment we limit ourselves to 16bit IO until some | ||
93 | * better IO routines can be written and tested | ||
94 | */ | ||
95 | static struct dm9000_plat_data dm9000_platdata1 = { | ||
96 | .flags = DM9000_PLATF_16BITONLY, | ||
97 | }; | ||
98 | |||
99 | static struct platform_device dm9000_device1 = { | ||
100 | .name = "dm9000", | ||
101 | .id = 0, | ||
102 | .num_resources = ARRAY_SIZE(dm9000_resource1), | ||
103 | .resource = dm9000_resource1, | ||
104 | .dev = { | ||
105 | .platform_data = &dm9000_platdata1, | ||
106 | } | ||
107 | }; | ||
108 | |||
109 | static struct dm9000_plat_data dm9000_platdata2 = { | ||
110 | .flags = DM9000_PLATF_16BITONLY, | ||
111 | }; | ||
112 | |||
113 | static struct platform_device dm9000_device2 = { | ||
114 | .name = "dm9000", | ||
115 | .id = 1, | ||
116 | .num_resources = ARRAY_SIZE(dm9000_resource2), | ||
117 | .resource = dm9000_resource2, | ||
118 | .dev = { | ||
119 | .platform_data = &dm9000_platdata2, | ||
120 | } | ||
121 | }; | ||
122 | |||
123 | #endif | ||
124 | #endif | ||
125 | |||
126 | |||
127 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
128 | /* all SPI peripherals info goes here */ | ||
129 | |||
130 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
131 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
132 | /* | ||
133 | * CPOL (Clock Polarity) | ||
134 | * 0 - Active high SCK | ||
135 | * 1 - Active low SCK | ||
136 | * CPHA (Clock Phase) Selects transfer format and operation mode | ||
137 | * 0 - SCLK toggles from middle of the first data bit, slave select | ||
138 | * pins controlled by hardware. | ||
139 | * 1 - SCLK toggles from beginning of first data bit, slave select | ||
140 | * pins controller by user software. | ||
141 | * .ctl_reg = 0x1c00, * CPOL=1,CPHA=1,Sandisk 1G work | ||
142 | * NO NO .ctl_reg = 0x1800, * CPOL=1,CPHA=0 | ||
143 | * NO NO .ctl_reg = 0x1400, * CPOL=0,CPHA=1 | ||
144 | */ | ||
145 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ | ||
146 | .enable_dma = 0, /* if 1 - block!!! */ | ||
147 | .bits_per_word = 8, | ||
148 | .cs_change_per_word = 0, | ||
149 | }; | ||
150 | #endif | ||
151 | |||
152 | /* Notice: for blackfin, the speed_hz is the value of register | ||
153 | * SPI_BAUD, not the real baudrate */ | ||
154 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | ||
155 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
156 | { | ||
157 | .modalias = "spi_mmc", | ||
158 | .max_speed_hz = 2, | ||
159 | .bus_num = 1, | ||
160 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
161 | .platform_data = NULL, | ||
162 | .controller_data = &spi_mmc_chip_info, | ||
163 | }, | ||
164 | #endif | ||
165 | }; | ||
166 | |||
167 | /* SPI controller data */ | ||
168 | static struct bfin5xx_spi_master spi_bfin_master_info = { | ||
169 | .num_chipselect = 8, | ||
170 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
171 | }; | ||
172 | |||
173 | static struct platform_device spi_bfin_master_device = { | ||
174 | .name = "bfin-spi-master", | ||
175 | .id = 1, /* Bus number */ | ||
176 | .dev = { | ||
177 | .platform_data = &spi_bfin_master_info, /* Passed to driver */ | ||
178 | }, | ||
179 | }; | ||
180 | #endif /* spi master and devices */ | ||
181 | |||
182 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
183 | static struct resource bfin_uart_resources[] = { | ||
184 | { | ||
185 | .start = 0xFFC00400, | ||
186 | .end = 0xFFC004FF, | ||
187 | .flags = IORESOURCE_MEM, | ||
188 | }, | ||
189 | }; | ||
190 | |||
191 | static struct platform_device bfin_uart_device = { | ||
192 | .name = "bfin-uart", | ||
193 | .id = 1, | ||
194 | .num_resources = ARRAY_SIZE(bfin_uart_resources), | ||
195 | .resource = bfin_uart_resources, | ||
196 | }; | ||
197 | #endif | ||
198 | |||
199 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
200 | static struct resource isp1362_hcd_resources[] = { | ||
201 | { | ||
202 | .start = 0x20300000, | ||
203 | .end = 0x20300000 + 1, | ||
204 | .flags = IORESOURCE_MEM, | ||
205 | },{ | ||
206 | .start = 0x20300000 + 2, | ||
207 | .end = 0x20300000 + 3, | ||
208 | .flags = IORESOURCE_MEM, | ||
209 | },{ | ||
210 | .start = IRQ_PF11, | ||
211 | .end = IRQ_PF11, | ||
212 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
213 | }, | ||
214 | }; | ||
215 | |||
216 | static struct isp1362_platform_data isp1362_priv = { | ||
217 | .sel15Kres = 1, | ||
218 | .clknotstop = 0, | ||
219 | .oc_enable = 0, /* external OC */ | ||
220 | .int_act_high = 0, | ||
221 | .int_edge_triggered = 0, | ||
222 | .remote_wakeup_connected = 0, | ||
223 | .no_power_switching = 1, | ||
224 | .power_switching_mode = 0, | ||
225 | }; | ||
226 | |||
227 | static struct platform_device isp1362_hcd_device = { | ||
228 | .name = "isp1362-hcd", | ||
229 | .id = 0, | ||
230 | .dev = { | ||
231 | .platform_data = &isp1362_priv, | ||
232 | }, | ||
233 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
234 | .resource = isp1362_hcd_resources, | ||
235 | }; | ||
236 | #endif | ||
237 | |||
238 | |||
239 | static struct platform_device *ip0x_devices[] __initdata = { | ||
240 | #if defined(CONFIG_BFIN532_IP0X) | ||
241 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
242 | &dm9000_device1, | ||
243 | &dm9000_device2, | ||
244 | #endif | ||
245 | #endif | ||
246 | |||
247 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
248 | &spi_bfin_master_device, | ||
249 | #endif | ||
250 | |||
251 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
252 | &bfin_uart_device, | ||
253 | #endif | ||
254 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
255 | &isp1362_hcd_device, | ||
256 | #endif | ||
257 | }; | ||
258 | |||
259 | static int __init ip0x_init(void) | ||
260 | { | ||
261 | int i; | ||
262 | |||
263 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
264 | platform_add_devices(ip0x_devices, ARRAY_SIZE(ip0x_devices)); | ||
265 | |||
266 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
267 | for (i = 0; i < ARRAY_SIZE(bfin_spi_board_info); ++i) { | ||
268 | int j = 1 << bfin_spi_board_info[i].chip_select; | ||
269 | /* set spi cs to 1 */ | ||
270 | bfin_write_FIO_DIR(bfin_read_FIO_DIR() | j); | ||
271 | bfin_write_FIO_FLAG_S(j); | ||
272 | } | ||
273 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | ||
274 | #endif | ||
275 | |||
276 | return 0; | ||
277 | } | ||
278 | |||
279 | arch_initcall(ip0x_init); | ||