aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi YOSHII <takasi-y@ops.dti.ne.jp>2006-09-27 04:41:31 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:41:31 -0400
commit51e22e7a05c1c6f2e38ac7459d3404e32e543b75 (patch)
treeefd81ee22e036c1d268827715e6515314e05cdf7
parente5723e0eeb2dc16629e86d66785024ead9169000 (diff)
sh: SHMIN board support.
This adds support for the SHMIN SH7706 board. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig8
-rw-r--r--arch/sh/Makefile1
-rw-r--r--arch/sh/boards/shmin/Makefile5
-rw-r--r--arch/sh/boards/shmin/setup.c49
-rw-r--r--arch/sh/configs/shmin_defconfig827
-rw-r--r--arch/sh/tools/mach-types1
-rw-r--r--include/asm-sh/shmin/shmin.h9
7 files changed, 899 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 557e7232141c..5bec3af164e5 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -222,6 +222,12 @@ config SH_TITAN
222 Select Titan if you are configuring for a Nimble Microsystems 222 Select Titan if you are configuring for a Nimble Microsystems
223 NetEngine NP51R. 223 NetEngine NP51R.
224 224
225config SH_SHMIN
226 bool "SHMIN"
227 select CPU_SUBTYPE_SH7706
228 help
229 Select SHMIN if configureing for the SHMIN board
230
225config SH_UNKNOWN 231config SH_UNKNOWN
226 bool "BareCPU" 232 bool "BareCPU"
227 help 233 help
@@ -295,7 +301,7 @@ config SH_RTC
295 bool 301 bool
296 depends on !SH_DREAMCAST && !SH_SATURN && !SH_7300_SOLUTION_ENGINE && \ 302 depends on !SH_DREAMCAST && !SH_SATURN && !SH_7300_SOLUTION_ENGINE && \
297 !SH_73180_SOLUTION_ENGINE && !SH_LANDISK && \ 303 !SH_73180_SOLUTION_ENGINE && !SH_LANDISK && \
298 !SH_R7780RP 304 !SH_R7780RP && !SH_SHMIN
299 default y 305 default y
300 help 306 help
301 Selecting this option will allow the Linux kernel to emulate 307 Selecting this option will allow the Linux kernel to emulate
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index d118e48ea1ba..8ad0a286ff8f 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -113,6 +113,7 @@ machdir-$(CONFIG_SH_R7780RP) := renesas/r7780rp
113machdir-$(CONFIG_SH_SH4202_MICRODEV) := superh/microdev 113machdir-$(CONFIG_SH_SH4202_MICRODEV) := superh/microdev
114machdir-$(CONFIG_SH_LANDISK) := landisk 114machdir-$(CONFIG_SH_LANDISK) := landisk
115machdir-$(CONFIG_SH_TITAN) := titan 115machdir-$(CONFIG_SH_TITAN) := titan
116machdir-$(CONFIG_SH_SHMIN) := shmin
116machdir-$(CONFIG_SH_UNKNOWN) := unknown 117machdir-$(CONFIG_SH_UNKNOWN) := unknown
117 118
118incdir-y := $(notdir $(machdir-y)) 119incdir-y := $(notdir $(machdir-y))
diff --git a/arch/sh/boards/shmin/Makefile b/arch/sh/boards/shmin/Makefile
new file mode 100644
index 000000000000..3190cc72430e
--- /dev/null
+++ b/arch/sh/boards/shmin/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the SHMIN board.
3#
4
5obj-y := setup.o
diff --git a/arch/sh/boards/shmin/setup.c b/arch/sh/boards/shmin/setup.c
new file mode 100644
index 000000000000..a950ec4d765d
--- /dev/null
+++ b/arch/sh/boards/shmin/setup.c
@@ -0,0 +1,49 @@
1/*
2 * arch/sh/boards/shmin/setup.c
3 *
4 * Copyright (C) 2006 Takashi YOSHII
5 *
6 * SHMIN Support.
7 */
8#include <linux/init.h>
9#include <asm/machvec.h>
10#include <asm/shmin/shmin.h>
11#include <asm/clock.h>
12#include <asm/irq.h>
13#include <asm/io.h>
14
15#define PFC_PHCR 0xa400010e
16
17const char *get_system_type(void)
18{
19 return "SHMIN";
20}
21
22static void __init init_shmin_irq(void)
23{
24 ctrl_outw(0x2a00, PFC_PHCR); // IRQ0-3=IRQ
25 ctrl_outw(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active.
26}
27
28void __init platform_setup(void)
29{
30}
31
32static void __iomem *shmin_ioport_map(unsigned long port, unsigned int size)
33{
34 static int dummy;
35
36 if ((port & ~0x1f) == SHMIN_NE_BASE)
37 return (void __iomem *)(SHMIN_IO_BASE + port);
38
39 dummy = 0;
40
41 return &dummy;
42
43}
44
45struct sh_machine_vector mv_shmin __initmv = {
46 .mv_init_irq = init_shmin_irq,
47 .mv_ioport_map = shmin_ioport_map,
48};
49ALIAS_MV(shmin)
diff --git a/arch/sh/configs/shmin_defconfig b/arch/sh/configs/shmin_defconfig
new file mode 100644
index 000000000000..382b3bd3963b
--- /dev/null
+++ b/arch/sh/configs/shmin_defconfig
@@ -0,0 +1,827 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.17
4# Wed Aug 2 01:45:03 2006
5#
6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_FIND_NEXT_BIT=y
9CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_HARDIRQS=y
11CONFIG_GENERIC_IRQ_PROBE=y
12CONFIG_GENERIC_CALIBRATE_DELAY=y
13CONFIG_PTRACE=y
14
15#
16# Code maturity level options
17#
18CONFIG_EXPERIMENTAL=y
19CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32
21
22#
23# General setup
24#
25CONFIG_LOCALVERSION=""
26CONFIG_LOCALVERSION_AUTO=y
27# CONFIG_SWAP is not set
28# CONFIG_SYSVIPC is not set
29# CONFIG_POSIX_MQUEUE is not set
30# CONFIG_BSD_PROCESS_ACCT is not set
31# CONFIG_SYSCTL is not set
32# CONFIG_AUDIT is not set
33# CONFIG_IKCONFIG is not set
34# CONFIG_RELAY is not set
35CONFIG_INITRAMFS_SOURCE=""
36# CONFIG_UID16 is not set
37CONFIG_CC_OPTIMIZE_FOR_SIZE=y
38CONFIG_EMBEDDED=y
39# CONFIG_KALLSYMS is not set
40# CONFIG_HOTPLUG is not set
41CONFIG_PRINTK=y
42# CONFIG_BUG is not set
43# CONFIG_ELF_CORE is not set
44# CONFIG_BASE_FULL is not set
45# CONFIG_FUTEX is not set
46# CONFIG_EPOLL is not set
47# CONFIG_SHMEM is not set
48# CONFIG_SLAB is not set
49CONFIG_TINY_SHMEM=y
50CONFIG_BASE_SMALL=1
51CONFIG_SLOB=y
52CONFIG_OBSOLETE_INTERMODULE=y
53
54#
55# Loadable module support
56#
57# CONFIG_MODULES is not set
58
59#
60# Block layer
61#
62# CONFIG_LBD is not set
63# CONFIG_LSF is not set
64
65#
66# IO Schedulers
67#
68CONFIG_IOSCHED_NOOP=y
69# CONFIG_IOSCHED_AS is not set
70# CONFIG_IOSCHED_DEADLINE is not set
71# CONFIG_IOSCHED_CFQ is not set
72# CONFIG_DEFAULT_AS is not set
73# CONFIG_DEFAULT_DEADLINE is not set
74# CONFIG_DEFAULT_CFQ is not set
75CONFIG_DEFAULT_NOOP=y
76CONFIG_DEFAULT_IOSCHED="noop"
77
78#
79# System type
80#
81# CONFIG_SH_SOLUTION_ENGINE is not set
82# CONFIG_SH_7709_SOLUTION_ENGINE is not set
83# CONFIG_SH_7751_SOLUTION_ENGINE is not set
84# CONFIG_SH_7300_SOLUTION_ENGINE is not set
85# CONFIG_SH_73180_SOLUTION_ENGINE is not set
86# CONFIG_SH_7751_SYSTEMH is not set
87# CONFIG_SH_STB1_HARP is not set
88# CONFIG_SH_STB1_OVERDRIVE is not set
89# CONFIG_SH_HP6XX is not set
90# CONFIG_SH_CQREEK is not set
91# CONFIG_SH_DMIDA is not set
92# CONFIG_SH_EC3104 is not set
93# CONFIG_SH_SATURN is not set
94# CONFIG_SH_DREAMCAST is not set
95# CONFIG_SH_CAT68701 is not set
96# CONFIG_SH_BIGSUR is not set
97# CONFIG_SH_SH2000 is not set
98# CONFIG_SH_ADX is not set
99# CONFIG_SH_MPC1211 is not set
100# CONFIG_SH_SH03 is not set
101# CONFIG_SH_SECUREEDGE5410 is not set
102# CONFIG_SH_HS7751RVOIP is not set
103# CONFIG_SH_RTS7751R2D is not set
104# CONFIG_SH_R7780RP is not set
105# CONFIG_SH_EDOSK7705 is not set
106# CONFIG_SH_SH4202_MICRODEV is not set
107# CONFIG_SH_LANDISK is not set
108# CONFIG_SH_TITAN is not set
109CONFIG_SH_SHMIN=y
110# CONFIG_SH_UNKNOWN is not set
111
112#
113# Processor selection
114#
115CONFIG_CPU_SH3=y
116
117#
118# SH-2 Processor Support
119#
120# CONFIG_CPU_SUBTYPE_SH7604 is not set
121
122#
123# SH-3 Processor Support
124#
125# CONFIG_CPU_SUBTYPE_SH7300 is not set
126# CONFIG_CPU_SUBTYPE_SH7705 is not set
127CONFIG_CPU_SUBTYPE_SH7706=y
128# CONFIG_CPU_SUBTYPE_SH7707 is not set
129# CONFIG_CPU_SUBTYPE_SH7708 is not set
130# CONFIG_CPU_SUBTYPE_SH7709 is not set
131
132#
133# SH-4 Processor Support
134#
135# CONFIG_CPU_SUBTYPE_SH7750 is not set
136# CONFIG_CPU_SUBTYPE_SH7091 is not set
137# CONFIG_CPU_SUBTYPE_SH7750R is not set
138# CONFIG_CPU_SUBTYPE_SH7750S is not set
139# CONFIG_CPU_SUBTYPE_SH7751 is not set
140# CONFIG_CPU_SUBTYPE_SH7751R is not set
141# CONFIG_CPU_SUBTYPE_SH7760 is not set
142# CONFIG_CPU_SUBTYPE_SH4_202 is not set
143
144#
145# ST40 Processor Support
146#
147# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
148# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
149
150#
151# SH-4A Processor Support
152#
153# CONFIG_CPU_SUBTYPE_SH73180 is not set
154# CONFIG_CPU_SUBTYPE_SH7770 is not set
155# CONFIG_CPU_SUBTYPE_SH7780 is not set
156
157#
158# Memory management options
159#
160CONFIG_MMU=y
161CONFIG_PAGE_OFFSET=0x80000000
162CONFIG_MEMORY_START=0x0c000000
163CONFIG_MEMORY_SIZE=0x00800000
164CONFIG_SELECT_MEMORY_MODEL=y
165CONFIG_FLATMEM_MANUAL=y
166# CONFIG_DISCONTIGMEM_MANUAL is not set
167# CONFIG_SPARSEMEM_MANUAL is not set
168CONFIG_FLATMEM=y
169CONFIG_FLAT_NODE_MEM_MAP=y
170# CONFIG_SPARSEMEM_STATIC is not set
171CONFIG_SPLIT_PTLOCK_CPUS=4
172
173#
174# Cache configuration
175#
176# CONFIG_SH_DIRECT_MAPPED is not set
177# CONFIG_SH_WRITETHROUGH is not set
178# CONFIG_SH_OCRAM is not set
179
180#
181# Processor features
182#
183CONFIG_CPU_LITTLE_ENDIAN=y
184# CONFIG_SH_FPU_EMU is not set
185# CONFIG_SH_DSP is not set
186# CONFIG_SH_ADC is not set
187CONFIG_CPU_HAS_INTEVT=y
188CONFIG_CPU_HAS_SR_RB=y
189
190#
191# Timer support
192#
193CONFIG_SH_TMU=y
194CONFIG_SH_PCLK_FREQ=32000000
195
196#
197# CPU Frequency scaling
198#
199# CONFIG_CPU_FREQ is not set
200
201#
202# DMA support
203#
204# CONFIG_SH_DMA is not set
205
206#
207# Companion Chips
208#
209# CONFIG_HD6446X_SERIES is not set
210
211#
212# Kernel features
213#
214# CONFIG_KEXEC is not set
215# CONFIG_PREEMPT is not set
216# CONFIG_SMP is not set
217
218#
219# Boot options
220#
221CONFIG_ZERO_PAGE_OFFSET=0x00001000
222CONFIG_BOOT_LINK_OFFSET=0x00210000
223# CONFIG_UBC_WAKEUP is not set
224CONFIG_CMDLINE_BOOL=y
225CONFIG_CMDLINE="console=ttySC1,115200 root=1f01 mtdparts=phys_mapped_flash:64k(firm)ro,-(sys) netdev=34,0x300,eth0 "
226
227#
228# Bus options
229#
230# CONFIG_PCI is not set
231
232#
233# PCCARD (PCMCIA/CardBus) support
234#
235# CONFIG_PCCARD is not set
236
237#
238# PCI Hotplug Support
239#
240
241#
242# Executable file formats
243#
244CONFIG_BINFMT_ELF=y
245# CONFIG_BINFMT_FLAT is not set
246# CONFIG_BINFMT_MISC is not set
247
248#
249# Power management options (EXPERIMENTAL)
250#
251# CONFIG_PM is not set
252
253#
254# Networking
255#
256CONFIG_NET=y
257
258#
259# Networking options
260#
261# CONFIG_NETDEBUG is not set
262# CONFIG_PACKET is not set
263CONFIG_UNIX=y
264# CONFIG_NET_KEY is not set
265CONFIG_INET=y
266# CONFIG_IP_MULTICAST is not set
267# CONFIG_IP_ADVANCED_ROUTER is not set
268CONFIG_IP_FIB_HASH=y
269CONFIG_IP_PNP=y
270# CONFIG_IP_PNP_DHCP is not set
271# CONFIG_IP_PNP_BOOTP is not set
272# CONFIG_IP_PNP_RARP is not set
273# CONFIG_NET_IPIP is not set
274# CONFIG_NET_IPGRE is not set
275# CONFIG_ARPD is not set
276# CONFIG_SYN_COOKIES is not set
277# CONFIG_INET_AH is not set
278# CONFIG_INET_ESP is not set
279# CONFIG_INET_IPCOMP is not set
280# CONFIG_INET_XFRM_TUNNEL is not set
281# CONFIG_INET_TUNNEL is not set
282CONFIG_INET_DIAG=y
283CONFIG_INET_TCP_DIAG=y
284# CONFIG_TCP_CONG_ADVANCED is not set
285CONFIG_TCP_CONG_BIC=y
286# CONFIG_IPV6 is not set
287# CONFIG_INET6_XFRM_TUNNEL is not set
288# CONFIG_INET6_TUNNEL is not set
289# CONFIG_NETFILTER is not set
290
291#
292# DCCP Configuration (EXPERIMENTAL)
293#
294# CONFIG_IP_DCCP is not set
295
296#
297# SCTP Configuration (EXPERIMENTAL)
298#
299# CONFIG_IP_SCTP is not set
300
301#
302# TIPC Configuration (EXPERIMENTAL)
303#
304# CONFIG_TIPC is not set
305# CONFIG_ATM is not set
306# CONFIG_BRIDGE is not set
307# CONFIG_VLAN_8021Q is not set
308# CONFIG_DECNET is not set
309# CONFIG_LLC2 is not set
310# CONFIG_IPX is not set
311# CONFIG_ATALK is not set
312# CONFIG_X25 is not set
313# CONFIG_LAPB is not set
314# CONFIG_NET_DIVERT is not set
315# CONFIG_ECONET is not set
316# CONFIG_WAN_ROUTER is not set
317
318#
319# QoS and/or fair queueing
320#
321# CONFIG_NET_SCHED is not set
322
323#
324# Network testing
325#
326# CONFIG_NET_PKTGEN is not set
327# CONFIG_HAMRADIO is not set
328# CONFIG_IRDA is not set
329# CONFIG_BT is not set
330# CONFIG_IEEE80211 is not set
331
332#
333# Device Drivers
334#
335
336#
337# Generic Driver Options
338#
339CONFIG_STANDALONE=y
340CONFIG_PREVENT_FIRMWARE_BUILD=y
341# CONFIG_FW_LOADER is not set
342
343#
344# Connector - unified userspace <-> kernelspace linker
345#
346# CONFIG_CONNECTOR is not set
347
348#
349# Memory Technology Devices (MTD)
350#
351CONFIG_MTD=y
352# CONFIG_MTD_DEBUG is not set
353# CONFIG_MTD_CONCAT is not set
354CONFIG_MTD_PARTITIONS=y
355# CONFIG_MTD_REDBOOT_PARTS is not set
356CONFIG_MTD_CMDLINE_PARTS=y
357
358#
359# User Modules And Translation Layers
360#
361# CONFIG_MTD_CHAR is not set
362CONFIG_MTD_BLOCK=y
363# CONFIG_FTL is not set
364# CONFIG_NFTL is not set
365# CONFIG_INFTL is not set
366# CONFIG_RFD_FTL is not set
367
368#
369# RAM/ROM/Flash chip drivers
370#
371# CONFIG_MTD_CFI is not set
372CONFIG_MTD_JEDECPROBE=y
373CONFIG_MTD_GEN_PROBE=y
374# CONFIG_MTD_CFI_ADV_OPTIONS is not set
375CONFIG_MTD_MAP_BANK_WIDTH_1=y
376CONFIG_MTD_MAP_BANK_WIDTH_2=y
377CONFIG_MTD_MAP_BANK_WIDTH_4=y
378# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
379# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
380# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
381CONFIG_MTD_CFI_I1=y
382CONFIG_MTD_CFI_I2=y
383# CONFIG_MTD_CFI_I4 is not set
384# CONFIG_MTD_CFI_I8 is not set
385# CONFIG_MTD_CFI_INTELEXT is not set
386CONFIG_MTD_CFI_AMDSTD=y
387# CONFIG_MTD_CFI_STAA is not set
388CONFIG_MTD_CFI_UTIL=y
389# CONFIG_MTD_RAM is not set
390# CONFIG_MTD_ROM is not set
391# CONFIG_MTD_ABSENT is not set
392# CONFIG_MTD_OBSOLETE_CHIPS is not set
393
394#
395# Mapping drivers for chip access
396#
397# CONFIG_MTD_COMPLEX_MAPPINGS is not set
398CONFIG_MTD_PHYSMAP=y
399CONFIG_MTD_PHYSMAP_START=0xa0000000
400CONFIG_MTD_PHYSMAP_LEN=0x80000
401CONFIG_MTD_PHYSMAP_BANKWIDTH=1
402# CONFIG_MTD_PLATRAM is not set
403
404#
405# Self-contained MTD device drivers
406#
407# CONFIG_MTD_SLRAM is not set
408# CONFIG_MTD_PHRAM is not set
409# CONFIG_MTD_MTDRAM is not set
410# CONFIG_MTD_BLOCK2MTD is not set
411
412#
413# Disk-On-Chip Device Drivers
414#
415# CONFIG_MTD_DOC2000 is not set
416# CONFIG_MTD_DOC2001 is not set
417# CONFIG_MTD_DOC2001PLUS is not set
418
419#
420# NAND Flash Device Drivers
421#
422# CONFIG_MTD_NAND is not set
423
424#
425# OneNAND Flash Device Drivers
426#
427# CONFIG_MTD_ONENAND is not set
428
429#
430# Parallel port support
431#
432# CONFIG_PARPORT is not set
433
434#
435# Plug and Play support
436#
437
438#
439# Block devices
440#
441# CONFIG_BLK_DEV_COW_COMMON is not set
442CONFIG_BLK_DEV_LOOP=y
443# CONFIG_BLK_DEV_CRYPTOLOOP is not set
444# CONFIG_BLK_DEV_NBD is not set
445# CONFIG_BLK_DEV_RAM is not set
446# CONFIG_BLK_DEV_INITRD is not set
447# CONFIG_CDROM_PKTCDVD is not set
448# CONFIG_ATA_OVER_ETH is not set
449
450#
451# ATA/ATAPI/MFM/RLL support
452#
453# CONFIG_IDE is not set
454
455#
456# SCSI device support
457#
458# CONFIG_RAID_ATTRS is not set
459# CONFIG_SCSI is not set
460
461#
462# Multi-device support (RAID and LVM)
463#
464# CONFIG_MD is not set
465
466#
467# Fusion MPT device support
468#
469# CONFIG_FUSION is not set
470
471#
472# IEEE 1394 (FireWire) support
473#
474
475#
476# I2O device support
477#
478
479#
480# Network device support
481#
482CONFIG_NETDEVICES=y
483# CONFIG_DUMMY is not set
484# CONFIG_BONDING is not set
485# CONFIG_EQUALIZER is not set
486# CONFIG_TUN is not set
487
488#
489# PHY device support
490#
491# CONFIG_PHYLIB is not set
492
493#
494# Ethernet (10 or 100Mbit)
495#
496CONFIG_NET_ETHERNET=y
497# CONFIG_MII is not set
498# CONFIG_STNIC is not set
499# CONFIG_SMC91X is not set
500CONFIG_NE2000=y
501
502#
503# Ethernet (1000 Mbit)
504#
505
506#
507# Ethernet (10000 Mbit)
508#
509
510#
511# Token Ring devices
512#
513
514#
515# Wireless LAN (non-hamradio)
516#
517# CONFIG_NET_RADIO is not set
518
519#
520# Wan interfaces
521#
522# CONFIG_WAN is not set
523# CONFIG_PPP is not set
524# CONFIG_SLIP is not set
525# CONFIG_SHAPER is not set
526# CONFIG_NETCONSOLE is not set
527# CONFIG_NETPOLL is not set
528# CONFIG_NET_POLL_CONTROLLER is not set
529
530#
531# ISDN subsystem
532#
533# CONFIG_ISDN is not set
534
535#
536# Telephony Support
537#
538# CONFIG_PHONE is not set
539
540#
541# Input device support
542#
543# CONFIG_INPUT is not set
544
545#
546# Hardware I/O ports
547#
548# CONFIG_SERIO is not set
549# CONFIG_GAMEPORT is not set
550
551#
552# Character devices
553#
554# CONFIG_VT is not set
555# CONFIG_SERIAL_NONSTANDARD is not set
556
557#
558# Serial drivers
559#
560# CONFIG_SERIAL_8250 is not set
561
562#
563# Non-8250 serial port support
564#
565CONFIG_SERIAL_SH_SCI=y
566CONFIG_SERIAL_SH_SCI_NR_UARTS=2
567CONFIG_SERIAL_SH_SCI_CONSOLE=y
568CONFIG_SERIAL_CORE=y
569CONFIG_SERIAL_CORE_CONSOLE=y
570CONFIG_UNIX98_PTYS=y
571CONFIG_LEGACY_PTYS=y
572CONFIG_LEGACY_PTY_COUNT=256
573
574#
575# IPMI
576#
577# CONFIG_IPMI_HANDLER is not set
578
579#
580# Watchdog Cards
581#
582# CONFIG_WATCHDOG is not set
583# CONFIG_RTC is not set
584# CONFIG_GEN_RTC is not set
585# CONFIG_DTLK is not set
586# CONFIG_R3964 is not set
587
588#
589# Ftape, the floppy tape device driver
590#
591# CONFIG_RAW_DRIVER is not set
592
593#
594# TPM devices
595#
596# CONFIG_TCG_TPM is not set
597# CONFIG_TELCLOCK is not set
598
599#
600# I2C support
601#
602# CONFIG_I2C is not set
603
604#
605# SPI support
606#
607# CONFIG_SPI is not set
608# CONFIG_SPI_MASTER is not set
609
610#
611# Dallas's 1-wire bus
612#
613# CONFIG_W1 is not set
614
615#
616# Hardware Monitoring support
617#
618# CONFIG_HWMON is not set
619# CONFIG_HWMON_VID is not set
620
621#
622# Misc devices
623#
624
625#
626# Multimedia devices
627#
628# CONFIG_VIDEO_DEV is not set
629CONFIG_VIDEO_V4L2=y
630
631#
632# Digital Video Broadcasting Devices
633#
634# CONFIG_DVB is not set
635
636#
637# Graphics support
638#
639# CONFIG_FB is not set
640
641#
642# Sound
643#
644# CONFIG_SOUND is not set
645
646#
647# USB support
648#
649# CONFIG_USB_ARCH_HAS_HCD is not set
650# CONFIG_USB_ARCH_HAS_OHCI is not set
651# CONFIG_USB_ARCH_HAS_EHCI is not set
652
653#
654# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
655#
656
657#
658# USB Gadget Support
659#
660# CONFIG_USB_GADGET is not set
661
662#
663# MMC/SD Card support
664#
665# CONFIG_MMC is not set
666
667#
668# LED devices
669#
670# CONFIG_NEW_LEDS is not set
671
672#
673# LED drivers
674#
675
676#
677# LED Triggers
678#
679
680#
681# InfiniBand support
682#
683
684#
685# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
686#
687
688#
689# Real Time Clock
690#
691# CONFIG_RTC_CLASS is not set
692
693#
694# File systems
695#
696# CONFIG_EXT2_FS is not set
697# CONFIG_EXT3_FS is not set
698# CONFIG_REISERFS_FS is not set
699# CONFIG_JFS_FS is not set
700# CONFIG_FS_POSIX_ACL is not set
701# CONFIG_XFS_FS is not set
702# CONFIG_OCFS2_FS is not set
703# CONFIG_MINIX_FS is not set
704# CONFIG_ROMFS_FS is not set
705# CONFIG_INOTIFY is not set
706# CONFIG_QUOTA is not set
707# CONFIG_DNOTIFY 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#
721# CONFIG_MSDOS_FS is not set
722# CONFIG_VFAT_FS is not set
723# CONFIG_NTFS_FS is not set
724
725#
726# Pseudo filesystems
727#
728CONFIG_PROC_FS=y
729# CONFIG_PROC_KCORE is not set
730# CONFIG_SYSFS is not set
731CONFIG_TMPFS=y
732# CONFIG_HUGETLBFS is not set
733# CONFIG_HUGETLB_PAGE is not set
734CONFIG_RAMFS=y
735
736#
737# Miscellaneous filesystems
738#
739# CONFIG_ADFS_FS is not set
740# CONFIG_AFFS_FS is not set
741# CONFIG_HFS_FS is not set
742# CONFIG_HFSPLUS_FS is not set
743# CONFIG_BEFS_FS is not set
744# CONFIG_BFS_FS is not set
745# CONFIG_EFS_FS is not set
746# CONFIG_JFFS_FS is not set
747# CONFIG_JFFS2_FS is not set
748CONFIG_CRAMFS=y
749# CONFIG_VXFS_FS is not set
750# CONFIG_HPFS_FS is not set
751# CONFIG_QNX4FS_FS is not set
752# CONFIG_SYSV_FS is not set
753# CONFIG_UFS_FS is not set
754
755#
756# Network File Systems
757#
758CONFIG_NFS_FS=y
759CONFIG_NFS_V3=y
760# CONFIG_NFS_V3_ACL is not set
761# CONFIG_NFS_V4 is not set
762# CONFIG_NFS_DIRECTIO is not set
763# CONFIG_NFSD is not set
764CONFIG_ROOT_NFS=y
765CONFIG_LOCKD=y
766CONFIG_LOCKD_V4=y
767CONFIG_NFS_COMMON=y
768CONFIG_SUNRPC=y
769# CONFIG_RPCSEC_GSS_KRB5 is not set
770# CONFIG_RPCSEC_GSS_SPKM3 is not set
771# CONFIG_SMB_FS is not set
772# CONFIG_CIFS is not set
773# CONFIG_NCP_FS is not set
774# CONFIG_CODA_FS is not set
775# CONFIG_AFS_FS is not set
776# CONFIG_9P_FS is not set
777
778#
779# Partition Types
780#
781# CONFIG_PARTITION_ADVANCED is not set
782CONFIG_MSDOS_PARTITION=y
783
784#
785# Native Language Support
786#
787# CONFIG_NLS is not set
788
789#
790# Profiling support
791#
792# CONFIG_PROFILING is not set
793
794#
795# Kernel hacking
796#
797# CONFIG_PRINTK_TIME is not set
798# CONFIG_MAGIC_SYSRQ is not set
799# CONFIG_DEBUG_KERNEL is not set
800CONFIG_LOG_BUF_SHIFT=14
801# CONFIG_UNWIND_INFO is not set
802CONFIG_SH_STANDARD_BIOS=y
803CONFIG_EARLY_PRINTK=y
804# CONFIG_KGDB is not set
805
806#
807# Security options
808#
809# CONFIG_KEYS is not set
810
811#
812# Cryptographic options
813#
814# CONFIG_CRYPTO is not set
815
816#
817# Hardware crypto devices
818#
819
820#
821# Library routines
822#
823# CONFIG_CRC_CCITT is not set
824# CONFIG_CRC16 is not set
825CONFIG_CRC32=y
826# CONFIG_LIBCRC32C is not set
827CONFIG_ZLIB_INFLATE=y
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types
index 1f7f2c255ca2..ffd218083876 100644
--- a/arch/sh/tools/mach-types
+++ b/arch/sh/tools/mach-types
@@ -29,3 +29,4 @@ LANDISK SH_LANDISK
29R7780RP SH_R7780RP 29R7780RP SH_R7780RP
30R7780MP SH_R7780MP 30R7780MP SH_R7780MP
31TITAN SH_TITAN 31TITAN SH_TITAN
32SHMIN SH_SHMIN
diff --git a/include/asm-sh/shmin/shmin.h b/include/asm-sh/shmin/shmin.h
new file mode 100644
index 000000000000..36ba138a81fb
--- /dev/null
+++ b/include/asm-sh/shmin/shmin.h
@@ -0,0 +1,9 @@
1#ifndef __ASM_SH_SHMIN_H
2#define __ASM_SH_SHMIN_H
3
4#define SHMIN_IO_BASE 0xb0000000UL
5
6#define SHMIN_NE_IRQ IRQ2_IRQ
7#define SHMIN_NE_BASE 0x300
8
9#endif