aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYusuke Goda <goda.yusuke@renesas.com>2008-06-06 04:03:23 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 05:10:29 -0400
commit04e917b606ffe6ec10fb75c21447162cba31f6b6 (patch)
tree219c5475fcf904be45f72bad0460eb0180610d1e /arch
parent42fd3b142d8867f5b58d6fb75592cd20fd654c1b (diff)
sh: Add support Renesas Solutions AP-325RXA board
This board is SH7723 base board. This has SCIF, LCDC, USB Host controler, NOR/NAND Flash, Sound, Ether and other. This patch supports SCIF, NOR Flash. Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/Kconfig7
-rw-r--r--arch/sh/Makefile1
-rw-r--r--arch/sh/boards/renesas/ap325rxa/Makefile1
-rw-r--r--arch/sh/boards/renesas/ap325rxa/setup.c108
-rw-r--r--arch/sh/configs/ap325rxa_defconfig947
-rw-r--r--arch/sh/tools/mach-types1
6 files changed, 1065 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 83495882778c..ca5efe64fad6 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -502,6 +502,13 @@ config SH_MIGOR
502 Select Migo-R if configuring for the SH7722 Migo-R platform 502 Select Migo-R if configuring for the SH7722 Migo-R platform
503 by Renesas System Solutions Asia Pte. Ltd. 503 by Renesas System Solutions Asia Pte. Ltd.
504 504
505config SH_AP325RXA
506 bool "AP-325RXA"
507 select CPU_SUBTYPE_SH7723
508 help
509 Renesas "AP-325RXA" support.
510 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
511
505config SH_EDOSK7705 512config SH_EDOSK7705
506 bool "EDOSK7705" 513 bool "EDOSK7705"
507 depends on CPU_SUBTYPE_SH7705 514 depends on CPU_SUBTYPE_SH7705
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index c97a779c36ed..73182d5e810f 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -122,6 +122,7 @@ machdir-$(CONFIG_SH_MIGOR) += renesas/migor
122machdir-$(CONFIG_SH_SDK7780) += renesas/sdk7780 122machdir-$(CONFIG_SH_SDK7780) += renesas/sdk7780
123machdir-$(CONFIG_SH_X3PROTO) += renesas/x3proto 123machdir-$(CONFIG_SH_X3PROTO) += renesas/x3proto
124machdir-$(CONFIG_SH_RSK7203) += renesas/rsk7203 124machdir-$(CONFIG_SH_RSK7203) += renesas/rsk7203
125machdir-$(CONFIG_SH_AP325RXA) += renesas/ap325rxa
125machdir-$(CONFIG_SH_SH4202_MICRODEV) += superh/microdev 126machdir-$(CONFIG_SH_SH4202_MICRODEV) += superh/microdev
126machdir-$(CONFIG_SH_LANDISK) += landisk 127machdir-$(CONFIG_SH_LANDISK) += landisk
127machdir-$(CONFIG_SH_TITAN) += titan 128machdir-$(CONFIG_SH_TITAN) += titan
diff --git a/arch/sh/boards/renesas/ap325rxa/Makefile b/arch/sh/boards/renesas/ap325rxa/Makefile
new file mode 100644
index 000000000000..f663768429f0
--- /dev/null
+++ b/arch/sh/boards/renesas/ap325rxa/Makefile
@@ -0,0 +1 @@
obj-y := setup.o
diff --git a/arch/sh/boards/renesas/ap325rxa/setup.c b/arch/sh/boards/renesas/ap325rxa/setup.c
new file mode 100644
index 000000000000..e33340cafa01
--- /dev/null
+++ b/arch/sh/boards/renesas/ap325rxa/setup.c
@@ -0,0 +1,108 @@
1/*
2 * Renesas - AP-325RXA
3 * (Compatible with Algo System ., LTD. - AP-320A)
4 *
5 * Copyright (C) 2008 Renesas Solutions Corp.
6 * Author : Yusuke Goda <goda.yuske@renesas.com>
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/device.h>
15#include <linux/platform_device.h>
16#include <linux/mtd/physmap.h>
17#include <linux/delay.h>
18#include <asm/io.h>
19
20static struct resource smc9118_resources[] = {
21 [0] = {
22 .start = 0xb6080000,
23 .end = 0xb60fffff,
24 .flags = IORESOURCE_MEM,
25 },
26 [1] = {
27 .start = 35,
28 .end = 35,
29 .flags = IORESOURCE_IRQ,
30 }
31};
32
33static struct platform_device smc9118_device = {
34 .name = "smc911x",
35 .id = -1,
36 .num_resources = ARRAY_SIZE(smc9118_resources),
37 .resource = smc9118_resources,
38};
39
40static struct mtd_partition ap325rxa_nor_flash_partitions[] = {
41 {
42 .name = "uboot",
43 .offset = 0,
44 .size = (1 * 1024 * 1024),
45 .mask_flags = MTD_WRITEABLE, /* Read-only */
46 }, {
47 .name = "kernel",
48 .offset = MTDPART_OFS_APPEND,
49 .size = (2 * 1024 * 1024),
50 }, {
51 .name = "other",
52 .offset = MTDPART_OFS_APPEND,
53 .size = MTDPART_SIZ_FULL,
54 },
55};
56
57static struct physmap_flash_data ap325rxa_nor_flash_data = {
58 .width = 2,
59 .parts = ap325rxa_nor_flash_partitions,
60 .nr_parts = ARRAY_SIZE(ap325rxa_nor_flash_partitions),
61};
62
63static struct resource ap325rxa_nor_flash_resources[] = {
64 [0] = {
65 .name = "NOR Flash",
66 .start = 0x00000000,
67 .end = 0x00ffffff,
68 .flags = IORESOURCE_MEM,
69 }
70};
71
72static struct platform_device ap325rxa_nor_flash_device = {
73 .name = "physmap-flash",
74 .resource = ap325rxa_nor_flash_resources,
75 .num_resources = ARRAY_SIZE(ap325rxa_nor_flash_resources),
76 .dev = {
77 .platform_data = &ap325rxa_nor_flash_data,
78 },
79};
80
81static struct platform_device *ap325rxa_devices[] __initdata = {
82 &smc9118_device,
83 &ap325rxa_nor_flash_device
84};
85
86static int __init ap325rxa_devices_setup(void)
87{
88 return platform_add_devices(ap325rxa_devices,
89 ARRAY_SIZE(ap325rxa_devices));
90}
91device_initcall(ap325rxa_devices_setup);
92
93#define MSTPCR0 (0xA4150030)
94#define MSTPCR2 (0xA4150038)
95
96static void __init ap325rxa_setup(char **cmdline_p)
97{
98 /* enable VEU0 + VEU1 */
99 ctrl_outl(ctrl_inl(MSTPCR2) & ~0x00000044, MSTPCR2); /* bit 2 + 6 */
100
101 /* enable MERAM */
102 ctrl_outl(ctrl_inl(MSTPCR0) & ~0x00000001, MSTPCR0); /* bit 0 */
103}
104
105static struct sh_machine_vector mv_ap325rxa __initmv = {
106 .mv_name = "AP-325RXA",
107 .mv_setup = ap325rxa_setup,
108};
diff --git a/arch/sh/configs/ap325rxa_defconfig b/arch/sh/configs/ap325rxa_defconfig
new file mode 100644
index 000000000000..5471df53753c
--- /dev/null
+++ b/arch/sh/configs/ap325rxa_defconfig
@@ -0,0 +1,947 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.26-rc4
4# Wed Jun 4 17:30:00 2008
5#
6CONFIG_SUPERH=y
7CONFIG_SUPERH32=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y
9CONFIG_GENERIC_BUG=y
10CONFIG_GENERIC_FIND_NEXT_BIT=y
11CONFIG_GENERIC_HWEIGHT=y
12CONFIG_GENERIC_HARDIRQS=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_GENERIC_CALIBRATE_DELAY=y
15CONFIG_GENERIC_TIME=y
16CONFIG_GENERIC_CLOCKEVENTS=y
17CONFIG_STACKTRACE_SUPPORT=y
18CONFIG_LOCKDEP_SUPPORT=y
19# CONFIG_ARCH_HAS_ILOG2_U32 is not set
20# CONFIG_ARCH_HAS_ILOG2_U64 is not set
21CONFIG_ARCH_NO_VIRT_TO_BUS=y
22CONFIG_ARCH_SUPPORTS_AOUT=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_LOCK_KERNEL=y
31CONFIG_INIT_ENV_ARG_LIMIT=32
32CONFIG_LOCALVERSION=""
33# CONFIG_LOCALVERSION_AUTO is not set
34CONFIG_SWAP=y
35CONFIG_SYSVIPC=y
36CONFIG_SYSVIPC_SYSCTL=y
37# CONFIG_POSIX_MQUEUE is not set
38CONFIG_BSD_PROCESS_ACCT=y
39# CONFIG_BSD_PROCESS_ACCT_V3 is not set
40# CONFIG_TASKSTATS is not set
41# CONFIG_AUDIT is not set
42# CONFIG_IKCONFIG is not set
43CONFIG_LOG_BUF_SHIFT=14
44# CONFIG_CGROUPS is not set
45CONFIG_GROUP_SCHED=y
46CONFIG_FAIR_GROUP_SCHED=y
47# CONFIG_RT_GROUP_SCHED is not set
48CONFIG_USER_SCHED=y
49# CONFIG_CGROUP_SCHED is not set
50CONFIG_SYSFS_DEPRECATED=y
51CONFIG_SYSFS_DEPRECATED_V2=y
52# CONFIG_RELAY is not set
53# CONFIG_NAMESPACES is not set
54# CONFIG_BLK_DEV_INITRD is not set
55CONFIG_CC_OPTIMIZE_FOR_SIZE=y
56CONFIG_SYSCTL=y
57CONFIG_EMBEDDED=y
58CONFIG_UID16=y
59CONFIG_SYSCTL_SYSCALL=y
60CONFIG_SYSCTL_SYSCALL_CHECK=y
61# CONFIG_KALLSYMS is not set
62CONFIG_HOTPLUG=y
63CONFIG_PRINTK=y
64CONFIG_BUG=y
65CONFIG_ELF_CORE=y
66CONFIG_COMPAT_BRK=y
67CONFIG_BASE_FULL=y
68CONFIG_FUTEX=y
69CONFIG_ANON_INODES=y
70CONFIG_EPOLL=y
71CONFIG_SIGNALFD=y
72CONFIG_TIMERFD=y
73CONFIG_EVENTFD=y
74CONFIG_SHMEM=y
75CONFIG_VM_EVENT_COUNTERS=y
76CONFIG_SLAB=y
77# CONFIG_SLUB is not set
78# CONFIG_SLOB is not set
79# CONFIG_PROFILING is not set
80# CONFIG_MARKERS is not set
81CONFIG_HAVE_OPROFILE=y
82# CONFIG_HAVE_KPROBES is not set
83# CONFIG_HAVE_KRETPROBES is not set
84# CONFIG_HAVE_DMA_ATTRS is not set
85CONFIG_PROC_PAGE_MONITOR=y
86CONFIG_SLABINFO=y
87CONFIG_RT_MUTEXES=y
88# CONFIG_TINY_SHMEM is not set
89CONFIG_BASE_SMALL=0
90CONFIG_MODULES=y
91# CONFIG_MODULE_FORCE_LOAD is not set
92CONFIG_MODULE_UNLOAD=y
93# CONFIG_MODULE_FORCE_UNLOAD is not set
94# CONFIG_MODVERSIONS is not set
95# CONFIG_MODULE_SRCVERSION_ALL is not set
96CONFIG_KMOD=y
97CONFIG_BLOCK=y
98# CONFIG_LBD is not set
99# CONFIG_BLK_DEV_IO_TRACE is not set
100# CONFIG_LSF is not set
101# CONFIG_BLK_DEV_BSG is not set
102
103#
104# IO Schedulers
105#
106CONFIG_IOSCHED_NOOP=y
107CONFIG_IOSCHED_AS=y
108CONFIG_IOSCHED_DEADLINE=y
109CONFIG_IOSCHED_CFQ=y
110# CONFIG_DEFAULT_AS is not set
111# CONFIG_DEFAULT_DEADLINE is not set
112CONFIG_DEFAULT_CFQ=y
113# CONFIG_DEFAULT_NOOP is not set
114CONFIG_DEFAULT_IOSCHED="cfq"
115CONFIG_CLASSIC_RCU=y
116
117#
118# System type
119#
120CONFIG_CPU_SH4=y
121CONFIG_CPU_SH4A=y
122CONFIG_CPU_SHX2=y
123# CONFIG_CPU_SUBTYPE_SH7619 is not set
124# CONFIG_CPU_SUBTYPE_SH7203 is not set
125# CONFIG_CPU_SUBTYPE_SH7206 is not set
126# CONFIG_CPU_SUBTYPE_SH7263 is not set
127# CONFIG_CPU_SUBTYPE_MXG is not set
128# CONFIG_CPU_SUBTYPE_SH7705 is not set
129# CONFIG_CPU_SUBTYPE_SH7706 is not set
130# CONFIG_CPU_SUBTYPE_SH7707 is not set
131# CONFIG_CPU_SUBTYPE_SH7708 is not set
132# CONFIG_CPU_SUBTYPE_SH7709 is not set
133# CONFIG_CPU_SUBTYPE_SH7710 is not set
134# CONFIG_CPU_SUBTYPE_SH7712 is not set
135# CONFIG_CPU_SUBTYPE_SH7720 is not set
136# CONFIG_CPU_SUBTYPE_SH7721 is not set
137# CONFIG_CPU_SUBTYPE_SH7750 is not set
138# CONFIG_CPU_SUBTYPE_SH7091 is not set
139# CONFIG_CPU_SUBTYPE_SH7750R is not set
140# CONFIG_CPU_SUBTYPE_SH7750S is not set
141# CONFIG_CPU_SUBTYPE_SH7751 is not set
142# CONFIG_CPU_SUBTYPE_SH7751R is not set
143# CONFIG_CPU_SUBTYPE_SH7760 is not set
144# CONFIG_CPU_SUBTYPE_SH4_202 is not set
145CONFIG_CPU_SUBTYPE_SH7723=y
146# CONFIG_CPU_SUBTYPE_SH7763 is not set
147# CONFIG_CPU_SUBTYPE_SH7770 is not set
148# CONFIG_CPU_SUBTYPE_SH7780 is not set
149# CONFIG_CPU_SUBTYPE_SH7785 is not set
150# CONFIG_CPU_SUBTYPE_SHX3 is not set
151# CONFIG_CPU_SUBTYPE_SH7343 is not set
152# CONFIG_CPU_SUBTYPE_SH7722 is not set
153# CONFIG_CPU_SUBTYPE_SH7366 is not set
154# CONFIG_CPU_SUBTYPE_SH5_101 is not set
155# CONFIG_CPU_SUBTYPE_SH5_103 is not set
156
157#
158# Memory management options
159#
160CONFIG_QUICKLIST=y
161CONFIG_MMU=y
162CONFIG_PAGE_OFFSET=0x80000000
163CONFIG_MEMORY_START=0x08000000
164CONFIG_MEMORY_SIZE=0x08000000
165CONFIG_29BIT=y
166# CONFIG_X2TLB is not set
167CONFIG_VSYSCALL=y
168CONFIG_ARCH_FLATMEM_ENABLE=y
169CONFIG_ARCH_SPARSEMEM_ENABLE=y
170CONFIG_ARCH_SPARSEMEM_DEFAULT=y
171CONFIG_MAX_ACTIVE_REGIONS=1
172CONFIG_ARCH_POPULATES_NODE_MAP=y
173CONFIG_ARCH_SELECT_MEMORY_MODEL=y
174CONFIG_PAGE_SIZE_4KB=y
175# CONFIG_PAGE_SIZE_8KB is not set
176# CONFIG_PAGE_SIZE_16KB is not set
177# CONFIG_PAGE_SIZE_64KB is not set
178CONFIG_SELECT_MEMORY_MODEL=y
179CONFIG_FLATMEM_MANUAL=y
180# CONFIG_DISCONTIGMEM_MANUAL is not set
181# CONFIG_SPARSEMEM_MANUAL is not set
182CONFIG_FLATMEM=y
183CONFIG_FLAT_NODE_MEM_MAP=y
184CONFIG_SPARSEMEM_STATIC=y
185# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
186CONFIG_PAGEFLAGS_EXTENDED=y
187CONFIG_SPLIT_PTLOCK_CPUS=4
188# CONFIG_RESOURCES_64BIT is not set
189CONFIG_ZONE_DMA_FLAG=0
190CONFIG_NR_QUICK=2
191
192#
193# Cache configuration
194#
195# CONFIG_SH_DIRECT_MAPPED is not set
196CONFIG_CACHE_WRITEBACK=y
197# CONFIG_CACHE_WRITETHROUGH is not set
198# CONFIG_CACHE_OFF is not set
199
200#
201# Processor features
202#
203CONFIG_CPU_LITTLE_ENDIAN=y
204# CONFIG_CPU_BIG_ENDIAN is not set
205CONFIG_SH_FPU=y
206# CONFIG_SH_STORE_QUEUES is not set
207CONFIG_CPU_HAS_INTEVT=y
208CONFIG_CPU_HAS_SR_RB=y
209CONFIG_CPU_HAS_PTEA=y
210CONFIG_CPU_HAS_FPU=y
211
212#
213# Board support
214#
215CONFIG_SH_AP325RXA=y
216
217#
218# Timer and clock configuration
219#
220CONFIG_SH_TMU=y
221CONFIG_SH_TIMER_IRQ=16
222CONFIG_SH_PCLK_FREQ=33333333
223CONFIG_TICK_ONESHOT=y
224# CONFIG_NO_HZ is not set
225CONFIG_HIGH_RES_TIMERS=y
226CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
227
228#
229# CPU Frequency scaling
230#
231# CONFIG_CPU_FREQ is not set
232
233#
234# DMA support
235#
236# CONFIG_SH_DMA is not set
237
238#
239# Companion Chips
240#
241
242#
243# Additional SuperH Device Drivers
244#
245# CONFIG_HEARTBEAT is not set
246# CONFIG_PUSH_SWITCH is not set
247
248#
249# Kernel features
250#
251# CONFIG_HZ_100 is not set
252CONFIG_HZ_250=y
253# CONFIG_HZ_300 is not set
254# CONFIG_HZ_1000 is not set
255CONFIG_HZ=250
256# CONFIG_SCHED_HRTICK is not set
257# CONFIG_KEXEC is not set
258# CONFIG_CRASH_DUMP is not set
259# CONFIG_PREEMPT_NONE is not set
260# CONFIG_PREEMPT_VOLUNTARY is not set
261CONFIG_PREEMPT=y
262# CONFIG_PREEMPT_RCU is not set
263CONFIG_GUSA=y
264
265#
266# Boot options
267#
268CONFIG_ZERO_PAGE_OFFSET=0x00001000
269CONFIG_BOOT_LINK_OFFSET=0x00800000
270CONFIG_CMDLINE_BOOL=y
271CONFIG_CMDLINE="console=tty1 console=ttySC5,38400 root=/dev/nfs ip=dhcp"
272
273#
274# Bus options
275#
276# CONFIG_ARCH_SUPPORTS_MSI is not set
277# CONFIG_PCCARD is not set
278
279#
280# Executable file formats
281#
282CONFIG_BINFMT_ELF=y
283# CONFIG_BINFMT_MISC is not set
284
285#
286# Networking
287#
288CONFIG_NET=y
289
290#
291# Networking options
292#
293CONFIG_PACKET=y
294# CONFIG_PACKET_MMAP is not set
295CONFIG_UNIX=y
296# CONFIG_NET_KEY is not set
297CONFIG_INET=y
298# CONFIG_IP_MULTICAST is not set
299CONFIG_IP_ADVANCED_ROUTER=y
300CONFIG_ASK_IP_FIB_HASH=y
301# CONFIG_IP_FIB_TRIE is not set
302CONFIG_IP_FIB_HASH=y
303# CONFIG_IP_MULTIPLE_TABLES is not set
304# CONFIG_IP_ROUTE_MULTIPATH is not set
305# CONFIG_IP_ROUTE_VERBOSE is not set
306CONFIG_IP_PNP=y
307CONFIG_IP_PNP_DHCP=y
308# CONFIG_IP_PNP_BOOTP is not set
309# CONFIG_IP_PNP_RARP is not set
310# CONFIG_NET_IPIP is not set
311# CONFIG_NET_IPGRE is not set
312# CONFIG_ARPD is not set
313# CONFIG_SYN_COOKIES is not set
314# CONFIG_INET_AH is not set
315# CONFIG_INET_ESP is not set
316# CONFIG_INET_IPCOMP is not set
317# CONFIG_INET_XFRM_TUNNEL is not set
318# CONFIG_INET_TUNNEL is not set
319# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
320# CONFIG_INET_XFRM_MODE_TUNNEL is not set
321# CONFIG_INET_XFRM_MODE_BEET is not set
322# CONFIG_INET_LRO is not set
323CONFIG_INET_DIAG=y
324CONFIG_INET_TCP_DIAG=y
325# CONFIG_TCP_CONG_ADVANCED is not set
326CONFIG_TCP_CONG_CUBIC=y
327CONFIG_DEFAULT_TCP_CONG="cubic"
328# CONFIG_TCP_MD5SIG is not set
329# CONFIG_IPV6 is not set
330# CONFIG_NETWORK_SECMARK is not set
331# CONFIG_NETFILTER is not set
332# CONFIG_IP_DCCP is not set
333# CONFIG_IP_SCTP is not set
334# CONFIG_TIPC is not set
335# CONFIG_ATM is not set
336# CONFIG_BRIDGE is not set
337# CONFIG_VLAN_8021Q is not set
338# CONFIG_DECNET is not set
339# CONFIG_LLC2 is not set
340# CONFIG_IPX is not set
341# CONFIG_ATALK is not set
342# CONFIG_X25 is not set
343# CONFIG_LAPB is not set
344# CONFIG_ECONET is not set
345# CONFIG_WAN_ROUTER is not set
346# CONFIG_NET_SCHED is not set
347
348#
349# Network testing
350#
351# CONFIG_NET_PKTGEN is not set
352# CONFIG_HAMRADIO is not set
353# CONFIG_CAN is not set
354# CONFIG_IRDA is not set
355# CONFIG_BT is not set
356# CONFIG_AF_RXRPC is not set
357
358#
359# Wireless
360#
361# CONFIG_CFG80211 is not set
362# CONFIG_WIRELESS_EXT is not set
363# CONFIG_MAC80211 is not set
364# CONFIG_IEEE80211 is not set
365# CONFIG_RFKILL is not set
366# CONFIG_NET_9P is not set
367
368#
369# Device Drivers
370#
371
372#
373# Generic Driver Options
374#
375CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
376CONFIG_STANDALONE=y
377CONFIG_PREVENT_FIRMWARE_BUILD=y
378CONFIG_FW_LOADER=y
379# CONFIG_SYS_HYPERVISOR is not set
380# CONFIG_CONNECTOR is not set
381CONFIG_MTD=y
382# CONFIG_MTD_DEBUG is not set
383CONFIG_MTD_CONCAT=y
384CONFIG_MTD_PARTITIONS=y
385# CONFIG_MTD_REDBOOT_PARTS is not set
386CONFIG_MTD_CMDLINE_PARTS=y
387# CONFIG_MTD_AR7_PARTS is not set
388
389#
390# User Modules And Translation Layers
391#
392CONFIG_MTD_CHAR=y
393CONFIG_MTD_BLKDEVS=y
394CONFIG_MTD_BLOCK=y
395# CONFIG_FTL is not set
396# CONFIG_NFTL is not set
397# CONFIG_INFTL is not set
398# CONFIG_RFD_FTL is not set
399# CONFIG_SSFDC is not set
400# CONFIG_MTD_OOPS is not set
401
402#
403# RAM/ROM/Flash chip drivers
404#
405CONFIG_MTD_CFI=y
406# CONFIG_MTD_JEDECPROBE is not set
407CONFIG_MTD_GEN_PROBE=y
408# CONFIG_MTD_CFI_ADV_OPTIONS is not set
409CONFIG_MTD_MAP_BANK_WIDTH_1=y
410CONFIG_MTD_MAP_BANK_WIDTH_2=y
411CONFIG_MTD_MAP_BANK_WIDTH_4=y
412# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
413# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
414# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
415CONFIG_MTD_CFI_I1=y
416CONFIG_MTD_CFI_I2=y
417# CONFIG_MTD_CFI_I4 is not set
418# CONFIG_MTD_CFI_I8 is not set
419# CONFIG_MTD_CFI_INTELEXT is not set
420CONFIG_MTD_CFI_AMDSTD=y
421# CONFIG_MTD_CFI_STAA is not set
422CONFIG_MTD_CFI_UTIL=y
423# CONFIG_MTD_RAM is not set
424# CONFIG_MTD_ROM is not set
425# CONFIG_MTD_ABSENT is not set
426
427#
428# Mapping drivers for chip access
429#
430# CONFIG_MTD_COMPLEX_MAPPINGS is not set
431CONFIG_MTD_PHYSMAP=y
432CONFIG_MTD_PHYSMAP_START=0xffffffff
433CONFIG_MTD_PHYSMAP_LEN=0
434CONFIG_MTD_PHYSMAP_BANKWIDTH=0
435# CONFIG_MTD_PLATRAM is not set
436
437#
438# Self-contained MTD device drivers
439#
440# CONFIG_MTD_SLRAM is not set
441# CONFIG_MTD_PHRAM is not set
442# CONFIG_MTD_MTDRAM is not set
443# CONFIG_MTD_BLOCK2MTD is not set
444
445#
446# Disk-On-Chip Device Drivers
447#
448# CONFIG_MTD_DOC2000 is not set
449# CONFIG_MTD_DOC2001 is not set
450# CONFIG_MTD_DOC2001PLUS is not set
451# CONFIG_MTD_NAND is not set
452# CONFIG_MTD_ONENAND is not set
453
454#
455# UBI - Unsorted block images
456#
457# CONFIG_MTD_UBI is not set
458# CONFIG_PARPORT is not set
459CONFIG_BLK_DEV=y
460# CONFIG_BLK_DEV_COW_COMMON is not set
461# CONFIG_BLK_DEV_LOOP is not set
462# CONFIG_BLK_DEV_NBD is not set
463CONFIG_BLK_DEV_RAM=y
464CONFIG_BLK_DEV_RAM_COUNT=4
465CONFIG_BLK_DEV_RAM_SIZE=4096
466# CONFIG_BLK_DEV_XIP is not set
467# CONFIG_CDROM_PKTCDVD is not set
468# CONFIG_ATA_OVER_ETH is not set
469CONFIG_MISC_DEVICES=y
470# CONFIG_EEPROM_93CX6 is not set
471# CONFIG_ENCLOSURE_SERVICES is not set
472CONFIG_HAVE_IDE=y
473# CONFIG_IDE is not set
474
475#
476# SCSI device support
477#
478# CONFIG_RAID_ATTRS is not set
479CONFIG_SCSI=y
480CONFIG_SCSI_DMA=y
481# CONFIG_SCSI_TGT is not set
482# CONFIG_SCSI_NETLINK is not set
483CONFIG_SCSI_PROC_FS=y
484
485#
486# SCSI support type (disk, tape, CD-ROM)
487#
488CONFIG_BLK_DEV_SD=y
489# CONFIG_CHR_DEV_ST is not set
490# CONFIG_CHR_DEV_OSST is not set
491# CONFIG_BLK_DEV_SR is not set
492# CONFIG_CHR_DEV_SG is not set
493# CONFIG_CHR_DEV_SCH is not set
494
495#
496# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
497#
498# CONFIG_SCSI_MULTI_LUN is not set
499# CONFIG_SCSI_CONSTANTS is not set
500# CONFIG_SCSI_LOGGING is not set
501# CONFIG_SCSI_SCAN_ASYNC is not set
502CONFIG_SCSI_WAIT_SCAN=m
503
504#
505# SCSI Transports
506#
507# CONFIG_SCSI_SPI_ATTRS is not set
508# CONFIG_SCSI_FC_ATTRS is not set
509# CONFIG_SCSI_ISCSI_ATTRS is not set
510# CONFIG_SCSI_SAS_LIBSAS is not set
511# CONFIG_SCSI_SRP_ATTRS is not set
512CONFIG_SCSI_LOWLEVEL=y
513# CONFIG_ISCSI_TCP is not set
514# CONFIG_SCSI_DEBUG is not set
515# CONFIG_ATA is not set
516# CONFIG_MD is not set
517CONFIG_NETDEVICES=y
518# CONFIG_NETDEVICES_MULTIQUEUE is not set
519# CONFIG_DUMMY is not set
520# CONFIG_BONDING is not set
521# CONFIG_MACVLAN is not set
522# CONFIG_EQUALIZER is not set
523# CONFIG_TUN is not set
524# CONFIG_VETH is not set
525# CONFIG_PHYLIB is not set
526CONFIG_NET_ETHERNET=y
527CONFIG_MII=y
528# CONFIG_AX88796 is not set
529# CONFIG_STNIC is not set
530# CONFIG_SMC91X is not set
531CONFIG_SMC911X=y
532# CONFIG_IBM_NEW_EMAC_ZMII is not set
533# CONFIG_IBM_NEW_EMAC_RGMII is not set
534# CONFIG_IBM_NEW_EMAC_TAH is not set
535# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
536# CONFIG_B44 is not set
537# CONFIG_NETDEV_1000 is not set
538# CONFIG_NETDEV_10000 is not set
539
540#
541# Wireless LAN
542#
543# CONFIG_WLAN_PRE80211 is not set
544# CONFIG_WLAN_80211 is not set
545# CONFIG_IWLWIFI_LEDS is not set
546# CONFIG_WAN is not set
547# CONFIG_PPP is not set
548# CONFIG_SLIP is not set
549# CONFIG_NETCONSOLE is not set
550# CONFIG_NETPOLL is not set
551# CONFIG_NET_POLL_CONTROLLER is not set
552# CONFIG_ISDN is not set
553# CONFIG_PHONE is not set
554
555#
556# Input device support
557#
558CONFIG_INPUT=y
559# CONFIG_INPUT_FF_MEMLESS is not set
560# CONFIG_INPUT_POLLDEV is not set
561
562#
563# Userland interfaces
564#
565# CONFIG_INPUT_MOUSEDEV is not set
566# CONFIG_INPUT_JOYDEV is not set
567# CONFIG_INPUT_EVDEV is not set
568# CONFIG_INPUT_EVBUG is not set
569
570#
571# Input Device Drivers
572#
573# CONFIG_INPUT_KEYBOARD is not set
574# CONFIG_INPUT_MOUSE is not set
575# CONFIG_INPUT_JOYSTICK is not set
576# CONFIG_INPUT_TABLET is not set
577# CONFIG_INPUT_TOUCHSCREEN is not set
578# CONFIG_INPUT_MISC is not set
579
580#
581# Hardware I/O ports
582#
583# CONFIG_SERIO is not set
584# CONFIG_GAMEPORT is not set
585
586#
587# Character devices
588#
589CONFIG_VT=y
590CONFIG_VT_CONSOLE=y
591CONFIG_HW_CONSOLE=y
592CONFIG_VT_HW_CONSOLE_BINDING=y
593CONFIG_DEVKMEM=y
594# CONFIG_SERIAL_NONSTANDARD is not set
595
596#
597# Serial drivers
598#
599# CONFIG_SERIAL_8250 is not set
600
601#
602# Non-8250 serial port support
603#
604CONFIG_SERIAL_SH_SCI=y
605CONFIG_SERIAL_SH_SCI_NR_UARTS=6
606CONFIG_SERIAL_SH_SCI_CONSOLE=y
607CONFIG_SERIAL_CORE=y
608CONFIG_SERIAL_CORE_CONSOLE=y
609CONFIG_UNIX98_PTYS=y
610CONFIG_LEGACY_PTYS=y
611CONFIG_LEGACY_PTY_COUNT=256
612# CONFIG_IPMI_HANDLER is not set
613CONFIG_HW_RANDOM=y
614# CONFIG_R3964 is not set
615# CONFIG_RAW_DRIVER is not set
616# CONFIG_TCG_TPM is not set
617# CONFIG_I2C is not set
618# CONFIG_SPI is not set
619# CONFIG_W1 is not set
620# CONFIG_POWER_SUPPLY is not set
621# CONFIG_HWMON is not set
622# CONFIG_THERMAL is not set
623# CONFIG_WATCHDOG is not set
624
625#
626# Sonics Silicon Backplane
627#
628CONFIG_SSB_POSSIBLE=y
629# CONFIG_SSB is not set
630
631#
632# Multifunction device drivers
633#
634# CONFIG_MFD_SM501 is not set
635# CONFIG_HTC_PASIC3 is not set
636
637#
638# Multimedia devices
639#
640
641#
642# Multimedia core support
643#
644# CONFIG_VIDEO_DEV is not set
645# CONFIG_DVB_CORE is not set
646# CONFIG_VIDEO_MEDIA is not set
647
648#
649# Multimedia drivers
650#
651# CONFIG_DAB is not set
652
653#
654# Graphics support
655#
656# CONFIG_VGASTATE is not set
657# CONFIG_VIDEO_OUTPUT_CONTROL is not set
658# CONFIG_FB is not set
659# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
660
661#
662# Display device support
663#
664# CONFIG_DISPLAY_SUPPORT is not set
665
666#
667# Console display driver support
668#
669CONFIG_DUMMY_CONSOLE=y
670
671#
672# Sound
673#
674# CONFIG_SOUND is not set
675# CONFIG_HID_SUPPORT is not set
676# CONFIG_USB_SUPPORT is not set
677# CONFIG_MMC is not set
678# CONFIG_MEMSTICK is not set
679# CONFIG_NEW_LEDS is not set
680# CONFIG_ACCESSIBILITY is not set
681# CONFIG_RTC_CLASS is not set
682# CONFIG_UIO is not set
683
684#
685# File systems
686#
687CONFIG_EXT2_FS=y
688CONFIG_EXT2_FS_XATTR=y
689CONFIG_EXT2_FS_POSIX_ACL=y
690CONFIG_EXT2_FS_SECURITY=y
691# CONFIG_EXT2_FS_XIP is not set
692CONFIG_EXT3_FS=y
693CONFIG_EXT3_FS_XATTR=y
694CONFIG_EXT3_FS_POSIX_ACL=y
695CONFIG_EXT3_FS_SECURITY=y
696# CONFIG_EXT4DEV_FS is not set
697CONFIG_JBD=y
698CONFIG_FS_MBCACHE=y
699# CONFIG_REISERFS_FS is not set
700# CONFIG_JFS_FS is not set
701CONFIG_FS_POSIX_ACL=y
702# CONFIG_XFS_FS is not set
703# CONFIG_OCFS2_FS is not set
704CONFIG_DNOTIFY=y
705CONFIG_INOTIFY=y
706CONFIG_INOTIFY_USER=y
707# CONFIG_QUOTA is not set
708# CONFIG_AUTOFS_FS is not set
709# CONFIG_AUTOFS4_FS is not set
710# CONFIG_FUSE_FS is not set
711
712#
713# CD-ROM/DVD Filesystems
714#
715# CONFIG_ISO9660_FS is not set
716# CONFIG_UDF_FS is not set
717
718#
719# DOS/FAT/NT Filesystems
720#
721CONFIG_FAT_FS=y
722# CONFIG_MSDOS_FS is not set
723CONFIG_VFAT_FS=y
724CONFIG_FAT_DEFAULT_CODEPAGE=437
725CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
726# CONFIG_NTFS_FS is not set
727
728#
729# Pseudo filesystems
730#
731CONFIG_PROC_FS=y
732CONFIG_PROC_KCORE=y
733CONFIG_PROC_SYSCTL=y
734CONFIG_SYSFS=y
735CONFIG_TMPFS=y
736# CONFIG_TMPFS_POSIX_ACL is not set
737# CONFIG_HUGETLBFS is not set
738# CONFIG_HUGETLB_PAGE is not set
739# CONFIG_CONFIGFS_FS is not set
740
741#
742# Miscellaneous filesystems
743#
744# CONFIG_ADFS_FS is not set
745# CONFIG_AFFS_FS is not set
746# CONFIG_HFS_FS is not set
747# CONFIG_HFSPLUS_FS is not set
748# CONFIG_BEFS_FS is not set
749# CONFIG_BFS_FS is not set
750# CONFIG_EFS_FS is not set
751# CONFIG_JFFS2_FS is not set
752# CONFIG_CRAMFS is not set
753# CONFIG_VXFS_FS is not set
754# CONFIG_MINIX_FS is not set
755# CONFIG_HPFS_FS is not set
756# CONFIG_QNX4FS_FS is not set
757# CONFIG_ROMFS_FS is not set
758# CONFIG_SYSV_FS is not set
759# CONFIG_UFS_FS is not set
760CONFIG_NETWORK_FILESYSTEMS=y
761CONFIG_NFS_FS=y
762CONFIG_NFS_V3=y
763# CONFIG_NFS_V3_ACL is not set
764# CONFIG_NFS_V4 is not set
765CONFIG_NFSD=y
766CONFIG_NFSD_V3=y
767# CONFIG_NFSD_V3_ACL is not set
768# CONFIG_NFSD_V4 is not set
769CONFIG_ROOT_NFS=y
770CONFIG_LOCKD=y
771CONFIG_LOCKD_V4=y
772CONFIG_EXPORTFS=y
773CONFIG_NFS_COMMON=y
774CONFIG_SUNRPC=y
775# CONFIG_SUNRPC_BIND34 is not set
776# CONFIG_RPCSEC_GSS_KRB5 is not set
777# CONFIG_RPCSEC_GSS_SPKM3 is not set
778# CONFIG_SMB_FS is not set
779# CONFIG_CIFS is not set
780# CONFIG_NCP_FS is not set
781# CONFIG_CODA_FS is not set
782# CONFIG_AFS_FS is not set
783
784#
785# Partition Types
786#
787# CONFIG_PARTITION_ADVANCED is not set
788CONFIG_MSDOS_PARTITION=y
789CONFIG_NLS=y
790CONFIG_NLS_DEFAULT="iso8859-1"
791CONFIG_NLS_CODEPAGE_437=y
792# CONFIG_NLS_CODEPAGE_737 is not set
793# CONFIG_NLS_CODEPAGE_775 is not set
794# CONFIG_NLS_CODEPAGE_850 is not set
795# CONFIG_NLS_CODEPAGE_852 is not set
796# CONFIG_NLS_CODEPAGE_855 is not set
797# CONFIG_NLS_CODEPAGE_857 is not set
798# CONFIG_NLS_CODEPAGE_860 is not set
799# CONFIG_NLS_CODEPAGE_861 is not set
800# CONFIG_NLS_CODEPAGE_862 is not set
801# CONFIG_NLS_CODEPAGE_863 is not set
802# CONFIG_NLS_CODEPAGE_864 is not set
803# CONFIG_NLS_CODEPAGE_865 is not set
804# CONFIG_NLS_CODEPAGE_866 is not set
805# CONFIG_NLS_CODEPAGE_869 is not set
806# CONFIG_NLS_CODEPAGE_936 is not set
807# CONFIG_NLS_CODEPAGE_950 is not set
808CONFIG_NLS_CODEPAGE_932=y
809# CONFIG_NLS_CODEPAGE_949 is not set
810# CONFIG_NLS_CODEPAGE_874 is not set
811# CONFIG_NLS_ISO8859_8 is not set
812# CONFIG_NLS_CODEPAGE_1250 is not set
813# CONFIG_NLS_CODEPAGE_1251 is not set
814# CONFIG_NLS_ASCII is not set
815CONFIG_NLS_ISO8859_1=y
816# CONFIG_NLS_ISO8859_2 is not set
817# CONFIG_NLS_ISO8859_3 is not set
818# CONFIG_NLS_ISO8859_4 is not set
819# CONFIG_NLS_ISO8859_5 is not set
820# CONFIG_NLS_ISO8859_6 is not set
821# CONFIG_NLS_ISO8859_7 is not set
822# CONFIG_NLS_ISO8859_9 is not set
823# CONFIG_NLS_ISO8859_13 is not set
824# CONFIG_NLS_ISO8859_14 is not set
825# CONFIG_NLS_ISO8859_15 is not set
826# CONFIG_NLS_KOI8_R is not set
827# CONFIG_NLS_KOI8_U is not set
828# CONFIG_NLS_UTF8 is not set
829# CONFIG_DLM is not set
830
831#
832# Kernel hacking
833#
834CONFIG_TRACE_IRQFLAGS_SUPPORT=y
835# CONFIG_PRINTK_TIME is not set
836CONFIG_ENABLE_WARN_DEPRECATED=y
837# CONFIG_ENABLE_MUST_CHECK is not set
838CONFIG_FRAME_WARN=1024
839# CONFIG_MAGIC_SYSRQ is not set
840# CONFIG_UNUSED_SYMBOLS is not set
841# CONFIG_DEBUG_FS is not set
842# CONFIG_HEADERS_CHECK is not set
843# CONFIG_DEBUG_KERNEL is not set
844# CONFIG_DEBUG_BUGVERBOSE is not set
845# CONFIG_SAMPLES is not set
846# CONFIG_SH_STANDARD_BIOS is not set
847# CONFIG_EARLY_SCIF_CONSOLE is not set
848# CONFIG_SH_KGDB is not set
849
850#
851# Security options
852#
853# CONFIG_KEYS is not set
854# CONFIG_SECURITY is not set
855# CONFIG_SECURITY_FILE_CAPABILITIES is not set
856CONFIG_CRYPTO=y
857
858#
859# Crypto core or helper
860#
861CONFIG_CRYPTO_ALGAPI=y
862CONFIG_CRYPTO_BLKCIPHER=y
863CONFIG_CRYPTO_MANAGER=y
864# CONFIG_CRYPTO_GF128MUL is not set
865# CONFIG_CRYPTO_NULL is not set
866# CONFIG_CRYPTO_CRYPTD is not set
867# CONFIG_CRYPTO_AUTHENC is not set
868# CONFIG_CRYPTO_TEST is not set
869
870#
871# Authenticated Encryption with Associated Data
872#
873# CONFIG_CRYPTO_CCM is not set
874# CONFIG_CRYPTO_GCM is not set
875# CONFIG_CRYPTO_SEQIV is not set
876
877#
878# Block modes
879#
880CONFIG_CRYPTO_CBC=y
881# CONFIG_CRYPTO_CTR is not set
882# CONFIG_CRYPTO_CTS is not set
883# CONFIG_CRYPTO_ECB is not set
884# CONFIG_CRYPTO_LRW is not set
885# CONFIG_CRYPTO_PCBC is not set
886# CONFIG_CRYPTO_XTS is not set
887
888#
889# Hash modes
890#
891# CONFIG_CRYPTO_HMAC is not set
892# CONFIG_CRYPTO_XCBC is not set
893
894#
895# Digest
896#
897# CONFIG_CRYPTO_CRC32C is not set
898# CONFIG_CRYPTO_MD4 is not set
899# CONFIG_CRYPTO_MD5 is not set
900# CONFIG_CRYPTO_MICHAEL_MIC is not set
901# CONFIG_CRYPTO_SHA1 is not set
902# CONFIG_CRYPTO_SHA256 is not set
903# CONFIG_CRYPTO_SHA512 is not set
904# CONFIG_CRYPTO_TGR192 is not set
905# CONFIG_CRYPTO_WP512 is not set
906
907#
908# Ciphers
909#
910# CONFIG_CRYPTO_AES is not set
911# CONFIG_CRYPTO_ANUBIS is not set
912# CONFIG_CRYPTO_ARC4 is not set
913# CONFIG_CRYPTO_BLOWFISH is not set
914# CONFIG_CRYPTO_CAMELLIA is not set
915# CONFIG_CRYPTO_CAST5 is not set
916# CONFIG_CRYPTO_CAST6 is not set
917# CONFIG_CRYPTO_DES is not set
918# CONFIG_CRYPTO_FCRYPT is not set
919# CONFIG_CRYPTO_KHAZAD is not set
920# CONFIG_CRYPTO_SALSA20 is not set
921# CONFIG_CRYPTO_SEED is not set
922# CONFIG_CRYPTO_SERPENT is not set
923# CONFIG_CRYPTO_TEA is not set
924# CONFIG_CRYPTO_TWOFISH is not set
925
926#
927# Compression
928#
929# CONFIG_CRYPTO_DEFLATE is not set
930# CONFIG_CRYPTO_LZO is not set
931CONFIG_CRYPTO_HW=y
932
933#
934# Library routines
935#
936CONFIG_BITREVERSE=y
937# CONFIG_GENERIC_FIND_FIRST_BIT is not set
938# CONFIG_CRC_CCITT is not set
939# CONFIG_CRC16 is not set
940# CONFIG_CRC_ITU_T is not set
941CONFIG_CRC32=y
942# CONFIG_CRC7 is not set
943# CONFIG_LIBCRC32C is not set
944CONFIG_PLIST=y
945CONFIG_HAS_IOMEM=y
946CONFIG_HAS_IOPORT=y
947CONFIG_HAS_DMA=y
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types
index 1ae9fefed0f4..3a53f04d72d4 100644
--- a/arch/sh/tools/mach-types
+++ b/arch/sh/tools/mach-types
@@ -47,3 +47,4 @@ CAYMAN SH_CAYMAN
47SDK7780 SH_SDK7780 47SDK7780 SH_SDK7780
48MIGOR SH_MIGOR 48MIGOR SH_MIGOR
49RSK7203 SH_RSK7203 49RSK7203 SH_RSK7203
50AP325RXA SH_AP325RXA