aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2007-03-26 01:27:43 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-05-06 22:10:54 -0400
commitc86c5a910451dd5a30e62a9e36d8e9b3c7a0c1d1 (patch)
tree69acbb65e61a8895dfdebfd70dc58f5d8d9dbe38
parent00e8c494a1603eac0a2cae9836e624a752ad45b1 (diff)
sh: L-BOX RE2 support.
This adds support for the L-BOX RE2 router. http://www.nttcom.co.jp/l-box/ L-BOX RE2 is a SH7751R-based router. It has CF, Cardbus, serial, and LAN x2. This is one of the very few SH boards that a general person can obtain now. The L-BOX shipped with a 2.4.28 kernel, this is a rewritten patch adding it to current git. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig6
-rw-r--r--arch/sh/Makefile1
-rw-r--r--arch/sh/boards/lboxre2/Makefile5
-rw-r--r--arch/sh/boards/lboxre2/irq.c31
-rw-r--r--arch/sh/boards/lboxre2/setup.c84
-rw-r--r--arch/sh/configs/lboxre2_defconfig1271
-rw-r--r--arch/sh/drivers/pci/Makefile1
-rw-r--r--arch/sh/drivers/pci/fixups-lboxre2.c41
-rw-r--r--arch/sh/drivers/pci/ops-lboxre2.c63
-rw-r--r--arch/sh/drivers/pci/pci-sh7751.c2
-rw-r--r--include/asm-sh/lboxre2.h32
11 files changed, 1536 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 9932d1aa8494..4b6948f41d3f 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -243,6 +243,12 @@ config SH_7619_SOLUTION_ENGINE
243 help 243 help
244 Select 7619 SolutionEngine if configuring for a Hitachi SH7619 244 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
245 evaluation board. 245 evaluation board.
246
247config SH_LBOX_RE2
248 bool "L-BOX RE2"
249 select CPU_SUBTYPE_SH7751R
250 help
251 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
246 252
247config SH_UNKNOWN 253config SH_UNKNOWN
248 bool "BareCPU" 254 bool "BareCPU"
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 7eef74b1cb7b..b00ed904aa00 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -110,6 +110,7 @@ machdir-$(CONFIG_SH_TITAN) := titan
110machdir-$(CONFIG_SH_SHMIN) := shmin 110machdir-$(CONFIG_SH_SHMIN) := shmin
111machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) := se/7206 111machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) := se/7206
112machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) := se/7619 112machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) := se/7619
113machdir-$(CONFIG_SH_LBOX_RE2) := lboxre2
113machdir-$(CONFIG_SH_UNKNOWN) := unknown 114machdir-$(CONFIG_SH_UNKNOWN) := unknown
114 115
115incdir-y := $(notdir $(machdir-y)) 116incdir-y := $(notdir $(machdir-y))
diff --git a/arch/sh/boards/lboxre2/Makefile b/arch/sh/boards/lboxre2/Makefile
new file mode 100644
index 000000000000..e9ed140c06f6
--- /dev/null
+++ b/arch/sh/boards/lboxre2/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the L-BOX RE2 specific parts of the kernel
3# Copyright (c) 2007 Nobuhiro Iwamatsu
4
5obj-y := setup.o irq.o
diff --git a/arch/sh/boards/lboxre2/irq.c b/arch/sh/boards/lboxre2/irq.c
new file mode 100644
index 000000000000..5a1c3bbe7b50
--- /dev/null
+++ b/arch/sh/boards/lboxre2/irq.c
@@ -0,0 +1,31 @@
1/*
2 * linux/arch/sh/boards/lboxre2/irq.c
3 *
4 * Copyright (C) 2007 Nobuhiro Iwamatsu
5 *
6 * NTT COMWARE L-BOX RE2 Support.
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
10 * for more details.
11 *
12 */
13#include <linux/init.h>
14#include <linux/interrupt.h>
15#include <linux/irq.h>
16#include <asm/irq.h>
17#include <asm/io.h>
18#include <asm/lboxre2.h>
19
20/*
21 * Initialize IRQ setting
22 */
23void __init init_lboxre2_IRQ(void)
24{
25 make_imask_irq(IRQ_CF1);
26 make_imask_irq(IRQ_CF0);
27 make_imask_irq(IRQ_INTD);
28 make_imask_irq(IRQ_ETH1);
29 make_imask_irq(IRQ_ETH0);
30 make_imask_irq(IRQ_INTA);
31}
diff --git a/arch/sh/boards/lboxre2/setup.c b/arch/sh/boards/lboxre2/setup.c
new file mode 100644
index 000000000000..fc3cba3f0606
--- /dev/null
+++ b/arch/sh/boards/lboxre2/setup.c
@@ -0,0 +1,84 @@
1/*
2 * linux/arch/sh/boards/lbox/setup.c
3 *
4 * Copyright (C) 2007 Nobuhiro Iwamatsu
5 *
6 * NTT COMWARE L-BOX RE2 Support
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
10 * for more details.
11 *
12 */
13
14#include <linux/init.h>
15#include <linux/platform_device.h>
16#include <linux/pata_platform.h>
17#include <asm/machvec.h>
18#include <asm/lboxre2.h>
19#include <asm/io.h>
20
21static struct resource cf_ide_resources[] = {
22 [0] = {
23 .start = 0x1f0,
24 .end = 0x1f0 + 8 ,
25 .flags = IORESOURCE_IO,
26 },
27 [1] = {
28 .start = 0x1f0 + 0x206,
29 .end = 0x1f0 +8 + 0x206 + 8,
30 .flags = IORESOURCE_IO,
31 },
32 [2] = {
33 .start = IRQ_CF0,
34 .flags = IORESOURCE_IRQ,
35 },
36};
37
38static struct platform_device cf_ide_device = {
39 .name = "pata_platform",
40 .id = -1,
41 .num_resources = ARRAY_SIZE(cf_ide_resources),
42 .resource = cf_ide_resources,
43};
44
45static struct platform_device *lboxre2_devices[] __initdata = {
46 &cf_ide_device,
47};
48
49static int __init lboxre2_devices_setup(void)
50{
51 u32 cf0_io_base; /* Boot CF base address */
52 pgprot_t prot;
53 unsigned long paddrbase, psize;
54
55 /* open I/O area window */
56 paddrbase = virt_to_phys((void*)CONFIG_CF0_BASE_ADDR);
57 psize = PAGE_SIZE;
58 prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16);
59 cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot);
60 if (!cf0_io_base) {
61 printk(KERN_ERR "%s : can't open CF I/O window!\n" , __func__ );
62 return -ENOMEM;
63 }
64
65 cf_ide_resources[0].start += cf0_io_base ;
66 cf_ide_resources[0].end += cf0_io_base ;
67 cf_ide_resources[1].start += cf0_io_base ;
68 cf_ide_resources[1].end += cf0_io_base ;
69
70 return platform_add_devices(lboxre2_devices,
71 ARRAY_SIZE(lboxre2_devices));
72
73}
74device_initcall(lboxre2_devices_setup);
75
76/*
77 * The Machine Vector
78 */
79struct sh_machine_vector mv_lboxre2 __initmv = {
80 .mv_name = "L-BOX RE2",
81 .mv_nr_irqs = 72,
82 .mv_init_irq = init_lboxre2_IRQ,
83};
84ALIAS_MV(lboxre2)
diff --git a/arch/sh/configs/lboxre2_defconfig b/arch/sh/configs/lboxre2_defconfig
new file mode 100644
index 000000000000..be86414dcc87
--- /dev/null
+++ b/arch/sh/configs/lboxre2_defconfig
@@ -0,0 +1,1271 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.21-rc4
4# Sat Mar 24 22:04:27 2007
5#
6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_BUG=y
9CONFIG_GENERIC_FIND_NEXT_BIT=y
10CONFIG_GENERIC_HWEIGHT=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y
13CONFIG_GENERIC_CALIBRATE_DELAY=y
14# CONFIG_GENERIC_TIME is not set
15CONFIG_STACKTRACE_SUPPORT=y
16CONFIG_LOCKDEP_SUPPORT=y
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
20
21#
22# Code maturity level options
23#
24CONFIG_EXPERIMENTAL=y
25CONFIG_BROKEN_ON_SMP=y
26CONFIG_INIT_ENV_ARG_LIMIT=32
27
28#
29# General setup
30#
31CONFIG_LOCALVERSION=""
32CONFIG_LOCALVERSION_AUTO=y
33CONFIG_SWAP=y
34CONFIG_SYSVIPC=y
35# CONFIG_IPC_NS is not set
36CONFIG_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
43CONFIG_SYSFS_DEPRECATED=y
44# CONFIG_RELAY is not set
45# CONFIG_BLK_DEV_INITRD is not set
46CONFIG_CC_OPTIMIZE_FOR_SIZE=y
47CONFIG_SYSCTL=y
48CONFIG_EMBEDDED=y
49CONFIG_UID16=y
50# CONFIG_SYSCTL_SYSCALL is not set
51CONFIG_KALLSYMS=y
52CONFIG_KALLSYMS_EXTRA_PASS=y
53CONFIG_HOTPLUG=y
54CONFIG_PRINTK=y
55CONFIG_BUG=y
56CONFIG_ELF_CORE=y
57CONFIG_BASE_FULL=y
58CONFIG_FUTEX=y
59CONFIG_EPOLL=y
60CONFIG_SHMEM=y
61CONFIG_SLAB=y
62CONFIG_VM_EVENT_COUNTERS=y
63CONFIG_RT_MUTEXES=y
64# CONFIG_TINY_SHMEM is not set
65CONFIG_BASE_SMALL=0
66# CONFIG_SLOB is not set
67
68#
69# Loadable module support
70#
71CONFIG_MODULES=y
72CONFIG_MODULE_UNLOAD=y
73CONFIG_MODULE_FORCE_UNLOAD=y
74# CONFIG_MODVERSIONS is not set
75# CONFIG_MODULE_SRCVERSION_ALL is not set
76CONFIG_KMOD=y
77
78#
79# Block layer
80#
81CONFIG_BLOCK=y
82# CONFIG_LBD is not set
83# CONFIG_BLK_DEV_IO_TRACE is not set
84# CONFIG_LSF is not set
85
86#
87# IO Schedulers
88#
89CONFIG_IOSCHED_NOOP=y
90CONFIG_IOSCHED_AS=y
91CONFIG_IOSCHED_DEADLINE=y
92CONFIG_IOSCHED_CFQ=y
93CONFIG_DEFAULT_AS=y
94# CONFIG_DEFAULT_DEADLINE is not set
95# CONFIG_DEFAULT_CFQ is not set
96# CONFIG_DEFAULT_NOOP is not set
97CONFIG_DEFAULT_IOSCHED="anticipatory"
98
99#
100# System type
101#
102# CONFIG_SH_SOLUTION_ENGINE is not set
103# CONFIG_SH_7751_SOLUTION_ENGINE is not set
104# CONFIG_SH_7300_SOLUTION_ENGINE is not set
105# CONFIG_SH_7343_SOLUTION_ENGINE is not set
106# CONFIG_SH_73180_SOLUTION_ENGINE is not set
107# CONFIG_SH_7751_SYSTEMH is not set
108# CONFIG_SH_HP6XX is not set
109# CONFIG_SH_SATURN is not set
110# CONFIG_SH_DREAMCAST is not set
111# CONFIG_SH_MPC1211 is not set
112# CONFIG_SH_SH03 is not set
113# CONFIG_SH_SECUREEDGE5410 is not set
114# CONFIG_SH_HS7751RVOIP is not set
115# CONFIG_SH_7710VOIPGW is not set
116# CONFIG_SH_RTS7751R2D is not set
117# CONFIG_SH_HIGHLANDER is not set
118# CONFIG_SH_EDOSK7705 is not set
119# CONFIG_SH_SH4202_MICRODEV is not set
120# CONFIG_SH_LANDISK is not set
121# CONFIG_SH_TITAN is not set
122# CONFIG_SH_SHMIN is not set
123# CONFIG_SH_7206_SOLUTION_ENGINE is not set
124# CONFIG_SH_7619_SOLUTION_ENGINE is not set
125CONFIG_SH_LBOX_RE2=y
126# CONFIG_SH_UNKNOWN is not set
127
128#
129# Processor selection
130#
131CONFIG_CPU_SH4=y
132
133#
134# SH-2 Processor Support
135#
136# CONFIG_CPU_SUBTYPE_SH7604 is not set
137# CONFIG_CPU_SUBTYPE_SH7619 is not set
138
139#
140# SH-2A Processor Support
141#
142# CONFIG_CPU_SUBTYPE_SH7206 is not set
143
144#
145# SH-3 Processor Support
146#
147# CONFIG_CPU_SUBTYPE_SH7300 is not set
148# CONFIG_CPU_SUBTYPE_SH7705 is not set
149# CONFIG_CPU_SUBTYPE_SH7706 is not set
150# CONFIG_CPU_SUBTYPE_SH7707 is not set
151# CONFIG_CPU_SUBTYPE_SH7708 is not set
152# CONFIG_CPU_SUBTYPE_SH7709 is not set
153# CONFIG_CPU_SUBTYPE_SH7710 is not set
154
155#
156# SH-4 Processor Support
157#
158# CONFIG_CPU_SUBTYPE_SH7750 is not set
159# CONFIG_CPU_SUBTYPE_SH7091 is not set
160# CONFIG_CPU_SUBTYPE_SH7750R is not set
161# CONFIG_CPU_SUBTYPE_SH7750S is not set
162CONFIG_CPU_SUBTYPE_SH7751=y
163CONFIG_CPU_SUBTYPE_SH7751R=y
164# CONFIG_CPU_SUBTYPE_SH7760 is not set
165# CONFIG_CPU_SUBTYPE_SH4_202 is not set
166
167#
168# ST40 Processor Support
169#
170# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
171# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
172
173#
174# SH-4A Processor Support
175#
176# CONFIG_CPU_SUBTYPE_SH7770 is not set
177# CONFIG_CPU_SUBTYPE_SH7780 is not set
178# CONFIG_CPU_SUBTYPE_SH7785 is not set
179
180#
181# SH4AL-DSP Processor Support
182#
183# CONFIG_CPU_SUBTYPE_SH73180 is not set
184# CONFIG_CPU_SUBTYPE_SH7343 is not set
185# CONFIG_CPU_SUBTYPE_SH7722 is not set
186
187#
188# Memory management options
189#
190CONFIG_MMU=y
191CONFIG_PAGE_OFFSET=0x80000000
192CONFIG_MEMORY_START=0x0c000000
193CONFIG_MEMORY_SIZE=0x04000000
194CONFIG_VSYSCALL=y
195CONFIG_PAGE_SIZE_4KB=y
196# CONFIG_PAGE_SIZE_8KB is not set
197# CONFIG_PAGE_SIZE_64KB is not set
198CONFIG_SELECT_MEMORY_MODEL=y
199CONFIG_FLATMEM_MANUAL=y
200# CONFIG_DISCONTIGMEM_MANUAL is not set
201# CONFIG_SPARSEMEM_MANUAL is not set
202CONFIG_FLATMEM=y
203CONFIG_FLAT_NODE_MEM_MAP=y
204# CONFIG_SPARSEMEM_STATIC is not set
205CONFIG_SPLIT_PTLOCK_CPUS=4
206# CONFIG_RESOURCES_64BIT is not set
207CONFIG_ZONE_DMA_FLAG=0
208
209#
210# Cache configuration
211#
212# CONFIG_SH_DIRECT_MAPPED is not set
213# CONFIG_SH_WRITETHROUGH is not set
214# CONFIG_SH_OCRAM is not set
215
216#
217# Processor features
218#
219CONFIG_CPU_LITTLE_ENDIAN=y
220# CONFIG_CPU_BIG_ENDIAN is not set
221CONFIG_SH_FPU=y
222# CONFIG_SH_DSP is not set
223# CONFIG_SH_STORE_QUEUES is not set
224CONFIG_CPU_HAS_INTEVT=y
225CONFIG_CPU_HAS_IPR_IRQ=y
226CONFIG_CPU_HAS_SR_RB=y
227CONFIG_CPU_HAS_PTEA=y
228
229#
230# Timer and clock configuration
231#
232CONFIG_SH_TMU=y
233CONFIG_SH_TIMER_IRQ=16
234# CONFIG_NO_IDLE_HZ is not set
235CONFIG_SH_PCLK_FREQ=40000000
236
237#
238# CPU Frequency scaling
239#
240# CONFIG_CPU_FREQ is not set
241
242#
243# DMA support
244#
245# CONFIG_SH_DMA is not set
246
247#
248# Companion Chips
249#
250# CONFIG_HD6446X_SERIES is not set
251
252#
253# Additional SuperH Device Drivers
254#
255# CONFIG_HEARTBEAT is not set
256# CONFIG_PUSH_SWITCH is not set
257
258#
259# Kernel features
260#
261# CONFIG_HZ_100 is not set
262CONFIG_HZ_250=y
263# CONFIG_HZ_300 is not set
264# CONFIG_HZ_1000 is not set
265CONFIG_HZ=250
266CONFIG_KEXEC=y
267# CONFIG_SMP is not set
268CONFIG_PREEMPT_NONE=y
269# CONFIG_PREEMPT_VOLUNTARY is not set
270# CONFIG_PREEMPT is not set
271
272#
273# Boot options
274#
275CONFIG_ZERO_PAGE_OFFSET=0x00001000
276CONFIG_BOOT_LINK_OFFSET=0x00800000
277# CONFIG_UBC_WAKEUP is not set
278CONFIG_CMDLINE_BOOL=y
279CONFIG_CMDLINE="console=ttySC1,115200 root=/dev/sda1"
280
281#
282# Bus options
283#
284CONFIG_ISA=y
285CONFIG_PCI=y
286CONFIG_SH_PCIDMA_NONCOHERENT=y
287CONFIG_PCI_AUTO=y
288CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
289
290#
291# PCCARD (PCMCIA/CardBus) support
292#
293CONFIG_PCCARD=y
294CONFIG_PCMCIA_DEBUG=y
295CONFIG_PCMCIA=y
296CONFIG_PCMCIA_LOAD_CIS=y
297CONFIG_PCMCIA_IOCTL=y
298CONFIG_CARDBUS=y
299
300#
301# PC-card bridges
302#
303CONFIG_YENTA=y
304CONFIG_YENTA_O2=y
305# CONFIG_YENTA_RICOH is not set
306# CONFIG_YENTA_TI is not set
307# CONFIG_YENTA_TOSHIBA is not set
308# CONFIG_PD6729 is not set
309# CONFIG_I82092 is not set
310# CONFIG_I82365 is not set
311# CONFIG_TCIC is not set
312CONFIG_PCMCIA_PROBE=y
313CONFIG_PCCARD_NONSTATIC=y
314
315#
316# PCI Hotplug Support
317#
318# CONFIG_HOTPLUG_PCI is not set
319
320#
321# Executable file formats
322#
323CONFIG_BINFMT_ELF=y
324# CONFIG_BINFMT_FLAT is not set
325# CONFIG_BINFMT_MISC is not set
326
327#
328# Power management options (EXPERIMENTAL)
329#
330# CONFIG_PM is not set
331
332#
333# Networking
334#
335CONFIG_NET=y
336
337#
338# Networking options
339#
340# CONFIG_NETDEBUG is not set
341CONFIG_PACKET=y
342# CONFIG_PACKET_MMAP is not set
343CONFIG_UNIX=y
344CONFIG_XFRM=y
345# CONFIG_XFRM_USER is not set
346# CONFIG_XFRM_SUB_POLICY is not set
347# CONFIG_XFRM_MIGRATE is not set
348# CONFIG_NET_KEY is not set
349CONFIG_INET=y
350# CONFIG_IP_MULTICAST is not set
351CONFIG_IP_ADVANCED_ROUTER=y
352CONFIG_ASK_IP_FIB_HASH=y
353# CONFIG_IP_FIB_TRIE is not set
354CONFIG_IP_FIB_HASH=y
355# CONFIG_IP_MULTIPLE_TABLES is not set
356# CONFIG_IP_ROUTE_MULTIPATH is not set
357# CONFIG_IP_ROUTE_VERBOSE is not set
358CONFIG_IP_PNP=y
359# CONFIG_IP_PNP_DHCP is not set
360# CONFIG_IP_PNP_BOOTP is not set
361# CONFIG_IP_PNP_RARP is not set
362# CONFIG_NET_IPIP is not set
363# CONFIG_NET_IPGRE is not set
364# CONFIG_ARPD is not set
365# CONFIG_SYN_COOKIES is not set
366# CONFIG_INET_AH is not set
367# CONFIG_INET_ESP is not set
368# CONFIG_INET_IPCOMP is not set
369# CONFIG_INET_XFRM_TUNNEL is not set
370# CONFIG_INET_TUNNEL is not set
371CONFIG_INET_XFRM_MODE_TRANSPORT=y
372CONFIG_INET_XFRM_MODE_TUNNEL=y
373CONFIG_INET_XFRM_MODE_BEET=y
374CONFIG_INET_DIAG=y
375CONFIG_INET_TCP_DIAG=y
376# CONFIG_TCP_CONG_ADVANCED is not set
377CONFIG_TCP_CONG_CUBIC=y
378CONFIG_DEFAULT_TCP_CONG="cubic"
379# CONFIG_TCP_MD5SIG is not set
380
381#
382# IP: Virtual Server Configuration
383#
384# CONFIG_IP_VS is not set
385# CONFIG_IPV6 is not set
386# CONFIG_INET6_XFRM_TUNNEL is not set
387# CONFIG_INET6_TUNNEL is not set
388# CONFIG_NETWORK_SECMARK is not set
389CONFIG_NETFILTER=y
390# CONFIG_NETFILTER_DEBUG is not set
391
392#
393# Core Netfilter Configuration
394#
395# CONFIG_NETFILTER_NETLINK is not set
396# CONFIG_NF_CONNTRACK_ENABLED is not set
397# CONFIG_NETFILTER_XTABLES is not set
398
399#
400# IP: Netfilter Configuration
401#
402# CONFIG_IP_NF_QUEUE is not set
403# CONFIG_IP_NF_IPTABLES is not set
404# CONFIG_IP_NF_ARPTABLES is not set
405
406#
407# DCCP Configuration (EXPERIMENTAL)
408#
409# CONFIG_IP_DCCP is not set
410
411#
412# SCTP Configuration (EXPERIMENTAL)
413#
414# CONFIG_IP_SCTP is not set
415
416#
417# TIPC Configuration (EXPERIMENTAL)
418#
419# CONFIG_TIPC is not set
420# CONFIG_ATM is not set
421# CONFIG_BRIDGE is not set
422# CONFIG_VLAN_8021Q is not set
423# CONFIG_DECNET is not set
424# CONFIG_LLC2 is not set
425# CONFIG_IPX is not set
426# CONFIG_ATALK is not set
427# CONFIG_X25 is not set
428# CONFIG_LAPB is not set
429# CONFIG_ECONET is not set
430# CONFIG_WAN_ROUTER is not set
431
432#
433# QoS and/or fair queueing
434#
435# CONFIG_NET_SCHED is not set
436
437#
438# Network testing
439#
440# CONFIG_NET_PKTGEN is not set
441# CONFIG_HAMRADIO is not set
442# CONFIG_IRDA is not set
443# CONFIG_BT is not set
444# CONFIG_IEEE80211 is not set
445
446#
447# Device Drivers
448#
449
450#
451# Generic Driver Options
452#
453CONFIG_STANDALONE=y
454CONFIG_PREVENT_FIRMWARE_BUILD=y
455CONFIG_FW_LOADER=y
456# CONFIG_SYS_HYPERVISOR is not set
457
458#
459# Connector - unified userspace <-> kernelspace linker
460#
461# CONFIG_CONNECTOR is not set
462
463#
464# Memory Technology Devices (MTD)
465#
466# CONFIG_MTD is not set
467
468#
469# Parallel port support
470#
471# CONFIG_PARPORT is not set
472
473#
474# Plug and Play support
475#
476# CONFIG_PNP is not set
477# CONFIG_PNPACPI is not set
478
479#
480# Block devices
481#
482# CONFIG_BLK_CPQ_DA is not set
483# CONFIG_BLK_CPQ_CISS_DA is not set
484# CONFIG_BLK_DEV_DAC960 is not set
485# CONFIG_BLK_DEV_UMEM is not set
486# CONFIG_BLK_DEV_COW_COMMON is not set
487CONFIG_BLK_DEV_LOOP=y
488# CONFIG_BLK_DEV_CRYPTOLOOP is not set
489# CONFIG_BLK_DEV_NBD is not set
490# CONFIG_BLK_DEV_SX8 is not set
491CONFIG_BLK_DEV_RAM=y
492CONFIG_BLK_DEV_RAM_COUNT=16
493CONFIG_BLK_DEV_RAM_SIZE=4096
494CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
495# CONFIG_CDROM_PKTCDVD is not set
496# CONFIG_ATA_OVER_ETH is not set
497
498#
499# Misc devices
500#
501# CONFIG_SGI_IOC4 is not set
502# CONFIG_TIFM_CORE is not set
503
504#
505# ATA/ATAPI/MFM/RLL support
506#
507# CONFIG_IDE is not set
508
509#
510# SCSI device support
511#
512# CONFIG_RAID_ATTRS is not set
513CONFIG_SCSI=y
514# CONFIG_SCSI_TGT is not set
515# CONFIG_SCSI_NETLINK is not set
516CONFIG_SCSI_PROC_FS=y
517
518#
519# SCSI support type (disk, tape, CD-ROM)
520#
521CONFIG_BLK_DEV_SD=y
522# CONFIG_CHR_DEV_ST is not set
523# CONFIG_CHR_DEV_OSST is not set
524# CONFIG_BLK_DEV_SR is not set
525# CONFIG_CHR_DEV_SG is not set
526# CONFIG_CHR_DEV_SCH is not set
527
528#
529# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
530#
531# CONFIG_SCSI_MULTI_LUN is not set
532# CONFIG_SCSI_CONSTANTS is not set
533# CONFIG_SCSI_LOGGING is not set
534# CONFIG_SCSI_SCAN_ASYNC is not set
535
536#
537# SCSI Transports
538#
539# CONFIG_SCSI_SPI_ATTRS is not set
540# CONFIG_SCSI_FC_ATTRS is not set
541# CONFIG_SCSI_ISCSI_ATTRS is not set
542# CONFIG_SCSI_SAS_ATTRS is not set
543# CONFIG_SCSI_SAS_LIBSAS is not set
544
545#
546# SCSI low-level drivers
547#
548# CONFIG_ISCSI_TCP is not set
549# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
550# CONFIG_SCSI_3W_9XXX is not set
551# CONFIG_SCSI_ACARD is not set
552# CONFIG_SCSI_AHA152X is not set
553# CONFIG_SCSI_AACRAID is not set
554# CONFIG_SCSI_AIC7XXX is not set
555# CONFIG_SCSI_AIC7XXX_OLD is not set
556# CONFIG_SCSI_AIC79XX is not set
557# CONFIG_SCSI_AIC94XX is not set
558# CONFIG_SCSI_DPT_I2O is not set
559# CONFIG_SCSI_IN2000 is not set
560# CONFIG_SCSI_ARCMSR is not set
561# CONFIG_MEGARAID_NEWGEN is not set
562# CONFIG_MEGARAID_LEGACY is not set
563# CONFIG_MEGARAID_SAS is not set
564# CONFIG_SCSI_HPTIOP is not set
565# CONFIG_SCSI_DMX3191D is not set
566# CONFIG_SCSI_DTC3280 is not set
567# CONFIG_SCSI_FUTURE_DOMAIN is not set
568# CONFIG_SCSI_GENERIC_NCR5380 is not set
569# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
570# CONFIG_SCSI_IPS is not set
571# CONFIG_SCSI_INITIO is not set
572# CONFIG_SCSI_INIA100 is not set
573# CONFIG_SCSI_NCR53C406A is not set
574# CONFIG_SCSI_STEX is not set
575# CONFIG_SCSI_SYM53C8XX_2 is not set
576# CONFIG_SCSI_IPR is not set
577# CONFIG_SCSI_PAS16 is not set
578# CONFIG_SCSI_PSI240I is not set
579# CONFIG_SCSI_QLOGIC_FAS is not set
580# CONFIG_SCSI_QLOGIC_1280 is not set
581# CONFIG_SCSI_QLA_FC is not set
582# CONFIG_SCSI_QLA_ISCSI is not set
583# CONFIG_SCSI_LPFC is not set
584# CONFIG_SCSI_SYM53C416 is not set
585# CONFIG_SCSI_DC395x is not set
586# CONFIG_SCSI_DC390T is not set
587# CONFIG_SCSI_T128 is not set
588# CONFIG_SCSI_NSP32 is not set
589# CONFIG_SCSI_DEBUG is not set
590# CONFIG_SCSI_SRP is not set
591
592#
593# PCMCIA SCSI adapter support
594#
595# CONFIG_PCMCIA_AHA152X is not set
596# CONFIG_PCMCIA_FDOMAIN is not set
597# CONFIG_PCMCIA_NINJA_SCSI is not set
598# CONFIG_PCMCIA_QLOGIC is not set
599# CONFIG_PCMCIA_SYM53C500 is not set
600
601#
602# Serial ATA (prod) and Parallel ATA (experimental) drivers
603#
604CONFIG_ATA=y
605# CONFIG_ATA_NONSTANDARD is not set
606# CONFIG_SATA_AHCI is not set
607# CONFIG_SATA_SVW is not set
608# CONFIG_ATA_PIIX is not set
609# CONFIG_SATA_MV is not set
610# CONFIG_SATA_NV is not set
611# CONFIG_PDC_ADMA is not set
612# CONFIG_SATA_QSTOR is not set
613# CONFIG_SATA_PROMISE is not set
614# CONFIG_SATA_SX4 is not set
615# CONFIG_SATA_SIL is not set
616# CONFIG_SATA_SIL24 is not set
617# CONFIG_SATA_SIS is not set
618# CONFIG_SATA_ULI is not set
619# CONFIG_SATA_VIA is not set
620# CONFIG_SATA_VITESSE is not set
621# CONFIG_SATA_INIC162X is not set
622# CONFIG_PATA_ALI is not set
623# CONFIG_PATA_AMD is not set
624# CONFIG_PATA_ARTOP is not set
625# CONFIG_PATA_ATIIXP is not set
626# CONFIG_PATA_CMD64X is not set
627# CONFIG_PATA_CS5520 is not set
628# CONFIG_PATA_CS5530 is not set
629# CONFIG_PATA_CYPRESS is not set
630# CONFIG_PATA_EFAR is not set
631# CONFIG_ATA_GENERIC is not set
632# CONFIG_PATA_HPT366 is not set
633# CONFIG_PATA_HPT37X is not set
634# CONFIG_PATA_HPT3X2N is not set
635# CONFIG_PATA_HPT3X3 is not set
636# CONFIG_PATA_IT821X is not set
637# CONFIG_PATA_IT8213 is not set
638# CONFIG_PATA_JMICRON is not set
639# CONFIG_PATA_LEGACY is not set
640# CONFIG_PATA_TRIFLEX is not set
641# CONFIG_PATA_MARVELL is not set
642# CONFIG_PATA_MPIIX is not set
643# CONFIG_PATA_OLDPIIX is not set
644# CONFIG_PATA_NETCELL is not set
645# CONFIG_PATA_NS87410 is not set
646# CONFIG_PATA_OPTI is not set
647# CONFIG_PATA_OPTIDMA is not set
648# CONFIG_PATA_PCMCIA is not set
649# CONFIG_PATA_PDC_OLD is not set
650# CONFIG_PATA_QDI is not set
651# CONFIG_PATA_RADISYS is not set
652# CONFIG_PATA_RZ1000 is not set
653# CONFIG_PATA_SC1200 is not set
654# CONFIG_PATA_SERVERWORKS is not set
655# CONFIG_PATA_PDC2027X is not set
656# CONFIG_PATA_SIL680 is not set
657# CONFIG_PATA_SIS is not set
658# CONFIG_PATA_VIA is not set
659# CONFIG_PATA_WINBOND is not set
660# CONFIG_PATA_WINBOND_VLB is not set
661CONFIG_PATA_PLATFORM=y
662
663#
664# Old CD-ROM drivers (not SCSI, not IDE)
665#
666# CONFIG_CD_NO_IDESCSI is not set
667
668#
669# Multi-device support (RAID and LVM)
670#
671# CONFIG_MD is not set
672
673#
674# Fusion MPT device support
675#
676# CONFIG_FUSION is not set
677# CONFIG_FUSION_SPI is not set
678# CONFIG_FUSION_FC is not set
679# CONFIG_FUSION_SAS is not set
680
681#
682# IEEE 1394 (FireWire) support
683#
684# CONFIG_IEEE1394 is not set
685
686#
687# I2O device support
688#
689# CONFIG_I2O is not set
690
691#
692# Network device support
693#
694CONFIG_NETDEVICES=y
695# CONFIG_DUMMY is not set
696# CONFIG_BONDING is not set
697# CONFIG_EQUALIZER is not set
698# CONFIG_TUN is not set
699
700#
701# ARCnet devices
702#
703# CONFIG_ARCNET is not set
704
705#
706# PHY device support
707#
708# CONFIG_PHYLIB is not set
709
710#
711# Ethernet (10 or 100Mbit)
712#
713CONFIG_NET_ETHERNET=y
714CONFIG_MII=y
715# CONFIG_STNIC is not set
716# CONFIG_HAPPYMEAL is not set
717# CONFIG_SUNGEM is not set
718# CONFIG_CASSINI is not set
719# CONFIG_NET_VENDOR_3COM is not set
720# CONFIG_NET_VENDOR_SMC is not set
721# CONFIG_SMC91X is not set
722# CONFIG_NET_VENDOR_RACAL is not set
723
724#
725# Tulip family network device support
726#
727# CONFIG_NET_TULIP is not set
728# CONFIG_AT1700 is not set
729# CONFIG_DEPCA is not set
730# CONFIG_HP100 is not set
731# CONFIG_NET_ISA is not set
732CONFIG_NET_PCI=y
733# CONFIG_PCNET32 is not set
734# CONFIG_AMD8111_ETH is not set
735# CONFIG_ADAPTEC_STARFIRE is not set
736# CONFIG_AC3200 is not set
737# CONFIG_APRICOT is not set
738# CONFIG_B44 is not set
739# CONFIG_FORCEDETH is not set
740# CONFIG_CS89x0 is not set
741# CONFIG_DGRS is not set
742# CONFIG_EEPRO100 is not set
743# CONFIG_E100 is not set
744# CONFIG_FEALNX is not set
745# CONFIG_NATSEMI is not set
746CONFIG_NE2K_PCI=y
747# CONFIG_8139CP is not set
748CONFIG_8139TOO=y
749CONFIG_8139TOO_PIO=y
750CONFIG_8139TOO_TUNE_TWISTER=y
751# CONFIG_8139TOO_8129 is not set
752# CONFIG_8139_OLD_RX_RESET is not set
753# CONFIG_SIS900 is not set
754# CONFIG_EPIC100 is not set
755# CONFIG_SUNDANCE is not set
756# CONFIG_TLAN is not set
757# CONFIG_VIA_RHINE is not set
758# CONFIG_SC92031 is not set
759
760#
761# Ethernet (1000 Mbit)
762#
763# CONFIG_ACENIC is not set
764# CONFIG_DL2K is not set
765# CONFIG_E1000 is not set
766# CONFIG_NS83820 is not set
767# CONFIG_HAMACHI is not set
768# CONFIG_YELLOWFIN is not set
769# CONFIG_R8169 is not set
770# CONFIG_SIS190 is not set
771# CONFIG_SKGE is not set
772# CONFIG_SKY2 is not set
773# CONFIG_SK98LIN is not set
774# CONFIG_VIA_VELOCITY is not set
775# CONFIG_TIGON3 is not set
776# CONFIG_BNX2 is not set
777# CONFIG_QLA3XXX is not set
778# CONFIG_ATL1 is not set
779
780#
781# Ethernet (10000 Mbit)
782#
783# CONFIG_CHELSIO_T1 is not set
784# CONFIG_CHELSIO_T3 is not set
785# CONFIG_IXGB is not set
786# CONFIG_S2IO is not set
787# CONFIG_MYRI10GE is not set
788# CONFIG_NETXEN_NIC is not set
789
790#
791# Token Ring devices
792#
793# CONFIG_TR is not set
794
795#
796# Wireless LAN (non-hamradio)
797#
798# CONFIG_NET_RADIO is not set
799
800#
801# PCMCIA network device support
802#
803CONFIG_NET_PCMCIA=y
804# CONFIG_PCMCIA_3C589 is not set
805# CONFIG_PCMCIA_3C574 is not set
806# CONFIG_PCMCIA_FMVJ18X is not set
807CONFIG_PCMCIA_PCNET=y
808# CONFIG_PCMCIA_NMCLAN is not set
809# CONFIG_PCMCIA_SMC91C92 is not set
810# CONFIG_PCMCIA_XIRC2PS is not set
811# CONFIG_PCMCIA_AXNET is not set
812
813#
814# Wan interfaces
815#
816# CONFIG_WAN is not set
817# CONFIG_FDDI is not set
818# CONFIG_HIPPI is not set
819# CONFIG_PPP is not set
820# CONFIG_SLIP is not set
821# CONFIG_NET_FC is not set
822# CONFIG_SHAPER is not set
823# CONFIG_NETCONSOLE is not set
824# CONFIG_NETPOLL is not set
825# CONFIG_NET_POLL_CONTROLLER is not set
826
827#
828# ISDN subsystem
829#
830# CONFIG_ISDN is not set
831
832#
833# Telephony Support
834#
835# CONFIG_PHONE is not set
836
837#
838# Input device support
839#
840CONFIG_INPUT=y
841# CONFIG_INPUT_FF_MEMLESS is not set
842
843#
844# Userland interfaces
845#
846CONFIG_INPUT_MOUSEDEV=y
847# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
848CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
849CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
850# CONFIG_INPUT_JOYDEV is not set
851# CONFIG_INPUT_TSDEV is not set
852# CONFIG_INPUT_EVDEV is not set
853# CONFIG_INPUT_EVBUG is not set
854
855#
856# Input Device Drivers
857#
858# CONFIG_INPUT_KEYBOARD is not set
859# CONFIG_INPUT_MOUSE is not set
860# CONFIG_INPUT_JOYSTICK is not set
861# CONFIG_INPUT_TOUCHSCREEN is not set
862# CONFIG_INPUT_MISC is not set
863
864#
865# Hardware I/O ports
866#
867# CONFIG_SERIO is not set
868# CONFIG_GAMEPORT is not set
869
870#
871# Character devices
872#
873CONFIG_VT=y
874CONFIG_VT_CONSOLE=y
875CONFIG_HW_CONSOLE=y
876# CONFIG_VT_HW_CONSOLE_BINDING is not set
877# CONFIG_SERIAL_NONSTANDARD is not set
878
879#
880# Serial drivers
881#
882# CONFIG_SERIAL_8250 is not set
883
884#
885# Non-8250 serial port support
886#
887CONFIG_SERIAL_SH_SCI=y
888CONFIG_SERIAL_SH_SCI_NR_UARTS=2
889CONFIG_SERIAL_SH_SCI_CONSOLE=y
890CONFIG_SERIAL_CORE=y
891CONFIG_SERIAL_CORE_CONSOLE=y
892# CONFIG_SERIAL_JSM is not set
893CONFIG_UNIX98_PTYS=y
894CONFIG_LEGACY_PTYS=y
895CONFIG_LEGACY_PTY_COUNT=256
896
897#
898# IPMI
899#
900# CONFIG_IPMI_HANDLER is not set
901
902#
903# Watchdog Cards
904#
905# CONFIG_WATCHDOG is not set
906CONFIG_HW_RANDOM=y
907# CONFIG_GEN_RTC is not set
908# CONFIG_DTLK is not set
909# CONFIG_R3964 is not set
910# CONFIG_APPLICOM is not set
911# CONFIG_DRM is not set
912
913#
914# PCMCIA character devices
915#
916# CONFIG_SYNCLINK_CS is not set
917# CONFIG_CARDMAN_4000 is not set
918# CONFIG_CARDMAN_4040 is not set
919# CONFIG_RAW_DRIVER is not set
920
921#
922# TPM devices
923#
924# CONFIG_TCG_TPM is not set
925
926#
927# I2C support
928#
929# CONFIG_I2C is not set
930
931#
932# SPI support
933#
934# CONFIG_SPI is not set
935# CONFIG_SPI_MASTER is not set
936
937#
938# Dallas's 1-wire bus
939#
940# CONFIG_W1 is not set
941
942#
943# Hardware Monitoring support
944#
945CONFIG_HWMON=y
946# CONFIG_HWMON_VID is not set
947# CONFIG_SENSORS_ABITUGURU is not set
948# CONFIG_SENSORS_F71805F is not set
949# CONFIG_SENSORS_PC87427 is not set
950# CONFIG_SENSORS_VT1211 is not set
951# CONFIG_HWMON_DEBUG_CHIP is not set
952
953#
954# Multifunction device drivers
955#
956# CONFIG_MFD_SM501 is not set
957
958#
959# Multimedia devices
960#
961# CONFIG_VIDEO_DEV is not set
962
963#
964# Digital Video Broadcasting Devices
965#
966# CONFIG_DVB is not set
967
968#
969# Graphics support
970#
971# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
972# CONFIG_FB is not set
973
974#
975# Console display driver support
976#
977# CONFIG_MDA_CONSOLE is not set
978CONFIG_DUMMY_CONSOLE=y
979
980#
981# Sound
982#
983# CONFIG_SOUND is not set
984
985#
986# HID Devices
987#
988CONFIG_HID=y
989# CONFIG_HID_DEBUG is not set
990
991#
992# USB support
993#
994CONFIG_USB_ARCH_HAS_HCD=y
995CONFIG_USB_ARCH_HAS_OHCI=y
996CONFIG_USB_ARCH_HAS_EHCI=y
997# CONFIG_USB is not set
998
999#
1000# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1001#
1002
1003#
1004# USB Gadget Support
1005#
1006# CONFIG_USB_GADGET is not set
1007
1008#
1009# MMC/SD Card support
1010#
1011# CONFIG_MMC is not set
1012
1013#
1014# LED devices
1015#
1016# CONFIG_NEW_LEDS is not set
1017
1018#
1019# LED drivers
1020#
1021
1022#
1023# LED Triggers
1024#
1025
1026#
1027# InfiniBand support
1028#
1029# CONFIG_INFINIBAND is not set
1030
1031#
1032# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
1033#
1034
1035#
1036# Real Time Clock
1037#
1038CONFIG_RTC_LIB=y
1039CONFIG_RTC_CLASS=y
1040CONFIG_RTC_HCTOSYS=y
1041CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
1042# CONFIG_RTC_DEBUG is not set
1043
1044#
1045# RTC interfaces
1046#
1047CONFIG_RTC_INTF_SYSFS=y
1048CONFIG_RTC_INTF_PROC=y
1049CONFIG_RTC_INTF_DEV=y
1050# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
1051
1052#
1053# RTC drivers
1054#
1055# CONFIG_RTC_DRV_DS1553 is not set
1056# CONFIG_RTC_DRV_DS1742 is not set
1057# CONFIG_RTC_DRV_M48T86 is not set
1058# CONFIG_RTC_DRV_SH is not set
1059# CONFIG_RTC_DRV_TEST is not set
1060# CONFIG_RTC_DRV_V3020 is not set
1061
1062#
1063# DMA Engine support
1064#
1065# CONFIG_DMA_ENGINE is not set
1066
1067#
1068# DMA Clients
1069#
1070
1071#
1072# DMA Devices
1073#
1074
1075#
1076# Auxiliary Display support
1077#
1078
1079#
1080# Virtualization
1081#
1082
1083#
1084# File systems
1085#
1086CONFIG_EXT2_FS=y
1087# CONFIG_EXT2_FS_XATTR is not set
1088# CONFIG_EXT2_FS_XIP is not set
1089CONFIG_EXT3_FS=y
1090CONFIG_EXT3_FS_XATTR=y
1091# CONFIG_EXT3_FS_POSIX_ACL is not set
1092# CONFIG_EXT3_FS_SECURITY is not set
1093# CONFIG_EXT4DEV_FS is not set
1094CONFIG_JBD=y
1095# CONFIG_JBD_DEBUG is not set
1096CONFIG_FS_MBCACHE=y
1097# CONFIG_REISERFS_FS is not set
1098# CONFIG_JFS_FS is not set
1099# CONFIG_FS_POSIX_ACL is not set
1100# CONFIG_XFS_FS is not set
1101# CONFIG_GFS2_FS is not set
1102# CONFIG_OCFS2_FS is not set
1103# CONFIG_MINIX_FS is not set
1104CONFIG_ROMFS_FS=y
1105CONFIG_INOTIFY=y
1106CONFIG_INOTIFY_USER=y
1107# CONFIG_QUOTA is not set
1108CONFIG_DNOTIFY=y
1109# CONFIG_AUTOFS_FS is not set
1110# CONFIG_AUTOFS4_FS is not set
1111# CONFIG_FUSE_FS is not set
1112
1113#
1114# CD-ROM/DVD Filesystems
1115#
1116# CONFIG_ISO9660_FS is not set
1117# CONFIG_UDF_FS is not set
1118
1119#
1120# DOS/FAT/NT Filesystems
1121#
1122CONFIG_FAT_FS=y
1123CONFIG_MSDOS_FS=y
1124CONFIG_VFAT_FS=y
1125CONFIG_FAT_DEFAULT_CODEPAGE=437
1126CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1127# CONFIG_NTFS_FS is not set
1128
1129#
1130# Pseudo filesystems
1131#
1132CONFIG_PROC_FS=y
1133# CONFIG_PROC_KCORE is not set
1134CONFIG_PROC_SYSCTL=y
1135CONFIG_SYSFS=y
1136CONFIG_TMPFS=y
1137# CONFIG_TMPFS_POSIX_ACL is not set
1138# CONFIG_HUGETLBFS is not set
1139# CONFIG_HUGETLB_PAGE is not set
1140CONFIG_RAMFS=y
1141# CONFIG_CONFIGFS_FS is not set
1142
1143#
1144# Miscellaneous filesystems
1145#
1146# CONFIG_ADFS_FS is not set
1147# CONFIG_AFFS_FS is not set
1148# CONFIG_HFS_FS is not set
1149# CONFIG_HFSPLUS_FS is not set
1150# CONFIG_BEFS_FS is not set
1151# CONFIG_BFS_FS is not set
1152# CONFIG_EFS_FS is not set
1153# CONFIG_CRAMFS is not set
1154# CONFIG_VXFS_FS is not set
1155# CONFIG_HPFS_FS is not set
1156# CONFIG_QNX4FS_FS is not set
1157# CONFIG_SYSV_FS is not set
1158# CONFIG_UFS_FS is not set
1159
1160#
1161# Network File Systems
1162#
1163# CONFIG_NFS_FS is not set
1164# CONFIG_NFSD is not set
1165# CONFIG_SMB_FS is not set
1166# CONFIG_CIFS is not set
1167# CONFIG_NCP_FS is not set
1168# CONFIG_CODA_FS is not set
1169# CONFIG_AFS_FS is not set
1170# CONFIG_9P_FS is not set
1171
1172#
1173# Partition Types
1174#
1175# CONFIG_PARTITION_ADVANCED is not set
1176CONFIG_MSDOS_PARTITION=y
1177
1178#
1179# Native Language Support
1180#
1181CONFIG_NLS=y
1182CONFIG_NLS_DEFAULT="iso8859-1"
1183CONFIG_NLS_CODEPAGE_437=y
1184# CONFIG_NLS_CODEPAGE_737 is not set
1185# CONFIG_NLS_CODEPAGE_775 is not set
1186# CONFIG_NLS_CODEPAGE_850 is not set
1187# CONFIG_NLS_CODEPAGE_852 is not set
1188# CONFIG_NLS_CODEPAGE_855 is not set
1189# CONFIG_NLS_CODEPAGE_857 is not set
1190# CONFIG_NLS_CODEPAGE_860 is not set
1191# CONFIG_NLS_CODEPAGE_861 is not set
1192# CONFIG_NLS_CODEPAGE_862 is not set
1193# CONFIG_NLS_CODEPAGE_863 is not set
1194# CONFIG_NLS_CODEPAGE_864 is not set
1195# CONFIG_NLS_CODEPAGE_865 is not set
1196# CONFIG_NLS_CODEPAGE_866 is not set
1197# CONFIG_NLS_CODEPAGE_869 is not set
1198# CONFIG_NLS_CODEPAGE_936 is not set
1199# CONFIG_NLS_CODEPAGE_950 is not set
1200# CONFIG_NLS_CODEPAGE_932 is not set
1201# CONFIG_NLS_CODEPAGE_949 is not set
1202# CONFIG_NLS_CODEPAGE_874 is not set
1203# CONFIG_NLS_ISO8859_8 is not set
1204# CONFIG_NLS_CODEPAGE_1250 is not set
1205# CONFIG_NLS_CODEPAGE_1251 is not set
1206# CONFIG_NLS_ASCII is not set
1207# CONFIG_NLS_ISO8859_1 is not set
1208# CONFIG_NLS_ISO8859_2 is not set
1209# CONFIG_NLS_ISO8859_3 is not set
1210# CONFIG_NLS_ISO8859_4 is not set
1211# CONFIG_NLS_ISO8859_5 is not set
1212# CONFIG_NLS_ISO8859_6 is not set
1213# CONFIG_NLS_ISO8859_7 is not set
1214# CONFIG_NLS_ISO8859_9 is not set
1215# CONFIG_NLS_ISO8859_13 is not set
1216# CONFIG_NLS_ISO8859_14 is not set
1217# CONFIG_NLS_ISO8859_15 is not set
1218# CONFIG_NLS_KOI8_R is not set
1219# CONFIG_NLS_KOI8_U is not set
1220# CONFIG_NLS_UTF8 is not set
1221
1222#
1223# Distributed Lock Manager
1224#
1225# CONFIG_DLM is not set
1226
1227#
1228# Profiling support
1229#
1230# CONFIG_PROFILING is not set
1231
1232#
1233# Kernel hacking
1234#
1235CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1236# CONFIG_PRINTK_TIME is not set
1237CONFIG_ENABLE_MUST_CHECK=y
1238# CONFIG_MAGIC_SYSRQ is not set
1239# CONFIG_UNUSED_SYMBOLS is not set
1240# CONFIG_DEBUG_FS is not set
1241# CONFIG_HEADERS_CHECK is not set
1242# CONFIG_DEBUG_KERNEL is not set
1243CONFIG_LOG_BUF_SHIFT=14
1244# CONFIG_DEBUG_BUGVERBOSE is not set
1245CONFIG_SH_STANDARD_BIOS=y
1246# CONFIG_EARLY_SCIF_CONSOLE is not set
1247# CONFIG_EARLY_PRINTK is not set
1248# CONFIG_SH_KGDB is not set
1249
1250#
1251# Security options
1252#
1253# CONFIG_KEYS is not set
1254# CONFIG_SECURITY is not set
1255
1256#
1257# Cryptographic options
1258#
1259# CONFIG_CRYPTO is not set
1260
1261#
1262# Library routines
1263#
1264CONFIG_BITREVERSE=y
1265# CONFIG_CRC_CCITT is not set
1266# CONFIG_CRC16 is not set
1267CONFIG_CRC32=y
1268# CONFIG_LIBCRC32C is not set
1269CONFIG_PLIST=y
1270CONFIG_HAS_IOMEM=y
1271CONFIG_HAS_IOPORT=y
diff --git a/arch/sh/drivers/pci/Makefile b/arch/sh/drivers/pci/Makefile
index 8a7e70651939..b1391cb080d1 100644
--- a/arch/sh/drivers/pci/Makefile
+++ b/arch/sh/drivers/pci/Makefile
@@ -18,3 +18,4 @@ obj-$(CONFIG_SH_SH03) += ops-sh03.o fixups-sh03.o
18obj-$(CONFIG_SH_HIGHLANDER) += ops-r7780rp.o fixups-r7780rp.o 18obj-$(CONFIG_SH_HIGHLANDER) += ops-r7780rp.o fixups-r7780rp.o
19obj-$(CONFIG_SH_TITAN) += ops-titan.o 19obj-$(CONFIG_SH_TITAN) += ops-titan.o
20obj-$(CONFIG_SH_LANDISK) += ops-landisk.o 20obj-$(CONFIG_SH_LANDISK) += ops-landisk.o
21obj-$(CONFIG_SH_LBOX_RE2) += ops-lboxre2.o fixups-lboxre2.o
diff --git a/arch/sh/drivers/pci/fixups-lboxre2.c b/arch/sh/drivers/pci/fixups-lboxre2.c
new file mode 100644
index 000000000000..40b19bdfb891
--- /dev/null
+++ b/arch/sh/drivers/pci/fixups-lboxre2.c
@@ -0,0 +1,41 @@
1/*
2 * arch/sh/drivers/pci/fixups-lboxre2.c
3 *
4 * L-BOX RE2 PCI fixups
5 *
6 * Copyright (C) 2007 Nobuhiro Iwamatsu
7 *
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
10 * for more details.
11 */
12#include "pci-sh4.h"
13
14#define PCIMCR_MRSET_OFF 0xBFFFFFFF
15#define PCIMCR_RFSH_OFF 0xFFFFFFFB
16
17int pci_fixup_pcic(void)
18{
19 unsigned long bcr1, mcr;
20
21 bcr1 = inl(SH7751_BCR1);
22 bcr1 |= 0x40080000; /* Enable Bit 19 BREQEN, set PCIC to slave */
23 pci_write_reg(bcr1, SH4_PCIBCR1);
24
25 /* Enable all interrupts, so we known what to fix */
26 pci_write_reg(0x0000c3ff, SH4_PCIINTM);
27 pci_write_reg(0x0000380f, SH4_PCIAINTM);
28 pci_write_reg(0xfb900047, SH7751_PCICONF1);
29 pci_write_reg(0xab000001, SH7751_PCICONF4);
30
31 mcr = inl(SH7751_MCR);
32 mcr = (mcr & PCIMCR_MRSET_OFF) & PCIMCR_RFSH_OFF;
33 pci_write_reg(mcr, SH4_PCIMCR);
34
35 pci_write_reg(0x0c000000, SH7751_PCICONF5);
36 pci_write_reg(0xd0000000, SH7751_PCICONF6);
37 pci_write_reg(0x0c000000, SH4_PCILAR0);
38 pci_write_reg(0x00000000, SH4_PCILAR1);
39
40 return 0;
41}
diff --git a/arch/sh/drivers/pci/ops-lboxre2.c b/arch/sh/drivers/pci/ops-lboxre2.c
new file mode 100644
index 000000000000..a13cb764b0b9
--- /dev/null
+++ b/arch/sh/drivers/pci/ops-lboxre2.c
@@ -0,0 +1,63 @@
1/*
2 * linux/arch/sh/drivers/pci/ops-lboxre2.c
3 *
4 * Copyright (C) 2007 Nobuhiro Iwamatsu
5 *
6 * PCI initialization for the NTT COMWARE L-BOX RE2
7 */
8#include <linux/kernel.h>
9#include <linux/types.h>
10#include <linux/init.h>
11#include <linux/pci.h>
12#include <linux/io.h>
13#include <asm/lboxre2.h>
14#include "pci-sh4.h"
15
16static char lboxre2_irq_tab[] __initdata = {
17 IRQ_ETH0, IRQ_ETH1, IRQ_INTA, IRQ_INTD,
18};
19
20int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin)
21{
22 return lboxre2_irq_tab[slot];
23}
24
25static struct resource sh7751_io_resource = {
26 .name = "SH7751_IO",
27 .start = SH7751_PCI_IO_BASE ,
28 .end = SH7751_PCI_IO_BASE + SH7751_PCI_IO_SIZE - 1,
29 .flags = IORESOURCE_IO
30};
31
32static struct resource sh7751_mem_resource = {
33 .name = "SH7751_mem",
34 .start = SH7751_PCI_MEMORY_BASE,
35 .end = SH7751_PCI_MEMORY_BASE + SH7751_PCI_MEM_SIZE - 1,
36 .flags = IORESOURCE_MEM
37};
38
39extern struct pci_ops sh7751_pci_ops;
40
41struct pci_channel board_pci_channels[] = {
42 { &sh4_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff },
43 { NULL, NULL, NULL, 0, 0 },
44};
45
46EXPORT_SYMBOL(board_pci_channels);
47
48static struct sh4_pci_address_map sh7751_pci_map = {
49 .window0 = {
50 .base = SH7751_CS3_BASE_ADDR,
51 .size = 0x04000000,
52 },
53 .window1 = {
54 .base = 0x00000000, /* Unused */
55 .size = 0x00000000, /* Unused */
56 },
57 .flags = SH4_PCIC_NO_RESET,
58};
59
60int __init pcibios_init_platform(void)
61{
62 return sh7751_pcic_init(&sh7751_pci_map);
63}
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c
index 9ddff760d3c6..f3ead58a9519 100644
--- a/arch/sh/drivers/pci/pci-sh7751.c
+++ b/arch/sh/drivers/pci/pci-sh7751.c
@@ -194,7 +194,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
194 * DMA interrupts... 194 * DMA interrupts...
195 */ 195 */
196 196
197#ifdef CONFIG_SH_RTS7751R2D 197#if defined(CONFIG_SH_RTS7751R2D) || defined(CONFIG_SH_LBOX_RE2)
198 pci_fixup_pcic(); 198 pci_fixup_pcic();
199#endif 199#endif
200 200
diff --git a/include/asm-sh/lboxre2.h b/include/asm-sh/lboxre2.h
new file mode 100644
index 000000000000..65775668df93
--- /dev/null
+++ b/include/asm-sh/lboxre2.h
@@ -0,0 +1,32 @@
1#ifndef __ASM_SH_LBOXRE2_H
2#define __ASM_SH_LBOXRE2_H
3
4/*
5 * linux/include/asm-sh/lbox.h
6 *
7 * Copyright (C) 2007 Nobuhiro Iwamatsu
8 *
9 * NTT COMWARE L-BOX RE2 support
10 *
11 * This file is subject to the terms and conditions of the GNU General Public
12 * License. See the file "COPYING" in the main directory of this archive
13 * for more details.
14 *
15 */
16
17#define CONFIG_CF0_BASE_ADDR 0xb4000000 /* Boot only */
18#define CONFIG_CF1_BASE_ADDR 0xb8000000
19
20#define IRQ_CF1 9 /* CF1 */
21#define IRQ_CF0 10 /* CF0 */
22#define IRQ_INTD 11 /* INTD */
23#define IRQ_ETH1 12 /* Ether1 */
24#define IRQ_ETH0 13 /* Ether0 */
25#define IRQ_INTA 14 /* INTA */
26
27void init_lboxre2_IRQ(void);
28
29#define __IO_PREFIX lboxre2
30#include <asm/io_generic.h>
31
32#endif /* __ASM_SH_LBOXRE2_H */