diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-07-24 22:42:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-26 02:37:57 -0400 |
commit | d89ddd1c847637d91625c8cb6b0d064e1717057c (patch) | |
tree | 7f2547f112e3cd70e06a190fc26ab701dbab71b9 | |
parent | 32582fa46020cd8940006a8d42dec083d72d6d8b (diff) |
sh: remove support for sh7300 and solution engine 7300
This patch removes old dead code:
- kill off sh7300 cpu support
- get rid of broken solution engine 7300 board support
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/Kconfig | 10 | ||||
-rw-r--r-- | arch/sh/Makefile | 1 | ||||
-rw-r--r-- | arch/sh/boards/se/7300/Makefile | 5 | ||||
-rw-r--r-- | arch/sh/boards/se/7300/io.c | 268 | ||||
-rw-r--r-- | arch/sh/boards/se/7300/irq.c | 40 | ||||
-rw-r--r-- | arch/sh/boards/se/7300/setup.c | 74 | ||||
-rw-r--r-- | arch/sh/configs/se7300_defconfig | 696 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/irq/ipr.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/Makefile | 4 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/clock-sh7710.c (renamed from arch/sh/kernel/cpu/sh3/clock-sh7300.c) | 26 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/setup-sh7300.c | 43 | ||||
-rw-r--r-- | arch/sh/kernel/setup.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/timers/timer-tmu.c | 3 | ||||
-rw-r--r-- | arch/sh/mm/Kconfig | 4 | ||||
-rw-r--r-- | arch/sh/tools/mach-types | 1 | ||||
-rw-r--r-- | drivers/serial/sh-sci.c | 9 | ||||
-rw-r--r-- | drivers/serial/sh-sci.h | 30 | ||||
-rw-r--r-- | include/asm-sh/bugs.h | 2 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh3/freq.h | 4 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh3/mmu_context.h | 1 | ||||
-rw-r--r-- | include/asm-sh/cpu-sh3/timer.h | 3 | ||||
-rw-r--r-- | include/asm-sh/processor.h | 2 | ||||
-rw-r--r-- | include/asm-sh/se7300.h | 64 | ||||
-rw-r--r-- | include/asm-sh/ubc.h | 3 |
24 files changed, 31 insertions, 1265 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index ec2beabb193c..54878f07cf0c 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -264,14 +264,6 @@ config SH_7780_SOLUTION_ENGINE | |||
264 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | 264 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 |
265 | evaluation board. | 265 | evaluation board. |
266 | 266 | ||
267 | config SH_7300_SOLUTION_ENGINE | ||
268 | bool "SolutionEngine7300" | ||
269 | select SOLUTION_ENGINE | ||
270 | depends on CPU_SUBTYPE_SH7300 | ||
271 | help | ||
272 | Select 7300 SolutionEngine if configuring for a Hitachi | ||
273 | SH7300(SH-Mobile V) evaluation board. | ||
274 | |||
275 | config SH_7343_SOLUTION_ENGINE | 267 | config SH_7343_SOLUTION_ENGINE |
276 | bool "SolutionEngine7343" | 268 | bool "SolutionEngine7343" |
277 | select SOLUTION_ENGINE | 269 | select SOLUTION_ENGINE |
@@ -446,7 +438,7 @@ config SH_PCLK_FREQ | |||
446 | default "27000000" if CPU_SUBTYPE_SH7343 | 438 | default "27000000" if CPU_SUBTYPE_SH7343 |
447 | default "31250000" if CPU_SUBTYPE_SH7619 | 439 | default "31250000" if CPU_SUBTYPE_SH7619 |
448 | default "32000000" if CPU_SUBTYPE_SH7722 | 440 | default "32000000" if CPU_SUBTYPE_SH7722 |
449 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | 441 | default "33333333" if CPU_SUBTYPE_SH7770 || \ |
450 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | 442 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
451 | CPU_SUBTYPE_SH7206 | 443 | CPU_SUBTYPE_SH7206 |
452 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R | 444 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index cb6661c5efe4..3d211aa33cd8 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -91,7 +91,6 @@ machdir-$(CONFIG_SH_SOLUTION_ENGINE) += se/770x | |||
91 | machdir-$(CONFIG_SH_7722_SOLUTION_ENGINE) += se/7722 | 91 | machdir-$(CONFIG_SH_7722_SOLUTION_ENGINE) += se/7722 |
92 | machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) += se/7751 | 92 | machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) += se/7751 |
93 | machdir-$(CONFIG_SH_7780_SOLUTION_ENGINE) += se/7780 | 93 | machdir-$(CONFIG_SH_7780_SOLUTION_ENGINE) += se/7780 |
94 | machdir-$(CONFIG_SH_7300_SOLUTION_ENGINE) += se/7300 | ||
95 | machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) += se/7343 | 94 | machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) += se/7343 |
96 | machdir-$(CONFIG_SH_HP6XX) += hp6xx | 95 | machdir-$(CONFIG_SH_HP6XX) += hp6xx |
97 | machdir-$(CONFIG_SH_DREAMCAST) += dreamcast | 96 | machdir-$(CONFIG_SH_DREAMCAST) += dreamcast |
diff --git a/arch/sh/boards/se/7300/Makefile b/arch/sh/boards/se/7300/Makefile deleted file mode 100644 index 46247368f14b..000000000000 --- a/arch/sh/boards/se/7300/Makefile +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for the 7300 SolutionEngine specific parts of the kernel | ||
3 | # | ||
4 | |||
5 | obj-y := setup.o io.o irq.o | ||
diff --git a/arch/sh/boards/se/7300/io.c b/arch/sh/boards/se/7300/io.c deleted file mode 100644 index 8a03d7a52a7c..000000000000 --- a/arch/sh/boards/se/7300/io.c +++ /dev/null | |||
@@ -1,268 +0,0 @@ | |||
1 | /* | ||
2 | * arch/sh/boards/se/7300/io.c | ||
3 | * | ||
4 | * Copyright (C) 2003 YOSHII Takashi <yoshii-takashi@hitachi-ul.co.jp> | ||
5 | * Based on arch/sh/kernel/io_shmse.c | ||
6 | * | ||
7 | * I/O routine for SH-Mobile3 73180 SolutionEngine. | ||
8 | * | ||
9 | */ | ||
10 | |||
11 | #include <linux/kernel.h> | ||
12 | #include <asm/io.h> | ||
13 | #include <asm/se7300.h> | ||
14 | |||
15 | #define badio(fn, a) panic("bad i/o operation %s for %08lx.", #fn, a) | ||
16 | |||
17 | struct iop { | ||
18 | unsigned long start, end; | ||
19 | unsigned long base; | ||
20 | struct iop *(*check) (struct iop * p, unsigned long port); | ||
21 | unsigned char (*inb) (struct iop * p, unsigned long port); | ||
22 | unsigned short (*inw) (struct iop * p, unsigned long port); | ||
23 | void (*outb) (struct iop * p, unsigned char value, unsigned long port); | ||
24 | void (*outw) (struct iop * p, unsigned short value, unsigned long port); | ||
25 | }; | ||
26 | |||
27 | struct iop * | ||
28 | simple_check(struct iop *p, unsigned long port) | ||
29 | { | ||
30 | if ((p->start <= port) && (port <= p->end)) | ||
31 | return p; | ||
32 | else | ||
33 | badio(check, port); | ||
34 | } | ||
35 | |||
36 | struct iop * | ||
37 | ide_check(struct iop *p, unsigned long port) | ||
38 | { | ||
39 | if (((0x1f0 <= port) && (port <= 0x1f7)) || (port == 0x3f7)) | ||
40 | return p; | ||
41 | return NULL; | ||
42 | } | ||
43 | |||
44 | unsigned char | ||
45 | simple_inb(struct iop *p, unsigned long port) | ||
46 | { | ||
47 | return *(unsigned char *) (p->base + port); | ||
48 | } | ||
49 | |||
50 | unsigned short | ||
51 | simple_inw(struct iop *p, unsigned long port) | ||
52 | { | ||
53 | return *(unsigned short *) (p->base + port); | ||
54 | } | ||
55 | |||
56 | void | ||
57 | simple_outb(struct iop *p, unsigned char value, unsigned long port) | ||
58 | { | ||
59 | *(unsigned char *) (p->base + port) = value; | ||
60 | } | ||
61 | |||
62 | void | ||
63 | simple_outw(struct iop *p, unsigned short value, unsigned long port) | ||
64 | { | ||
65 | *(unsigned short *) (p->base + port) = value; | ||
66 | } | ||
67 | |||
68 | unsigned char | ||
69 | pcc_inb(struct iop *p, unsigned long port) | ||
70 | { | ||
71 | unsigned long addr = p->base + port + 0x40000; | ||
72 | unsigned long v; | ||
73 | |||
74 | if (port & 1) | ||
75 | addr += 0x00400000; | ||
76 | v = *(volatile unsigned char *) addr; | ||
77 | return v; | ||
78 | } | ||
79 | |||
80 | void | ||
81 | pcc_outb(struct iop *p, unsigned char value, unsigned long port) | ||
82 | { | ||
83 | unsigned long addr = p->base + port + 0x40000; | ||
84 | |||
85 | if (port & 1) | ||
86 | addr += 0x00400000; | ||
87 | *(volatile unsigned char *) addr = value; | ||
88 | } | ||
89 | |||
90 | unsigned char | ||
91 | bad_inb(struct iop *p, unsigned long port) | ||
92 | { | ||
93 | badio(inb, port); | ||
94 | } | ||
95 | |||
96 | void | ||
97 | bad_outb(struct iop *p, unsigned char value, unsigned long port) | ||
98 | { | ||
99 | badio(inw, port); | ||
100 | } | ||
101 | |||
102 | #ifdef CONFIG_SMC91X | ||
103 | /* MSTLANEX01 LAN at 0xb400:0000 */ | ||
104 | static struct iop laniop = { | ||
105 | .start = 0x300, | ||
106 | .end = 0x30f, | ||
107 | .base = 0xb4000000, | ||
108 | .check = simple_check, | ||
109 | .inb = simple_inb, | ||
110 | .inw = simple_inw, | ||
111 | .outb = simple_outb, | ||
112 | .outw = simple_outw, | ||
113 | }; | ||
114 | #endif | ||
115 | |||
116 | /* NE2000 pc card NIC */ | ||
117 | static struct iop neiop = { | ||
118 | .start = 0x280, | ||
119 | .end = 0x29f, | ||
120 | .base = 0xb0600000 + 0x80, /* soft 0x280 -> hard 0x300 */ | ||
121 | .check = simple_check, | ||
122 | .inb = pcc_inb, | ||
123 | .inw = simple_inw, | ||
124 | .outb = pcc_outb, | ||
125 | .outw = simple_outw, | ||
126 | }; | ||
127 | |||
128 | #ifdef CONFIG_IDE | ||
129 | /* CF in CF slot */ | ||
130 | static struct iop cfiop = { | ||
131 | .base = 0xb0600000, | ||
132 | .check = ide_check, | ||
133 | .inb = pcc_inb, | ||
134 | .inw = simple_inw, | ||
135 | .outb = pcc_outb, | ||
136 | .outw = simple_outw, | ||
137 | }; | ||
138 | #endif | ||
139 | |||
140 | static __inline__ struct iop * | ||
141 | port2iop(unsigned long port) | ||
142 | { | ||
143 | if (0) ; | ||
144 | #if defined(CONFIG_SMC91X) | ||
145 | else if (laniop.check(&laniop, port)) | ||
146 | return &laniop; | ||
147 | #endif | ||
148 | #if defined(CONFIG_NE2000) | ||
149 | else if (neiop.check(&neiop, port)) | ||
150 | return &neiop; | ||
151 | #endif | ||
152 | #if defined(CONFIG_IDE) | ||
153 | else if (cfiop.check(&cfiop, port)) | ||
154 | return &cfiop; | ||
155 | #endif | ||
156 | else | ||
157 | return &neiop; /* fallback */ | ||
158 | } | ||
159 | |||
160 | static inline void | ||
161 | delay(void) | ||
162 | { | ||
163 | ctrl_inw(0xac000000); | ||
164 | ctrl_inw(0xac000000); | ||
165 | } | ||
166 | |||
167 | unsigned char | ||
168 | sh7300se_inb(unsigned long port) | ||
169 | { | ||
170 | struct iop *p = port2iop(port); | ||
171 | return (p->inb) (p, port); | ||
172 | } | ||
173 | |||
174 | unsigned char | ||
175 | sh7300se_inb_p(unsigned long port) | ||
176 | { | ||
177 | unsigned char v = sh7300se_inb(port); | ||
178 | delay(); | ||
179 | return v; | ||
180 | } | ||
181 | |||
182 | unsigned short | ||
183 | sh7300se_inw(unsigned long port) | ||
184 | { | ||
185 | struct iop *p = port2iop(port); | ||
186 | return (p->inw) (p, port); | ||
187 | } | ||
188 | |||
189 | unsigned int | ||
190 | sh7300se_inl(unsigned long port) | ||
191 | { | ||
192 | badio(inl, port); | ||
193 | } | ||
194 | |||
195 | void | ||
196 | sh7300se_outb(unsigned char value, unsigned long port) | ||
197 | { | ||
198 | struct iop *p = port2iop(port); | ||
199 | (p->outb) (p, value, port); | ||
200 | } | ||
201 | |||
202 | void | ||
203 | sh7300se_outb_p(unsigned char value, unsigned long port) | ||
204 | { | ||
205 | sh7300se_outb(value, port); | ||
206 | delay(); | ||
207 | } | ||
208 | |||
209 | void | ||
210 | sh7300se_outw(unsigned short value, unsigned long port) | ||
211 | { | ||
212 | struct iop *p = port2iop(port); | ||
213 | (p->outw) (p, value, port); | ||
214 | } | ||
215 | |||
216 | void | ||
217 | sh7300se_outl(unsigned int value, unsigned long port) | ||
218 | { | ||
219 | badio(outl, port); | ||
220 | } | ||
221 | |||
222 | void | ||
223 | sh7300se_insb(unsigned long port, void *addr, unsigned long count) | ||
224 | { | ||
225 | unsigned char *a = addr; | ||
226 | struct iop *p = port2iop(port); | ||
227 | while (count--) | ||
228 | *a++ = (p->inb) (p, port); | ||
229 | } | ||
230 | |||
231 | void | ||
232 | sh7300se_insw(unsigned long port, void *addr, unsigned long count) | ||
233 | { | ||
234 | unsigned short *a = addr; | ||
235 | struct iop *p = port2iop(port); | ||
236 | while (count--) | ||
237 | *a++ = (p->inw) (p, port); | ||
238 | } | ||
239 | |||
240 | void | ||
241 | sh7300se_insl(unsigned long port, void *addr, unsigned long count) | ||
242 | { | ||
243 | badio(insl, port); | ||
244 | } | ||
245 | |||
246 | void | ||
247 | sh7300se_outsb(unsigned long port, const void *addr, unsigned long count) | ||
248 | { | ||
249 | unsigned char *a = (unsigned char *) addr; | ||
250 | struct iop *p = port2iop(port); | ||
251 | while (count--) | ||
252 | (p->outb) (p, *a++, port); | ||
253 | } | ||
254 | |||
255 | void | ||
256 | sh7300se_outsw(unsigned long port, const void *addr, unsigned long count) | ||
257 | { | ||
258 | unsigned short *a = (unsigned short *) addr; | ||
259 | struct iop *p = port2iop(port); | ||
260 | while (count--) | ||
261 | (p->outw) (p, *a++, port); | ||
262 | } | ||
263 | |||
264 | void | ||
265 | sh7300se_outsl(unsigned long port, const void *addr, unsigned long count) | ||
266 | { | ||
267 | badio(outsw, port); | ||
268 | } | ||
diff --git a/arch/sh/boards/se/7300/irq.c b/arch/sh/boards/se/7300/irq.c deleted file mode 100644 index 1279d776d60f..000000000000 --- a/arch/sh/boards/se/7300/irq.c +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/se/7300/irq.c | ||
3 | * | ||
4 | * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> | ||
5 | * | ||
6 | * SH-Mobile SolutionEngine 7300 Support. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #include <linux/init.h> | ||
11 | #include <linux/irq.h> | ||
12 | #include <asm/irq.h> | ||
13 | #include <asm/io.h> | ||
14 | #include <asm/se7300.h> | ||
15 | |||
16 | static struct ipr_data se7300_ipr_map[] = { | ||
17 | /* PC_IRQ[0-3] -> IRQ0 (32) */ | ||
18 | { IRQ0_IRQ, IRQ0_IPR_ADDR, IRQ0_IPR_POS, 0x0f - IRQ0_IRQ }, | ||
19 | /* A_IRQ[0-3] -> IRQ1 (33) */ | ||
20 | { IRQ1_IRQ, IRQ1_IPR_ADDR, IRQ1_IPR_POS, 0x0f - IRQ1_IRQ }, | ||
21 | { SIOF0_IRQ, SIOF0_IPR_ADDR, SIOF0_IPR_POS, SIOF0_PRIORITY }, | ||
22 | { DMTE2_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
23 | { DMTE3_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
24 | { VIO_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY }, | ||
25 | }; | ||
26 | |||
27 | /* | ||
28 | * Initialize IRQ setting | ||
29 | */ | ||
30 | void __init | ||
31 | init_7300se_IRQ(void) | ||
32 | { | ||
33 | ctrl_outw(0x0028, PA_EPLD_MODESET); /* mode set IRQ0,1 active low. */ | ||
34 | ctrl_outw(0xa000, INTC_ICR1); /* IRQ mode; IRQ0,1 enable. */ | ||
35 | ctrl_outw(0x0000, PORT_PFCR); /* use F for IRQ[3:0] and SIU. */ | ||
36 | |||
37 | make_ipr_irq(se7300_ipr_map, ARRAY_SIZE(se7300_ipr_map)); | ||
38 | |||
39 | ctrl_outw(0x2000, PA_MRSHPC + 0x0c); /* mrshpc irq enable */ | ||
40 | } | ||
diff --git a/arch/sh/boards/se/7300/setup.c b/arch/sh/boards/se/7300/setup.c deleted file mode 100644 index eb469f5b6e97..000000000000 --- a/arch/sh/boards/se/7300/setup.c +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/se/7300/setup.c | ||
3 | * | ||
4 | * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> | ||
5 | * | ||
6 | * SH-Mobile SolutionEngine 7300 Support. | ||
7 | * | ||
8 | */ | ||
9 | #include <linux/init.h> | ||
10 | #include <linux/platform_device.h> | ||
11 | #include <asm/machvec.h> | ||
12 | #include <asm/se7300.h> | ||
13 | |||
14 | void init_7300se_IRQ(void); | ||
15 | |||
16 | static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 }; | ||
17 | |||
18 | static struct resource heartbeat_resources[] = { | ||
19 | [0] = { | ||
20 | .start = PA_LED, | ||
21 | .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1, | ||
22 | .flags = IORESOURCE_MEM, | ||
23 | }, | ||
24 | }; | ||
25 | |||
26 | static struct platform_device heartbeat_device = { | ||
27 | .name = "heartbeat", | ||
28 | .id = -1, | ||
29 | .dev = { | ||
30 | .platform_data = heartbeat_bit_pos, | ||
31 | }, | ||
32 | .num_resources = ARRAY_SIZE(heartbeat_resources), | ||
33 | .resource = heartbeat_resources, | ||
34 | }; | ||
35 | |||
36 | static struct platform_device *se7300_devices[] __initdata = { | ||
37 | &heartbeat_device, | ||
38 | }; | ||
39 | |||
40 | static int __init se7300_devices_setup(void) | ||
41 | { | ||
42 | return platform_add_devices(se7300_devices, ARRAY_SIZE(se7300_devices)); | ||
43 | } | ||
44 | __initcall(se7300_devices_setup); | ||
45 | |||
46 | /* | ||
47 | * The Machine Vector | ||
48 | */ | ||
49 | static struct sh_machine_vector mv_7300se __initmv = { | ||
50 | .mv_name = "SolutionEngine 7300", | ||
51 | .mv_nr_irqs = 109, | ||
52 | .mv_inb = sh7300se_inb, | ||
53 | .mv_inw = sh7300se_inw, | ||
54 | .mv_inl = sh7300se_inl, | ||
55 | .mv_outb = sh7300se_outb, | ||
56 | .mv_outw = sh7300se_outw, | ||
57 | .mv_outl = sh7300se_outl, | ||
58 | |||
59 | .mv_inb_p = sh7300se_inb_p, | ||
60 | .mv_inw_p = sh7300se_inw, | ||
61 | .mv_inl_p = sh7300se_inl, | ||
62 | .mv_outb_p = sh7300se_outb_p, | ||
63 | .mv_outw_p = sh7300se_outw, | ||
64 | .mv_outl_p = sh7300se_outl, | ||
65 | |||
66 | .mv_insb = sh7300se_insb, | ||
67 | .mv_insw = sh7300se_insw, | ||
68 | .mv_insl = sh7300se_insl, | ||
69 | .mv_outsb = sh7300se_outsb, | ||
70 | .mv_outsw = sh7300se_outsw, | ||
71 | .mv_outsl = sh7300se_outsl, | ||
72 | |||
73 | .mv_init_irq = init_7300se_IRQ, | ||
74 | }; | ||
diff --git a/arch/sh/configs/se7300_defconfig b/arch/sh/configs/se7300_defconfig deleted file mode 100644 index 8a217908b81f..000000000000 --- a/arch/sh/configs/se7300_defconfig +++ /dev/null | |||
@@ -1,696 +0,0 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.18 | ||
4 | # Tue Oct 3 11:43:22 2006 | ||
5 | # | ||
6 | CONFIG_SUPERH=y | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
8 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
9 | CONFIG_GENERIC_HWEIGHT=y | ||
10 | CONFIG_GENERIC_HARDIRQS=y | ||
11 | CONFIG_GENERIC_IRQ_PROBE=y | ||
12 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
13 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
14 | |||
15 | # | ||
16 | # Code maturity level options | ||
17 | # | ||
18 | CONFIG_EXPERIMENTAL=y | ||
19 | CONFIG_BROKEN_ON_SMP=y | ||
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
21 | |||
22 | # | ||
23 | # General setup | ||
24 | # | ||
25 | CONFIG_LOCALVERSION="" | ||
26 | CONFIG_LOCALVERSION_AUTO=y | ||
27 | # CONFIG_SWAP is not set | ||
28 | # CONFIG_SYSVIPC is not set | ||
29 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
30 | # CONFIG_UTS_NS is not set | ||
31 | # CONFIG_IKCONFIG is not set | ||
32 | # CONFIG_RELAY is not set | ||
33 | CONFIG_INITRAMFS_SOURCE="" | ||
34 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
35 | CONFIG_SYSCTL=y | ||
36 | CONFIG_EMBEDDED=y | ||
37 | CONFIG_UID16=y | ||
38 | # CONFIG_SYSCTL_SYSCALL is not set | ||
39 | # CONFIG_KALLSYMS is not set | ||
40 | # CONFIG_HOTPLUG is not set | ||
41 | CONFIG_PRINTK=y | ||
42 | CONFIG_BUG=y | ||
43 | CONFIG_ELF_CORE=y | ||
44 | CONFIG_BASE_FULL=y | ||
45 | # CONFIG_FUTEX is not set | ||
46 | # CONFIG_EPOLL is not set | ||
47 | CONFIG_SHMEM=y | ||
48 | CONFIG_SLAB=y | ||
49 | CONFIG_VM_EVENT_COUNTERS=y | ||
50 | # CONFIG_TINY_SHMEM is not set | ||
51 | CONFIG_BASE_SMALL=0 | ||
52 | # CONFIG_SLOB is not set | ||
53 | |||
54 | # | ||
55 | # Loadable module support | ||
56 | # | ||
57 | # CONFIG_MODULES is not set | ||
58 | |||
59 | # | ||
60 | # Block layer | ||
61 | # | ||
62 | CONFIG_BLOCK=y | ||
63 | # CONFIG_LBD is not set | ||
64 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
65 | # CONFIG_LSF is not set | ||
66 | |||
67 | # | ||
68 | # IO Schedulers | ||
69 | # | ||
70 | CONFIG_IOSCHED_NOOP=y | ||
71 | # CONFIG_IOSCHED_AS is not set | ||
72 | # CONFIG_IOSCHED_DEADLINE is not set | ||
73 | # CONFIG_IOSCHED_CFQ is not set | ||
74 | # CONFIG_DEFAULT_AS is not set | ||
75 | # CONFIG_DEFAULT_DEADLINE is not set | ||
76 | # CONFIG_DEFAULT_CFQ is not set | ||
77 | CONFIG_DEFAULT_NOOP=y | ||
78 | CONFIG_DEFAULT_IOSCHED="noop" | ||
79 | |||
80 | # | ||
81 | # System type | ||
82 | # | ||
83 | CONFIG_SOLUTION_ENGINE=y | ||
84 | # CONFIG_SH_SOLUTION_ENGINE is not set | ||
85 | # CONFIG_SH_7751_SOLUTION_ENGINE is not set | ||
86 | CONFIG_SH_7300_SOLUTION_ENGINE=y | ||
87 | # CONFIG_SH_7343_SOLUTION_ENGINE is not set | ||
88 | # CONFIG_SH_73180_SOLUTION_ENGINE is not set | ||
89 | # CONFIG_SH_7751_SYSTEMH is not set | ||
90 | # CONFIG_SH_HP6XX is not set | ||
91 | # CONFIG_SH_EC3104 is not set | ||
92 | # CONFIG_SH_SATURN is not set | ||
93 | # CONFIG_SH_DREAMCAST is not set | ||
94 | # CONFIG_SH_BIGSUR is not set | ||
95 | # CONFIG_SH_MPC1211 is not set | ||
96 | # CONFIG_SH_SH03 is not set | ||
97 | # CONFIG_SH_SECUREEDGE5410 is not set | ||
98 | # CONFIG_SH_HS7751RVOIP is not set | ||
99 | # CONFIG_SH_7710VOIPGW is not set | ||
100 | # CONFIG_SH_RTS7751R2D is not set | ||
101 | # CONFIG_SH_R7780RP is not set | ||
102 | # CONFIG_SH_EDOSK7705 is not set | ||
103 | # CONFIG_SH_SH4202_MICRODEV is not set | ||
104 | # CONFIG_SH_LANDISK is not set | ||
105 | # CONFIG_SH_TITAN is not set | ||
106 | # CONFIG_SH_SHMIN is not set | ||
107 | # CONFIG_SH_UNKNOWN is not set | ||
108 | |||
109 | # | ||
110 | # Processor selection | ||
111 | # | ||
112 | CONFIG_CPU_SH3=y | ||
113 | |||
114 | # | ||
115 | # SH-2 Processor Support | ||
116 | # | ||
117 | # CONFIG_CPU_SUBTYPE_SH7604 is not set | ||
118 | |||
119 | # | ||
120 | # SH-3 Processor Support | ||
121 | # | ||
122 | CONFIG_CPU_SUBTYPE_SH7300=y | ||
123 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | ||
124 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | ||
125 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | ||
126 | # CONFIG_CPU_SUBTYPE_SH7708 is not set | ||
127 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | ||
128 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | ||
129 | |||
130 | # | ||
131 | # SH-4 Processor Support | ||
132 | # | ||
133 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | ||
134 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | ||
135 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | ||
136 | # CONFIG_CPU_SUBTYPE_SH7750S is not set | ||
137 | # CONFIG_CPU_SUBTYPE_SH7751 is not set | ||
138 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | ||
139 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | ||
140 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | ||
141 | |||
142 | # | ||
143 | # ST40 Processor Support | ||
144 | # | ||
145 | # CONFIG_CPU_SUBTYPE_ST40STB1 is not set | ||
146 | # CONFIG_CPU_SUBTYPE_ST40GX1 is not set | ||
147 | |||
148 | # | ||
149 | # SH-4A Processor Support | ||
150 | # | ||
151 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | ||
152 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | ||
153 | |||
154 | # | ||
155 | # SH4AL-DSP Processor Support | ||
156 | # | ||
157 | # CONFIG_CPU_SUBTYPE_SH73180 is not set | ||
158 | # CONFIG_CPU_SUBTYPE_SH7343 is not set | ||
159 | |||
160 | # | ||
161 | # Memory management options | ||
162 | # | ||
163 | CONFIG_MMU=y | ||
164 | CONFIG_PAGE_OFFSET=0x80000000 | ||
165 | CONFIG_MEMORY_START=0x0c000000 | ||
166 | CONFIG_MEMORY_SIZE=0x04000000 | ||
167 | CONFIG_VSYSCALL=y | ||
168 | CONFIG_SELECT_MEMORY_MODEL=y | ||
169 | CONFIG_FLATMEM_MANUAL=y | ||
170 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
171 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
172 | CONFIG_FLATMEM=y | ||
173 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
174 | # CONFIG_SPARSEMEM_STATIC is not set | ||
175 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
176 | # CONFIG_RESOURCES_64BIT is not set | ||
177 | |||
178 | # | ||
179 | # Cache configuration | ||
180 | # | ||
181 | # CONFIG_SH_DIRECT_MAPPED is not set | ||
182 | # CONFIG_SH_WRITETHROUGH is not set | ||
183 | # CONFIG_SH_OCRAM is not set | ||
184 | |||
185 | # | ||
186 | # Processor features | ||
187 | # | ||
188 | CONFIG_CPU_LITTLE_ENDIAN=y | ||
189 | # CONFIG_SH_FPU_EMU is not set | ||
190 | CONFIG_SH_DSP=y | ||
191 | # CONFIG_SH_ADC is not set | ||
192 | CONFIG_CPU_HAS_INTEVT=y | ||
193 | CONFIG_CPU_HAS_SR_RB=y | ||
194 | |||
195 | # | ||
196 | # Timer support | ||
197 | # | ||
198 | CONFIG_SH_TMU=y | ||
199 | CONFIG_SH_PCLK_FREQ=33333333 | ||
200 | |||
201 | # | ||
202 | # CPU Frequency scaling | ||
203 | # | ||
204 | # CONFIG_CPU_FREQ is not set | ||
205 | |||
206 | # | ||
207 | # DMA support | ||
208 | # | ||
209 | # CONFIG_SH_DMA is not set | ||
210 | |||
211 | # | ||
212 | # Companion Chips | ||
213 | # | ||
214 | # CONFIG_HD6446X_SERIES is not set | ||
215 | CONFIG_HEARTBEAT=y | ||
216 | |||
217 | # | ||
218 | # Kernel features | ||
219 | # | ||
220 | # CONFIG_HZ_100 is not set | ||
221 | CONFIG_HZ_250=y | ||
222 | # CONFIG_HZ_1000 is not set | ||
223 | CONFIG_HZ=250 | ||
224 | # CONFIG_KEXEC is not set | ||
225 | # CONFIG_SMP is not set | ||
226 | CONFIG_PREEMPT_NONE=y | ||
227 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
228 | # CONFIG_PREEMPT is not set | ||
229 | |||
230 | # | ||
231 | # Boot options | ||
232 | # | ||
233 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | ||
234 | CONFIG_BOOT_LINK_OFFSET=0x00210000 | ||
235 | # CONFIG_UBC_WAKEUP is not set | ||
236 | CONFIG_CMDLINE_BOOL=y | ||
237 | CONFIG_CMDLINE="console=ttySC0,38400 root=/dev/ram0" | ||
238 | |||
239 | # | ||
240 | # Bus options | ||
241 | # | ||
242 | # CONFIG_PCI is not set | ||
243 | |||
244 | # | ||
245 | # PCCARD (PCMCIA/CardBus) support | ||
246 | # | ||
247 | |||
248 | # | ||
249 | # PCI Hotplug Support | ||
250 | # | ||
251 | |||
252 | # | ||
253 | # Executable file formats | ||
254 | # | ||
255 | CONFIG_BINFMT_ELF=y | ||
256 | # CONFIG_BINFMT_FLAT is not set | ||
257 | # CONFIG_BINFMT_MISC is not set | ||
258 | |||
259 | # | ||
260 | # Power management options (EXPERIMENTAL) | ||
261 | # | ||
262 | # CONFIG_PM is not set | ||
263 | |||
264 | # | ||
265 | # Networking | ||
266 | # | ||
267 | # CONFIG_NET is not set | ||
268 | |||
269 | # | ||
270 | # Device Drivers | ||
271 | # | ||
272 | |||
273 | # | ||
274 | # Generic Driver Options | ||
275 | # | ||
276 | CONFIG_STANDALONE=y | ||
277 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
278 | # CONFIG_SYS_HYPERVISOR is not set | ||
279 | |||
280 | # | ||
281 | # Connector - unified userspace <-> kernelspace linker | ||
282 | # | ||
283 | |||
284 | # | ||
285 | # Memory Technology Devices (MTD) | ||
286 | # | ||
287 | # CONFIG_MTD is not set | ||
288 | |||
289 | # | ||
290 | # Parallel port support | ||
291 | # | ||
292 | # CONFIG_PARPORT is not set | ||
293 | |||
294 | # | ||
295 | # Plug and Play support | ||
296 | # | ||
297 | |||
298 | # | ||
299 | # Block devices | ||
300 | # | ||
301 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
302 | # CONFIG_BLK_DEV_LOOP is not set | ||
303 | CONFIG_BLK_DEV_RAM=y | ||
304 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
305 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
306 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
307 | CONFIG_BLK_DEV_INITRD=y | ||
308 | # CONFIG_CDROM_PKTCDVD is not set | ||
309 | |||
310 | # | ||
311 | # ATA/ATAPI/MFM/RLL support | ||
312 | # | ||
313 | # CONFIG_IDE is not set | ||
314 | |||
315 | # | ||
316 | # SCSI device support | ||
317 | # | ||
318 | # CONFIG_RAID_ATTRS is not set | ||
319 | # CONFIG_SCSI is not set | ||
320 | # CONFIG_SCSI_NETLINK is not set | ||
321 | |||
322 | # | ||
323 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
324 | # | ||
325 | # CONFIG_ATA is not set | ||
326 | |||
327 | # | ||
328 | # Multi-device support (RAID and LVM) | ||
329 | # | ||
330 | # CONFIG_MD is not set | ||
331 | |||
332 | # | ||
333 | # Fusion MPT device support | ||
334 | # | ||
335 | # CONFIG_FUSION is not set | ||
336 | |||
337 | # | ||
338 | # IEEE 1394 (FireWire) support | ||
339 | # | ||
340 | |||
341 | # | ||
342 | # I2O device support | ||
343 | # | ||
344 | |||
345 | # | ||
346 | # ISDN subsystem | ||
347 | # | ||
348 | |||
349 | # | ||
350 | # Telephony Support | ||
351 | # | ||
352 | # CONFIG_PHONE is not set | ||
353 | |||
354 | # | ||
355 | # Input device support | ||
356 | # | ||
357 | CONFIG_INPUT=y | ||
358 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
359 | |||
360 | # | ||
361 | # Userland interfaces | ||
362 | # | ||
363 | CONFIG_INPUT_MOUSEDEV=y | ||
364 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
365 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
366 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
367 | # CONFIG_INPUT_JOYDEV is not set | ||
368 | # CONFIG_INPUT_TSDEV is not set | ||
369 | # CONFIG_INPUT_EVDEV is not set | ||
370 | # CONFIG_INPUT_EVBUG is not set | ||
371 | |||
372 | # | ||
373 | # Input Device Drivers | ||
374 | # | ||
375 | # CONFIG_INPUT_KEYBOARD is not set | ||
376 | # CONFIG_INPUT_MOUSE is not set | ||
377 | # CONFIG_INPUT_JOYSTICK is not set | ||
378 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
379 | # CONFIG_INPUT_MISC is not set | ||
380 | |||
381 | # | ||
382 | # Hardware I/O ports | ||
383 | # | ||
384 | CONFIG_SERIO=y | ||
385 | # CONFIG_SERIO_I8042 is not set | ||
386 | # CONFIG_SERIO_SERPORT is not set | ||
387 | # CONFIG_SERIO_LIBPS2 is not set | ||
388 | # CONFIG_SERIO_RAW is not set | ||
389 | # CONFIG_GAMEPORT is not set | ||
390 | |||
391 | # | ||
392 | # Character devices | ||
393 | # | ||
394 | # CONFIG_VT is not set | ||
395 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
396 | |||
397 | # | ||
398 | # Serial drivers | ||
399 | # | ||
400 | # CONFIG_SERIAL_8250 is not set | ||
401 | |||
402 | # | ||
403 | # Non-8250 serial port support | ||
404 | # | ||
405 | CONFIG_SERIAL_SH_SCI=y | ||
406 | CONFIG_SERIAL_SH_SCI_NR_UARTS=2 | ||
407 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
408 | CONFIG_SERIAL_CORE=y | ||
409 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
410 | # CONFIG_UNIX98_PTYS is not set | ||
411 | # CONFIG_LEGACY_PTYS is not set | ||
412 | |||
413 | # | ||
414 | # IPMI | ||
415 | # | ||
416 | CONFIG_IPMI_HANDLER=y | ||
417 | # CONFIG_IPMI_PANIC_EVENT is not set | ||
418 | CONFIG_IPMI_DEVICE_INTERFACE=y | ||
419 | # CONFIG_IPMI_SI is not set | ||
420 | CONFIG_IPMI_WATCHDOG=y | ||
421 | # CONFIG_IPMI_POWEROFF is not set | ||
422 | |||
423 | # | ||
424 | # Watchdog Cards | ||
425 | # | ||
426 | CONFIG_WATCHDOG=y | ||
427 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
428 | |||
429 | # | ||
430 | # Watchdog Device Drivers | ||
431 | # | ||
432 | CONFIG_SOFT_WATCHDOG=y | ||
433 | # CONFIG_SH_WDT is not set | ||
434 | CONFIG_HW_RANDOM=y | ||
435 | # CONFIG_GEN_RTC is not set | ||
436 | # CONFIG_DTLK is not set | ||
437 | # CONFIG_R3964 is not set | ||
438 | |||
439 | # | ||
440 | # Ftape, the floppy tape device driver | ||
441 | # | ||
442 | # CONFIG_RAW_DRIVER is not set | ||
443 | |||
444 | # | ||
445 | # TPM devices | ||
446 | # | ||
447 | # CONFIG_TCG_TPM is not set | ||
448 | # CONFIG_TELCLOCK is not set | ||
449 | |||
450 | # | ||
451 | # I2C support | ||
452 | # | ||
453 | # CONFIG_I2C is not set | ||
454 | |||
455 | # | ||
456 | # SPI support | ||
457 | # | ||
458 | # CONFIG_SPI is not set | ||
459 | # CONFIG_SPI_MASTER is not set | ||
460 | |||
461 | # | ||
462 | # Dallas's 1-wire bus | ||
463 | # | ||
464 | |||
465 | # | ||
466 | # Hardware Monitoring support | ||
467 | # | ||
468 | CONFIG_HWMON=y | ||
469 | # CONFIG_HWMON_VID is not set | ||
470 | # CONFIG_SENSORS_ABITUGURU is not set | ||
471 | # CONFIG_SENSORS_F71805F is not set | ||
472 | # CONFIG_SENSORS_VT1211 is not set | ||
473 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
474 | |||
475 | # | ||
476 | # Misc devices | ||
477 | # | ||
478 | |||
479 | # | ||
480 | # Multimedia devices | ||
481 | # | ||
482 | # CONFIG_VIDEO_DEV is not set | ||
483 | CONFIG_VIDEO_V4L2=y | ||
484 | |||
485 | # | ||
486 | # Digital Video Broadcasting Devices | ||
487 | # | ||
488 | |||
489 | # | ||
490 | # Graphics support | ||
491 | # | ||
492 | CONFIG_FIRMWARE_EDID=y | ||
493 | # CONFIG_FB is not set | ||
494 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
495 | |||
496 | # | ||
497 | # Sound | ||
498 | # | ||
499 | # CONFIG_SOUND is not set | ||
500 | |||
501 | # | ||
502 | # USB support | ||
503 | # | ||
504 | # CONFIG_USB_ARCH_HAS_HCD is not set | ||
505 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
506 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
507 | |||
508 | # | ||
509 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
510 | # | ||
511 | |||
512 | # | ||
513 | # USB Gadget Support | ||
514 | # | ||
515 | # CONFIG_USB_GADGET is not set | ||
516 | |||
517 | # | ||
518 | # MMC/SD Card support | ||
519 | # | ||
520 | # CONFIG_MMC is not set | ||
521 | |||
522 | # | ||
523 | # LED devices | ||
524 | # | ||
525 | # CONFIG_NEW_LEDS is not set | ||
526 | |||
527 | # | ||
528 | # LED drivers | ||
529 | # | ||
530 | |||
531 | # | ||
532 | # LED Triggers | ||
533 | # | ||
534 | |||
535 | # | ||
536 | # InfiniBand support | ||
537 | # | ||
538 | |||
539 | # | ||
540 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
541 | # | ||
542 | |||
543 | # | ||
544 | # Real Time Clock | ||
545 | # | ||
546 | # CONFIG_RTC_CLASS is not set | ||
547 | |||
548 | # | ||
549 | # DMA Engine support | ||
550 | # | ||
551 | # CONFIG_DMA_ENGINE is not set | ||
552 | |||
553 | # | ||
554 | # DMA Clients | ||
555 | # | ||
556 | |||
557 | # | ||
558 | # DMA Devices | ||
559 | # | ||
560 | |||
561 | # | ||
562 | # File systems | ||
563 | # | ||
564 | CONFIG_EXT2_FS=y | ||
565 | # CONFIG_EXT2_FS_XATTR is not set | ||
566 | # CONFIG_EXT2_FS_XIP is not set | ||
567 | # CONFIG_EXT3_FS is not set | ||
568 | # CONFIG_REISERFS_FS is not set | ||
569 | # CONFIG_JFS_FS is not set | ||
570 | # CONFIG_FS_POSIX_ACL is not set | ||
571 | # CONFIG_XFS_FS is not set | ||
572 | # CONFIG_MINIX_FS is not set | ||
573 | # CONFIG_ROMFS_FS is not set | ||
574 | CONFIG_INOTIFY=y | ||
575 | CONFIG_INOTIFY_USER=y | ||
576 | # CONFIG_QUOTA is not set | ||
577 | CONFIG_DNOTIFY=y | ||
578 | # CONFIG_AUTOFS_FS is not set | ||
579 | # CONFIG_AUTOFS4_FS is not set | ||
580 | # CONFIG_FUSE_FS is not set | ||
581 | |||
582 | # | ||
583 | # CD-ROM/DVD Filesystems | ||
584 | # | ||
585 | # CONFIG_ISO9660_FS is not set | ||
586 | # CONFIG_UDF_FS is not set | ||
587 | |||
588 | # | ||
589 | # DOS/FAT/NT Filesystems | ||
590 | # | ||
591 | # CONFIG_MSDOS_FS is not set | ||
592 | # CONFIG_VFAT_FS is not set | ||
593 | # CONFIG_NTFS_FS is not set | ||
594 | |||
595 | # | ||
596 | # Pseudo filesystems | ||
597 | # | ||
598 | CONFIG_PROC_FS=y | ||
599 | CONFIG_PROC_KCORE=y | ||
600 | CONFIG_PROC_SYSCTL=y | ||
601 | CONFIG_SYSFS=y | ||
602 | # CONFIG_TMPFS is not set | ||
603 | # CONFIG_HUGETLBFS is not set | ||
604 | # CONFIG_HUGETLB_PAGE is not set | ||
605 | CONFIG_RAMFS=y | ||
606 | # CONFIG_CONFIGFS_FS is not set | ||
607 | |||
608 | # | ||
609 | # Miscellaneous filesystems | ||
610 | # | ||
611 | # CONFIG_ADFS_FS is not set | ||
612 | # CONFIG_AFFS_FS is not set | ||
613 | # CONFIG_HFS_FS is not set | ||
614 | # CONFIG_HFSPLUS_FS is not set | ||
615 | # CONFIG_BEFS_FS is not set | ||
616 | # CONFIG_BFS_FS is not set | ||
617 | # CONFIG_EFS_FS is not set | ||
618 | # CONFIG_CRAMFS is not set | ||
619 | # CONFIG_VXFS_FS is not set | ||
620 | # CONFIG_HPFS_FS is not set | ||
621 | # CONFIG_QNX4FS_FS is not set | ||
622 | # CONFIG_SYSV_FS is not set | ||
623 | # CONFIG_UFS_FS is not set | ||
624 | |||
625 | # | ||
626 | # Partition Types | ||
627 | # | ||
628 | # CONFIG_PARTITION_ADVANCED is not set | ||
629 | CONFIG_MSDOS_PARTITION=y | ||
630 | |||
631 | # | ||
632 | # Native Language Support | ||
633 | # | ||
634 | # CONFIG_NLS is not set | ||
635 | |||
636 | # | ||
637 | # Profiling support | ||
638 | # | ||
639 | # CONFIG_PROFILING is not set | ||
640 | |||
641 | # | ||
642 | # Kernel hacking | ||
643 | # | ||
644 | # CONFIG_PRINTK_TIME is not set | ||
645 | CONFIG_ENABLE_MUST_CHECK=y | ||
646 | # CONFIG_MAGIC_SYSRQ is not set | ||
647 | # CONFIG_UNUSED_SYMBOLS is not set | ||
648 | # CONFIG_DEBUG_KERNEL is not set | ||
649 | CONFIG_LOG_BUF_SHIFT=14 | ||
650 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
651 | # CONFIG_DEBUG_FS is not set | ||
652 | CONFIG_FRAME_POINTER=y | ||
653 | # CONFIG_UNWIND_INFO is not set | ||
654 | CONFIG_SH_STANDARD_BIOS=y | ||
655 | CONFIG_EARLY_PRINTK=y | ||
656 | CONFIG_KGDB=y | ||
657 | |||
658 | # | ||
659 | # KGDB configuration options | ||
660 | # | ||
661 | # CONFIG_MORE_COMPILE_OPTIONS is not set | ||
662 | # CONFIG_KGDB_NMI is not set | ||
663 | # CONFIG_KGDB_THREAD is not set | ||
664 | # CONFIG_SH_KGDB_CONSOLE is not set | ||
665 | # CONFIG_KGDB_SYSRQ is not set | ||
666 | # CONFIG_KGDB_KERNEL_ASSERTS is not set | ||
667 | |||
668 | # | ||
669 | # Serial port setup | ||
670 | # | ||
671 | CONFIG_KGDB_DEFPORT=1 | ||
672 | CONFIG_KGDB_DEFBAUD=115200 | ||
673 | CONFIG_KGDB_DEFPARITY_N=y | ||
674 | # CONFIG_KGDB_DEFPARITY_E is not set | ||
675 | # CONFIG_KGDB_DEFPARITY_O is not set | ||
676 | CONFIG_KGDB_DEFBITS_8=y | ||
677 | # CONFIG_KGDB_DEFBITS_7 is not set | ||
678 | |||
679 | # | ||
680 | # Security options | ||
681 | # | ||
682 | # CONFIG_KEYS is not set | ||
683 | # CONFIG_SECURITY is not set | ||
684 | |||
685 | # | ||
686 | # Cryptographic options | ||
687 | # | ||
688 | # CONFIG_CRYPTO is not set | ||
689 | |||
690 | # | ||
691 | # Library routines | ||
692 | # | ||
693 | # CONFIG_CRC_CCITT is not set | ||
694 | # CONFIG_CRC16 is not set | ||
695 | CONFIG_CRC32=y | ||
696 | # CONFIG_LIBCRC32C is not set | ||
diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c index 98e84f40c713..5da325414880 100644 --- a/arch/sh/kernel/cpu/irq/ipr.c +++ b/arch/sh/kernel/cpu/irq/ipr.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * | 8 | * |
9 | * Supported system: | 9 | * Supported system: |
10 | * On-chip supporting modules (TMU, RTC, etc.). | 10 | * On-chip supporting modules (TMU, RTC, etc.). |
11 | * On-chip supporting modules for SH7709/SH7709A/SH7729/SH7300. | 11 | * On-chip supporting modules for SH7709/SH7709A/SH7729. |
12 | * Hitachi SolutionEngine external I/O: | 12 | * Hitachi SolutionEngine external I/O: |
13 | * MS7709SE01, MS7709ASE01, and MS7750SE01 | 13 | * MS7709SE01, MS7709ASE01, and MS7750SE01 |
14 | * | 14 | * |
diff --git a/arch/sh/kernel/cpu/sh3/Makefile b/arch/sh/kernel/cpu/sh3/Makefile index 09faa056cd43..55b750763f66 100644 --- a/arch/sh/kernel/cpu/sh3/Makefile +++ b/arch/sh/kernel/cpu/sh3/Makefile | |||
@@ -10,16 +10,14 @@ obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh7709.o | |||
10 | obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh7709.o | 10 | obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh7709.o |
11 | obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh7708.o | 11 | obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh7708.o |
12 | obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh7709.o | 12 | obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh7709.o |
13 | obj-$(CONFIG_CPU_SUBTYPE_SH7300) += setup-sh7300.o | ||
14 | obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o | 13 | obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o |
15 | obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o | 14 | obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o |
16 | 15 | ||
17 | # Primary on-chip clocks (common) | 16 | # Primary on-chip clocks (common) |
18 | clock-$(CONFIG_CPU_SH3) := clock-sh3.o | 17 | clock-$(CONFIG_CPU_SH3) := clock-sh3.o |
19 | clock-$(CONFIG_CPU_SUBTYPE_SH7300) := clock-sh7300.o | ||
20 | clock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o | 18 | clock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o |
21 | clock-$(CONFIG_CPU_SUBTYPE_SH7706) := clock-sh7706.o | 19 | clock-$(CONFIG_CPU_SUBTYPE_SH7706) := clock-sh7706.o |
22 | clock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o | 20 | clock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o |
23 | clock-$(CONFIG_CPU_SUBTYPE_SH7710) := clock-sh7300.o | 21 | clock-$(CONFIG_CPU_SUBTYPE_SH7710) := clock-sh7710.o |
24 | 22 | ||
25 | obj-y += $(clock-y) | 23 | obj-y += $(clock-y) |
diff --git a/arch/sh/kernel/cpu/sh3/clock-sh7300.c b/arch/sh/kernel/cpu/sh3/clock-sh7710.c index e804174b9625..4744c50ec449 100644 --- a/arch/sh/kernel/cpu/sh3/clock-sh7300.c +++ b/arch/sh/kernel/cpu/sh3/clock-sh7710.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * arch/sh/kernel/cpu/sh3/clock-sh7300.c | 2 | * arch/sh/kernel/cpu/sh3/clock-sh7710.c |
3 | * | 3 | * |
4 | * SH7300 support for the clock framework | 4 | * SH7710 support for the clock framework |
5 | * | 5 | * |
6 | * Copyright (C) 2005 Paul Mundt | 6 | * Copyright (C) 2005 Paul Mundt |
7 | * | 7 | * |
@@ -29,7 +29,7 @@ static void master_clk_init(struct clk *clk) | |||
29 | clk->rate *= md_table[ctrl_inw(FRQCR) & 0x0007]; | 29 | clk->rate *= md_table[ctrl_inw(FRQCR) & 0x0007]; |
30 | } | 30 | } |
31 | 31 | ||
32 | static struct clk_ops sh7300_master_clk_ops = { | 32 | static struct clk_ops sh7710_master_clk_ops = { |
33 | .init = master_clk_init, | 33 | .init = master_clk_init, |
34 | }; | 34 | }; |
35 | 35 | ||
@@ -39,7 +39,7 @@ static void module_clk_recalc(struct clk *clk) | |||
39 | clk->rate = clk->parent->rate / md_table[idx]; | 39 | clk->rate = clk->parent->rate / md_table[idx]; |
40 | } | 40 | } |
41 | 41 | ||
42 | static struct clk_ops sh7300_module_clk_ops = { | 42 | static struct clk_ops sh7710_module_clk_ops = { |
43 | .recalc = module_clk_recalc, | 43 | .recalc = module_clk_recalc, |
44 | }; | 44 | }; |
45 | 45 | ||
@@ -49,7 +49,7 @@ static void bus_clk_recalc(struct clk *clk) | |||
49 | clk->rate = clk->parent->rate / md_table[idx]; | 49 | clk->rate = clk->parent->rate / md_table[idx]; |
50 | } | 50 | } |
51 | 51 | ||
52 | static struct clk_ops sh7300_bus_clk_ops = { | 52 | static struct clk_ops sh7710_bus_clk_ops = { |
53 | .recalc = bus_clk_recalc, | 53 | .recalc = bus_clk_recalc, |
54 | }; | 54 | }; |
55 | 55 | ||
@@ -59,20 +59,20 @@ static void cpu_clk_recalc(struct clk *clk) | |||
59 | clk->rate = clk->parent->rate / md_table[idx]; | 59 | clk->rate = clk->parent->rate / md_table[idx]; |
60 | } | 60 | } |
61 | 61 | ||
62 | static struct clk_ops sh7300_cpu_clk_ops = { | 62 | static struct clk_ops sh7710_cpu_clk_ops = { |
63 | .recalc = cpu_clk_recalc, | 63 | .recalc = cpu_clk_recalc, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | static struct clk_ops *sh7300_clk_ops[] = { | 66 | static struct clk_ops *sh7710_clk_ops[] = { |
67 | &sh7300_master_clk_ops, | 67 | &sh7710_master_clk_ops, |
68 | &sh7300_module_clk_ops, | 68 | &sh7710_module_clk_ops, |
69 | &sh7300_bus_clk_ops, | 69 | &sh7710_bus_clk_ops, |
70 | &sh7300_cpu_clk_ops, | 70 | &sh7710_cpu_clk_ops, |
71 | }; | 71 | }; |
72 | 72 | ||
73 | void __init arch_init_clk_ops(struct clk_ops **ops, int idx) | 73 | void __init arch_init_clk_ops(struct clk_ops **ops, int idx) |
74 | { | 74 | { |
75 | if (idx < ARRAY_SIZE(sh7300_clk_ops)) | 75 | if (idx < ARRAY_SIZE(sh7710_clk_ops)) |
76 | *ops = sh7300_clk_ops[idx]; | 76 | *ops = sh7710_clk_ops[idx]; |
77 | } | 77 | } |
78 | 78 | ||
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7300.c b/arch/sh/kernel/cpu/sh3/setup-sh7300.c deleted file mode 100644 index ab4d204bfba5..000000000000 --- a/arch/sh/kernel/cpu/sh3/setup-sh7300.c +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /* | ||
2 | * SH7300 Setup | ||
3 | * | ||
4 | * Copyright (C) 2006 Paul Mundt | ||
5 | * | ||
6 | * This file is subject to the terms and conditions of the GNU General Public | ||
7 | * License. See the file "COPYING" in the main directory of this archive | ||
8 | * for more details. | ||
9 | */ | ||
10 | #include <linux/platform_device.h> | ||
11 | #include <linux/init.h> | ||
12 | #include <linux/serial.h> | ||
13 | #include <asm/sci.h> | ||
14 | |||
15 | static struct plat_sci_port sci_platform_data[] = { | ||
16 | { | ||
17 | .mapbase = 0xa4430000, | ||
18 | .flags = UPF_BOOT_AUTOCONF, | ||
19 | .type = PORT_SCI, | ||
20 | .irqs = { 80, 80, 80, 80 }, | ||
21 | }, { | ||
22 | .flags = 0, | ||
23 | } | ||
24 | }; | ||
25 | |||
26 | static struct platform_device sci_device = { | ||
27 | .name = "sh-sci", | ||
28 | .id = -1, | ||
29 | .dev = { | ||
30 | .platform_data = sci_platform_data, | ||
31 | }, | ||
32 | }; | ||
33 | |||
34 | static struct platform_device *sh7300_devices[] __initdata = { | ||
35 | &sci_device, | ||
36 | }; | ||
37 | |||
38 | static int __init sh7300_devices_setup(void) | ||
39 | { | ||
40 | return platform_add_devices(sh7300_devices, | ||
41 | ARRAY_SIZE(sh7300_devices)); | ||
42 | } | ||
43 | __initcall(sh7300_devices_setup); | ||
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index af766b6cd3c1..2cf7dec0d690 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -276,7 +276,6 @@ void __init setup_arch(char **cmdline_p) | |||
276 | 276 | ||
277 | static const char *cpu_name[] = { | 277 | static const char *cpu_name[] = { |
278 | [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619", | 278 | [CPU_SH7206] = "SH7206", [CPU_SH7619] = "SH7619", |
279 | [CPU_SH7300] = "SH7300", | ||
280 | [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706", | 279 | [CPU_SH7705] = "SH7705", [CPU_SH7706] = "SH7706", |
281 | [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708", | 280 | [CPU_SH7707] = "SH7707", [CPU_SH7708] = "SH7708", |
282 | [CPU_SH7709] = "SH7709", [CPU_SH7710] = "SH7710", | 281 | [CPU_SH7709] = "SH7709", [CPU_SH7710] = "SH7710", |
diff --git a/arch/sh/kernel/timers/timer-tmu.c b/arch/sh/kernel/timers/timer-tmu.c index 7aca37d79766..8a545d54e2d3 100644 --- a/arch/sh/kernel/timers/timer-tmu.c +++ b/arch/sh/kernel/timers/timer-tmu.c | |||
@@ -173,8 +173,7 @@ static int tmu_timer_init(void) | |||
173 | 173 | ||
174 | tmu_timer_stop(); | 174 | tmu_timer_stop(); |
175 | 175 | ||
176 | #if !defined(CONFIG_CPU_SUBTYPE_SH7300) && \ | 176 | #if !defined(CONFIG_CPU_SUBTYPE_SH7760) && \ |
177 | !defined(CONFIG_CPU_SUBTYPE_SH7760) && \ | ||
178 | !defined(CONFIG_CPU_SUBTYPE_SH7785) && \ | 177 | !defined(CONFIG_CPU_SUBTYPE_SH7785) && \ |
179 | !defined(CONFIG_CPU_SUBTYPE_SHX3) | 178 | !defined(CONFIG_CPU_SUBTYPE_SHX3) |
180 | ctrl_outb(TMU_TOCR_INIT, TMU_TOCR); | 179 | ctrl_outb(TMU_TOCR_INIT, TMU_TOCR); |
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index ff67422c8dcb..43f3972a5fb9 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -63,10 +63,6 @@ config CPU_SUBTYPE_SH7206 | |||
63 | 63 | ||
64 | # SH-3 Processor Support | 64 | # SH-3 Processor Support |
65 | 65 | ||
66 | config CPU_SUBTYPE_SH7300 | ||
67 | bool "Support SH7300 processor" | ||
68 | select CPU_SH3 | ||
69 | |||
70 | config CPU_SUBTYPE_SH7705 | 66 | config CPU_SUBTYPE_SH7705 |
71 | bool "Support SH7705 processor" | 67 | bool "Support SH7705 processor" |
72 | select CPU_SH3 | 68 | select CPU_SH3 |
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types index 21d18351af7f..439bfe3d29af 100644 --- a/arch/sh/tools/mach-types +++ b/arch/sh/tools/mach-types | |||
@@ -8,7 +8,6 @@ | |||
8 | SE SH_SOLUTION_ENGINE | 8 | SE SH_SOLUTION_ENGINE |
9 | 7751SE SH_7751_SOLUTION_ENGINE | 9 | 7751SE SH_7751_SOLUTION_ENGINE |
10 | 7722SE SH_7722_SOLUTION_ENGINE | 10 | 7722SE SH_7722_SOLUTION_ENGINE |
11 | 7300SE SH_7300_SOLUTION_ENGINE | ||
12 | 7343SE SH_7343_SOLUTION_ENGINE | 11 | 7343SE SH_7343_SOLUTION_ENGINE |
13 | 7206SE SH_7206_SOLUTION_ENGINE | 12 | 7206SE SH_7206_SOLUTION_ENGINE |
14 | 7619SE SH_7619_SOLUTION_ENGINE | 13 | 7619SE SH_7619_SOLUTION_ENGINE |
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 672cd1042539..053fca41b08a 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
@@ -12,6 +12,7 @@ | |||
12 | * Modified to support multiple serial ports. Stuart Menefy (May 2000). | 12 | * Modified to support multiple serial ports. Stuart Menefy (May 2000). |
13 | * Modified to support SecureEdge. David McCullough (2002) | 13 | * Modified to support SecureEdge. David McCullough (2002) |
14 | * Modified to support SH7300 SCIF. Takashi Kusuda (Jun 2003). | 14 | * Modified to support SH7300 SCIF. Takashi Kusuda (Jun 2003). |
15 | * Removed SH7300 support (Jul 2007). | ||
15 | * | 16 | * |
16 | * This file is subject to the terms and conditions of the GNU General Public | 17 | * This file is subject to the terms and conditions of the GNU General Public |
17 | * License. See the file "COPYING" in the main directory of this archive | 18 | * License. See the file "COPYING" in the main directory of this archive |
@@ -289,13 +290,7 @@ static void sci_init_pins_irda(struct uart_port *port, unsigned int cflag) | |||
289 | #endif | 290 | #endif |
290 | 291 | ||
291 | #if defined(SCIF_ONLY) || defined(SCI_AND_SCIF) | 292 | #if defined(SCIF_ONLY) || defined(SCI_AND_SCIF) |
292 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) | 293 | #if defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712) |
293 | /* SH7300 doesn't use RTS/CTS */ | ||
294 | static void sci_init_pins_scif(struct uart_port *port, unsigned int cflag) | ||
295 | { | ||
296 | sci_out(port, SCFCR, 0); | ||
297 | } | ||
298 | #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712) | ||
299 | static void sci_init_pins_scif(struct uart_port* port, unsigned int cflag) | 294 | static void sci_init_pins_scif(struct uart_port* port, unsigned int cflag) |
300 | { | 295 | { |
301 | unsigned int fcr_val = 0; | 296 | unsigned int fcr_val = 0; |
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index b11127d0edab..cf75466ebf57 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -9,6 +9,7 @@ | |||
9 | * Modified to support multiple serial ports. Stuart Menefy (May 2000). | 9 | * Modified to support multiple serial ports. Stuart Menefy (May 2000). |
10 | * Modified to support SH7300(SH-Mobile) SCIF. Takashi Kusuda (Jun 2003). | 10 | * Modified to support SH7300(SH-Mobile) SCIF. Takashi Kusuda (Jun 2003). |
11 | * Modified to support H8/300 Series Yoshinori Sato (Feb 2004). | 11 | * Modified to support H8/300 Series Yoshinori Sato (Feb 2004). |
12 | * Removed SH7300 support (Jul 2007). | ||
12 | */ | 13 | */ |
13 | #include <linux/serial_core.h> | 14 | #include <linux/serial_core.h> |
14 | #include <asm/io.h> | 15 | #include <asm/io.h> |
@@ -70,11 +71,6 @@ | |||
70 | # define SCIF_ORER 0x0001 /* overrun error bit */ | 71 | # define SCIF_ORER 0x0001 /* overrun error bit */ |
71 | # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ | 72 | # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ |
72 | # define SCIF_ONLY | 73 | # define SCIF_ONLY |
73 | #elif defined(CONFIG_CPU_SUBTYPE_SH7300) | ||
74 | # define SCPCR 0xA4050116 /* 16 bit SCIF */ | ||
75 | # define SCPDR 0xA4050136 /* 16 bit SCIF */ | ||
76 | # define SCSCR_INIT(port) 0x0030 /* TIE=0,RIE=0,TE=1,RE=1 */ | ||
77 | # define SCIF_ONLY | ||
78 | #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712) | 74 | #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712) |
79 | # define SCSPTR0 0xA4400000 /* 16 bit SCIF */ | 75 | # define SCSPTR0 0xA4400000 /* 16 bit SCIF */ |
80 | # define SCI_NPORTS 2 | 76 | # define SCI_NPORTS 2 |
@@ -221,7 +217,7 @@ | |||
221 | #define SCIF_RDF 0x0002 /* 7705 SCIF, 7707 SCIF, 7709 SCIF, 7750 SCIF */ | 217 | #define SCIF_RDF 0x0002 /* 7705 SCIF, 7707 SCIF, 7709 SCIF, 7750 SCIF */ |
222 | #define SCIF_DR 0x0001 /* 7705 SCIF, 7707 SCIF, 7709 SCIF, 7750 SCIF */ | 218 | #define SCIF_DR 0x0001 /* 7705 SCIF, 7707 SCIF, 7709 SCIF, 7750 SCIF */ |
223 | 219 | ||
224 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7705) | 220 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) |
225 | #define SCIF_ORER 0x0200 | 221 | #define SCIF_ORER 0x0200 |
226 | #define SCIF_ERRORS ( SCIF_PER | SCIF_FER | SCIF_ER | SCIF_BRK | SCIF_ORER) | 222 | #define SCIF_ERRORS ( SCIF_PER | SCIF_FER | SCIF_ER | SCIF_BRK | SCIF_ORER) |
227 | #define SCIF_RFDC_MASK 0x007f | 223 | #define SCIF_RFDC_MASK 0x007f |
@@ -250,7 +246,7 @@ | |||
250 | # define SCxSR_ERRORS(port) SCIF_ERRORS | 246 | # define SCxSR_ERRORS(port) SCIF_ERRORS |
251 | # define SCxSR_RDxF(port) SCIF_RDF | 247 | # define SCxSR_RDxF(port) SCIF_RDF |
252 | # define SCxSR_TDxE(port) SCIF_TDFE | 248 | # define SCxSR_TDxE(port) SCIF_TDFE |
253 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7705) | 249 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) |
254 | # define SCxSR_ORER(port) SCIF_ORER | 250 | # define SCxSR_ORER(port) SCIF_ORER |
255 | #else | 251 | #else |
256 | # define SCxSR_ORER(port) 0x0000 | 252 | # define SCxSR_ORER(port) 0x0000 |
@@ -258,13 +254,13 @@ | |||
258 | # define SCxSR_FER(port) SCIF_FER | 254 | # define SCxSR_FER(port) SCIF_FER |
259 | # define SCxSR_PER(port) SCIF_PER | 255 | # define SCxSR_PER(port) SCIF_PER |
260 | # define SCxSR_BRK(port) SCIF_BRK | 256 | # define SCxSR_BRK(port) SCIF_BRK |
261 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7705) | 257 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) |
262 | # define SCxSR_RDxF_CLEAR(port) (sci_in(port,SCxSR)&0xfffc) | 258 | # define SCxSR_RDxF_CLEAR(port) (sci_in(port,SCxSR)&0xfffc) |
263 | # define SCxSR_ERROR_CLEAR(port) (sci_in(port,SCxSR)&0xfd73) | 259 | # define SCxSR_ERROR_CLEAR(port) (sci_in(port,SCxSR)&0xfd73) |
264 | # define SCxSR_TDxE_CLEAR(port) (sci_in(port,SCxSR)&0xffdf) | 260 | # define SCxSR_TDxE_CLEAR(port) (sci_in(port,SCxSR)&0xffdf) |
265 | # define SCxSR_BREAK_CLEAR(port) (sci_in(port,SCxSR)&0xffe3) | 261 | # define SCxSR_BREAK_CLEAR(port) (sci_in(port,SCxSR)&0xffe3) |
266 | #else | 262 | #else |
267 | /* SH7705 can also use this, clearing is same between 7705 and 7709 and 7300 */ | 263 | /* SH7705 can also use this, clearing is same between 7705 and 7709 */ |
268 | # define SCxSR_RDxF_CLEAR(port) 0x00fc | 264 | # define SCxSR_RDxF_CLEAR(port) 0x00fc |
269 | # define SCxSR_ERROR_CLEAR(port) 0x0073 | 265 | # define SCxSR_ERROR_CLEAR(port) 0x0073 |
270 | # define SCxSR_TDxE_CLEAR(port) 0x00df | 266 | # define SCxSR_TDxE_CLEAR(port) 0x00df |
@@ -366,8 +362,7 @@ | |||
366 | CPU_SCIx_FNS(name, sh4_sci_offset, sh4_sci_size, sh4_scif_offset, sh4_scif_size) | 362 | CPU_SCIx_FNS(name, sh4_sci_offset, sh4_sci_size, sh4_scif_offset, sh4_scif_size) |
367 | #define SCIF_FNS(name, sh3_scif_offset, sh3_scif_size, sh4_scif_offset, sh4_scif_size) \ | 363 | #define SCIF_FNS(name, sh3_scif_offset, sh3_scif_size, sh4_scif_offset, sh4_scif_size) \ |
368 | CPU_SCIF_FNS(name, sh4_scif_offset, sh4_scif_size) | 364 | CPU_SCIF_FNS(name, sh4_scif_offset, sh4_scif_size) |
369 | #elif defined(CONFIG_CPU_SUBTYPE_SH7300) || \ | 365 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) |
370 | defined(CONFIG_CPU_SUBTYPE_SH7705) | ||
371 | #define SCIF_FNS(name, scif_offset, scif_size) \ | 366 | #define SCIF_FNS(name, scif_offset, scif_size) \ |
372 | CPU_SCIF_FNS(name, scif_offset, scif_size) | 367 | CPU_SCIF_FNS(name, scif_offset, scif_size) |
373 | #else | 368 | #else |
@@ -393,8 +388,7 @@ | |||
393 | CPU_SCIF_FNS(name, sh4_scif_offset, sh4_scif_size) | 388 | CPU_SCIF_FNS(name, sh4_scif_offset, sh4_scif_size) |
394 | #endif | 389 | #endif |
395 | 390 | ||
396 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || \ | 391 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) |
397 | defined(CONFIG_CPU_SUBTYPE_SH7705) | ||
398 | 392 | ||
399 | SCIF_FNS(SCSMR, 0x00, 16) | 393 | SCIF_FNS(SCSMR, 0x00, 16) |
400 | SCIF_FNS(SCBRR, 0x04, 8) | 394 | SCIF_FNS(SCBRR, 0x04, 8) |
@@ -547,13 +541,6 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
547 | return ctrl_inw(SCSPTR2) & 0x0001 ? 1 : 0; /* SCIF */ | 541 | return ctrl_inw(SCSPTR2) & 0x0001 ? 1 : 0; /* SCIF */ |
548 | return 1; | 542 | return 1; |
549 | } | 543 | } |
550 | #elif defined(CONFIG_CPU_SUBTYPE_SH7300) | ||
551 | static inline int sci_rxd_in(struct uart_port *port) | ||
552 | { | ||
553 | if (port->mapbase == 0xa4430000) | ||
554 | return ctrl_inb(SCPDR)&0x01 ? 1 : 0; /* SCIF0 */ | ||
555 | return 1; | ||
556 | } | ||
557 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) | 544 | #elif defined(CONFIG_CPU_SUBTYPE_SH7343) |
558 | static inline int sci_rxd_in(struct uart_port *port) | 545 | static inline int sci_rxd_in(struct uart_port *port) |
559 | { | 546 | { |
@@ -701,8 +688,7 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
701 | * -- Mitch Davis - 15 Jul 2000 | 688 | * -- Mitch Davis - 15 Jul 2000 |
702 | */ | 689 | */ |
703 | 690 | ||
704 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || \ | 691 | #if defined(CONFIG_CPU_SUBTYPE_SH7780) || \ |
705 | defined(CONFIG_CPU_SUBTYPE_SH7780) || \ | ||
706 | defined(CONFIG_CPU_SUBTYPE_SH7785) | 692 | defined(CONFIG_CPU_SUBTYPE_SH7785) |
707 | #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) | 693 | #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) |
708 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) | 694 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) |
diff --git a/include/asm-sh/bugs.h b/include/asm-sh/bugs.h index d5d7a16cbfe0..b66139ff73fc 100644 --- a/include/asm-sh/bugs.h +++ b/include/asm-sh/bugs.h | |||
@@ -29,7 +29,7 @@ static void __init check_bugs(void) | |||
29 | *p++ = '2'; | 29 | *p++ = '2'; |
30 | *p++ = 'a'; | 30 | *p++ = 'a'; |
31 | break; | 31 | break; |
32 | case CPU_SH7705 ... CPU_SH7300: | 32 | case CPU_SH7705 ... CPU_SH7729: |
33 | *p++ = '3'; | 33 | *p++ = '3'; |
34 | break; | 34 | break; |
35 | case CPU_SH7750 ... CPU_SH4_501: | 35 | case CPU_SH7750 ... CPU_SH4_501: |
diff --git a/include/asm-sh/cpu-sh3/freq.h b/include/asm-sh/cpu-sh3/freq.h index 273f3229785c..0a054b53b9de 100644 --- a/include/asm-sh/cpu-sh3/freq.h +++ b/include/asm-sh/cpu-sh3/freq.h | |||
@@ -10,11 +10,7 @@ | |||
10 | #ifndef __ASM_CPU_SH3_FREQ_H | 10 | #ifndef __ASM_CPU_SH3_FREQ_H |
11 | #define __ASM_CPU_SH3_FREQ_H | 11 | #define __ASM_CPU_SH3_FREQ_H |
12 | 12 | ||
13 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) | ||
14 | #define FRQCR 0xa415ff80 | ||
15 | #else | ||
16 | #define FRQCR 0xffffff80 | 13 | #define FRQCR 0xffffff80 |
17 | #endif | ||
18 | #define MIN_DIVISOR_NR 0 | 14 | #define MIN_DIVISOR_NR 0 |
19 | #define MAX_DIVISOR_NR 4 | 15 | #define MAX_DIVISOR_NR 4 |
20 | 16 | ||
diff --git a/include/asm-sh/cpu-sh3/mmu_context.h b/include/asm-sh/cpu-sh3/mmu_context.h index 4704e86dff5b..b20786d42d09 100644 --- a/include/asm-sh/cpu-sh3/mmu_context.h +++ b/include/asm-sh/cpu-sh3/mmu_context.h | |||
@@ -30,7 +30,6 @@ | |||
30 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | 30 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ |
31 | defined(CONFIG_CPU_SUBTYPE_SH7709) || \ | 31 | defined(CONFIG_CPU_SUBTYPE_SH7709) || \ |
32 | defined(CONFIG_CPU_SUBTYPE_SH7706) || \ | 32 | defined(CONFIG_CPU_SUBTYPE_SH7706) || \ |
33 | defined(CONFIG_CPU_SUBTYPE_SH7300) || \ | ||
34 | defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 33 | defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
35 | defined(CONFIG_CPU_SUBTYPE_SH7712) || \ | 34 | defined(CONFIG_CPU_SUBTYPE_SH7712) || \ |
36 | defined(CONFIG_CPU_SUBTYPE_SH7710) | 35 | defined(CONFIG_CPU_SUBTYPE_SH7710) |
diff --git a/include/asm-sh/cpu-sh3/timer.h b/include/asm-sh/cpu-sh3/timer.h index 4928b08f9d19..b6c2020a2ad3 100644 --- a/include/asm-sh/cpu-sh3/timer.h +++ b/include/asm-sh/cpu-sh3/timer.h | |||
@@ -19,7 +19,6 @@ | |||
19 | * SH7729R | 19 | * SH7729R |
20 | * SH7710 | 20 | * SH7710 |
21 | * SH7720 | 21 | * SH7720 |
22 | * SH7300 | ||
23 | * SH7710 | 22 | * SH7710 |
24 | * --------------------------------------------------------------------------- | 23 | * --------------------------------------------------------------------------- |
25 | */ | 24 | */ |
@@ -28,7 +27,7 @@ | |||
28 | #define TMU_TOCR 0xfffffe90 /* Byte access */ | 27 | #define TMU_TOCR 0xfffffe90 /* Byte access */ |
29 | #endif | 28 | #endif |
30 | 29 | ||
31 | #if defined(CONFIG_CPU_SUBTYPE_SH7300) || defined(CONFIG_CPU_SUBTYPE_SH7710) | 30 | #if defined(CONFIG_CPU_SUBTYPE_SH7710) |
32 | #define TMU_012_TSTR 0xa412fe92 /* Byte access */ | 31 | #define TMU_012_TSTR 0xa412fe92 /* Byte access */ |
33 | 32 | ||
34 | #define TMU0_TCOR 0xa412fe94 /* Long access */ | 33 | #define TMU0_TCOR 0xa412fe94 /* Long access */ |
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h index 7969d3a127da..26d52174f4b4 100644 --- a/include/asm-sh/processor.h +++ b/include/asm-sh/processor.h | |||
@@ -45,7 +45,7 @@ enum cpu_type { | |||
45 | CPU_SH7705, CPU_SH7706, CPU_SH7707, | 45 | CPU_SH7705, CPU_SH7706, CPU_SH7707, |
46 | CPU_SH7708, CPU_SH7708S, CPU_SH7708R, | 46 | CPU_SH7708, CPU_SH7708S, CPU_SH7708R, |
47 | CPU_SH7709, CPU_SH7709A, CPU_SH7710, CPU_SH7712, | 47 | CPU_SH7709, CPU_SH7709A, CPU_SH7710, CPU_SH7712, |
48 | CPU_SH7729, CPU_SH7300, | 48 | CPU_SH7729, |
49 | 49 | ||
50 | /* SH-4 types */ | 50 | /* SH-4 types */ |
51 | CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R, | 51 | CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R, |
diff --git a/include/asm-sh/se7300.h b/include/asm-sh/se7300.h deleted file mode 100644 index 4e24edccb30d..000000000000 --- a/include/asm-sh/se7300.h +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | #ifndef __ASM_SH_HITACHI_SE7300_H | ||
2 | #define __ASM_SH_HITACHI_SE7300_H | ||
3 | |||
4 | /* | ||
5 | * linux/include/asm-sh/se/se7300.h | ||
6 | * | ||
7 | * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> | ||
8 | * | ||
9 | * SH-Mobile SolutionEngine 7300 support | ||
10 | */ | ||
11 | |||
12 | /* Box specific addresses. */ | ||
13 | |||
14 | /* Area 0 */ | ||
15 | #define PA_ROM 0x00000000 /* EPROM */ | ||
16 | #define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte(Actually 2MB) */ | ||
17 | #define PA_FROM 0x00400000 /* Flash ROM */ | ||
18 | #define PA_FROM_SIZE 0x00400000 /* Flash size 4M byte */ | ||
19 | #define PA_SRAM 0x00800000 /* SRAM */ | ||
20 | #define PA_FROM_SIZE 0x00400000 /* SRAM size 4M byte */ | ||
21 | /* Area 1 */ | ||
22 | #define PA_EXT1 0x04000000 | ||
23 | #define PA_EXT1_SIZE 0x04000000 | ||
24 | /* Area 2 */ | ||
25 | #define PA_EXT2 0x08000000 | ||
26 | #define PA_EXT2_SIZE 0x04000000 | ||
27 | /* Area 3 */ | ||
28 | #define PA_SDRAM 0x0c000000 | ||
29 | #define PA_SDRAM_SIZE 0x04000000 | ||
30 | /* Area 4 */ | ||
31 | #define PA_PCIC 0x10000000 /* MR-SHPC-01 PCMCIA */ | ||
32 | #define PA_MRSHPC 0xb03fffe0 /* MR-SHPC-01 PCMCIA controller */ | ||
33 | #define PA_MRSHPC_MW1 0xb0400000 /* MR-SHPC-01 memory window base */ | ||
34 | #define PA_MRSHPC_MW2 0xb0500000 /* MR-SHPC-01 attribute window base */ | ||
35 | #define PA_MRSHPC_IO 0xb0600000 /* MR-SHPC-01 I/O window base */ | ||
36 | #define MRSHPC_OPTION (PA_MRSHPC + 6) | ||
37 | #define MRSHPC_CSR (PA_MRSHPC + 8) | ||
38 | #define MRSHPC_ISR (PA_MRSHPC + 10) | ||
39 | #define MRSHPC_ICR (PA_MRSHPC + 12) | ||
40 | #define MRSHPC_CPWCR (PA_MRSHPC + 14) | ||
41 | #define MRSHPC_MW0CR1 (PA_MRSHPC + 16) | ||
42 | #define MRSHPC_MW1CR1 (PA_MRSHPC + 18) | ||
43 | #define MRSHPC_IOWCR1 (PA_MRSHPC + 20) | ||
44 | #define MRSHPC_MW0CR2 (PA_MRSHPC + 22) | ||
45 | #define MRSHPC_MW1CR2 (PA_MRSHPC + 24) | ||
46 | #define MRSHPC_IOWCR2 (PA_MRSHPC + 26) | ||
47 | #define MRSHPC_CDCR (PA_MRSHPC + 28) | ||
48 | #define MRSHPC_PCIC_INFO (PA_MRSHPC + 30) | ||
49 | #define PA_LED 0xb0800000 /* LED */ | ||
50 | #define PA_DIPSW 0xb0900000 /* Dip switch 31 */ | ||
51 | #define PA_EPLD_MODESET 0xb0a00000 /* FPGA Mode set register */ | ||
52 | #define PA_EPLD_ST1 0xb0a80000 /* FPGA Interrupt status register1 */ | ||
53 | #define PA_EPLD_ST2 0xb0ac0000 /* FPGA Interrupt status register2 */ | ||
54 | /* Area 5 */ | ||
55 | #define PA_EXT5 0x14000000 | ||
56 | #define PA_EXT5_SIZE 0x04000000 | ||
57 | /* Area 6 */ | ||
58 | #define PA_LCD1 0xb8000000 | ||
59 | #define PA_LCD2 0xb8800000 | ||
60 | |||
61 | #define __IO_PREFIX sh7300se | ||
62 | #include <asm/io_generic.h> | ||
63 | |||
64 | #endif /* __ASM_SH_HITACHI_SE7300_H */ | ||
diff --git a/include/asm-sh/ubc.h b/include/asm-sh/ubc.h index 38d46e01b846..56f4e30dc49c 100644 --- a/include/asm-sh/ubc.h +++ b/include/asm-sh/ubc.h | |||
@@ -15,8 +15,7 @@ | |||
15 | #include <asm/cpu/ubc.h> | 15 | #include <asm/cpu/ubc.h> |
16 | 16 | ||
17 | /* User Break Controller */ | 17 | /* User Break Controller */ |
18 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || defined(CONFIG_CPU_SUBTYPE_SH7709) || \ | 18 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || defined(CONFIG_CPU_SUBTYPE_SH7709) |
19 | defined(CONFIG_CPU_SUBTYPE_SH7300) | ||
20 | #define UBC_TYPE_SH7729 (current_cpu_data.type == CPU_SH7729) | 19 | #define UBC_TYPE_SH7729 (current_cpu_data.type == CPU_SH7729) |
21 | #else | 20 | #else |
22 | #define UBC_TYPE_SH7729 0 | 21 | #define UBC_TYPE_SH7729 0 |