diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 11:41:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 11:41:13 -0400 |
commit | b10a8b7238d7b034f28d32a85bb05c48475f132a (patch) | |
tree | 8e70e816757c2a517de6fb721dd9ac2276619c26 /arch | |
parent | 37eaf8c7463e53cf1acf025fb566fb6c4573297f (diff) | |
parent | 8b2224dc6a5b46cfa1d54ab1fe82107351c66443 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (72 commits)
sh: SuperH Mobile CEU and camera platform data for AP325RXA
sh: Update smc911x platform data for AP325RXA
sh: SuperH Mobile LCDC platform data for AP325RXA
sh: Add SuperH Mobile CEU platform data for Migo-R
sh: Add SuperH Mobile LCDC platform data for Migo-R
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
sh: Workaround for __put_user_asm() bug with gcc 4.x on big-endian.
sh: Wire up new syscalls.
sh: fix uImage Entry Point
sh_keysc: remove request_mem_region() and release_mem_region()
sh: Don't miss pending signals returning to user mode after signal processing
sh: Use clk_always_enable() on sh7366
sh: Use clk_always_enable() on sh7343 / SE77343
sh: Use clk_always_enable() on sh7722 / Migo-R / SE7722
sh: Use clk_always_enable() on sh7723 / ap325rxa
sh: Introduce clk_always_enable() function
sh: Show all clocks and their state in /proc/clocks
sh: Merge sh7343 and sh7722 clock code
sh: Add SuperH Mobile MSTPCR bits to clock framework
sh: Use arch_flags to simplify sh7722 siu clock code
...
Diffstat (limited to 'arch')
81 files changed, 7195 insertions, 1413 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 8879938f3356..7bfb0d219d67 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -477,6 +477,10 @@ config SH_RTS7751R2D | |||
477 | Select RTS7751R2D if configuring for a Renesas Technology | 477 | Select RTS7751R2D if configuring for a Renesas Technology |
478 | Sales SH-Graphics board. | 478 | Sales SH-Graphics board. |
479 | 479 | ||
480 | config SH_RSK7203 | ||
481 | bool "RSK7203" | ||
482 | depends on CPU_SUBTYPE_SH7203 | ||
483 | |||
480 | config SH_SDK7780 | 484 | config SH_SDK7780 |
481 | bool "SDK7780R3" | 485 | bool "SDK7780R3" |
482 | depends on CPU_SUBTYPE_SH7780 | 486 | depends on CPU_SUBTYPE_SH7780 |
@@ -491,6 +495,21 @@ config SH_HIGHLANDER | |||
491 | select SYS_SUPPORTS_PCI | 495 | select SYS_SUPPORTS_PCI |
492 | select IO_TRAPPED | 496 | select IO_TRAPPED |
493 | 497 | ||
498 | config SH_SH7785LCR | ||
499 | bool "SH7785LCR" | ||
500 | depends on CPU_SUBTYPE_SH7785 | ||
501 | select SYS_SUPPORTS_PCI | ||
502 | select IO_TRAPPED | ||
503 | |||
504 | config SH_SH7785LCR_29BIT_PHYSMAPS | ||
505 | bool "SH7785LCR 29bit physmaps" | ||
506 | depends on SH_SH7785LCR | ||
507 | default y | ||
508 | help | ||
509 | This board has 2 physical memory maps. It can be changed with | ||
510 | DIP switch(S2-5). If you set the DIP switch for S2-5 = ON, | ||
511 | you can access all on-board device in 29bit address mode. | ||
512 | |||
494 | config SH_MIGOR | 513 | config SH_MIGOR |
495 | bool "Migo-R" | 514 | bool "Migo-R" |
496 | depends on CPU_SUBTYPE_SH7722 | 515 | depends on CPU_SUBTYPE_SH7722 |
@@ -498,6 +517,20 @@ config SH_MIGOR | |||
498 | Select Migo-R if configuring for the SH7722 Migo-R platform | 517 | Select Migo-R if configuring for the SH7722 Migo-R platform |
499 | by Renesas System Solutions Asia Pte. Ltd. | 518 | by Renesas System Solutions Asia Pte. Ltd. |
500 | 519 | ||
520 | config SH_AP325RXA | ||
521 | bool "AP-325RXA" | ||
522 | depends on CPU_SUBTYPE_SH7723 | ||
523 | help | ||
524 | Renesas "AP-325RXA" support. | ||
525 | Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" | ||
526 | |||
527 | config SH_SH7763RDP | ||
528 | bool "SH7763RDP" | ||
529 | depends on CPU_SUBTYPE_SH7763 | ||
530 | help | ||
531 | Select SH7763RDP if configuring for a Renesas SH7763 | ||
532 | evaluation board. | ||
533 | |||
501 | config SH_EDOSK7705 | 534 | config SH_EDOSK7705 |
502 | bool "EDOSK7705" | 535 | bool "EDOSK7705" |
503 | depends on CPU_SUBTYPE_SH7705 | 536 | depends on CPU_SUBTYPE_SH7705 |
@@ -559,6 +592,7 @@ endmenu | |||
559 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | 592 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" |
560 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | 593 | source "arch/sh/boards/renesas/r7780rp/Kconfig" |
561 | source "arch/sh/boards/renesas/sdk7780/Kconfig" | 594 | source "arch/sh/boards/renesas/sdk7780/Kconfig" |
595 | source "arch/sh/boards/renesas/migor/Kconfig" | ||
562 | source "arch/sh/boards/magicpanelr2/Kconfig" | 596 | source "arch/sh/boards/magicpanelr2/Kconfig" |
563 | 597 | ||
564 | menu "Timer and clock configuration" | 598 | menu "Timer and clock configuration" |
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug index 0f4549860226..36f4b1f7066d 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug | |||
@@ -36,7 +36,8 @@ config EARLY_SCIF_CONSOLE_PORT | |||
36 | default "0xff804000" if CPU_SUBTYPE_MXG | 36 | default "0xff804000" if CPU_SUBTYPE_MXG |
37 | default "0xffc30000" if CPU_SUBTYPE_SHX3 | 37 | default "0xffc30000" if CPU_SUBTYPE_SHX3 |
38 | default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \ | 38 | default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \ |
39 | CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 | 39 | CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \ |
40 | CPU_SUBTYPE_SH7343 | ||
40 | default "0xffe80000" if CPU_SH4 | 41 | default "0xffe80000" if CPU_SH4 |
41 | default "0xffea0000" if CPU_SUBTYPE_SH7785 | 42 | default "0xffea0000" if CPU_SUBTYPE_SH7785 |
42 | default "0xfffe8000" if CPU_SUBTYPE_SH7203 | 43 | default "0xfffe8000" if CPU_SUBTYPE_SH7203 |
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index fb7b1b15e392..c627e45c4df7 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -121,6 +121,10 @@ machdir-$(CONFIG_SH_HIGHLANDER) += renesas/r7780rp | |||
121 | machdir-$(CONFIG_SH_MIGOR) += renesas/migor | 121 | machdir-$(CONFIG_SH_MIGOR) += renesas/migor |
122 | machdir-$(CONFIG_SH_SDK7780) += renesas/sdk7780 | 122 | machdir-$(CONFIG_SH_SDK7780) += renesas/sdk7780 |
123 | machdir-$(CONFIG_SH_X3PROTO) += renesas/x3proto | 123 | machdir-$(CONFIG_SH_X3PROTO) += renesas/x3proto |
124 | machdir-$(CONFIG_SH_RSK7203) += renesas/rsk7203 | ||
125 | machdir-$(CONFIG_SH_AP325RXA) += renesas/ap325rxa | ||
126 | machdir-$(CONFIG_SH_SH7763RDP) += renesas/sh7763rdp | ||
127 | machdir-$(CONFIG_SH_SH7785LCR) += renesas/sh7785lcr | ||
124 | machdir-$(CONFIG_SH_SH4202_MICRODEV) += superh/microdev | 128 | machdir-$(CONFIG_SH_SH4202_MICRODEV) += superh/microdev |
125 | machdir-$(CONFIG_SH_LANDISK) += landisk | 129 | machdir-$(CONFIG_SH_LANDISK) += landisk |
126 | machdir-$(CONFIG_SH_TITAN) += titan | 130 | machdir-$(CONFIG_SH_TITAN) += titan |
diff --git a/arch/sh/boards/dreamcast/rtc.c b/arch/sh/boards/dreamcast/rtc.c index b3a876a3b859..a7433685798d 100644 --- a/arch/sh/boards/dreamcast/rtc.c +++ b/arch/sh/boards/dreamcast/rtc.c | |||
@@ -30,7 +30,7 @@ | |||
30 | * | 30 | * |
31 | * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch. | 31 | * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch. |
32 | */ | 32 | */ |
33 | void aica_rtc_gettimeofday(struct timespec *ts) | 33 | static void aica_rtc_gettimeofday(struct timespec *ts) |
34 | { | 34 | { |
35 | unsigned long val1, val2; | 35 | unsigned long val1, val2; |
36 | 36 | ||
@@ -54,7 +54,7 @@ void aica_rtc_gettimeofday(struct timespec *ts) | |||
54 | * | 54 | * |
55 | * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter. | 55 | * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter. |
56 | */ | 56 | */ |
57 | int aica_rtc_settimeofday(const time_t secs) | 57 | static int aica_rtc_settimeofday(const time_t secs) |
58 | { | 58 | { |
59 | unsigned long val1, val2; | 59 | unsigned long val1, val2; |
60 | unsigned long adj = secs + TWENTY_YEARS; | 60 | unsigned long adj = secs + TWENTY_YEARS; |
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..7fa74462bd9f --- /dev/null +++ b/arch/sh/boards/renesas/ap325rxa/setup.c | |||
@@ -0,0 +1,313 @@ | |||
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/interrupt.h> | ||
16 | #include <linux/platform_device.h> | ||
17 | #include <linux/mtd/physmap.h> | ||
18 | #include <linux/delay.h> | ||
19 | #include <linux/i2c.h> | ||
20 | #include <linux/delay.h> | ||
21 | #include <linux/smc911x.h> | ||
22 | #include <media/soc_camera_platform.h> | ||
23 | #include <media/sh_mobile_ceu.h> | ||
24 | #include <asm/sh_mobile_lcdc.h> | ||
25 | #include <asm/io.h> | ||
26 | #include <asm/clock.h> | ||
27 | |||
28 | static struct smc911x_platdata smc911x_info = { | ||
29 | .flags = SMC911X_USE_32BIT, | ||
30 | .irq_flags = IRQF_TRIGGER_LOW, | ||
31 | }; | ||
32 | |||
33 | static struct resource smc9118_resources[] = { | ||
34 | [0] = { | ||
35 | .start = 0xb6080000, | ||
36 | .end = 0xb60fffff, | ||
37 | .flags = IORESOURCE_MEM, | ||
38 | }, | ||
39 | [1] = { | ||
40 | .start = 35, | ||
41 | .end = 35, | ||
42 | .flags = IORESOURCE_IRQ, | ||
43 | } | ||
44 | }; | ||
45 | |||
46 | static struct platform_device smc9118_device = { | ||
47 | .name = "smc911x", | ||
48 | .id = -1, | ||
49 | .num_resources = ARRAY_SIZE(smc9118_resources), | ||
50 | .resource = smc9118_resources, | ||
51 | .dev = { | ||
52 | .platform_data = &smc911x_info, | ||
53 | }, | ||
54 | }; | ||
55 | |||
56 | static struct mtd_partition ap325rxa_nor_flash_partitions[] = { | ||
57 | { | ||
58 | .name = "uboot", | ||
59 | .offset = 0, | ||
60 | .size = (1 * 1024 * 1024), | ||
61 | .mask_flags = MTD_WRITEABLE, /* Read-only */ | ||
62 | }, { | ||
63 | .name = "kernel", | ||
64 | .offset = MTDPART_OFS_APPEND, | ||
65 | .size = (2 * 1024 * 1024), | ||
66 | }, { | ||
67 | .name = "other", | ||
68 | .offset = MTDPART_OFS_APPEND, | ||
69 | .size = MTDPART_SIZ_FULL, | ||
70 | }, | ||
71 | }; | ||
72 | |||
73 | static struct physmap_flash_data ap325rxa_nor_flash_data = { | ||
74 | .width = 2, | ||
75 | .parts = ap325rxa_nor_flash_partitions, | ||
76 | .nr_parts = ARRAY_SIZE(ap325rxa_nor_flash_partitions), | ||
77 | }; | ||
78 | |||
79 | static struct resource ap325rxa_nor_flash_resources[] = { | ||
80 | [0] = { | ||
81 | .name = "NOR Flash", | ||
82 | .start = 0x00000000, | ||
83 | .end = 0x00ffffff, | ||
84 | .flags = IORESOURCE_MEM, | ||
85 | } | ||
86 | }; | ||
87 | |||
88 | static struct platform_device ap325rxa_nor_flash_device = { | ||
89 | .name = "physmap-flash", | ||
90 | .resource = ap325rxa_nor_flash_resources, | ||
91 | .num_resources = ARRAY_SIZE(ap325rxa_nor_flash_resources), | ||
92 | .dev = { | ||
93 | .platform_data = &ap325rxa_nor_flash_data, | ||
94 | }, | ||
95 | }; | ||
96 | |||
97 | #define FPGA_LCDREG 0xB4100180 | ||
98 | #define FPGA_BKLREG 0xB4100212 | ||
99 | #define FPGA_LCDREG_VAL 0x0018 | ||
100 | #define PORT_PHCR 0xA405010E | ||
101 | #define PORT_PLCR 0xA4050114 | ||
102 | #define PORT_PMCR 0xA4050116 | ||
103 | #define PORT_PRCR 0xA405011C | ||
104 | #define PORT_PSCR 0xA405011E | ||
105 | #define PORT_PZCR 0xA405014C | ||
106 | #define PORT_HIZCRA 0xA4050158 | ||
107 | #define PORT_MSELCRB 0xA4050182 | ||
108 | #define PORT_PSDR 0xA405013E | ||
109 | #define PORT_PZDR 0xA405016C | ||
110 | #define PORT_PSELD 0xA4050154 | ||
111 | |||
112 | static void ap320_wvga_power_on(void *board_data) | ||
113 | { | ||
114 | msleep(100); | ||
115 | |||
116 | /* ASD AP-320/325 LCD ON */ | ||
117 | ctrl_outw(FPGA_LCDREG_VAL, FPGA_LCDREG); | ||
118 | |||
119 | /* backlight */ | ||
120 | ctrl_outw((ctrl_inw(PORT_PSCR) & ~0x00C0) | 0x40, PORT_PSCR); | ||
121 | ctrl_outb(ctrl_inb(PORT_PSDR) & ~0x08, PORT_PSDR); | ||
122 | ctrl_outw(0x100, FPGA_BKLREG); | ||
123 | } | ||
124 | |||
125 | static struct sh_mobile_lcdc_info lcdc_info = { | ||
126 | .clock_source = LCDC_CLK_EXTERNAL, | ||
127 | .ch[0] = { | ||
128 | .chan = LCDC_CHAN_MAINLCD, | ||
129 | .bpp = 16, | ||
130 | .interface_type = RGB18, | ||
131 | .clock_divider = 1, | ||
132 | .lcd_cfg = { | ||
133 | .name = "LB070WV1", | ||
134 | .xres = 800, | ||
135 | .yres = 480, | ||
136 | .left_margin = 40, | ||
137 | .right_margin = 160, | ||
138 | .hsync_len = 8, | ||
139 | .upper_margin = 63, | ||
140 | .lower_margin = 80, | ||
141 | .vsync_len = 1, | ||
142 | .sync = 0, /* hsync and vsync are active low */ | ||
143 | }, | ||
144 | .board_cfg = { | ||
145 | .display_on = ap320_wvga_power_on, | ||
146 | }, | ||
147 | } | ||
148 | }; | ||
149 | |||
150 | static struct resource lcdc_resources[] = { | ||
151 | [0] = { | ||
152 | .name = "LCDC", | ||
153 | .start = 0xfe940000, /* P4-only space */ | ||
154 | .end = 0xfe941fff, | ||
155 | .flags = IORESOURCE_MEM, | ||
156 | }, | ||
157 | }; | ||
158 | |||
159 | static struct platform_device lcdc_device = { | ||
160 | .name = "sh_mobile_lcdc_fb", | ||
161 | .num_resources = ARRAY_SIZE(lcdc_resources), | ||
162 | .resource = lcdc_resources, | ||
163 | .dev = { | ||
164 | .platform_data = &lcdc_info, | ||
165 | }, | ||
166 | }; | ||
167 | |||
168 | static unsigned char camera_ncm03j_magic[] = | ||
169 | { | ||
170 | 0x87, 0x00, 0x88, 0x08, 0x89, 0x01, 0x8A, 0xE8, | ||
171 | 0x1D, 0x00, 0x1E, 0x8A, 0x21, 0x00, 0x33, 0x36, | ||
172 | 0x36, 0x60, 0x37, 0x08, 0x3B, 0x31, 0x44, 0x0F, | ||
173 | 0x46, 0xF0, 0x4B, 0x28, 0x4C, 0x21, 0x4D, 0x55, | ||
174 | 0x4E, 0x1B, 0x4F, 0xC7, 0x50, 0xFC, 0x51, 0x12, | ||
175 | 0x58, 0x02, 0x66, 0xC0, 0x67, 0x46, 0x6B, 0xA0, | ||
176 | 0x6C, 0x34, 0x7E, 0x25, 0x7F, 0x25, 0x8D, 0x0F, | ||
177 | 0x92, 0x40, 0x93, 0x04, 0x94, 0x26, 0x95, 0x0A, | ||
178 | 0x99, 0x03, 0x9A, 0xF0, 0x9B, 0x14, 0x9D, 0x7A, | ||
179 | 0xC5, 0x02, 0xD6, 0x07, 0x59, 0x00, 0x5A, 0x1A, | ||
180 | 0x5B, 0x2A, 0x5C, 0x37, 0x5D, 0x42, 0x5E, 0x56, | ||
181 | 0xC8, 0x00, 0xC9, 0x1A, 0xCA, 0x2A, 0xCB, 0x37, | ||
182 | 0xCC, 0x42, 0xCD, 0x56, 0xCE, 0x00, 0xCF, 0x1A, | ||
183 | 0xD0, 0x2A, 0xD1, 0x37, 0xD2, 0x42, 0xD3, 0x56, | ||
184 | 0x5F, 0x68, 0x60, 0x87, 0x61, 0xA3, 0x62, 0xBC, | ||
185 | 0x63, 0xD4, 0x64, 0xEA, 0xD6, 0x0F, | ||
186 | }; | ||
187 | |||
188 | static int camera_set_capture(struct soc_camera_platform_info *info, | ||
189 | int enable) | ||
190 | { | ||
191 | struct i2c_adapter *a = i2c_get_adapter(0); | ||
192 | struct i2c_msg msg; | ||
193 | int ret = 0; | ||
194 | int i; | ||
195 | |||
196 | if (!enable) | ||
197 | return 0; /* no disable for now */ | ||
198 | |||
199 | for (i = 0; i < ARRAY_SIZE(camera_ncm03j_magic); i += 2) { | ||
200 | u_int8_t buf[8]; | ||
201 | |||
202 | msg.addr = 0x6e; | ||
203 | msg.buf = buf; | ||
204 | msg.len = 2; | ||
205 | msg.flags = 0; | ||
206 | |||
207 | buf[0] = camera_ncm03j_magic[i]; | ||
208 | buf[1] = camera_ncm03j_magic[i + 1]; | ||
209 | |||
210 | ret = (ret < 0) ? ret : i2c_transfer(a, &msg, 1); | ||
211 | } | ||
212 | |||
213 | return ret; | ||
214 | } | ||
215 | |||
216 | static struct soc_camera_platform_info camera_info = { | ||
217 | .iface = 0, | ||
218 | .format_name = "UYVY", | ||
219 | .format_depth = 16, | ||
220 | .format = { | ||
221 | .pixelformat = V4L2_PIX_FMT_UYVY, | ||
222 | .colorspace = V4L2_COLORSPACE_SMPTE170M, | ||
223 | .width = 640, | ||
224 | .height = 480, | ||
225 | }, | ||
226 | .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | | ||
227 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | ||
228 | .set_capture = camera_set_capture, | ||
229 | }; | ||
230 | |||
231 | static struct platform_device camera_device = { | ||
232 | .name = "soc_camera_platform", | ||
233 | .dev = { | ||
234 | .platform_data = &camera_info, | ||
235 | }, | ||
236 | }; | ||
237 | |||
238 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | ||
239 | .flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | | ||
240 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | ||
241 | }; | ||
242 | |||
243 | static struct resource ceu_resources[] = { | ||
244 | [0] = { | ||
245 | .name = "CEU", | ||
246 | .start = 0xfe910000, | ||
247 | .end = 0xfe91009f, | ||
248 | .flags = IORESOURCE_MEM, | ||
249 | }, | ||
250 | [1] = { | ||
251 | .start = 52, | ||
252 | .flags = IORESOURCE_IRQ, | ||
253 | }, | ||
254 | [2] = { | ||
255 | /* place holder for contiguous memory */ | ||
256 | }, | ||
257 | }; | ||
258 | |||
259 | static struct platform_device ceu_device = { | ||
260 | .name = "sh_mobile_ceu", | ||
261 | .num_resources = ARRAY_SIZE(ceu_resources), | ||
262 | .resource = ceu_resources, | ||
263 | .dev = { | ||
264 | .platform_data = &sh_mobile_ceu_info, | ||
265 | }, | ||
266 | }; | ||
267 | |||
268 | static struct platform_device *ap325rxa_devices[] __initdata = { | ||
269 | &smc9118_device, | ||
270 | &ap325rxa_nor_flash_device, | ||
271 | &lcdc_device, | ||
272 | &ceu_device, | ||
273 | &camera_device, | ||
274 | }; | ||
275 | |||
276 | static struct i2c_board_info __initdata ap325rxa_i2c_devices[] = { | ||
277 | }; | ||
278 | |||
279 | static int __init ap325rxa_devices_setup(void) | ||
280 | { | ||
281 | clk_always_enable("mstp200"); /* LCDC */ | ||
282 | clk_always_enable("mstp203"); /* CEU */ | ||
283 | |||
284 | platform_resource_setup_memory(&ceu_device, "ceu", 4 << 20); | ||
285 | |||
286 | i2c_register_board_info(0, ap325rxa_i2c_devices, | ||
287 | ARRAY_SIZE(ap325rxa_i2c_devices)); | ||
288 | |||
289 | return platform_add_devices(ap325rxa_devices, | ||
290 | ARRAY_SIZE(ap325rxa_devices)); | ||
291 | } | ||
292 | device_initcall(ap325rxa_devices_setup); | ||
293 | |||
294 | static void __init ap325rxa_setup(char **cmdline_p) | ||
295 | { | ||
296 | /* LCDC configuration */ | ||
297 | ctrl_outw(ctrl_inw(PORT_PHCR) & ~0xffff, PORT_PHCR); | ||
298 | ctrl_outw(ctrl_inw(PORT_PLCR) & ~0xffff, PORT_PLCR); | ||
299 | ctrl_outw(ctrl_inw(PORT_PMCR) & ~0xffff, PORT_PMCR); | ||
300 | ctrl_outw(ctrl_inw(PORT_PRCR) & ~0x03ff, PORT_PRCR); | ||
301 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x01C0, PORT_HIZCRA); | ||
302 | |||
303 | /* CEU */ | ||
304 | ctrl_outw(ctrl_inw(PORT_MSELCRB) & ~0x0001, PORT_MSELCRB); | ||
305 | ctrl_outw(ctrl_inw(PORT_PSELD) & ~0x0003, PORT_PSELD); | ||
306 | ctrl_outw((ctrl_inw(PORT_PZCR) & ~0xff00) | 0x5500, PORT_PZCR); | ||
307 | ctrl_outb((ctrl_inb(PORT_PZDR) & ~0xf0) | 0x20, PORT_PZDR); | ||
308 | } | ||
309 | |||
310 | static struct sh_machine_vector mv_ap325rxa __initmv = { | ||
311 | .mv_name = "AP-325RXA", | ||
312 | .mv_setup = ap325rxa_setup, | ||
313 | }; | ||
diff --git a/arch/sh/boards/renesas/migor/Kconfig b/arch/sh/boards/renesas/migor/Kconfig new file mode 100644 index 000000000000..a7b3b728ec3c --- /dev/null +++ b/arch/sh/boards/renesas/migor/Kconfig | |||
@@ -0,0 +1,15 @@ | |||
1 | if SH_MIGOR | ||
2 | |||
3 | choice | ||
4 | prompt "Migo-R LCD Panel Board Selection" | ||
5 | default SH_MIGOR_QVGA | ||
6 | |||
7 | config SH_MIGOR_QVGA | ||
8 | bool "QVGA (320x240)" | ||
9 | |||
10 | config SH_MIGOR_RTA_WVGA | ||
11 | bool "RTA WVGA (800x480)" | ||
12 | |||
13 | endchoice | ||
14 | |||
15 | endif | ||
diff --git a/arch/sh/boards/renesas/migor/Makefile b/arch/sh/boards/renesas/migor/Makefile index 77037567633b..5f231dd25c0e 100644 --- a/arch/sh/boards/renesas/migor/Makefile +++ b/arch/sh/boards/renesas/migor/Makefile | |||
@@ -1 +1,2 @@ | |||
1 | obj-y := setup.o | 1 | obj-y := setup.o |
2 | obj-$(CONFIG_SH_MIGOR_QVGA) += lcd_qvga.o | ||
diff --git a/arch/sh/boards/renesas/migor/lcd_qvga.c b/arch/sh/boards/renesas/migor/lcd_qvga.c new file mode 100644 index 000000000000..6e9609596448 --- /dev/null +++ b/arch/sh/boards/renesas/migor/lcd_qvga.c | |||
@@ -0,0 +1,165 @@ | |||
1 | /* | ||
2 | * Support for SuperH MigoR Quarter VGA LCD Panel | ||
3 | * | ||
4 | * Copyright (C) 2008 Magnus Damm | ||
5 | * | ||
6 | * Based on lcd_powertip.c from Kenati Technologies Pvt Ltd. | ||
7 | * Copyright (c) 2007 Ujjwal Pande <ujjwal@kenati.com>, | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | |||
14 | #include <linux/delay.h> | ||
15 | #include <linux/err.h> | ||
16 | #include <linux/fb.h> | ||
17 | #include <linux/init.h> | ||
18 | #include <linux/kernel.h> | ||
19 | #include <linux/module.h> | ||
20 | #include <asm/sh_mobile_lcdc.h> | ||
21 | #include <asm/migor.h> | ||
22 | |||
23 | /* LCD Module is a PH240320T according to board schematics. This module | ||
24 | * is made up of a 240x320 LCD hooked up to a R61505U (or HX8347-A01?) | ||
25 | * Driver IC. This IC is connected to the SH7722 built-in LCDC using a | ||
26 | * SYS-80 interface configured in 16 bit mode. | ||
27 | * | ||
28 | * Index 0: "Device Code Read" returns 0x1505. | ||
29 | */ | ||
30 | |||
31 | static void reset_lcd_module(void) | ||
32 | { | ||
33 | ctrl_outb(ctrl_inb(PORT_PHDR) & ~0x04, PORT_PHDR); | ||
34 | mdelay(2); | ||
35 | ctrl_outb(ctrl_inb(PORT_PHDR) | 0x04, PORT_PHDR); | ||
36 | mdelay(1); | ||
37 | } | ||
38 | |||
39 | /* DB0-DB7 are connected to D1-D8, and DB8-DB15 to D10-D17 */ | ||
40 | |||
41 | static unsigned long adjust_reg18(unsigned short data) | ||
42 | { | ||
43 | unsigned long tmp1, tmp2; | ||
44 | |||
45 | tmp1 = (data<<1 | 0x00000001) & 0x000001FF; | ||
46 | tmp2 = (data<<2 | 0x00000200) & 0x0003FE00; | ||
47 | return tmp1 | tmp2; | ||
48 | } | ||
49 | |||
50 | static void write_reg(void *sys_ops_handle, | ||
51 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops, | ||
52 | unsigned short reg, unsigned short data) | ||
53 | { | ||
54 | sys_ops->write_index(sys_ops_handle, adjust_reg18(reg << 8 | data)); | ||
55 | } | ||
56 | |||
57 | static void write_reg16(void *sys_ops_handle, | ||
58 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops, | ||
59 | unsigned short reg, unsigned short data) | ||
60 | { | ||
61 | sys_ops->write_index(sys_ops_handle, adjust_reg18(reg)); | ||
62 | sys_ops->write_data(sys_ops_handle, adjust_reg18(data)); | ||
63 | } | ||
64 | |||
65 | static unsigned long read_reg16(void *sys_ops_handle, | ||
66 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops, | ||
67 | unsigned short reg) | ||
68 | { | ||
69 | unsigned long data; | ||
70 | |||
71 | sys_ops->write_index(sys_ops_handle, adjust_reg18(reg)); | ||
72 | data = sys_ops->read_data(sys_ops_handle); | ||
73 | return ((data >> 1) & 0xff) | ((data >> 2) & 0xff00); | ||
74 | } | ||
75 | |||
76 | static void migor_lcd_qvga_seq(void *sys_ops_handle, | ||
77 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops, | ||
78 | unsigned short const *data, int no_data) | ||
79 | { | ||
80 | int i; | ||
81 | |||
82 | for (i = 0; i < no_data; i += 2) | ||
83 | write_reg16(sys_ops_handle, sys_ops, data[i], data[i + 1]); | ||
84 | } | ||
85 | |||
86 | static const unsigned short sync_data[] = { | ||
87 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | ||
88 | }; | ||
89 | |||
90 | static const unsigned short magic0_data[] = { | ||
91 | 0x0060, 0x2700, 0x0008, 0x0808, 0x0090, 0x001A, 0x0007, 0x0001, | ||
92 | 0x0017, 0x0001, 0x0019, 0x0000, 0x0010, 0x17B0, 0x0011, 0x0116, | ||
93 | 0x0012, 0x0198, 0x0013, 0x1400, 0x0029, 0x000C, 0x0012, 0x01B8, | ||
94 | }; | ||
95 | |||
96 | static const unsigned short magic1_data[] = { | ||
97 | 0x0030, 0x0307, 0x0031, 0x0303, 0x0032, 0x0603, 0x0033, 0x0202, | ||
98 | 0x0034, 0x0202, 0x0035, 0x0202, 0x0036, 0x1F1F, 0x0037, 0x0303, | ||
99 | 0x0038, 0x0303, 0x0039, 0x0603, 0x003A, 0x0202, 0x003B, 0x0102, | ||
100 | 0x003C, 0x0204, 0x003D, 0x0000, 0x0001, 0x0100, 0x0002, 0x0300, | ||
101 | 0x0003, 0x5028, 0x0020, 0x00ef, 0x0021, 0x0000, 0x0004, 0x0000, | ||
102 | 0x0009, 0x0000, 0x000A, 0x0008, 0x000C, 0x0000, 0x000D, 0x0000, | ||
103 | 0x0015, 0x8000, | ||
104 | }; | ||
105 | |||
106 | static const unsigned short magic2_data[] = { | ||
107 | 0x0061, 0x0001, 0x0092, 0x0100, 0x0093, 0x0001, 0x0007, 0x0021, | ||
108 | }; | ||
109 | |||
110 | static const unsigned short magic3_data[] = { | ||
111 | 0x0010, 0x16B0, 0x0011, 0x0111, 0x0007, 0x0061, | ||
112 | }; | ||
113 | |||
114 | int migor_lcd_qvga_setup(void *board_data, void *sohandle, | ||
115 | struct sh_mobile_lcdc_sys_bus_ops *so) | ||
116 | { | ||
117 | unsigned long xres = 320; | ||
118 | unsigned long yres = 240; | ||
119 | int k; | ||
120 | |||
121 | reset_lcd_module(); | ||
122 | migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); | ||
123 | |||
124 | if (read_reg16(sohandle, so, 0) != 0x1505) | ||
125 | return -ENODEV; | ||
126 | |||
127 | pr_info("Migo-R QVGA LCD Module detected.\n"); | ||
128 | |||
129 | migor_lcd_qvga_seq(sohandle, so, sync_data, ARRAY_SIZE(sync_data)); | ||
130 | write_reg16(sohandle, so, 0x00A4, 0x0001); | ||
131 | mdelay(10); | ||
132 | |||
133 | migor_lcd_qvga_seq(sohandle, so, magic0_data, ARRAY_SIZE(magic0_data)); | ||
134 | mdelay(100); | ||
135 | |||
136 | migor_lcd_qvga_seq(sohandle, so, magic1_data, ARRAY_SIZE(magic1_data)); | ||
137 | write_reg16(sohandle, so, 0x0050, 0xef - (yres - 1)); | ||
138 | write_reg16(sohandle, so, 0x0051, 0x00ef); | ||
139 | write_reg16(sohandle, so, 0x0052, 0x0000); | ||
140 | write_reg16(sohandle, so, 0x0053, xres - 1); | ||
141 | |||
142 | migor_lcd_qvga_seq(sohandle, so, magic2_data, ARRAY_SIZE(magic2_data)); | ||
143 | mdelay(10); | ||
144 | |||
145 | migor_lcd_qvga_seq(sohandle, so, magic3_data, ARRAY_SIZE(magic3_data)); | ||
146 | mdelay(40); | ||
147 | |||
148 | /* clear GRAM to avoid displaying garbage */ | ||
149 | |||
150 | write_reg16(sohandle, so, 0x0020, 0x0000); /* horiz addr */ | ||
151 | write_reg16(sohandle, so, 0x0021, 0x0000); /* vert addr */ | ||
152 | |||
153 | for (k = 0; k < (xres * 256); k++) /* yes, 256 words per line */ | ||
154 | write_reg16(sohandle, so, 0x0022, 0x0000); | ||
155 | |||
156 | write_reg16(sohandle, so, 0x0020, 0x0000); /* reset horiz addr */ | ||
157 | write_reg16(sohandle, so, 0x0021, 0x0000); /* reset vert addr */ | ||
158 | write_reg16(sohandle, so, 0x0007, 0x0173); | ||
159 | mdelay(40); | ||
160 | |||
161 | /* enable display */ | ||
162 | write_reg(sohandle, so, 0x00, 0x22); | ||
163 | mdelay(100); | ||
164 | return 0; | ||
165 | } | ||
diff --git a/arch/sh/boards/renesas/migor/setup.c b/arch/sh/boards/renesas/migor/setup.c index 963c99322095..7bd365ad2d06 100644 --- a/arch/sh/boards/renesas/migor/setup.c +++ b/arch/sh/boards/renesas/migor/setup.c | |||
@@ -15,9 +15,15 @@ | |||
15 | #include <linux/mtd/nand.h> | 15 | #include <linux/mtd/nand.h> |
16 | #include <linux/i2c.h> | 16 | #include <linux/i2c.h> |
17 | #include <linux/smc91x.h> | 17 | #include <linux/smc91x.h> |
18 | #include <linux/delay.h> | ||
19 | #include <linux/clk.h> | ||
20 | #include <media/soc_camera_platform.h> | ||
21 | #include <media/sh_mobile_ceu.h> | ||
22 | #include <asm/clock.h> | ||
18 | #include <asm/machvec.h> | 23 | #include <asm/machvec.h> |
19 | #include <asm/io.h> | 24 | #include <asm/io.h> |
20 | #include <asm/sh_keysc.h> | 25 | #include <asm/sh_keysc.h> |
26 | #include <asm/sh_mobile_lcdc.h> | ||
21 | #include <asm/migor.h> | 27 | #include <asm/migor.h> |
22 | 28 | ||
23 | /* Address IRQ Size Bus Description | 29 | /* Address IRQ Size Bus Description |
@@ -198,14 +204,237 @@ static struct platform_device migor_nand_flash_device = { | |||
198 | } | 204 | } |
199 | }; | 205 | }; |
200 | 206 | ||
207 | static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = { | ||
208 | #ifdef CONFIG_SH_MIGOR_RTA_WVGA | ||
209 | .clock_source = LCDC_CLK_BUS, | ||
210 | .ch[0] = { | ||
211 | .chan = LCDC_CHAN_MAINLCD, | ||
212 | .bpp = 16, | ||
213 | .interface_type = RGB16, | ||
214 | .clock_divider = 2, | ||
215 | .lcd_cfg = { | ||
216 | .name = "LB070WV1", | ||
217 | .xres = 800, | ||
218 | .yres = 480, | ||
219 | .left_margin = 64, | ||
220 | .right_margin = 16, | ||
221 | .hsync_len = 120, | ||
222 | .upper_margin = 1, | ||
223 | .lower_margin = 17, | ||
224 | .vsync_len = 2, | ||
225 | .sync = 0, | ||
226 | }, | ||
227 | } | ||
228 | #endif | ||
229 | #ifdef CONFIG_SH_MIGOR_QVGA | ||
230 | .clock_source = LCDC_CLK_PERIPHERAL, | ||
231 | .ch[0] = { | ||
232 | .chan = LCDC_CHAN_MAINLCD, | ||
233 | .bpp = 16, | ||
234 | .interface_type = SYS16A, | ||
235 | .clock_divider = 10, | ||
236 | .lcd_cfg = { | ||
237 | .name = "PH240320T", | ||
238 | .xres = 320, | ||
239 | .yres = 240, | ||
240 | .left_margin = 0, | ||
241 | .right_margin = 16, | ||
242 | .hsync_len = 8, | ||
243 | .upper_margin = 1, | ||
244 | .lower_margin = 17, | ||
245 | .vsync_len = 2, | ||
246 | .sync = FB_SYNC_HOR_HIGH_ACT, | ||
247 | }, | ||
248 | .board_cfg = { | ||
249 | .setup_sys = migor_lcd_qvga_setup, | ||
250 | }, | ||
251 | .sys_bus_cfg = { | ||
252 | .ldmt2r = 0x06000a09, | ||
253 | .ldmt3r = 0x180e3418, | ||
254 | }, | ||
255 | } | ||
256 | #endif | ||
257 | }; | ||
258 | |||
259 | static struct resource migor_lcdc_resources[] = { | ||
260 | [0] = { | ||
261 | .name = "LCDC", | ||
262 | .start = 0xfe940000, /* P4-only space */ | ||
263 | .end = 0xfe941fff, | ||
264 | .flags = IORESOURCE_MEM, | ||
265 | }, | ||
266 | }; | ||
267 | |||
268 | static struct platform_device migor_lcdc_device = { | ||
269 | .name = "sh_mobile_lcdc_fb", | ||
270 | .num_resources = ARRAY_SIZE(migor_lcdc_resources), | ||
271 | .resource = migor_lcdc_resources, | ||
272 | .dev = { | ||
273 | .platform_data = &sh_mobile_lcdc_info, | ||
274 | }, | ||
275 | }; | ||
276 | |||
277 | static struct clk *camera_clk; | ||
278 | |||
279 | static void camera_power_on(void) | ||
280 | { | ||
281 | unsigned char value; | ||
282 | |||
283 | camera_clk = clk_get(NULL, "video_clk"); | ||
284 | clk_set_rate(camera_clk, 24000000); | ||
285 | clk_enable(camera_clk); /* start VIO_CKO */ | ||
286 | |||
287 | mdelay(10); | ||
288 | value = ctrl_inb(PORT_PTDR); | ||
289 | value &= ~0x09; | ||
290 | #ifndef CONFIG_SH_MIGOR_RTA_WVGA | ||
291 | value |= 0x01; | ||
292 | #endif | ||
293 | ctrl_outb(value, PORT_PTDR); | ||
294 | mdelay(10); | ||
295 | |||
296 | ctrl_outb(value | 8, PORT_PTDR); | ||
297 | } | ||
298 | |||
299 | static void camera_power_off(void) | ||
300 | { | ||
301 | clk_disable(camera_clk); /* stop VIO_CKO */ | ||
302 | clk_put(camera_clk); | ||
303 | |||
304 | ctrl_outb(ctrl_inb(PORT_PTDR) & ~0x08, PORT_PTDR); | ||
305 | } | ||
306 | |||
307 | static unsigned char camera_ov772x_magic[] = | ||
308 | { | ||
309 | 0x09, 0x01, 0x0c, 0x10, 0x0d, 0x41, 0x0e, 0x01, | ||
310 | 0x12, 0x00, 0x13, 0x8F, 0x14, 0x4A, 0x15, 0x00, | ||
311 | 0x16, 0x00, 0x17, 0x23, 0x18, 0xa0, 0x19, 0x07, | ||
312 | 0x1a, 0xf0, 0x1b, 0x40, 0x1f, 0x00, 0x20, 0x10, | ||
313 | 0x22, 0xff, 0x23, 0x01, 0x28, 0x00, 0x29, 0xa0, | ||
314 | 0x2a, 0x00, 0x2b, 0x00, 0x2c, 0xf0, 0x2d, 0x00, | ||
315 | 0x2e, 0x00, 0x30, 0x80, 0x31, 0x60, 0x32, 0x00, | ||
316 | 0x33, 0x00, 0x34, 0x00, 0x3d, 0x80, 0x3e, 0xe2, | ||
317 | 0x3f, 0x1f, 0x42, 0x80, 0x43, 0x80, 0x44, 0x80, | ||
318 | 0x45, 0x80, 0x46, 0x00, 0x47, 0x00, 0x48, 0x00, | ||
319 | 0x49, 0x50, 0x4a, 0x30, 0x4b, 0x50, 0x4c, 0x50, | ||
320 | 0x4d, 0x00, 0x4e, 0xef, 0x4f, 0x10, 0x50, 0x60, | ||
321 | 0x51, 0x00, 0x52, 0x00, 0x53, 0x24, 0x54, 0x7a, | ||
322 | 0x55, 0xfc, 0x62, 0xff, 0x63, 0xf0, 0x64, 0x1f, | ||
323 | 0x65, 0x00, 0x66, 0x10, 0x67, 0x00, 0x68, 0x00, | ||
324 | 0x69, 0x5c, 0x6a, 0x11, 0x6b, 0xa2, 0x6c, 0x01, | ||
325 | 0x6d, 0x50, 0x6e, 0x80, 0x6f, 0x80, 0x70, 0x0f, | ||
326 | 0x71, 0x00, 0x72, 0x00, 0x73, 0x0f, 0x74, 0x0f, | ||
327 | 0x75, 0xff, 0x78, 0x10, 0x79, 0x70, 0x7a, 0x70, | ||
328 | 0x7b, 0xf0, 0x7c, 0xf0, 0x7d, 0xf0, 0x7e, 0x0e, | ||
329 | 0x7f, 0x1a, 0x80, 0x31, 0x81, 0x5a, 0x82, 0x69, | ||
330 | 0x83, 0x75, 0x84, 0x7e, 0x85, 0x88, 0x86, 0x8f, | ||
331 | 0x87, 0x96, 0x88, 0xa3, 0x89, 0xaf, 0x8a, 0xc4, | ||
332 | 0x8b, 0xd7, 0x8c, 0xe8, 0x8d, 0x20, 0x8e, 0x00, | ||
333 | 0x8f, 0x00, 0x90, 0x08, 0x91, 0x10, 0x92, 0x1f, | ||
334 | 0x93, 0x01, 0x94, 0x2c, 0x95, 0x24, 0x96, 0x08, | ||
335 | 0x97, 0x14, 0x98, 0x24, 0x99, 0x38, 0x9a, 0x9e, | ||
336 | 0x9b, 0x00, 0x9c, 0x40, 0x9e, 0x11, 0x9f, 0x02, | ||
337 | 0xa0, 0x00, 0xa1, 0x40, 0xa2, 0x40, 0xa3, 0x06, | ||
338 | 0xa4, 0x00, 0xa6, 0x00, 0xa7, 0x40, 0xa8, 0x40, | ||
339 | 0xa9, 0x80, 0xaa, 0x80, 0xab, 0x06, 0xac, 0xff, | ||
340 | 0x12, 0x06, 0x64, 0x3f, 0x12, 0x46, 0x17, 0x3f, | ||
341 | 0x18, 0x50, 0x19, 0x03, 0x1a, 0x78, 0x29, 0x50, | ||
342 | 0x2c, 0x78, | ||
343 | }; | ||
344 | |||
345 | static int ov772x_set_capture(struct soc_camera_platform_info *info, | ||
346 | int enable) | ||
347 | { | ||
348 | struct i2c_adapter *a = i2c_get_adapter(0); | ||
349 | struct i2c_msg msg; | ||
350 | int ret = 0; | ||
351 | int i; | ||
352 | |||
353 | if (!enable) | ||
354 | return 0; /* camera_power_off() is enough */ | ||
355 | |||
356 | for (i = 0; i < ARRAY_SIZE(camera_ov772x_magic); i += 2) { | ||
357 | u_int8_t buf[8]; | ||
358 | |||
359 | msg.addr = 0x21; | ||
360 | msg.buf = buf; | ||
361 | msg.len = 2; | ||
362 | msg.flags = 0; | ||
363 | |||
364 | buf[0] = camera_ov772x_magic[i]; | ||
365 | buf[1] = camera_ov772x_magic[i + 1]; | ||
366 | |||
367 | ret = (ret < 0) ? ret : i2c_transfer(a, &msg, 1); | ||
368 | } | ||
369 | |||
370 | return ret; | ||
371 | } | ||
372 | |||
373 | static struct soc_camera_platform_info ov772x_info = { | ||
374 | .iface = 0, | ||
375 | .format_name = "RGB565", | ||
376 | .format_depth = 16, | ||
377 | .format = { | ||
378 | .pixelformat = V4L2_PIX_FMT_RGB565, | ||
379 | .colorspace = V4L2_COLORSPACE_SRGB, | ||
380 | .width = 320, | ||
381 | .height = 240, | ||
382 | }, | ||
383 | .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | | ||
384 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | ||
385 | .set_capture = ov772x_set_capture, | ||
386 | }; | ||
387 | |||
388 | static struct platform_device migor_camera_device = { | ||
389 | .name = "soc_camera_platform", | ||
390 | .dev = { | ||
391 | .platform_data = &ov772x_info, | ||
392 | }, | ||
393 | }; | ||
394 | |||
395 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | ||
396 | .flags = SOCAM_MASTER | SOCAM_DATAWIDTH_8 | SOCAM_PCLK_SAMPLE_RISING \ | ||
397 | | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH, | ||
398 | .enable_camera = camera_power_on, | ||
399 | .disable_camera = camera_power_off, | ||
400 | }; | ||
401 | |||
402 | static struct resource migor_ceu_resources[] = { | ||
403 | [0] = { | ||
404 | .name = "CEU", | ||
405 | .start = 0xfe910000, | ||
406 | .end = 0xfe91009f, | ||
407 | .flags = IORESOURCE_MEM, | ||
408 | }, | ||
409 | [1] = { | ||
410 | .start = 52, | ||
411 | .flags = IORESOURCE_IRQ, | ||
412 | }, | ||
413 | [2] = { | ||
414 | /* place holder for contiguous memory */ | ||
415 | }, | ||
416 | }; | ||
417 | |||
418 | static struct platform_device migor_ceu_device = { | ||
419 | .name = "sh_mobile_ceu", | ||
420 | .num_resources = ARRAY_SIZE(migor_ceu_resources), | ||
421 | .resource = migor_ceu_resources, | ||
422 | .dev = { | ||
423 | .platform_data = &sh_mobile_ceu_info, | ||
424 | }, | ||
425 | }; | ||
426 | |||
201 | static struct platform_device *migor_devices[] __initdata = { | 427 | static struct platform_device *migor_devices[] __initdata = { |
202 | &smc91x_eth_device, | 428 | &smc91x_eth_device, |
203 | &sh_keysc_device, | 429 | &sh_keysc_device, |
430 | &migor_lcdc_device, | ||
431 | &migor_ceu_device, | ||
432 | &migor_camera_device, | ||
204 | &migor_nor_flash_device, | 433 | &migor_nor_flash_device, |
205 | &migor_nand_flash_device, | 434 | &migor_nand_flash_device, |
206 | }; | 435 | }; |
207 | 436 | ||
208 | static struct i2c_board_info __initdata migor_i2c_devices[] = { | 437 | static struct i2c_board_info migor_i2c_devices[] = { |
209 | { | 438 | { |
210 | I2C_BOARD_INFO("rs5c372b", 0x32), | 439 | I2C_BOARD_INFO("rs5c372b", 0x32), |
211 | }, | 440 | }, |
@@ -217,6 +446,12 @@ static struct i2c_board_info __initdata migor_i2c_devices[] = { | |||
217 | 446 | ||
218 | static int __init migor_devices_setup(void) | 447 | static int __init migor_devices_setup(void) |
219 | { | 448 | { |
449 | clk_always_enable("mstp214"); /* KEYSC */ | ||
450 | clk_always_enable("mstp200"); /* LCDC */ | ||
451 | clk_always_enable("mstp203"); /* CEU */ | ||
452 | |||
453 | platform_resource_setup_memory(&migor_ceu_device, "ceu", 4 << 20); | ||
454 | |||
220 | i2c_register_board_info(0, migor_i2c_devices, | 455 | i2c_register_board_info(0, migor_i2c_devices, |
221 | ARRAY_SIZE(migor_i2c_devices)); | 456 | ARRAY_SIZE(migor_i2c_devices)); |
222 | 457 | ||
@@ -235,20 +470,51 @@ static void __init migor_setup(char **cmdline_p) | |||
235 | ctrl_outw(ctrl_inw(PORT_PSELA) & ~0x4100, PORT_PSELA); | 470 | ctrl_outw(ctrl_inw(PORT_PSELA) & ~0x4100, PORT_PSELA); |
236 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x4000, PORT_HIZCRA); | 471 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x4000, PORT_HIZCRA); |
237 | ctrl_outw(ctrl_inw(PORT_HIZCRC) & ~0xc000, PORT_HIZCRC); | 472 | ctrl_outw(ctrl_inw(PORT_HIZCRC) & ~0xc000, PORT_HIZCRC); |
238 | ctrl_outl(ctrl_inl(MSTPCR2) & ~0x00004000, MSTPCR2); | ||
239 | 473 | ||
240 | /* NAND Flash */ | 474 | /* NAND Flash */ |
241 | ctrl_outw(ctrl_inw(PORT_PXCR) & 0x0fff, PORT_PXCR); | 475 | ctrl_outw(ctrl_inw(PORT_PXCR) & 0x0fff, PORT_PXCR); |
242 | ctrl_outl((ctrl_inl(BSC_CS6ABCR) & ~0x00000600) | 0x00000200, | 476 | ctrl_outl((ctrl_inl(BSC_CS6ABCR) & ~0x00000600) | 0x00000200, |
243 | BSC_CS6ABCR); | 477 | BSC_CS6ABCR); |
244 | 478 | ||
245 | /* I2C */ | ||
246 | ctrl_outl(ctrl_inl(MSTPCR1) & ~0x00000200, MSTPCR1); | ||
247 | |||
248 | /* Touch Panel - Enable IRQ6 */ | 479 | /* Touch Panel - Enable IRQ6 */ |
249 | ctrl_outw(ctrl_inw(PORT_PZCR) & ~0xc, PORT_PZCR); | 480 | ctrl_outw(ctrl_inw(PORT_PZCR) & ~0xc, PORT_PZCR); |
250 | ctrl_outw((ctrl_inw(PORT_PSELA) | 0x8000), PORT_PSELA); | 481 | ctrl_outw((ctrl_inw(PORT_PSELA) | 0x8000), PORT_PSELA); |
251 | ctrl_outw((ctrl_inw(PORT_HIZCRC) & ~0x4000), PORT_HIZCRC); | 482 | ctrl_outw((ctrl_inw(PORT_HIZCRC) & ~0x4000), PORT_HIZCRC); |
483 | |||
484 | #ifdef CONFIG_SH_MIGOR_RTA_WVGA | ||
485 | /* LCDC - WVGA - Enable RGB Interface signals */ | ||
486 | ctrl_outw(ctrl_inw(PORT_PACR) & ~0x0003, PORT_PACR); | ||
487 | ctrl_outw(0x0000, PORT_PHCR); | ||
488 | ctrl_outw(0x0000, PORT_PLCR); | ||
489 | ctrl_outw(0x0000, PORT_PMCR); | ||
490 | ctrl_outw(ctrl_inw(PORT_PRCR) & ~0x000f, PORT_PRCR); | ||
491 | ctrl_outw((ctrl_inw(PORT_PSELD) & ~0x000d) | 0x0400, PORT_PSELD); | ||
492 | ctrl_outw(ctrl_inw(PORT_MSELCRB) & ~0x0100, PORT_MSELCRB); | ||
493 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x01e0, PORT_HIZCRA); | ||
494 | #endif | ||
495 | #ifdef CONFIG_SH_MIGOR_QVGA | ||
496 | /* LCDC - QVGA - Enable SYS Interface signals */ | ||
497 | ctrl_outw(ctrl_inw(PORT_PACR) & ~0x0003, PORT_PACR); | ||
498 | ctrl_outw((ctrl_inw(PORT_PHCR) & ~0xcfff) | 0x0010, PORT_PHCR); | ||
499 | ctrl_outw(0x0000, PORT_PLCR); | ||
500 | ctrl_outw(0x0000, PORT_PMCR); | ||
501 | ctrl_outw(ctrl_inw(PORT_PRCR) & ~0x030f, PORT_PRCR); | ||
502 | ctrl_outw((ctrl_inw(PORT_PSELD) & ~0x0001) | 0x0420, PORT_PSELD); | ||
503 | ctrl_outw(ctrl_inw(PORT_MSELCRB) | 0x0100, PORT_MSELCRB); | ||
504 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x01e0, PORT_HIZCRA); | ||
505 | #endif | ||
506 | |||
507 | /* CEU */ | ||
508 | ctrl_outw((ctrl_inw(PORT_PTCR) & ~0x03c3) | 0x0051, PORT_PTCR); | ||
509 | ctrl_outw(ctrl_inw(PORT_PUCR) & ~0x03ff, PORT_PUCR); | ||
510 | ctrl_outw(ctrl_inw(PORT_PVCR) & ~0x03ff, PORT_PVCR); | ||
511 | ctrl_outw(ctrl_inw(PORT_PWCR) & ~0x3c00, PORT_PWCR); | ||
512 | ctrl_outw(ctrl_inw(PORT_PSELC) | 0x0001, PORT_PSELC); | ||
513 | ctrl_outw(ctrl_inw(PORT_PSELD) & ~0x2000, PORT_PSELD); | ||
514 | ctrl_outw(ctrl_inw(PORT_PSELE) | 0x000f, PORT_PSELE); | ||
515 | ctrl_outw(ctrl_inw(PORT_MSELCRB) | 0x2200, PORT_MSELCRB); | ||
516 | ctrl_outw(ctrl_inw(PORT_HIZCRA) & ~0x0a00, PORT_HIZCRA); | ||
517 | ctrl_outw(ctrl_inw(PORT_HIZCRB) & ~0x0003, PORT_HIZCRB); | ||
252 | } | 518 | } |
253 | 519 | ||
254 | static struct sh_machine_vector mv_migor __initmv = { | 520 | static struct sh_machine_vector mv_migor __initmv = { |
diff --git a/arch/sh/boards/renesas/rsk7203/Makefile b/arch/sh/boards/renesas/rsk7203/Makefile new file mode 100644 index 000000000000..f663768429f0 --- /dev/null +++ b/arch/sh/boards/renesas/rsk7203/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y := setup.o | |||
diff --git a/arch/sh/boards/renesas/rsk7203/setup.c b/arch/sh/boards/renesas/rsk7203/setup.c new file mode 100644 index 000000000000..0bbda04b03b9 --- /dev/null +++ b/arch/sh/boards/renesas/rsk7203/setup.c | |||
@@ -0,0 +1,126 @@ | |||
1 | /* | ||
2 | * Renesas Technology Europe RSK+ 7203 Support. | ||
3 | * | ||
4 | * Copyright (C) 2008 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/init.h> | ||
11 | #include <linux/types.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | #include <linux/mtd/mtd.h> | ||
14 | #include <linux/mtd/partitions.h> | ||
15 | #include <linux/mtd/physmap.h> | ||
16 | #include <linux/mtd/map.h> | ||
17 | #include <asm/machvec.h> | ||
18 | #include <asm/io.h> | ||
19 | |||
20 | static struct resource smc911x_resources[] = { | ||
21 | [0] = { | ||
22 | .start = 0x24000000, | ||
23 | .end = 0x24000000 + 0x100, | ||
24 | .flags = IORESOURCE_MEM, | ||
25 | }, | ||
26 | [1] = { | ||
27 | .start = 64, | ||
28 | .end = 64, | ||
29 | .flags = IORESOURCE_IRQ, | ||
30 | }, | ||
31 | }; | ||
32 | |||
33 | static struct platform_device smc911x_device = { | ||
34 | .name = "smc911x", | ||
35 | .id = -1, | ||
36 | .num_resources = ARRAY_SIZE(smc911x_resources), | ||
37 | .resource = smc911x_resources, | ||
38 | }; | ||
39 | |||
40 | static const char *probes[] = { "cmdlinepart", NULL }; | ||
41 | |||
42 | static struct mtd_partition *parsed_partitions; | ||
43 | |||
44 | static struct mtd_partition rsk7203_partitions[] = { | ||
45 | { | ||
46 | .name = "Bootloader", | ||
47 | .offset = 0x00000000, | ||
48 | .size = 0x00040000, | ||
49 | .mask_flags = MTD_WRITEABLE, | ||
50 | }, { | ||
51 | .name = "Kernel", | ||
52 | .offset = MTDPART_OFS_NXTBLK, | ||
53 | .size = 0x001c0000, | ||
54 | }, { | ||
55 | .name = "Flash_FS", | ||
56 | .offset = MTDPART_OFS_NXTBLK, | ||
57 | .size = MTDPART_SIZ_FULL, | ||
58 | } | ||
59 | }; | ||
60 | |||
61 | static struct physmap_flash_data flash_data = { | ||
62 | .width = 2, | ||
63 | }; | ||
64 | |||
65 | static struct resource flash_resource = { | ||
66 | .start = 0x20000000, | ||
67 | .end = 0x20400000, | ||
68 | .flags = IORESOURCE_MEM, | ||
69 | }; | ||
70 | |||
71 | static struct platform_device flash_device = { | ||
72 | .name = "physmap-flash", | ||
73 | .id = -1, | ||
74 | .resource = &flash_resource, | ||
75 | .num_resources = 1, | ||
76 | .dev = { | ||
77 | .platform_data = &flash_data, | ||
78 | }, | ||
79 | }; | ||
80 | |||
81 | static struct mtd_info *flash_mtd; | ||
82 | |||
83 | static struct map_info rsk7203_flash_map = { | ||
84 | .name = "RSK+ Flash", | ||
85 | .size = 0x400000, | ||
86 | .bankwidth = 2, | ||
87 | }; | ||
88 | |||
89 | static void __init set_mtd_partitions(void) | ||
90 | { | ||
91 | int nr_parts = 0; | ||
92 | |||
93 | simple_map_init(&rsk7203_flash_map); | ||
94 | flash_mtd = do_map_probe("cfi_probe", &rsk7203_flash_map); | ||
95 | nr_parts = parse_mtd_partitions(flash_mtd, probes, | ||
96 | &parsed_partitions, 0); | ||
97 | /* If there is no partition table, used the hard coded table */ | ||
98 | if (nr_parts <= 0) { | ||
99 | flash_data.parts = rsk7203_partitions; | ||
100 | flash_data.nr_parts = ARRAY_SIZE(rsk7203_partitions); | ||
101 | } else { | ||
102 | flash_data.nr_parts = nr_parts; | ||
103 | flash_data.parts = parsed_partitions; | ||
104 | } | ||
105 | } | ||
106 | |||
107 | |||
108 | static struct platform_device *rsk7203_devices[] __initdata = { | ||
109 | &smc911x_device, | ||
110 | &flash_device, | ||
111 | }; | ||
112 | |||
113 | static int __init rsk7203_devices_setup(void) | ||
114 | { | ||
115 | set_mtd_partitions(); | ||
116 | return platform_add_devices(rsk7203_devices, | ||
117 | ARRAY_SIZE(rsk7203_devices)); | ||
118 | } | ||
119 | device_initcall(rsk7203_devices_setup); | ||
120 | |||
121 | /* | ||
122 | * The Machine Vector | ||
123 | */ | ||
124 | static struct sh_machine_vector mv_rsk7203 __initmv = { | ||
125 | .mv_name = "RSK+7203", | ||
126 | }; | ||
diff --git a/arch/sh/boards/renesas/sh7763rdp/Makefile b/arch/sh/boards/renesas/sh7763rdp/Makefile new file mode 100644 index 000000000000..f6c0b55516d2 --- /dev/null +++ b/arch/sh/boards/renesas/sh7763rdp/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y := setup.o irq.o | |||
diff --git a/arch/sh/boards/renesas/sh7763rdp/irq.c b/arch/sh/boards/renesas/sh7763rdp/irq.c new file mode 100644 index 000000000000..fd850bad2dec --- /dev/null +++ b/arch/sh/boards/renesas/sh7763rdp/irq.c | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/renesas/sh7763rdp/irq.c | ||
3 | * | ||
4 | * Renesas Solutions SH7763RDP Support. | ||
5 | * | ||
6 | * Copyright (C) 2008 Renesas Solutions Corp. | ||
7 | * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | ||
8 | * | ||
9 | * This file is subject to the terms and conditions of the GNU General Public | ||
10 | * License. See the file "COPYING" in the main directory of this archive | ||
11 | * for more details. | ||
12 | */ | ||
13 | |||
14 | #include <linux/init.h> | ||
15 | #include <linux/irq.h> | ||
16 | #include <asm/io.h> | ||
17 | #include <asm/irq.h> | ||
18 | #include <asm/sh7763rdp.h> | ||
19 | |||
20 | #define INTC_BASE (0xFFD00000) | ||
21 | #define INTC_INT2PRI7 (INTC_BASE+0x4001C) | ||
22 | #define INTC_INT2MSKCR (INTC_BASE+0x4003C) | ||
23 | #define INTC_INT2MSKCR1 (INTC_BASE+0x400D4) | ||
24 | |||
25 | /* | ||
26 | * Initialize IRQ setting | ||
27 | */ | ||
28 | void __init init_sh7763rdp_IRQ(void) | ||
29 | { | ||
30 | /* GPIO enabled */ | ||
31 | ctrl_outl(1 << 25, INTC_INT2MSKCR); | ||
32 | |||
33 | /* enable GPIO interrupts */ | ||
34 | ctrl_outl((ctrl_inl(INTC_INT2PRI7) & 0xFF00FFFF) | 0x000F0000, | ||
35 | INTC_INT2PRI7); | ||
36 | |||
37 | /* USBH enabled */ | ||
38 | ctrl_outl(1 << 17, INTC_INT2MSKCR1); | ||
39 | |||
40 | /* GETHER enabled */ | ||
41 | ctrl_outl(1 << 16, INTC_INT2MSKCR1); | ||
42 | |||
43 | /* DMAC enabled */ | ||
44 | ctrl_outl(1 << 8, INTC_INT2MSKCR); | ||
45 | } | ||
diff --git a/arch/sh/boards/renesas/sh7763rdp/setup.c b/arch/sh/boards/renesas/sh7763rdp/setup.c new file mode 100644 index 000000000000..925f16af7121 --- /dev/null +++ b/arch/sh/boards/renesas/sh7763rdp/setup.c | |||
@@ -0,0 +1,128 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/renesas/sh7763rdp/setup.c | ||
3 | * | ||
4 | * Renesas Solutions sh7763rdp board | ||
5 | * | ||
6 | * Copyright (C) 2008 Renesas Solutions Corp. | ||
7 | * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | ||
8 | * | ||
9 | * This file is subject to the terms and conditions of the GNU General Public | ||
10 | * License. See the file "COPYING" in the main directory of this archive | ||
11 | * for more details. | ||
12 | */ | ||
13 | #include <linux/init.h> | ||
14 | #include <linux/platform_device.h> | ||
15 | #include <linux/interrupt.h> | ||
16 | #include <linux/input.h> | ||
17 | #include <linux/mtd/physmap.h> | ||
18 | #include <asm/io.h> | ||
19 | #include <asm/sh7763rdp.h> | ||
20 | |||
21 | /* NOR Flash */ | ||
22 | static struct mtd_partition sh7763rdp_nor_flash_partitions[] = { | ||
23 | { | ||
24 | .name = "U-Boot", | ||
25 | .offset = 0, | ||
26 | .size = (2 * 128 * 1024), | ||
27 | .mask_flags = MTD_WRITEABLE, /* Read-only */ | ||
28 | }, { | ||
29 | .name = "Linux-Kernel", | ||
30 | .offset = MTDPART_OFS_APPEND, | ||
31 | .size = (20 * 128 * 1024), | ||
32 | }, { | ||
33 | .name = "Root Filesystem", | ||
34 | .offset = MTDPART_OFS_APPEND, | ||
35 | .size = MTDPART_SIZ_FULL, | ||
36 | }, | ||
37 | }; | ||
38 | |||
39 | static struct physmap_flash_data sh7763rdp_nor_flash_data = { | ||
40 | .width = 2, | ||
41 | .parts = sh7763rdp_nor_flash_partitions, | ||
42 | .nr_parts = ARRAY_SIZE(sh7763rdp_nor_flash_partitions), | ||
43 | }; | ||
44 | |||
45 | static struct resource sh7763rdp_nor_flash_resources[] = { | ||
46 | [0] = { | ||
47 | .name = "NOR Flash", | ||
48 | .start = 0, | ||
49 | .end = (64 * 1024 * 1024), | ||
50 | .flags = IORESOURCE_MEM, | ||
51 | }, | ||
52 | }; | ||
53 | |||
54 | static struct platform_device sh7763rdp_nor_flash_device = { | ||
55 | .name = "physmap-flash", | ||
56 | .resource = sh7763rdp_nor_flash_resources, | ||
57 | .num_resources = ARRAY_SIZE(sh7763rdp_nor_flash_resources), | ||
58 | .dev = { | ||
59 | .platform_data = &sh7763rdp_nor_flash_data, | ||
60 | }, | ||
61 | }; | ||
62 | |||
63 | static struct platform_device *sh7763rdp_devices[] __initdata = { | ||
64 | &sh7763rdp_nor_flash_device, | ||
65 | }; | ||
66 | |||
67 | static int __init sh7763rdp_devices_setup(void) | ||
68 | { | ||
69 | return platform_add_devices(sh7763rdp_devices, | ||
70 | ARRAY_SIZE(sh7763rdp_devices)); | ||
71 | } | ||
72 | __initcall(sh7763rdp_devices_setup); | ||
73 | |||
74 | static void __init sh7763rdp_setup(char **cmdline_p) | ||
75 | { | ||
76 | /* Board version check */ | ||
77 | if (ctrl_inw(CPLD_BOARD_ID_ERV_REG) == 0xECB1) | ||
78 | printk(KERN_INFO "RTE Standard Configuration\n"); | ||
79 | else | ||
80 | printk(KERN_INFO "RTA Standard Configuration\n"); | ||
81 | |||
82 | /* USB pin select bits (clear bit 5-2 to 0) */ | ||
83 | ctrl_outw((ctrl_inw(PORT_PSEL2) & 0xFFC3), PORT_PSEL2); | ||
84 | /* USBH setup port I controls to other (clear bits 4-9 to 0) */ | ||
85 | ctrl_outw(ctrl_inw(PORT_PICR) & 0xFC0F, PORT_PICR); | ||
86 | |||
87 | /* Select USB Host controller */ | ||
88 | ctrl_outw(0x00, USB_USBHSC); | ||
89 | |||
90 | /* For LCD */ | ||
91 | /* set PTJ7-1, bits 15-2 of PJCR to 0 */ | ||
92 | ctrl_outw(ctrl_inw(PORT_PJCR) & 0x0003, PORT_PJCR); | ||
93 | /* set PTI5, bits 11-10 of PICR to 0 */ | ||
94 | ctrl_outw(ctrl_inw(PORT_PICR) & 0xF3FF, PORT_PICR); | ||
95 | ctrl_outw(0, PORT_PKCR); | ||
96 | ctrl_outw(0, PORT_PLCR); | ||
97 | /* set PSEL2 bits 14-8, 5-4, of PSEL2 to 0 */ | ||
98 | ctrl_outw((ctrl_inw(PORT_PSEL2) & 0x00C0), PORT_PSEL2); | ||
99 | /* set PSEL3 bits 14-12, 6-4, 2-0 of PSEL3 to 0 */ | ||
100 | ctrl_outw((ctrl_inw(PORT_PSEL3) & 0x0700), PORT_PSEL3); | ||
101 | |||
102 | /* For HAC */ | ||
103 | /* bit3-0 0100:HAC & SSI1 enable */ | ||
104 | ctrl_outw((ctrl_inw(PORT_PSEL1) & 0xFFF0) | 0x0004, PORT_PSEL1); | ||
105 | /* bit14 1:SSI_HAC_CLK enable */ | ||
106 | ctrl_outw(ctrl_inw(PORT_PSEL4) | 0x4000, PORT_PSEL4); | ||
107 | |||
108 | /* SH-Ether */ | ||
109 | ctrl_outw((ctrl_inw(PORT_PSEL1) & ~0xff00) | 0x2400, PORT_PSEL1); | ||
110 | ctrl_outw(0x0, PORT_PFCR); | ||
111 | ctrl_outw(0x0, PORT_PFCR); | ||
112 | ctrl_outw(0x0, PORT_PFCR); | ||
113 | |||
114 | /* MMC */ | ||
115 | /*selects SCIF and MMC other functions */ | ||
116 | ctrl_outw(0x0001, PORT_PSEL0); | ||
117 | /* MMC clock operates */ | ||
118 | ctrl_outl(ctrl_inl(MSTPCR1) & ~0x8, MSTPCR1); | ||
119 | ctrl_outw(ctrl_inw(PORT_PACR) & ~0x3000, PORT_PACR); | ||
120 | ctrl_outw(ctrl_inw(PORT_PCCR) & ~0xCFC3, PORT_PCCR); | ||
121 | } | ||
122 | |||
123 | static struct sh_machine_vector mv_sh7763rdp __initmv = { | ||
124 | .mv_name = "sh7763drp", | ||
125 | .mv_setup = sh7763rdp_setup, | ||
126 | .mv_nr_irqs = 112, | ||
127 | .mv_init_irq = init_sh7763rdp_IRQ, | ||
128 | }; | ||
diff --git a/arch/sh/boards/renesas/sh7785lcr/Makefile b/arch/sh/boards/renesas/sh7785lcr/Makefile new file mode 100644 index 000000000000..77037567633b --- /dev/null +++ b/arch/sh/boards/renesas/sh7785lcr/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y := setup.o | |||
diff --git a/arch/sh/boards/renesas/sh7785lcr/setup.c b/arch/sh/boards/renesas/sh7785lcr/setup.c new file mode 100644 index 000000000000..b95d674ee704 --- /dev/null +++ b/arch/sh/boards/renesas/sh7785lcr/setup.c | |||
@@ -0,0 +1,302 @@ | |||
1 | /* | ||
2 | * Renesas Technology Corp. R0P7785LC0011RL Support. | ||
3 | * | ||
4 | * Copyright (C) 2008 Yoshihiro Shimoda | ||
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 | |||
11 | #include <linux/init.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | #include <linux/sm501.h> | ||
14 | #include <linux/sm501-regs.h> | ||
15 | #include <linux/fb.h> | ||
16 | #include <linux/mtd/physmap.h> | ||
17 | #include <linux/delay.h> | ||
18 | #include <linux/i2c.h> | ||
19 | #include <linux/i2c-pca-platform.h> | ||
20 | #include <linux/i2c-algo-pca.h> | ||
21 | #include <asm/heartbeat.h> | ||
22 | #include <asm/sh7785lcr.h> | ||
23 | |||
24 | /* | ||
25 | * NOTE: This board has 2 physical memory maps. | ||
26 | * Please look at include/asm-sh/sh7785lcr.h or hardware manual. | ||
27 | */ | ||
28 | static struct resource heartbeat_resources[] = { | ||
29 | [0] = { | ||
30 | .start = PLD_LEDCR, | ||
31 | .end = PLD_LEDCR, | ||
32 | .flags = IORESOURCE_MEM, | ||
33 | }, | ||
34 | }; | ||
35 | |||
36 | static struct heartbeat_data heartbeat_data = { | ||
37 | .regsize = 8, | ||
38 | }; | ||
39 | |||
40 | static struct platform_device heartbeat_device = { | ||
41 | .name = "heartbeat", | ||
42 | .id = -1, | ||
43 | .dev = { | ||
44 | .platform_data = &heartbeat_data, | ||
45 | }, | ||
46 | .num_resources = ARRAY_SIZE(heartbeat_resources), | ||
47 | .resource = heartbeat_resources, | ||
48 | }; | ||
49 | |||
50 | static struct mtd_partition nor_flash_partitions[] = { | ||
51 | { | ||
52 | .name = "loader", | ||
53 | .offset = 0x00000000, | ||
54 | .size = 512 * 1024, | ||
55 | }, | ||
56 | { | ||
57 | .name = "bootenv", | ||
58 | .offset = MTDPART_OFS_APPEND, | ||
59 | .size = 512 * 1024, | ||
60 | }, | ||
61 | { | ||
62 | .name = "kernel", | ||
63 | .offset = MTDPART_OFS_APPEND, | ||
64 | .size = 4 * 1024 * 1024, | ||
65 | }, | ||
66 | { | ||
67 | .name = "data", | ||
68 | .offset = MTDPART_OFS_APPEND, | ||
69 | .size = MTDPART_SIZ_FULL, | ||
70 | }, | ||
71 | }; | ||
72 | |||
73 | static struct physmap_flash_data nor_flash_data = { | ||
74 | .width = 4, | ||
75 | .parts = nor_flash_partitions, | ||
76 | .nr_parts = ARRAY_SIZE(nor_flash_partitions), | ||
77 | }; | ||
78 | |||
79 | static struct resource nor_flash_resources[] = { | ||
80 | [0] = { | ||
81 | .start = NOR_FLASH_ADDR, | ||
82 | .end = NOR_FLASH_ADDR + NOR_FLASH_SIZE - 1, | ||
83 | .flags = IORESOURCE_MEM, | ||
84 | } | ||
85 | }; | ||
86 | |||
87 | static struct platform_device nor_flash_device = { | ||
88 | .name = "physmap-flash", | ||
89 | .dev = { | ||
90 | .platform_data = &nor_flash_data, | ||
91 | }, | ||
92 | .num_resources = ARRAY_SIZE(nor_flash_resources), | ||
93 | .resource = nor_flash_resources, | ||
94 | }; | ||
95 | |||
96 | static struct resource r8a66597_usb_host_resources[] = { | ||
97 | [0] = { | ||
98 | .name = "r8a66597_hcd", | ||
99 | .start = R8A66597_ADDR, | ||
100 | .end = R8A66597_ADDR + R8A66597_SIZE - 1, | ||
101 | .flags = IORESOURCE_MEM, | ||
102 | }, | ||
103 | [1] = { | ||
104 | .name = "r8a66597_hcd", | ||
105 | .start = 2, | ||
106 | .end = 2, | ||
107 | .flags = IORESOURCE_IRQ, | ||
108 | }, | ||
109 | }; | ||
110 | |||
111 | static struct platform_device r8a66597_usb_host_device = { | ||
112 | .name = "r8a66597_hcd", | ||
113 | .id = -1, | ||
114 | .dev = { | ||
115 | .dma_mask = NULL, | ||
116 | .coherent_dma_mask = 0xffffffff, | ||
117 | }, | ||
118 | .num_resources = ARRAY_SIZE(r8a66597_usb_host_resources), | ||
119 | .resource = r8a66597_usb_host_resources, | ||
120 | }; | ||
121 | |||
122 | static struct resource sm501_resources[] = { | ||
123 | [0] = { | ||
124 | .start = SM107_MEM_ADDR, | ||
125 | .end = SM107_MEM_ADDR + SM107_MEM_SIZE - 1, | ||
126 | .flags = IORESOURCE_MEM, | ||
127 | }, | ||
128 | [1] = { | ||
129 | .start = SM107_REG_ADDR, | ||
130 | .end = SM107_REG_ADDR + SM107_REG_SIZE - 1, | ||
131 | .flags = IORESOURCE_MEM, | ||
132 | }, | ||
133 | [2] = { | ||
134 | .start = 10, | ||
135 | .flags = IORESOURCE_IRQ, | ||
136 | }, | ||
137 | }; | ||
138 | |||
139 | static struct fb_videomode sm501_default_mode_crt = { | ||
140 | .pixclock = 35714, /* 28MHz */ | ||
141 | .xres = 640, | ||
142 | .yres = 480, | ||
143 | .left_margin = 105, | ||
144 | .right_margin = 16, | ||
145 | .upper_margin = 33, | ||
146 | .lower_margin = 10, | ||
147 | .hsync_len = 39, | ||
148 | .vsync_len = 2, | ||
149 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | ||
150 | }; | ||
151 | |||
152 | static struct fb_videomode sm501_default_mode_pnl = { | ||
153 | .pixclock = 40000, /* 25MHz */ | ||
154 | .xres = 640, | ||
155 | .yres = 480, | ||
156 | .left_margin = 2, | ||
157 | .right_margin = 16, | ||
158 | .upper_margin = 33, | ||
159 | .lower_margin = 10, | ||
160 | .hsync_len = 39, | ||
161 | .vsync_len = 2, | ||
162 | .sync = 0, | ||
163 | }; | ||
164 | |||
165 | static struct sm501_platdata_fbsub sm501_pdata_fbsub_pnl = { | ||
166 | .def_bpp = 16, | ||
167 | .def_mode = &sm501_default_mode_pnl, | ||
168 | .flags = SM501FB_FLAG_USE_INIT_MODE | | ||
169 | SM501FB_FLAG_USE_HWCURSOR | | ||
170 | SM501FB_FLAG_USE_HWACCEL | | ||
171 | SM501FB_FLAG_DISABLE_AT_EXIT | | ||
172 | SM501FB_FLAG_PANEL_NO_VBIASEN, | ||
173 | }; | ||
174 | |||
175 | static struct sm501_platdata_fbsub sm501_pdata_fbsub_crt = { | ||
176 | .def_bpp = 16, | ||
177 | .def_mode = &sm501_default_mode_crt, | ||
178 | .flags = SM501FB_FLAG_USE_INIT_MODE | | ||
179 | SM501FB_FLAG_USE_HWCURSOR | | ||
180 | SM501FB_FLAG_USE_HWACCEL | | ||
181 | SM501FB_FLAG_DISABLE_AT_EXIT, | ||
182 | }; | ||
183 | |||
184 | static struct sm501_platdata_fb sm501_fb_pdata = { | ||
185 | .fb_route = SM501_FB_OWN, | ||
186 | .fb_crt = &sm501_pdata_fbsub_crt, | ||
187 | .fb_pnl = &sm501_pdata_fbsub_pnl, | ||
188 | }; | ||
189 | |||
190 | static struct sm501_initdata sm501_initdata = { | ||
191 | .gpio_high = { | ||
192 | .set = 0x00001fe0, | ||
193 | .mask = 0x0, | ||
194 | }, | ||
195 | .devices = 0, | ||
196 | .mclk = 84 * 1000000, | ||
197 | .m1xclk = 112 * 1000000, | ||
198 | }; | ||
199 | |||
200 | static struct sm501_platdata sm501_platform_data = { | ||
201 | .init = &sm501_initdata, | ||
202 | .fb = &sm501_fb_pdata, | ||
203 | }; | ||
204 | |||
205 | static struct platform_device sm501_device = { | ||
206 | .name = "sm501", | ||
207 | .id = -1, | ||
208 | .dev = { | ||
209 | .platform_data = &sm501_platform_data, | ||
210 | }, | ||
211 | .num_resources = ARRAY_SIZE(sm501_resources), | ||
212 | .resource = sm501_resources, | ||
213 | }; | ||
214 | |||
215 | static struct resource i2c_resources[] = { | ||
216 | [0] = { | ||
217 | .start = PCA9564_ADDR, | ||
218 | .end = PCA9564_ADDR + PCA9564_SIZE - 1, | ||
219 | .flags = IORESOURCE_MEM | IORESOURCE_MEM_8BIT, | ||
220 | }, | ||
221 | [1] = { | ||
222 | .start = 12, | ||
223 | .end = 12, | ||
224 | .flags = IORESOURCE_IRQ, | ||
225 | }, | ||
226 | }; | ||
227 | |||
228 | static struct i2c_pca9564_pf_platform_data i2c_platform_data = { | ||
229 | .gpio = 0, | ||
230 | .i2c_clock_speed = I2C_PCA_CON_330kHz, | ||
231 | .timeout = 100, | ||
232 | }; | ||
233 | |||
234 | static struct platform_device i2c_device = { | ||
235 | .name = "i2c-pca-platform", | ||
236 | .id = -1, | ||
237 | .dev = { | ||
238 | .platform_data = &i2c_platform_data, | ||
239 | }, | ||
240 | .num_resources = ARRAY_SIZE(i2c_resources), | ||
241 | .resource = i2c_resources, | ||
242 | }; | ||
243 | |||
244 | static struct platform_device *sh7785lcr_devices[] __initdata = { | ||
245 | &heartbeat_device, | ||
246 | &nor_flash_device, | ||
247 | &r8a66597_usb_host_device, | ||
248 | &sm501_device, | ||
249 | &i2c_device, | ||
250 | }; | ||
251 | |||
252 | static struct i2c_board_info __initdata sh7785lcr_i2c_devices[] = { | ||
253 | { | ||
254 | I2C_BOARD_INFO("r2025sd", 0x32), | ||
255 | }, | ||
256 | }; | ||
257 | |||
258 | static int __init sh7785lcr_devices_setup(void) | ||
259 | { | ||
260 | i2c_register_board_info(0, sh7785lcr_i2c_devices, | ||
261 | ARRAY_SIZE(sh7785lcr_i2c_devices)); | ||
262 | |||
263 | return platform_add_devices(sh7785lcr_devices, | ||
264 | ARRAY_SIZE(sh7785lcr_devices)); | ||
265 | } | ||
266 | __initcall(sh7785lcr_devices_setup); | ||
267 | |||
268 | /* Initialize IRQ setting */ | ||
269 | void __init init_sh7785lcr_IRQ(void) | ||
270 | { | ||
271 | plat_irq_setup_pins(IRQ_MODE_IRQ7654); | ||
272 | plat_irq_setup_pins(IRQ_MODE_IRQ3210); | ||
273 | } | ||
274 | |||
275 | static void sh7785lcr_power_off(void) | ||
276 | { | ||
277 | ctrl_outb(0x01, P2SEGADDR(PLD_POFCR)); | ||
278 | } | ||
279 | |||
280 | /* Initialize the board */ | ||
281 | static void __init sh7785lcr_setup(char **cmdline_p) | ||
282 | { | ||
283 | void __iomem *sm501_reg; | ||
284 | |||
285 | printk(KERN_INFO "Renesas Technology Corp. R0P7785LC0011RL support.\n"); | ||
286 | |||
287 | pm_power_off = sh7785lcr_power_off; | ||
288 | |||
289 | /* sm501 DRAM configuration */ | ||
290 | sm501_reg = (void __iomem *)0xb3e00000 + SM501_DRAM_CONTROL; | ||
291 | writel(0x000307c2, sm501_reg); | ||
292 | } | ||
293 | |||
294 | /* | ||
295 | * The Machine Vector | ||
296 | */ | ||
297 | static struct sh_machine_vector mv_sh7785lcr __initmv = { | ||
298 | .mv_name = "SH7785LCR", | ||
299 | .mv_setup = sh7785lcr_setup, | ||
300 | .mv_init_irq = init_sh7785lcr_IRQ, | ||
301 | }; | ||
302 | |||
diff --git a/arch/sh/boards/se/7343/irq.c b/arch/sh/boards/se/7343/irq.c index 763f6deba814..1112e86aa93a 100644 --- a/arch/sh/boards/se/7343/irq.c +++ b/arch/sh/boards/se/7343/irq.c | |||
@@ -1,202 +1,80 @@ | |||
1 | /* | 1 | /* |
2 | * arch/sh/boards/se/7343/irq.c | 2 | * linux/arch/sh/boards/se/7343/irq.c |
3 | * | 3 | * |
4 | * Copyright (C) 2008 Yoshihiro Shimoda | ||
5 | * | ||
6 | * Based on linux/arch/sh/boards/se/7722/irq.c | ||
7 | * Copyright (C) 2007 Nobuhiro Iwamatsu | ||
8 | * | ||
9 | * This file is subject to the terms and conditions of the GNU General Public | ||
10 | * License. See the file "COPYING" in the main directory of this archive | ||
11 | * for more details. | ||
4 | */ | 12 | */ |
5 | #include <linux/init.h> | 13 | #include <linux/init.h> |
6 | #include <linux/interrupt.h> | ||
7 | #include <linux/irq.h> | 14 | #include <linux/irq.h> |
15 | #include <linux/interrupt.h> | ||
8 | #include <asm/irq.h> | 16 | #include <asm/irq.h> |
9 | #include <asm/io.h> | 17 | #include <asm/io.h> |
10 | #include <asm/mach/se7343.h> | 18 | #include <asm/se7343.h> |
11 | 19 | ||
12 | static void | 20 | static void disable_se7343_irq(unsigned int irq) |
13 | disable_intreq_irq(unsigned int irq) | ||
14 | { | 21 | { |
15 | int bit = irq - OFFCHIP_IRQ_BASE; | 22 | unsigned int bit = irq - SE7343_FPGA_IRQ_BASE; |
16 | u16 val; | 23 | ctrl_outw(ctrl_inw(PA_CPLD_IMSK) | 1 << bit, PA_CPLD_IMSK); |
17 | |||
18 | val = ctrl_inw(PA_CPLD_IMSK); | ||
19 | val |= 1 << bit; | ||
20 | ctrl_outw(val, PA_CPLD_IMSK); | ||
21 | } | 24 | } |
22 | 25 | ||
23 | static void | 26 | static void enable_se7343_irq(unsigned int irq) |
24 | enable_intreq_irq(unsigned int irq) | ||
25 | { | 27 | { |
26 | int bit = irq - OFFCHIP_IRQ_BASE; | 28 | unsigned int bit = irq - SE7343_FPGA_IRQ_BASE; |
27 | u16 val; | 29 | ctrl_outw(ctrl_inw(PA_CPLD_IMSK) & ~(1 << bit), PA_CPLD_IMSK); |
28 | |||
29 | val = ctrl_inw(PA_CPLD_IMSK); | ||
30 | val &= ~(1 << bit); | ||
31 | ctrl_outw(val, PA_CPLD_IMSK); | ||
32 | } | 30 | } |
33 | 31 | ||
34 | static void | 32 | static struct irq_chip se7343_irq_chip __read_mostly = { |
35 | mask_and_ack_intreq_irq(unsigned int irq) | 33 | .name = "SE7343-FPGA", |
36 | { | 34 | .mask = disable_se7343_irq, |
37 | disable_intreq_irq(irq); | 35 | .unmask = enable_se7343_irq, |
38 | } | 36 | .mask_ack = disable_se7343_irq, |
39 | |||
40 | static unsigned int | ||
41 | startup_intreq_irq(unsigned int irq) | ||
42 | { | ||
43 | enable_intreq_irq(irq); | ||
44 | return 0; | ||
45 | } | ||
46 | |||
47 | static void | ||
48 | shutdown_intreq_irq(unsigned int irq) | ||
49 | { | ||
50 | disable_intreq_irq(irq); | ||
51 | } | ||
52 | |||
53 | static void | ||
54 | end_intreq_irq(unsigned int irq) | ||
55 | { | ||
56 | if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS))) | ||
57 | enable_intreq_irq(irq); | ||
58 | } | ||
59 | |||
60 | static struct hw_interrupt_type intreq_irq_type = { | ||
61 | .typename = "FPGA-IRQ", | ||
62 | .startup = startup_intreq_irq, | ||
63 | .shutdown = shutdown_intreq_irq, | ||
64 | .enable = enable_intreq_irq, | ||
65 | .disable = disable_intreq_irq, | ||
66 | .ack = mask_and_ack_intreq_irq, | ||
67 | .end = end_intreq_irq | ||
68 | }; | 37 | }; |
69 | 38 | ||
70 | static void | 39 | static void se7343_irq_demux(unsigned int irq, struct irq_desc *desc) |
71 | make_intreq_irq(unsigned int irq) | ||
72 | { | ||
73 | disable_irq_nosync(irq); | ||
74 | irq_desc[irq].chip = &intreq_irq_type; | ||
75 | disable_intreq_irq(irq); | ||
76 | } | ||
77 | |||
78 | int | ||
79 | shmse_irq_demux(int irq) | ||
80 | { | 40 | { |
81 | int bit; | 41 | unsigned short intv = ctrl_inw(PA_CPLD_ST); |
82 | volatile u16 val; | 42 | struct irq_desc *ext_desc; |
83 | 43 | unsigned int ext_irq = SE7343_FPGA_IRQ_BASE; | |
84 | if (irq == IRQ5_IRQ) { | 44 | |
85 | /* Read status Register */ | 45 | intv &= (1 << SE7343_FPGA_IRQ_NR) - 1; |
86 | val = ctrl_inw(PA_CPLD_ST); | 46 | |
87 | bit = ffs(val); | 47 | while (intv) { |
88 | if (bit != 0) | 48 | if (intv & 1) { |
89 | return OFFCHIP_IRQ_BASE + bit - 1; | 49 | ext_desc = irq_desc + ext_irq; |
50 | handle_level_irq(ext_irq, ext_desc); | ||
51 | } | ||
52 | intv >>= 1; | ||
53 | ext_irq++; | ||
90 | } | 54 | } |
91 | return irq; | ||
92 | } | 55 | } |
93 | 56 | ||
94 | /* IRQ5 is multiplexed between the following sources: | ||
95 | * 1. PC Card socket | ||
96 | * 2. Extension slot | ||
97 | * 3. USB Controller | ||
98 | * 4. Serial Controller | ||
99 | * | ||
100 | * We configure IRQ5 as a cascade IRQ. | ||
101 | */ | ||
102 | static struct irqaction irq5 = { | ||
103 | .handler = no_action, | ||
104 | .mask = CPU_MASK_NONE, | ||
105 | .name = "IRQ5-cascade", | ||
106 | }; | ||
107 | |||
108 | static struct ipr_data se7343_irq5_ipr_map[] = { | ||
109 | { IRQ5_IRQ, IRQ5_IPR_ADDR+2, IRQ5_IPR_POS, IRQ5_PRIORITY }, | ||
110 | }; | ||
111 | static struct ipr_data se7343_siof0_vpu_ipr_map[] = { | ||
112 | { SIOF0_IRQ, SIOF0_IPR_ADDR, SIOF0_IPR_POS, SIOF0_PRIORITY }, | ||
113 | { VPU_IRQ, VPU_IPR_ADDR, VPU_IPR_POS, 8 }, | ||
114 | }; | ||
115 | static struct ipr_data se7343_other_ipr_map[] = { | ||
116 | { DMTE0_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
117 | { DMTE1_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
118 | { DMTE2_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
119 | { DMTE3_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY }, | ||
120 | { DMTE4_IRQ, DMA2_IPR_ADDR, DMA2_IPR_POS, DMA2_PRIORITY }, | ||
121 | { DMTE5_IRQ, DMA2_IPR_ADDR, DMA2_IPR_POS, DMA2_PRIORITY }, | ||
122 | |||
123 | /* I2C block */ | ||
124 | { IIC0_ALI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY }, | ||
125 | { IIC0_TACKI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY }, | ||
126 | { IIC0_WAITI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY }, | ||
127 | { IIC0_DTEI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY }, | ||
128 | |||
129 | { IIC1_ALI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY }, | ||
130 | { IIC1_TACKI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY }, | ||
131 | { IIC1_WAITI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY }, | ||
132 | { IIC1_DTEI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY }, | ||
133 | |||
134 | /* SIOF */ | ||
135 | { SIOF0_IRQ, SIOF0_IPR_ADDR, SIOF0_IPR_POS, SIOF0_PRIORITY }, | ||
136 | |||
137 | /* SIU */ | ||
138 | { SIU_IRQ, SIU_IPR_ADDR, SIU_IPR_POS, SIU_PRIORITY }, | ||
139 | |||
140 | /* VIO interrupt */ | ||
141 | { CEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY }, | ||
142 | { BEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY }, | ||
143 | { VEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY }, | ||
144 | |||
145 | /*MFI interrupt*/ | ||
146 | |||
147 | { MFI_IRQ, MFI_IPR_ADDR, MFI_IPR_POS, MFI_PRIORITY }, | ||
148 | |||
149 | /* LCD controller */ | ||
150 | { LCDC_IRQ, LCDC_IPR_ADDR, LCDC_IPR_POS, LCDC_PRIORITY }, | ||
151 | }; | ||
152 | |||
153 | /* | 57 | /* |
154 | * Initialize IRQ setting | 58 | * Initialize IRQ setting |
155 | */ | 59 | */ |
156 | void __init | 60 | void __init init_7343se_IRQ(void) |
157 | init_7343se_IRQ(void) | ||
158 | { | 61 | { |
159 | /* Setup Multiplexed interrupts */ | 62 | int i; |
160 | ctrl_outw(8, PA_CPLD_MODESET); /* Set all CPLD interrupts to active | 63 | |
161 | * low. | 64 | ctrl_outw(0, PA_CPLD_IMSK); /* disable all irqs */ |
162 | */ | 65 | ctrl_outw(0x2000, 0xb03fffec); /* mrshpc irq enable */ |
163 | /* Mask all CPLD controller interrupts */ | 66 | |
164 | ctrl_outw(0x0fff, PA_CPLD_IMSK); | 67 | for (i = 0; i < SE7343_FPGA_IRQ_NR; i++) |
165 | 68 | set_irq_chip_and_handler_name(SE7343_FPGA_IRQ_BASE + i, | |
166 | /* PC Card interrupts */ | 69 | &se7343_irq_chip, |
167 | make_intreq_irq(PC_IRQ0); | 70 | handle_level_irq, "level"); |
168 | make_intreq_irq(PC_IRQ1); | 71 | |
169 | make_intreq_irq(PC_IRQ2); | 72 | set_irq_chained_handler(IRQ0_IRQ, se7343_irq_demux); |
170 | make_intreq_irq(PC_IRQ3); | 73 | set_irq_type(IRQ0_IRQ, IRQ_TYPE_LEVEL_LOW); |
171 | 74 | set_irq_chained_handler(IRQ1_IRQ, se7343_irq_demux); | |
172 | /* Extension Slot Interrupts */ | 75 | set_irq_type(IRQ1_IRQ, IRQ_TYPE_LEVEL_LOW); |
173 | make_intreq_irq(EXT_IRQ0); | 76 | set_irq_chained_handler(IRQ4_IRQ, se7343_irq_demux); |
174 | make_intreq_irq(EXT_IRQ1); | 77 | set_irq_type(IRQ4_IRQ, IRQ_TYPE_LEVEL_LOW); |
175 | make_intreq_irq(EXT_IRQ2); | 78 | set_irq_chained_handler(IRQ5_IRQ, se7343_irq_demux); |
176 | make_intreq_irq(EXT_IRQ3); | 79 | set_irq_type(IRQ5_IRQ, IRQ_TYPE_LEVEL_LOW); |
177 | |||
178 | /* USB Controller interrupts */ | ||
179 | make_intreq_irq(USB_IRQ0); | ||
180 | make_intreq_irq(USB_IRQ1); | ||
181 | |||
182 | /* Serial Controller interrupts */ | ||
183 | make_intreq_irq(UART_IRQ0); | ||
184 | make_intreq_irq(UART_IRQ1); | ||
185 | |||
186 | /* Setup all external interrupts to be active low */ | ||
187 | ctrl_outw(0xaaaa, INTC_ICR1); | ||
188 | |||
189 | make_ipr_irq(se7343_irq5_ipr_map, ARRAY_SIZE(se7343_irq5_ipr_map)); | ||
190 | |||
191 | setup_irq(IRQ5_IRQ, &irq5); | ||
192 | /* Set port control to use IRQ5 */ | ||
193 | *(u16 *)0xA4050108 &= ~0xc; | ||
194 | |||
195 | make_ipr_irq(se7343_siof0_vpu_ipr_map, ARRAY_SIZE(se7343_siof0_vpu_ipr_map)); | ||
196 | |||
197 | ctrl_outb(0x0f, INTC_IMCR5); /* enable SCIF IRQ */ | ||
198 | |||
199 | make_ipr_irq(se7343_other_ipr_map, ARRAY_SIZE(se7343_other_ipr_map)); | ||
200 | |||
201 | ctrl_outw(0x2000, PA_MRSHPC + 0x0c); /* mrshpc irq enable */ | ||
202 | } | 80 | } |
diff --git a/arch/sh/boards/se/7343/setup.c b/arch/sh/boards/se/7343/setup.c index c9431b3a051b..8ae718d6c710 100644 --- a/arch/sh/boards/se/7343/setup.c +++ b/arch/sh/boards/se/7343/setup.c | |||
@@ -1,10 +1,11 @@ | |||
1 | #include <linux/init.h> | 1 | #include <linux/init.h> |
2 | #include <linux/platform_device.h> | 2 | #include <linux/platform_device.h> |
3 | #include <linux/mtd/physmap.h> | ||
3 | #include <asm/machvec.h> | 4 | #include <asm/machvec.h> |
4 | #include <asm/mach/se7343.h> | 5 | #include <asm/mach/se7343.h> |
6 | #include <asm/heartbeat.h> | ||
5 | #include <asm/irq.h> | 7 | #include <asm/irq.h> |
6 | 8 | #include <asm/io.h> | |
7 | void init_7343se_IRQ(void); | ||
8 | 9 | ||
9 | static struct resource smc91x_resources[] = { | 10 | static struct resource smc91x_resources[] = { |
10 | [0] = { | 11 | [0] = { |
@@ -17,8 +18,8 @@ static struct resource smc91x_resources[] = { | |||
17 | * shared with other devices via externel | 18 | * shared with other devices via externel |
18 | * interrupt controller in FPGA... | 19 | * interrupt controller in FPGA... |
19 | */ | 20 | */ |
20 | .start = EXT_IRQ2, | 21 | .start = SMC_IRQ, |
21 | .end = EXT_IRQ2, | 22 | .end = SMC_IRQ, |
22 | .flags = IORESOURCE_IRQ, | 23 | .flags = IORESOURCE_IRQ, |
23 | }, | 24 | }, |
24 | }; | 25 | }; |
@@ -38,16 +39,65 @@ static struct resource heartbeat_resources[] = { | |||
38 | }, | 39 | }, |
39 | }; | 40 | }; |
40 | 41 | ||
42 | static struct heartbeat_data heartbeat_data = { | ||
43 | .regsize = 16, | ||
44 | }; | ||
45 | |||
41 | static struct platform_device heartbeat_device = { | 46 | static struct platform_device heartbeat_device = { |
42 | .name = "heartbeat", | 47 | .name = "heartbeat", |
43 | .id = -1, | 48 | .id = -1, |
49 | .dev = { | ||
50 | .platform_data = &heartbeat_data, | ||
51 | }, | ||
44 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 52 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
45 | .resource = heartbeat_resources, | 53 | .resource = heartbeat_resources, |
46 | }; | 54 | }; |
47 | 55 | ||
56 | static struct mtd_partition nor_flash_partitions[] = { | ||
57 | { | ||
58 | .name = "loader", | ||
59 | .offset = 0x00000000, | ||
60 | .size = 128 * 1024, | ||
61 | }, | ||
62 | { | ||
63 | .name = "rootfs", | ||
64 | .offset = MTDPART_OFS_APPEND, | ||
65 | .size = 31 * 1024 * 1024, | ||
66 | }, | ||
67 | { | ||
68 | .name = "data", | ||
69 | .offset = MTDPART_OFS_APPEND, | ||
70 | .size = MTDPART_SIZ_FULL, | ||
71 | }, | ||
72 | }; | ||
73 | |||
74 | static struct physmap_flash_data nor_flash_data = { | ||
75 | .width = 2, | ||
76 | .parts = nor_flash_partitions, | ||
77 | .nr_parts = ARRAY_SIZE(nor_flash_partitions), | ||
78 | }; | ||
79 | |||
80 | static struct resource nor_flash_resources[] = { | ||
81 | [0] = { | ||
82 | .start = 0x00000000, | ||
83 | .end = 0x01ffffff, | ||
84 | .flags = IORESOURCE_MEM, | ||
85 | } | ||
86 | }; | ||
87 | |||
88 | static struct platform_device nor_flash_device = { | ||
89 | .name = "physmap-flash", | ||
90 | .dev = { | ||
91 | .platform_data = &nor_flash_data, | ||
92 | }, | ||
93 | .num_resources = ARRAY_SIZE(nor_flash_resources), | ||
94 | .resource = nor_flash_resources, | ||
95 | }; | ||
96 | |||
48 | static struct platform_device *sh7343se_platform_devices[] __initdata = { | 97 | static struct platform_device *sh7343se_platform_devices[] __initdata = { |
49 | &smc91x_device, | 98 | &smc91x_device, |
50 | &heartbeat_device, | 99 | &heartbeat_device, |
100 | &nor_flash_device, | ||
51 | }; | 101 | }; |
52 | 102 | ||
53 | static int __init sh7343se_devices_setup(void) | 103 | static int __init sh7343se_devices_setup(void) |
@@ -55,10 +105,19 @@ static int __init sh7343se_devices_setup(void) | |||
55 | return platform_add_devices(sh7343se_platform_devices, | 105 | return platform_add_devices(sh7343se_platform_devices, |
56 | ARRAY_SIZE(sh7343se_platform_devices)); | 106 | ARRAY_SIZE(sh7343se_platform_devices)); |
57 | } | 107 | } |
108 | device_initcall(sh7343se_devices_setup); | ||
58 | 109 | ||
110 | /* | ||
111 | * Initialize the board | ||
112 | */ | ||
59 | static void __init sh7343se_setup(char **cmdline_p) | 113 | static void __init sh7343se_setup(char **cmdline_p) |
60 | { | 114 | { |
61 | device_initcall(sh7343se_devices_setup); | 115 | ctrl_outw(0xf900, FPGA_OUT); /* FPGA */ |
116 | |||
117 | ctrl_outw(0x0002, PORT_PECR); /* PORT E 1 = IRQ5 */ | ||
118 | ctrl_outw(0x0020, PORT_PSELD); | ||
119 | |||
120 | printk(KERN_INFO "MS7343CP01 Setup...done\n"); | ||
62 | } | 121 | } |
63 | 122 | ||
64 | /* | 123 | /* |
@@ -90,5 +149,4 @@ static struct sh_machine_vector mv_7343se __initmv = { | |||
90 | .mv_outsl = sh7343se_outsl, | 149 | .mv_outsl = sh7343se_outsl, |
91 | 150 | ||
92 | .mv_init_irq = init_7343se_IRQ, | 151 | .mv_init_irq = init_7343se_IRQ, |
93 | .mv_irq_demux = shmse_irq_demux, | ||
94 | }; | 152 | }; |
diff --git a/arch/sh/boards/se/770x/io.c b/arch/sh/boards/se/770x/io.c index c4550473d4c3..b1ec085b8673 100644 --- a/arch/sh/boards/se/770x/io.c +++ b/arch/sh/boards/se/770x/io.c | |||
@@ -1,25 +1,13 @@ | |||
1 | /* $Id: io.c,v 1.7 2006/02/05 21:55:29 lethal Exp $ | 1 | /* |
2 | * | ||
3 | * linux/arch/sh/kernel/io_se.c | ||
4 | * | ||
5 | * Copyright (C) 2000 Kazumoto Kojima | 2 | * Copyright (C) 2000 Kazumoto Kojima |
6 | * | 3 | * |
7 | * I/O routine for Hitachi SolutionEngine. | 4 | * I/O routine for Hitachi SolutionEngine. |
8 | * | ||
9 | */ | 5 | */ |
10 | |||
11 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
12 | #include <linux/types.h> | 7 | #include <linux/types.h> |
13 | #include <asm/io.h> | 8 | #include <asm/io.h> |
14 | #include <asm/se.h> | 9 | #include <asm/se.h> |
15 | 10 | ||
16 | /* SH pcmcia io window base, start and end. */ | ||
17 | int sh_pcic_io_wbase = 0xb8400000; | ||
18 | int sh_pcic_io_start; | ||
19 | int sh_pcic_io_stop; | ||
20 | int sh_pcic_io_type; | ||
21 | int sh_pcic_io_dummy; | ||
22 | |||
23 | /* MS7750 requires special versions of in*, out* routines, since | 11 | /* MS7750 requires special versions of in*, out* routines, since |
24 | PC-like io ports are located at upper half byte of 16-bit word which | 12 | PC-like io ports are located at upper half byte of 16-bit word which |
25 | can be accessed only with 16-bit wide. */ | 13 | can be accessed only with 16-bit wide. */ |
@@ -33,8 +21,6 @@ port2adr(unsigned int port) | |||
33 | return (volatile __u16 *) (PA_MRSHPC + (port - 0x2000)); | 21 | return (volatile __u16 *) (PA_MRSHPC + (port - 0x2000)); |
34 | else if (port >= 0x1000) | 22 | else if (port >= 0x1000) |
35 | return (volatile __u16 *) (PA_83902 + (port << 1)); | 23 | return (volatile __u16 *) (PA_83902 + (port << 1)); |
36 | else if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) | ||
37 | return (volatile __u16 *) (sh_pcic_io_wbase + (port &~ 1)); | ||
38 | else | 24 | else |
39 | return (volatile __u16 *) (PA_SUPERIO + (port << 1)); | 25 | return (volatile __u16 *) (PA_SUPERIO + (port << 1)); |
40 | } | 26 | } |
@@ -51,32 +37,27 @@ shifted_port(unsigned long port) | |||
51 | 37 | ||
52 | unsigned char se_inb(unsigned long port) | 38 | unsigned char se_inb(unsigned long port) |
53 | { | 39 | { |
54 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) | 40 | if (shifted_port(port)) |
55 | return *(__u8 *) (sh_pcic_io_wbase + 0x40000 + port); | 41 | return (*port2adr(port) >> 8); |
56 | else if (shifted_port(port)) | ||
57 | return (*port2adr(port) >> 8); | ||
58 | else | 42 | else |
59 | return (*port2adr(port))&0xff; | 43 | return (*port2adr(port))&0xff; |
60 | } | 44 | } |
61 | 45 | ||
62 | unsigned char se_inb_p(unsigned long port) | 46 | unsigned char se_inb_p(unsigned long port) |
63 | { | 47 | { |
64 | unsigned long v; | 48 | unsigned long v; |
65 | 49 | ||
66 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) | 50 | if (shifted_port(port)) |
67 | v = *(__u8 *) (sh_pcic_io_wbase + 0x40000 + port); | 51 | v = (*port2adr(port) >> 8); |
68 | else if (shifted_port(port)) | ||
69 | v = (*port2adr(port) >> 8); | ||
70 | else | 52 | else |
71 | v = (*port2adr(port))&0xff; | 53 | v = (*port2adr(port))&0xff; |
72 | ctrl_delay(); | 54 | ctrl_delay(); |
73 | return v; | 55 | return v; |
74 | } | 56 | } |
75 | 57 | ||
76 | unsigned short se_inw(unsigned long port) | 58 | unsigned short se_inw(unsigned long port) |
77 | { | 59 | { |
78 | if (port >= 0x2000 || | 60 | if (port >= 0x2000) |
79 | (sh_pcic_io_start <= port && port <= sh_pcic_io_stop)) | ||
80 | return *port2adr(port); | 61 | return *port2adr(port); |
81 | else | 62 | else |
82 | maybebadio(port); | 63 | maybebadio(port); |
@@ -91,9 +72,7 @@ unsigned int se_inl(unsigned long port) | |||
91 | 72 | ||
92 | void se_outb(unsigned char value, unsigned long port) | 73 | void se_outb(unsigned char value, unsigned long port) |
93 | { | 74 | { |
94 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) | 75 | if (shifted_port(port)) |
95 | *(__u8 *)(sh_pcic_io_wbase + port) = value; | ||
96 | else if (shifted_port(port)) | ||
97 | *(port2adr(port)) = value << 8; | 76 | *(port2adr(port)) = value << 8; |
98 | else | 77 | else |
99 | *(port2adr(port)) = value; | 78 | *(port2adr(port)) = value; |
@@ -101,9 +80,7 @@ void se_outb(unsigned char value, unsigned long port) | |||
101 | 80 | ||
102 | void se_outb_p(unsigned char value, unsigned long port) | 81 | void se_outb_p(unsigned char value, unsigned long port) |
103 | { | 82 | { |
104 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) | 83 | if (shifted_port(port)) |
105 | *(__u8 *)(sh_pcic_io_wbase + port) = value; | ||
106 | else if (shifted_port(port)) | ||
107 | *(port2adr(port)) = value << 8; | 84 | *(port2adr(port)) = value << 8; |
108 | else | 85 | else |
109 | *(port2adr(port)) = value; | 86 | *(port2adr(port)) = value; |
@@ -112,8 +89,7 @@ void se_outb_p(unsigned char value, unsigned long port) | |||
112 | 89 | ||
113 | void se_outw(unsigned short value, unsigned long port) | 90 | void se_outw(unsigned short value, unsigned long port) |
114 | { | 91 | { |
115 | if (port >= 0x2000 || | 92 | if (port >= 0x2000) |
116 | (sh_pcic_io_start <= port && port <= sh_pcic_io_stop)) | ||
117 | *port2adr(port) = value; | 93 | *port2adr(port) = value; |
118 | else | 94 | else |
119 | maybebadio(port); | 95 | maybebadio(port); |
@@ -129,11 +105,7 @@ void se_insb(unsigned long port, void *addr, unsigned long count) | |||
129 | volatile __u16 *p = port2adr(port); | 105 | volatile __u16 *p = port2adr(port); |
130 | __u8 *ap = addr; | 106 | __u8 *ap = addr; |
131 | 107 | ||
132 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) { | 108 | if (shifted_port(port)) { |
133 | volatile __u8 *bp = (__u8 *) (sh_pcic_io_wbase + 0x40000 + port); | ||
134 | while (count--) | ||
135 | *ap++ = *bp; | ||
136 | } else if (shifted_port(port)) { | ||
137 | while (count--) | 109 | while (count--) |
138 | *ap++ = *p >> 8; | 110 | *ap++ = *p >> 8; |
139 | } else { | 111 | } else { |
@@ -160,11 +132,7 @@ void se_outsb(unsigned long port, const void *addr, unsigned long count) | |||
160 | volatile __u16 *p = port2adr(port); | 132 | volatile __u16 *p = port2adr(port); |
161 | const __u8 *ap = addr; | 133 | const __u8 *ap = addr; |
162 | 134 | ||
163 | if (sh_pcic_io_start <= port && port <= sh_pcic_io_stop) { | 135 | if (shifted_port(port)) { |
164 | volatile __u8 *bp = (__u8 *) (sh_pcic_io_wbase + port); | ||
165 | while (count--) | ||
166 | *bp = *ap++; | ||
167 | } else if (shifted_port(port)) { | ||
168 | while (count--) | 136 | while (count--) |
169 | *p = *ap++ << 8; | 137 | *p = *ap++ << 8; |
170 | } else { | 138 | } else { |
@@ -177,6 +145,7 @@ void se_outsw(unsigned long port, const void *addr, unsigned long count) | |||
177 | { | 145 | { |
178 | volatile __u16 *p = port2adr(port); | 146 | volatile __u16 *p = port2adr(port); |
179 | const __u16 *ap = addr; | 147 | const __u16 *ap = addr; |
148 | |||
180 | while (count--) | 149 | while (count--) |
181 | *p = *ap++; | 150 | *p = *ap++; |
182 | } | 151 | } |
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c index 318bc8a3969c..cf4a5ba12df4 100644 --- a/arch/sh/boards/se/770x/setup.c +++ b/arch/sh/boards/se/770x/setup.c | |||
@@ -14,8 +14,6 @@ | |||
14 | #include <asm/smc37c93x.h> | 14 | #include <asm/smc37c93x.h> |
15 | #include <asm/heartbeat.h> | 15 | #include <asm/heartbeat.h> |
16 | 16 | ||
17 | void init_se_IRQ(void); | ||
18 | |||
19 | /* | 17 | /* |
20 | * Configure the Super I/O chip | 18 | * Configure the Super I/O chip |
21 | */ | 19 | */ |
@@ -73,7 +71,7 @@ static struct resource cf_ide_resources[] = { | |||
73 | }, | 71 | }, |
74 | [1] = { | 72 | [1] = { |
75 | .start = PA_MRSHPC_IO + 0x1f0 + 0x206, | 73 | .start = PA_MRSHPC_IO + 0x1f0 + 0x206, |
76 | .end = PA_MRSHPC_IO + 0x1f0 +8 + 0x206 + 8, | 74 | .end = PA_MRSHPC_IO + 0x1f0 + 8 + 0x206 + 8, |
77 | .flags = IORESOURCE_MEM, | 75 | .flags = IORESOURCE_MEM, |
78 | }, | 76 | }, |
79 | [2] = { | 77 | [2] = { |
@@ -115,9 +113,58 @@ static struct platform_device heartbeat_device = { | |||
115 | .resource = heartbeat_resources, | 113 | .resource = heartbeat_resources, |
116 | }; | 114 | }; |
117 | 115 | ||
116 | /* SH771X Ethernet driver */ | ||
117 | static struct resource sh_eth0_resources[] = { | ||
118 | [0] = { | ||
119 | .start = SH_ETH0_BASE, | ||
120 | .end = SH_ETH0_BASE + 0x1B8, | ||
121 | .flags = IORESOURCE_MEM, | ||
122 | }, | ||
123 | [1] = { | ||
124 | .start = SH_ETH0_IRQ, | ||
125 | .end = SH_ETH0_IRQ, | ||
126 | .flags = IORESOURCE_IRQ, | ||
127 | }, | ||
128 | }; | ||
129 | |||
130 | static struct platform_device sh_eth0_device = { | ||
131 | .name = "sh-eth", | ||
132 | .id = 0, | ||
133 | .dev = { | ||
134 | .platform_data = PHY_ID, | ||
135 | }, | ||
136 | .num_resources = ARRAY_SIZE(sh_eth0_resources), | ||
137 | .resource = sh_eth0_resources, | ||
138 | }; | ||
139 | |||
140 | static struct resource sh_eth1_resources[] = { | ||
141 | [0] = { | ||
142 | .start = SH_ETH1_BASE, | ||
143 | .end = SH_ETH1_BASE + 0x1B8, | ||
144 | .flags = IORESOURCE_MEM, | ||
145 | }, | ||
146 | [1] = { | ||
147 | .start = SH_ETH1_IRQ, | ||
148 | .end = SH_ETH1_IRQ, | ||
149 | .flags = IORESOURCE_IRQ, | ||
150 | }, | ||
151 | }; | ||
152 | |||
153 | static struct platform_device sh_eth1_device = { | ||
154 | .name = "sh-eth", | ||
155 | .id = 1, | ||
156 | .dev = { | ||
157 | .platform_data = PHY_ID, | ||
158 | }, | ||
159 | .num_resources = ARRAY_SIZE(sh_eth1_resources), | ||
160 | .resource = sh_eth1_resources, | ||
161 | }; | ||
162 | |||
118 | static struct platform_device *se_devices[] __initdata = { | 163 | static struct platform_device *se_devices[] __initdata = { |
119 | &heartbeat_device, | 164 | &heartbeat_device, |
120 | &cf_ide_device, | 165 | &cf_ide_device, |
166 | &sh_eth0_device, | ||
167 | &sh_eth1_device, | ||
121 | }; | 168 | }; |
122 | 169 | ||
123 | static int __init se_devices_setup(void) | 170 | static int __init se_devices_setup(void) |
diff --git a/arch/sh/boards/se/7722/setup.c b/arch/sh/boards/se/7722/setup.c index ede3957fc14a..6e228ea59788 100644 --- a/arch/sh/boards/se/7722/setup.c +++ b/arch/sh/boards/se/7722/setup.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/input.h> | 16 | #include <linux/input.h> |
17 | #include <linux/smc91x.h> | 17 | #include <linux/smc91x.h> |
18 | #include <asm/machvec.h> | 18 | #include <asm/machvec.h> |
19 | #include <asm/clock.h> | ||
19 | #include <asm/se7722.h> | 20 | #include <asm/se7722.h> |
20 | #include <asm/io.h> | 21 | #include <asm/io.h> |
21 | #include <asm/heartbeat.h> | 22 | #include <asm/heartbeat.h> |
@@ -145,6 +146,8 @@ static struct platform_device *se7722_devices[] __initdata = { | |||
145 | 146 | ||
146 | static int __init se7722_devices_setup(void) | 147 | static int __init se7722_devices_setup(void) |
147 | { | 148 | { |
149 | clk_always_enable("mstp214"); /* KEYSC */ | ||
150 | |||
148 | return platform_add_devices(se7722_devices, | 151 | return platform_add_devices(se7722_devices, |
149 | ARRAY_SIZE(se7722_devices)); | 152 | ARRAY_SIZE(se7722_devices)); |
150 | } | 153 | } |
@@ -154,11 +157,6 @@ static void __init se7722_setup(char **cmdline_p) | |||
154 | { | 157 | { |
155 | ctrl_outw(0x010D, FPGA_OUT); /* FPGA */ | 158 | ctrl_outw(0x010D, FPGA_OUT); /* FPGA */ |
156 | 159 | ||
157 | ctrl_outl(0x00051001, MSTPCR0); | ||
158 | ctrl_outl(0x00000000, MSTPCR1); | ||
159 | /* KEYSC, VOU, BEU, CEU, VEU, VPU, LCDC, USB */ | ||
160 | ctrl_outl(0xffffb7c0, MSTPCR2); | ||
161 | |||
162 | ctrl_outw(0x0000, PORT_PECR); /* PORT E 1 = IRQ5 ,E 0 = BS */ | 160 | ctrl_outw(0x0000, PORT_PECR); /* PORT E 1 = IRQ5 ,E 0 = BS */ |
163 | ctrl_outw(0x1000, PORT_PJCR); /* PORT J 1 = IRQ1,J 0 =IRQ0 */ | 161 | ctrl_outw(0x1000, PORT_PJCR); /* PORT J 1 = IRQ1,J 0 =IRQ0 */ |
164 | 162 | ||
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index 89b408620dcb..8b37869a8227 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -40,7 +40,7 @@ KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | |||
40 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ | 40 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ |
41 | $$[$(CONFIG_PAGE_OFFSET) + \ | 41 | $$[$(CONFIG_PAGE_OFFSET) + \ |
42 | $(CONFIG_MEMORY_START) + \ | 42 | $(CONFIG_MEMORY_START) + \ |
43 | $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]') | 43 | $(CONFIG_ZERO_PAGE_OFFSET) + $(CONFIG_ENTRY_OFFSET)]') |
44 | 44 | ||
45 | quiet_cmd_uimage = UIMAGE $@ | 45 | quiet_cmd_uimage = UIMAGE $@ |
46 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ | 46 | cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ |
diff --git a/arch/sh/boot/compressed/Makefile_32 b/arch/sh/boot/compressed/Makefile_32 index c0d25fb1aa60..47685f618ae7 100644 --- a/arch/sh/boot/compressed/Makefile_32 +++ b/arch/sh/boot/compressed/Makefile_32 | |||
@@ -35,8 +35,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE | |||
35 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | 35 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE |
36 | $(call if_changed,gzip) | 36 | $(call if_changed,gzip) |
37 | 37 | ||
38 | LDFLAGS_piggy.o := -r --format binary --oformat elf32-sh-linux -T | ||
39 | OBJCOPYFLAGS += -R .empty_zero_page | 38 | OBJCOPYFLAGS += -R .empty_zero_page |
40 | 39 | ||
41 | $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE | 40 | $(obj)/piggy.o: $(obj)/piggy.S $(obj)/vmlinux.bin.gz FORCE |
42 | $(call if_changed,ld) | 41 | $(call if_changed,as_o_S) |
diff --git a/arch/sh/boot/compressed/Makefile_64 b/arch/sh/boot/compressed/Makefile_64 index 912f3e205a0d..658d4f915556 100644 --- a/arch/sh/boot/compressed/Makefile_64 +++ b/arch/sh/boot/compressed/Makefile_64 | |||
@@ -37,8 +37,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE | |||
37 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE | 37 | $(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE |
38 | $(call if_changed,gzip) | 38 | $(call if_changed,gzip) |
39 | 39 | ||
40 | LDFLAGS_piggy.o := -r --format binary --oformat elf32-sh64-linux -T | ||
41 | OBJCOPYFLAGS += -R .empty_zero_page | 40 | OBJCOPYFLAGS += -R .empty_zero_page |
42 | 41 | ||
43 | $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.gz FORCE | 42 | $(obj)/piggy.o: $(obj)/piggy.S $(obj)/vmlinux.bin.gz FORCE |
44 | $(call if_changed,ld) | 43 | $(call if_changed,as_o_S) |
diff --git a/arch/sh/boot/compressed/piggy.S b/arch/sh/boot/compressed/piggy.S new file mode 100644 index 000000000000..566071926b13 --- /dev/null +++ b/arch/sh/boot/compressed/piggy.S | |||
@@ -0,0 +1,8 @@ | |||
1 | .global input_len, input_data | ||
2 | .data | ||
3 | input_len: | ||
4 | .long input_data_end - input_data | ||
5 | input_data: | ||
6 | .incbin "arch/sh/boot/compressed/vmlinux.bin.gz" | ||
7 | input_data_end: | ||
8 | .end | ||
diff --git a/arch/sh/boot/compressed/vmlinux.scr b/arch/sh/boot/compressed/vmlinux.scr deleted file mode 100644 index 1ed9d791f863..000000000000 --- a/arch/sh/boot/compressed/vmlinux.scr +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | SECTIONS | ||
2 | { | ||
3 | .data : { | ||
4 | input_len = .; | ||
5 | LONG(input_data_end - input_data) input_data = .; | ||
6 | *(.data) | ||
7 | input_data_end = .; | ||
8 | } | ||
9 | } | ||
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 | # | ||
6 | CONFIG_SUPERH=y | ||
7 | CONFIG_SUPERH32=y | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
11 | CONFIG_GENERIC_HWEIGHT=y | ||
12 | CONFIG_GENERIC_HARDIRQS=y | ||
13 | CONFIG_GENERIC_IRQ_PROBE=y | ||
14 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
15 | CONFIG_GENERIC_TIME=y | ||
16 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
17 | CONFIG_STACKTRACE_SUPPORT=y | ||
18 | CONFIG_LOCKDEP_SUPPORT=y | ||
19 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
20 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
21 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
22 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
24 | |||
25 | # | ||
26 | # General setup | ||
27 | # | ||
28 | CONFIG_EXPERIMENTAL=y | ||
29 | CONFIG_BROKEN_ON_SMP=y | ||
30 | CONFIG_LOCK_KERNEL=y | ||
31 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
32 | CONFIG_LOCALVERSION="" | ||
33 | # CONFIG_LOCALVERSION_AUTO is not set | ||
34 | CONFIG_SWAP=y | ||
35 | CONFIG_SYSVIPC=y | ||
36 | CONFIG_SYSVIPC_SYSCTL=y | ||
37 | # CONFIG_POSIX_MQUEUE is not set | ||
38 | CONFIG_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 | ||
43 | CONFIG_LOG_BUF_SHIFT=14 | ||
44 | # CONFIG_CGROUPS is not set | ||
45 | CONFIG_GROUP_SCHED=y | ||
46 | CONFIG_FAIR_GROUP_SCHED=y | ||
47 | # CONFIG_RT_GROUP_SCHED is not set | ||
48 | CONFIG_USER_SCHED=y | ||
49 | # CONFIG_CGROUP_SCHED is not set | ||
50 | CONFIG_SYSFS_DEPRECATED=y | ||
51 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
52 | # CONFIG_RELAY is not set | ||
53 | # CONFIG_NAMESPACES is not set | ||
54 | # CONFIG_BLK_DEV_INITRD is not set | ||
55 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
56 | CONFIG_SYSCTL=y | ||
57 | CONFIG_EMBEDDED=y | ||
58 | CONFIG_UID16=y | ||
59 | CONFIG_SYSCTL_SYSCALL=y | ||
60 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
61 | # CONFIG_KALLSYMS is not set | ||
62 | CONFIG_HOTPLUG=y | ||
63 | CONFIG_PRINTK=y | ||
64 | CONFIG_BUG=y | ||
65 | CONFIG_ELF_CORE=y | ||
66 | CONFIG_COMPAT_BRK=y | ||
67 | CONFIG_BASE_FULL=y | ||
68 | CONFIG_FUTEX=y | ||
69 | CONFIG_ANON_INODES=y | ||
70 | CONFIG_EPOLL=y | ||
71 | CONFIG_SIGNALFD=y | ||
72 | CONFIG_TIMERFD=y | ||
73 | CONFIG_EVENTFD=y | ||
74 | CONFIG_SHMEM=y | ||
75 | CONFIG_VM_EVENT_COUNTERS=y | ||
76 | CONFIG_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 | ||
81 | CONFIG_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 | ||
85 | CONFIG_PROC_PAGE_MONITOR=y | ||
86 | CONFIG_SLABINFO=y | ||
87 | CONFIG_RT_MUTEXES=y | ||
88 | # CONFIG_TINY_SHMEM is not set | ||
89 | CONFIG_BASE_SMALL=0 | ||
90 | CONFIG_MODULES=y | ||
91 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
92 | CONFIG_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 | ||
96 | CONFIG_KMOD=y | ||
97 | CONFIG_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 | # | ||
106 | CONFIG_IOSCHED_NOOP=y | ||
107 | CONFIG_IOSCHED_AS=y | ||
108 | CONFIG_IOSCHED_DEADLINE=y | ||
109 | CONFIG_IOSCHED_CFQ=y | ||
110 | # CONFIG_DEFAULT_AS is not set | ||
111 | # CONFIG_DEFAULT_DEADLINE is not set | ||
112 | CONFIG_DEFAULT_CFQ=y | ||
113 | # CONFIG_DEFAULT_NOOP is not set | ||
114 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
115 | CONFIG_CLASSIC_RCU=y | ||
116 | |||
117 | # | ||
118 | # System type | ||
119 | # | ||
120 | CONFIG_CPU_SH4=y | ||
121 | CONFIG_CPU_SH4A=y | ||
122 | CONFIG_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 | ||
145 | CONFIG_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 | # | ||
160 | CONFIG_QUICKLIST=y | ||
161 | CONFIG_MMU=y | ||
162 | CONFIG_PAGE_OFFSET=0x80000000 | ||
163 | CONFIG_MEMORY_START=0x08000000 | ||
164 | CONFIG_MEMORY_SIZE=0x08000000 | ||
165 | CONFIG_29BIT=y | ||
166 | # CONFIG_X2TLB is not set | ||
167 | CONFIG_VSYSCALL=y | ||
168 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
169 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
170 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
171 | CONFIG_MAX_ACTIVE_REGIONS=1 | ||
172 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
173 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
174 | CONFIG_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 | ||
178 | CONFIG_SELECT_MEMORY_MODEL=y | ||
179 | CONFIG_FLATMEM_MANUAL=y | ||
180 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
181 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
182 | CONFIG_FLATMEM=y | ||
183 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
184 | CONFIG_SPARSEMEM_STATIC=y | ||
185 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
186 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
187 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
188 | # CONFIG_RESOURCES_64BIT is not set | ||
189 | CONFIG_ZONE_DMA_FLAG=0 | ||
190 | CONFIG_NR_QUICK=2 | ||
191 | |||
192 | # | ||
193 | # Cache configuration | ||
194 | # | ||
195 | # CONFIG_SH_DIRECT_MAPPED is not set | ||
196 | CONFIG_CACHE_WRITEBACK=y | ||
197 | # CONFIG_CACHE_WRITETHROUGH is not set | ||
198 | # CONFIG_CACHE_OFF is not set | ||
199 | |||
200 | # | ||
201 | # Processor features | ||
202 | # | ||
203 | CONFIG_CPU_LITTLE_ENDIAN=y | ||
204 | # CONFIG_CPU_BIG_ENDIAN is not set | ||
205 | CONFIG_SH_FPU=y | ||
206 | # CONFIG_SH_STORE_QUEUES is not set | ||
207 | CONFIG_CPU_HAS_INTEVT=y | ||
208 | CONFIG_CPU_HAS_SR_RB=y | ||
209 | CONFIG_CPU_HAS_PTEA=y | ||
210 | CONFIG_CPU_HAS_FPU=y | ||
211 | |||
212 | # | ||
213 | # Board support | ||
214 | # | ||
215 | CONFIG_SH_AP325RXA=y | ||
216 | |||
217 | # | ||
218 | # Timer and clock configuration | ||
219 | # | ||
220 | CONFIG_SH_TMU=y | ||
221 | CONFIG_SH_TIMER_IRQ=16 | ||
222 | CONFIG_SH_PCLK_FREQ=33333333 | ||
223 | CONFIG_TICK_ONESHOT=y | ||
224 | # CONFIG_NO_HZ is not set | ||
225 | CONFIG_HIGH_RES_TIMERS=y | ||
226 | CONFIG_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 | ||
252 | CONFIG_HZ_250=y | ||
253 | # CONFIG_HZ_300 is not set | ||
254 | # CONFIG_HZ_1000 is not set | ||
255 | CONFIG_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 | ||
261 | CONFIG_PREEMPT=y | ||
262 | # CONFIG_PREEMPT_RCU is not set | ||
263 | CONFIG_GUSA=y | ||
264 | |||
265 | # | ||
266 | # Boot options | ||
267 | # | ||
268 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | ||
269 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | ||
270 | CONFIG_CMDLINE_BOOL=y | ||
271 | CONFIG_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 | # | ||
282 | CONFIG_BINFMT_ELF=y | ||
283 | # CONFIG_BINFMT_MISC is not set | ||
284 | |||
285 | # | ||
286 | # Networking | ||
287 | # | ||
288 | CONFIG_NET=y | ||
289 | |||
290 | # | ||
291 | # Networking options | ||
292 | # | ||
293 | CONFIG_PACKET=y | ||
294 | # CONFIG_PACKET_MMAP is not set | ||
295 | CONFIG_UNIX=y | ||
296 | # CONFIG_NET_KEY is not set | ||
297 | CONFIG_INET=y | ||
298 | # CONFIG_IP_MULTICAST is not set | ||
299 | CONFIG_IP_ADVANCED_ROUTER=y | ||
300 | CONFIG_ASK_IP_FIB_HASH=y | ||
301 | # CONFIG_IP_FIB_TRIE is not set | ||
302 | CONFIG_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 | ||
306 | CONFIG_IP_PNP=y | ||
307 | CONFIG_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 | ||
323 | CONFIG_INET_DIAG=y | ||
324 | CONFIG_INET_TCP_DIAG=y | ||
325 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
326 | CONFIG_TCP_CONG_CUBIC=y | ||
327 | CONFIG_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 | # | ||
375 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
376 | CONFIG_STANDALONE=y | ||
377 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
378 | CONFIG_FW_LOADER=y | ||
379 | # CONFIG_SYS_HYPERVISOR is not set | ||
380 | # CONFIG_CONNECTOR is not set | ||
381 | CONFIG_MTD=y | ||
382 | # CONFIG_MTD_DEBUG is not set | ||
383 | CONFIG_MTD_CONCAT=y | ||
384 | CONFIG_MTD_PARTITIONS=y | ||
385 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
386 | CONFIG_MTD_CMDLINE_PARTS=y | ||
387 | # CONFIG_MTD_AR7_PARTS is not set | ||
388 | |||
389 | # | ||
390 | # User Modules And Translation Layers | ||
391 | # | ||
392 | CONFIG_MTD_CHAR=y | ||
393 | CONFIG_MTD_BLKDEVS=y | ||
394 | CONFIG_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 | # | ||
405 | CONFIG_MTD_CFI=y | ||
406 | # CONFIG_MTD_JEDECPROBE is not set | ||
407 | CONFIG_MTD_GEN_PROBE=y | ||
408 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
409 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
410 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
411 | CONFIG_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 | ||
415 | CONFIG_MTD_CFI_I1=y | ||
416 | CONFIG_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 | ||
420 | CONFIG_MTD_CFI_AMDSTD=y | ||
421 | # CONFIG_MTD_CFI_STAA is not set | ||
422 | CONFIG_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 | ||
431 | CONFIG_MTD_PHYSMAP=y | ||
432 | CONFIG_MTD_PHYSMAP_START=0xffffffff | ||
433 | CONFIG_MTD_PHYSMAP_LEN=0 | ||
434 | CONFIG_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 | ||
459 | CONFIG_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 | ||
463 | CONFIG_BLK_DEV_RAM=y | ||
464 | CONFIG_BLK_DEV_RAM_COUNT=4 | ||
465 | CONFIG_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 | ||
469 | CONFIG_MISC_DEVICES=y | ||
470 | # CONFIG_EEPROM_93CX6 is not set | ||
471 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
472 | CONFIG_HAVE_IDE=y | ||
473 | # CONFIG_IDE is not set | ||
474 | |||
475 | # | ||
476 | # SCSI device support | ||
477 | # | ||
478 | # CONFIG_RAID_ATTRS is not set | ||
479 | CONFIG_SCSI=y | ||
480 | CONFIG_SCSI_DMA=y | ||
481 | # CONFIG_SCSI_TGT is not set | ||
482 | # CONFIG_SCSI_NETLINK is not set | ||
483 | CONFIG_SCSI_PROC_FS=y | ||
484 | |||
485 | # | ||
486 | # SCSI support type (disk, tape, CD-ROM) | ||
487 | # | ||
488 | CONFIG_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 | ||
502 | CONFIG_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 | ||
512 | CONFIG_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 | ||
517 | CONFIG_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 | ||
526 | CONFIG_NET_ETHERNET=y | ||
527 | CONFIG_MII=y | ||
528 | # CONFIG_AX88796 is not set | ||
529 | # CONFIG_STNIC is not set | ||
530 | # CONFIG_SMC91X is not set | ||
531 | CONFIG_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 | # | ||
558 | CONFIG_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 | # | ||
589 | CONFIG_VT=y | ||
590 | CONFIG_VT_CONSOLE=y | ||
591 | CONFIG_HW_CONSOLE=y | ||
592 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
593 | CONFIG_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 | # | ||
604 | CONFIG_SERIAL_SH_SCI=y | ||
605 | CONFIG_SERIAL_SH_SCI_NR_UARTS=6 | ||
606 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
607 | CONFIG_SERIAL_CORE=y | ||
608 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
609 | CONFIG_UNIX98_PTYS=y | ||
610 | CONFIG_LEGACY_PTYS=y | ||
611 | CONFIG_LEGACY_PTY_COUNT=256 | ||
612 | # CONFIG_IPMI_HANDLER is not set | ||
613 | CONFIG_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 | # | ||
628 | CONFIG_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 | # | ||
669 | CONFIG_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 | # | ||
687 | CONFIG_EXT2_FS=y | ||
688 | CONFIG_EXT2_FS_XATTR=y | ||
689 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
690 | CONFIG_EXT2_FS_SECURITY=y | ||
691 | # CONFIG_EXT2_FS_XIP is not set | ||
692 | CONFIG_EXT3_FS=y | ||
693 | CONFIG_EXT3_FS_XATTR=y | ||
694 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
695 | CONFIG_EXT3_FS_SECURITY=y | ||
696 | # CONFIG_EXT4DEV_FS is not set | ||
697 | CONFIG_JBD=y | ||
698 | CONFIG_FS_MBCACHE=y | ||
699 | # CONFIG_REISERFS_FS is not set | ||
700 | # CONFIG_JFS_FS is not set | ||
701 | CONFIG_FS_POSIX_ACL=y | ||
702 | # CONFIG_XFS_FS is not set | ||
703 | # CONFIG_OCFS2_FS is not set | ||
704 | CONFIG_DNOTIFY=y | ||
705 | CONFIG_INOTIFY=y | ||
706 | CONFIG_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 | # | ||
721 | CONFIG_FAT_FS=y | ||
722 | # CONFIG_MSDOS_FS is not set | ||
723 | CONFIG_VFAT_FS=y | ||
724 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
725 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
726 | # CONFIG_NTFS_FS is not set | ||
727 | |||
728 | # | ||
729 | # Pseudo filesystems | ||
730 | # | ||
731 | CONFIG_PROC_FS=y | ||
732 | CONFIG_PROC_KCORE=y | ||
733 | CONFIG_PROC_SYSCTL=y | ||
734 | CONFIG_SYSFS=y | ||
735 | CONFIG_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 | ||
760 | CONFIG_NETWORK_FILESYSTEMS=y | ||
761 | CONFIG_NFS_FS=y | ||
762 | CONFIG_NFS_V3=y | ||
763 | # CONFIG_NFS_V3_ACL is not set | ||
764 | # CONFIG_NFS_V4 is not set | ||
765 | CONFIG_NFSD=y | ||
766 | CONFIG_NFSD_V3=y | ||
767 | # CONFIG_NFSD_V3_ACL is not set | ||
768 | # CONFIG_NFSD_V4 is not set | ||
769 | CONFIG_ROOT_NFS=y | ||
770 | CONFIG_LOCKD=y | ||
771 | CONFIG_LOCKD_V4=y | ||
772 | CONFIG_EXPORTFS=y | ||
773 | CONFIG_NFS_COMMON=y | ||
774 | CONFIG_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 | ||
788 | CONFIG_MSDOS_PARTITION=y | ||
789 | CONFIG_NLS=y | ||
790 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
791 | CONFIG_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 | ||
808 | CONFIG_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 | ||
815 | CONFIG_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 | # | ||
834 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
835 | # CONFIG_PRINTK_TIME is not set | ||
836 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
837 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
838 | CONFIG_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 | ||
856 | CONFIG_CRYPTO=y | ||
857 | |||
858 | # | ||
859 | # Crypto core or helper | ||
860 | # | ||
861 | CONFIG_CRYPTO_ALGAPI=y | ||
862 | CONFIG_CRYPTO_BLKCIPHER=y | ||
863 | CONFIG_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 | # | ||
880 | CONFIG_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 | ||
931 | CONFIG_CRYPTO_HW=y | ||
932 | |||
933 | # | ||
934 | # Library routines | ||
935 | # | ||
936 | CONFIG_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 | ||
941 | CONFIG_CRC32=y | ||
942 | # CONFIG_CRC7 is not set | ||
943 | # CONFIG_LIBCRC32C is not set | ||
944 | CONFIG_PLIST=y | ||
945 | CONFIG_HAS_IOMEM=y | ||
946 | CONFIG_HAS_IOPORT=y | ||
947 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/sh/configs/se7343_defconfig b/arch/sh/configs/se7343_defconfig index 84c0075e2ad4..7b7273638447 100644 --- a/arch/sh/configs/se7343_defconfig +++ b/arch/sh/configs/se7343_defconfig | |||
@@ -1,40 +1,55 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.18 | 3 | # Linux kernel version: 2.6.26-rc8 |
4 | # Tue Oct 3 11:46:17 2006 | 4 | # Mon Jul 7 13:12:45 2008 |
5 | # | 5 | # |
6 | CONFIG_SUPERH=y | 6 | CONFIG_SUPERH=y |
7 | CONFIG_SUPERH32=y | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | CONFIG_GENERIC_BUG=y | ||
8 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 10 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
9 | CONFIG_GENERIC_HWEIGHT=y | 11 | CONFIG_GENERIC_HWEIGHT=y |
10 | CONFIG_GENERIC_HARDIRQS=y | 12 | CONFIG_GENERIC_HARDIRQS=y |
11 | CONFIG_GENERIC_IRQ_PROBE=y | 13 | CONFIG_GENERIC_IRQ_PROBE=y |
12 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 14 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
15 | CONFIG_GENERIC_TIME=y | ||
16 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
17 | CONFIG_STACKTRACE_SUPPORT=y | ||
18 | CONFIG_LOCKDEP_SUPPORT=y | ||
19 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
20 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
21 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
22 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
13 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
14 | 24 | ||
15 | # | 25 | # |
16 | # Code maturity level options | 26 | # General setup |
17 | # | 27 | # |
18 | CONFIG_EXPERIMENTAL=y | 28 | CONFIG_EXPERIMENTAL=y |
19 | CONFIG_BROKEN_ON_SMP=y | 29 | CONFIG_BROKEN_ON_SMP=y |
20 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 30 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
21 | |||
22 | # | ||
23 | # General setup | ||
24 | # | ||
25 | CONFIG_LOCALVERSION="" | 31 | CONFIG_LOCALVERSION="" |
26 | CONFIG_LOCALVERSION_AUTO=y | 32 | CONFIG_LOCALVERSION_AUTO=y |
27 | # CONFIG_SWAP is not set | 33 | # CONFIG_SWAP is not set |
28 | CONFIG_SYSVIPC=y | 34 | CONFIG_SYSVIPC=y |
29 | # CONFIG_IPC_NS is not set | 35 | CONFIG_SYSVIPC_SYSCTL=y |
30 | CONFIG_POSIX_MQUEUE=y | 36 | CONFIG_POSIX_MQUEUE=y |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 37 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | # CONFIG_TASKSTATS is not set | 38 | # CONFIG_TASKSTATS is not set |
33 | # CONFIG_UTS_NS is not set | ||
34 | # CONFIG_AUDIT is not set | 39 | # CONFIG_AUDIT is not set |
35 | # CONFIG_IKCONFIG is not set | 40 | # CONFIG_IKCONFIG is not set |
41 | CONFIG_LOG_BUF_SHIFT=14 | ||
42 | # CONFIG_CGROUPS is not set | ||
43 | CONFIG_GROUP_SCHED=y | ||
44 | CONFIG_FAIR_GROUP_SCHED=y | ||
45 | # CONFIG_RT_GROUP_SCHED is not set | ||
46 | CONFIG_USER_SCHED=y | ||
47 | # CONFIG_CGROUP_SCHED is not set | ||
48 | CONFIG_SYSFS_DEPRECATED=y | ||
49 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
36 | # CONFIG_RELAY is not set | 50 | # CONFIG_RELAY is not set |
37 | CONFIG_INITRAMFS_SOURCE="" | 51 | # CONFIG_NAMESPACES is not set |
52 | # CONFIG_BLK_DEV_INITRD is not set | ||
38 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 53 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
39 | CONFIG_SYSCTL=y | 54 | CONFIG_SYSCTL=y |
40 | CONFIG_EMBEDDED=y | 55 | CONFIG_EMBEDDED=y |
@@ -46,33 +61,41 @@ CONFIG_HOTPLUG=y | |||
46 | CONFIG_PRINTK=y | 61 | CONFIG_PRINTK=y |
47 | CONFIG_BUG=y | 62 | CONFIG_BUG=y |
48 | CONFIG_ELF_CORE=y | 63 | CONFIG_ELF_CORE=y |
64 | CONFIG_COMPAT_BRK=y | ||
49 | CONFIG_BASE_FULL=y | 65 | CONFIG_BASE_FULL=y |
50 | # CONFIG_FUTEX is not set | 66 | # CONFIG_FUTEX is not set |
67 | CONFIG_ANON_INODES=y | ||
51 | # CONFIG_EPOLL is not set | 68 | # CONFIG_EPOLL is not set |
69 | CONFIG_SIGNALFD=y | ||
70 | CONFIG_TIMERFD=y | ||
71 | CONFIG_EVENTFD=y | ||
52 | # CONFIG_SHMEM is not set | 72 | # CONFIG_SHMEM is not set |
53 | CONFIG_SLAB=y | ||
54 | CONFIG_VM_EVENT_COUNTERS=y | 73 | CONFIG_VM_EVENT_COUNTERS=y |
74 | CONFIG_SLAB=y | ||
75 | # CONFIG_SLUB is not set | ||
76 | # CONFIG_SLOB is not set | ||
77 | # CONFIG_PROFILING is not set | ||
78 | # CONFIG_MARKERS is not set | ||
79 | CONFIG_HAVE_OPROFILE=y | ||
80 | # CONFIG_HAVE_KPROBES is not set | ||
81 | # CONFIG_HAVE_KRETPROBES is not set | ||
82 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
83 | CONFIG_PROC_PAGE_MONITOR=y | ||
84 | CONFIG_SLABINFO=y | ||
55 | CONFIG_TINY_SHMEM=y | 85 | CONFIG_TINY_SHMEM=y |
56 | CONFIG_BASE_SMALL=0 | 86 | CONFIG_BASE_SMALL=0 |
57 | # CONFIG_SLOB is not set | ||
58 | |||
59 | # | ||
60 | # Loadable module support | ||
61 | # | ||
62 | CONFIG_MODULES=y | 87 | CONFIG_MODULES=y |
88 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
63 | CONFIG_MODULE_UNLOAD=y | 89 | CONFIG_MODULE_UNLOAD=y |
64 | CONFIG_MODULE_FORCE_UNLOAD=y | 90 | CONFIG_MODULE_FORCE_UNLOAD=y |
65 | # CONFIG_MODVERSIONS is not set | 91 | # CONFIG_MODVERSIONS is not set |
66 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 92 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
67 | # CONFIG_KMOD is not set | 93 | # CONFIG_KMOD is not set |
68 | |||
69 | # | ||
70 | # Block layer | ||
71 | # | ||
72 | CONFIG_BLOCK=y | 94 | CONFIG_BLOCK=y |
73 | # CONFIG_LBD is not set | 95 | # CONFIG_LBD is not set |
74 | # CONFIG_BLK_DEV_IO_TRACE is not set | 96 | # CONFIG_BLK_DEV_IO_TRACE is not set |
75 | # CONFIG_LSF is not set | 97 | # CONFIG_LSF is not set |
98 | # CONFIG_BLK_DEV_BSG is not set | ||
76 | 99 | ||
77 | # | 100 | # |
78 | # IO Schedulers | 101 | # IO Schedulers |
@@ -86,62 +109,28 @@ CONFIG_DEFAULT_DEADLINE=y | |||
86 | # CONFIG_DEFAULT_CFQ is not set | 109 | # CONFIG_DEFAULT_CFQ is not set |
87 | # CONFIG_DEFAULT_NOOP is not set | 110 | # CONFIG_DEFAULT_NOOP is not set |
88 | CONFIG_DEFAULT_IOSCHED="deadline" | 111 | CONFIG_DEFAULT_IOSCHED="deadline" |
112 | CONFIG_CLASSIC_RCU=y | ||
89 | 113 | ||
90 | # | 114 | # |
91 | # System type | 115 | # System type |
92 | # | 116 | # |
93 | CONFIG_SOLUTION_ENGINE=y | ||
94 | # CONFIG_SH_SOLUTION_ENGINE is not set | ||
95 | # CONFIG_SH_7751_SOLUTION_ENGINE is not set | ||
96 | # CONFIG_SH_7300_SOLUTION_ENGINE is not set | ||
97 | CONFIG_SH_7343_SOLUTION_ENGINE=y | ||
98 | # CONFIG_SH_73180_SOLUTION_ENGINE is not set | ||
99 | # CONFIG_SH_7751_SYSTEMH is not set | ||
100 | # CONFIG_SH_HP6XX is not set | ||
101 | # CONFIG_SH_EC3104 is not set | ||
102 | # CONFIG_SH_SATURN is not set | ||
103 | # CONFIG_SH_DREAMCAST is not set | ||
104 | # CONFIG_SH_BIGSUR is not set | ||
105 | # CONFIG_SH_MPC1211 is not set | ||
106 | # CONFIG_SH_SH03 is not set | ||
107 | # CONFIG_SH_SECUREEDGE5410 is not set | ||
108 | # CONFIG_SH_HS7751RVOIP is not set | ||
109 | # CONFIG_SH_7710VOIPGW is not set | ||
110 | # CONFIG_SH_RTS7751R2D is not set | ||
111 | # CONFIG_SH_R7780RP is not set | ||
112 | # CONFIG_SH_EDOSK7705 is not set | ||
113 | # CONFIG_SH_SH4202_MICRODEV is not set | ||
114 | # CONFIG_SH_LANDISK is not set | ||
115 | # CONFIG_SH_TITAN is not set | ||
116 | # CONFIG_SH_SHMIN is not set | ||
117 | # CONFIG_SH_UNKNOWN is not set | ||
118 | |||
119 | # | ||
120 | # Processor selection | ||
121 | # | ||
122 | CONFIG_CPU_SH4=y | 117 | CONFIG_CPU_SH4=y |
123 | CONFIG_CPU_SH4A=y | 118 | CONFIG_CPU_SH4A=y |
124 | CONFIG_CPU_SH4AL_DSP=y | 119 | CONFIG_CPU_SH4AL_DSP=y |
125 | 120 | # CONFIG_CPU_SUBTYPE_SH7619 is not set | |
126 | # | 121 | # CONFIG_CPU_SUBTYPE_SH7203 is not set |
127 | # SH-2 Processor Support | 122 | # CONFIG_CPU_SUBTYPE_SH7206 is not set |
128 | # | 123 | # CONFIG_CPU_SUBTYPE_SH7263 is not set |
129 | # CONFIG_CPU_SUBTYPE_SH7604 is not set | 124 | # CONFIG_CPU_SUBTYPE_MXG is not set |
130 | |||
131 | # | ||
132 | # SH-3 Processor Support | ||
133 | # | ||
134 | # CONFIG_CPU_SUBTYPE_SH7300 is not set | ||
135 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | 125 | # CONFIG_CPU_SUBTYPE_SH7705 is not set |
136 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | 126 | # CONFIG_CPU_SUBTYPE_SH7706 is not set |
137 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | 127 | # CONFIG_CPU_SUBTYPE_SH7707 is not set |
138 | # CONFIG_CPU_SUBTYPE_SH7708 is not set | 128 | # CONFIG_CPU_SUBTYPE_SH7708 is not set |
139 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | 129 | # CONFIG_CPU_SUBTYPE_SH7709 is not set |
140 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | 130 | # CONFIG_CPU_SUBTYPE_SH7710 is not set |
141 | 131 | # CONFIG_CPU_SUBTYPE_SH7712 is not set | |
142 | # | 132 | # CONFIG_CPU_SUBTYPE_SH7720 is not set |
143 | # SH-4 Processor Support | 133 | # CONFIG_CPU_SUBTYPE_SH7721 is not set |
144 | # | ||
145 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | 134 | # CONFIG_CPU_SUBTYPE_SH7750 is not set |
146 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | 135 | # CONFIG_CPU_SUBTYPE_SH7091 is not set |
147 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | 136 | # CONFIG_CPU_SUBTYPE_SH7750R is not set |
@@ -150,67 +139,88 @@ CONFIG_CPU_SH4AL_DSP=y | |||
150 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | 139 | # CONFIG_CPU_SUBTYPE_SH7751R is not set |
151 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | 140 | # CONFIG_CPU_SUBTYPE_SH7760 is not set |
152 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | 141 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set |
153 | 142 | # CONFIG_CPU_SUBTYPE_SH7723 is not set | |
154 | # | 143 | # CONFIG_CPU_SUBTYPE_SH7763 is not set |
155 | # ST40 Processor Support | ||
156 | # | ||
157 | # CONFIG_CPU_SUBTYPE_ST40STB1 is not set | ||
158 | # CONFIG_CPU_SUBTYPE_ST40GX1 is not set | ||
159 | |||
160 | # | ||
161 | # SH-4A Processor Support | ||
162 | # | ||
163 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | 144 | # CONFIG_CPU_SUBTYPE_SH7770 is not set |
164 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | 145 | # CONFIG_CPU_SUBTYPE_SH7780 is not set |
165 | 146 | # CONFIG_CPU_SUBTYPE_SH7785 is not set | |
166 | # | 147 | # CONFIG_CPU_SUBTYPE_SHX3 is not set |
167 | # SH4AL-DSP Processor Support | ||
168 | # | ||
169 | # CONFIG_CPU_SUBTYPE_SH73180 is not set | ||
170 | CONFIG_CPU_SUBTYPE_SH7343=y | 148 | CONFIG_CPU_SUBTYPE_SH7343=y |
149 | # CONFIG_CPU_SUBTYPE_SH7722 is not set | ||
150 | # CONFIG_CPU_SUBTYPE_SH7366 is not set | ||
151 | # CONFIG_CPU_SUBTYPE_SH5_101 is not set | ||
152 | # CONFIG_CPU_SUBTYPE_SH5_103 is not set | ||
171 | 153 | ||
172 | # | 154 | # |
173 | # Memory management options | 155 | # Memory management options |
174 | # | 156 | # |
157 | CONFIG_QUICKLIST=y | ||
175 | CONFIG_MMU=y | 158 | CONFIG_MMU=y |
176 | CONFIG_PAGE_OFFSET=0x80000000 | 159 | CONFIG_PAGE_OFFSET=0x80000000 |
177 | CONFIG_MEMORY_START=0x0c000000 | 160 | CONFIG_MEMORY_START=0x0c000000 |
178 | CONFIG_MEMORY_SIZE=0x01000000 | 161 | CONFIG_MEMORY_SIZE=0x01000000 |
179 | CONFIG_32BIT=y | 162 | CONFIG_29BIT=y |
180 | CONFIG_VSYSCALL=y | 163 | CONFIG_VSYSCALL=y |
164 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
165 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
166 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
167 | CONFIG_MAX_ACTIVE_REGIONS=1 | ||
168 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
169 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
170 | CONFIG_PAGE_SIZE_4KB=y | ||
171 | # CONFIG_PAGE_SIZE_8KB is not set | ||
172 | # CONFIG_PAGE_SIZE_16KB is not set | ||
173 | # CONFIG_PAGE_SIZE_64KB is not set | ||
181 | CONFIG_SELECT_MEMORY_MODEL=y | 174 | CONFIG_SELECT_MEMORY_MODEL=y |
182 | CONFIG_FLATMEM_MANUAL=y | 175 | CONFIG_FLATMEM_MANUAL=y |
183 | # CONFIG_DISCONTIGMEM_MANUAL is not set | 176 | # CONFIG_DISCONTIGMEM_MANUAL is not set |
184 | # CONFIG_SPARSEMEM_MANUAL is not set | 177 | # CONFIG_SPARSEMEM_MANUAL is not set |
185 | CONFIG_FLATMEM=y | 178 | CONFIG_FLATMEM=y |
186 | CONFIG_FLAT_NODE_MEM_MAP=y | 179 | CONFIG_FLAT_NODE_MEM_MAP=y |
187 | # CONFIG_SPARSEMEM_STATIC is not set | 180 | CONFIG_SPARSEMEM_STATIC=y |
181 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
182 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
188 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 183 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
189 | # CONFIG_RESOURCES_64BIT is not set | 184 | # CONFIG_RESOURCES_64BIT is not set |
185 | CONFIG_ZONE_DMA_FLAG=0 | ||
186 | CONFIG_NR_QUICK=2 | ||
190 | 187 | ||
191 | # | 188 | # |
192 | # Cache configuration | 189 | # Cache configuration |
193 | # | 190 | # |
194 | # CONFIG_SH_DIRECT_MAPPED is not set | 191 | # CONFIG_SH_DIRECT_MAPPED is not set |
195 | # CONFIG_SH_WRITETHROUGH is not set | 192 | CONFIG_CACHE_WRITEBACK=y |
196 | # CONFIG_SH_OCRAM is not set | 193 | # CONFIG_CACHE_WRITETHROUGH is not set |
194 | # CONFIG_CACHE_OFF is not set | ||
197 | 195 | ||
198 | # | 196 | # |
199 | # Processor features | 197 | # Processor features |
200 | # | 198 | # |
201 | CONFIG_CPU_LITTLE_ENDIAN=y | 199 | CONFIG_CPU_LITTLE_ENDIAN=y |
202 | # CONFIG_SH_FPU is not set | 200 | # CONFIG_CPU_BIG_ENDIAN is not set |
203 | # CONFIG_SH_FPU_EMU is not set | 201 | # CONFIG_SH_FPU_EMU is not set |
204 | CONFIG_SH_DSP=y | 202 | CONFIG_SH_DSP=y |
205 | # CONFIG_SH_STORE_QUEUES is not set | 203 | # CONFIG_SH_STORE_QUEUES is not set |
206 | CONFIG_CPU_HAS_INTEVT=y | 204 | CONFIG_CPU_HAS_INTEVT=y |
207 | CONFIG_CPU_HAS_SR_RB=y | 205 | CONFIG_CPU_HAS_SR_RB=y |
206 | CONFIG_CPU_HAS_DSP=y | ||
207 | |||
208 | # | ||
209 | # Board support | ||
210 | # | ||
211 | CONFIG_SOLUTION_ENGINE=y | ||
212 | CONFIG_SH_7343_SOLUTION_ENGINE=y | ||
208 | 213 | ||
209 | # | 214 | # |
210 | # Timer support | 215 | # Timer and clock configuration |
211 | # | 216 | # |
212 | CONFIG_SH_TMU=y | 217 | CONFIG_SH_TMU=y |
218 | CONFIG_SH_TIMER_IRQ=16 | ||
213 | CONFIG_SH_PCLK_FREQ=27000000 | 219 | CONFIG_SH_PCLK_FREQ=27000000 |
220 | # CONFIG_TICK_ONESHOT is not set | ||
221 | # CONFIG_NO_HZ is not set | ||
222 | # CONFIG_HIGH_RES_TIMERS is not set | ||
223 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
214 | 224 | ||
215 | # | 225 | # |
216 | # CPU Frequency scaling | 226 | # CPU Frequency scaling |
@@ -225,57 +235,50 @@ CONFIG_SH_PCLK_FREQ=27000000 | |||
225 | # | 235 | # |
226 | # Companion Chips | 236 | # Companion Chips |
227 | # | 237 | # |
228 | # CONFIG_HD6446X_SERIES is not set | 238 | |
239 | # | ||
240 | # Additional SuperH Device Drivers | ||
241 | # | ||
229 | CONFIG_HEARTBEAT=y | 242 | CONFIG_HEARTBEAT=y |
243 | # CONFIG_PUSH_SWITCH is not set | ||
230 | 244 | ||
231 | # | 245 | # |
232 | # Kernel features | 246 | # Kernel features |
233 | # | 247 | # |
234 | # CONFIG_HZ_100 is not set | 248 | # CONFIG_HZ_100 is not set |
235 | CONFIG_HZ_250=y | 249 | CONFIG_HZ_250=y |
250 | # CONFIG_HZ_300 is not set | ||
236 | # CONFIG_HZ_1000 is not set | 251 | # CONFIG_HZ_1000 is not set |
237 | CONFIG_HZ=250 | 252 | CONFIG_HZ=250 |
253 | # CONFIG_SCHED_HRTICK is not set | ||
238 | # CONFIG_KEXEC is not set | 254 | # CONFIG_KEXEC is not set |
239 | # CONFIG_SMP is not set | 255 | # CONFIG_CRASH_DUMP is not set |
240 | CONFIG_PREEMPT_NONE=y | 256 | CONFIG_PREEMPT_NONE=y |
241 | # CONFIG_PREEMPT_VOLUNTARY is not set | 257 | # CONFIG_PREEMPT_VOLUNTARY is not set |
242 | # CONFIG_PREEMPT is not set | 258 | # CONFIG_PREEMPT is not set |
259 | CONFIG_GUSA=y | ||
243 | 260 | ||
244 | # | 261 | # |
245 | # Boot options | 262 | # Boot options |
246 | # | 263 | # |
247 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | 264 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 |
248 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | 265 | CONFIG_BOOT_LINK_OFFSET=0x00800000 |
249 | # CONFIG_UBC_WAKEUP is not set | ||
250 | # CONFIG_CMDLINE_BOOL is not set | 266 | # CONFIG_CMDLINE_BOOL is not set |
251 | 267 | ||
252 | # | 268 | # |
253 | # Bus options | 269 | # Bus options |
254 | # | 270 | # |
255 | # CONFIG_PCI is not set | 271 | # CONFIG_CF_ENABLER is not set |
256 | 272 | # CONFIG_ARCH_SUPPORTS_MSI is not set | |
257 | # | ||
258 | # PCCARD (PCMCIA/CardBus) support | ||
259 | # | ||
260 | # CONFIG_PCCARD is not set | 273 | # CONFIG_PCCARD is not set |
261 | 274 | ||
262 | # | 275 | # |
263 | # PCI Hotplug Support | ||
264 | # | ||
265 | |||
266 | # | ||
267 | # Executable file formats | 276 | # Executable file formats |
268 | # | 277 | # |
269 | CONFIG_BINFMT_ELF=y | 278 | CONFIG_BINFMT_ELF=y |
270 | # CONFIG_BINFMT_FLAT is not set | ||
271 | # CONFIG_BINFMT_MISC is not set | 279 | # CONFIG_BINFMT_MISC is not set |
272 | 280 | ||
273 | # | 281 | # |
274 | # Power management options (EXPERIMENTAL) | ||
275 | # | ||
276 | # CONFIG_PM is not set | ||
277 | |||
278 | # | ||
279 | # Networking | 282 | # Networking |
280 | # | 283 | # |
281 | CONFIG_NET=y | 284 | CONFIG_NET=y |
@@ -283,22 +286,20 @@ CONFIG_NET=y | |||
283 | # | 286 | # |
284 | # Networking options | 287 | # Networking options |
285 | # | 288 | # |
286 | # CONFIG_NETDEBUG is not set | ||
287 | CONFIG_PACKET=y | 289 | CONFIG_PACKET=y |
288 | CONFIG_PACKET_MMAP=y | 290 | CONFIG_PACKET_MMAP=y |
289 | CONFIG_UNIX=y | 291 | CONFIG_UNIX=y |
290 | CONFIG_XFRM=y | 292 | CONFIG_XFRM=y |
291 | # CONFIG_XFRM_USER is not set | 293 | # CONFIG_XFRM_USER is not set |
292 | # CONFIG_XFRM_SUB_POLICY is not set | 294 | # CONFIG_XFRM_SUB_POLICY is not set |
295 | # CONFIG_XFRM_MIGRATE is not set | ||
296 | # CONFIG_XFRM_STATISTICS is not set | ||
293 | # CONFIG_NET_KEY is not set | 297 | # CONFIG_NET_KEY is not set |
294 | CONFIG_INET=y | 298 | CONFIG_INET=y |
295 | # CONFIG_IP_MULTICAST is not set | 299 | # CONFIG_IP_MULTICAST is not set |
296 | # CONFIG_IP_ADVANCED_ROUTER is not set | 300 | # CONFIG_IP_ADVANCED_ROUTER is not set |
297 | CONFIG_IP_FIB_HASH=y | 301 | CONFIG_IP_FIB_HASH=y |
298 | CONFIG_IP_PNP=y | 302 | # CONFIG_IP_PNP is not set |
299 | CONFIG_IP_PNP_DHCP=y | ||
300 | # CONFIG_IP_PNP_BOOTP is not set | ||
301 | # CONFIG_IP_PNP_RARP is not set | ||
302 | # CONFIG_NET_IPIP is not set | 303 | # CONFIG_NET_IPIP is not set |
303 | # CONFIG_NET_IPGRE is not set | 304 | # CONFIG_NET_IPGRE is not set |
304 | # CONFIG_ARPD is not set | 305 | # CONFIG_ARPD is not set |
@@ -310,29 +311,18 @@ CONFIG_SYN_COOKIES=y | |||
310 | # CONFIG_INET_TUNNEL is not set | 311 | # CONFIG_INET_TUNNEL is not set |
311 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 312 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
312 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 313 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
314 | CONFIG_INET_XFRM_MODE_BEET=y | ||
315 | # CONFIG_INET_LRO is not set | ||
313 | # CONFIG_INET_DIAG is not set | 316 | # CONFIG_INET_DIAG is not set |
314 | # CONFIG_TCP_CONG_ADVANCED is not set | 317 | # CONFIG_TCP_CONG_ADVANCED is not set |
315 | CONFIG_TCP_CONG_CUBIC=y | 318 | CONFIG_TCP_CONG_CUBIC=y |
316 | CONFIG_DEFAULT_TCP_CONG="cubic" | 319 | CONFIG_DEFAULT_TCP_CONG="cubic" |
320 | # CONFIG_TCP_MD5SIG is not set | ||
317 | # CONFIG_IPV6 is not set | 321 | # CONFIG_IPV6 is not set |
318 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
319 | # CONFIG_INET6_TUNNEL is not set | ||
320 | # CONFIG_NETWORK_SECMARK is not set | 322 | # CONFIG_NETWORK_SECMARK is not set |
321 | # CONFIG_NETFILTER is not set | 323 | # CONFIG_NETFILTER is not set |
322 | |||
323 | # | ||
324 | # DCCP Configuration (EXPERIMENTAL) | ||
325 | # | ||
326 | # CONFIG_IP_DCCP is not set | 324 | # CONFIG_IP_DCCP is not set |
327 | |||
328 | # | ||
329 | # SCTP Configuration (EXPERIMENTAL) | ||
330 | # | ||
331 | # CONFIG_IP_SCTP is not set | 325 | # CONFIG_IP_SCTP is not set |
332 | |||
333 | # | ||
334 | # TIPC Configuration (EXPERIMENTAL) | ||
335 | # | ||
336 | # CONFIG_TIPC is not set | 326 | # CONFIG_TIPC is not set |
337 | # CONFIG_ATM is not set | 327 | # CONFIG_ATM is not set |
338 | # CONFIG_BRIDGE is not set | 328 | # CONFIG_BRIDGE is not set |
@@ -345,10 +335,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
345 | # CONFIG_LAPB is not set | 335 | # CONFIG_LAPB is not set |
346 | # CONFIG_ECONET is not set | 336 | # CONFIG_ECONET is not set |
347 | # CONFIG_WAN_ROUTER is not set | 337 | # CONFIG_WAN_ROUTER is not set |
348 | |||
349 | # | ||
350 | # QoS and/or fair queueing | ||
351 | # | ||
352 | # CONFIG_NET_SCHED is not set | 338 | # CONFIG_NET_SCHED is not set |
353 | 339 | ||
354 | # | 340 | # |
@@ -356,9 +342,20 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
356 | # | 342 | # |
357 | # CONFIG_NET_PKTGEN is not set | 343 | # CONFIG_NET_PKTGEN is not set |
358 | # CONFIG_HAMRADIO is not set | 344 | # CONFIG_HAMRADIO is not set |
345 | # CONFIG_CAN is not set | ||
359 | # CONFIG_IRDA is not set | 346 | # CONFIG_IRDA is not set |
360 | # CONFIG_BT is not set | 347 | # CONFIG_BT is not set |
348 | # CONFIG_AF_RXRPC is not set | ||
349 | |||
350 | # | ||
351 | # Wireless | ||
352 | # | ||
353 | # CONFIG_CFG80211 is not set | ||
354 | # CONFIG_WIRELESS_EXT is not set | ||
355 | # CONFIG_MAC80211 is not set | ||
361 | # CONFIG_IEEE80211 is not set | 356 | # CONFIG_IEEE80211 is not set |
357 | # CONFIG_RFKILL is not set | ||
358 | # CONFIG_NET_9P is not set | ||
362 | 359 | ||
363 | # | 360 | # |
364 | # Device Drivers | 361 | # Device Drivers |
@@ -367,36 +364,32 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
367 | # | 364 | # |
368 | # Generic Driver Options | 365 | # Generic Driver Options |
369 | # | 366 | # |
367 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
370 | CONFIG_STANDALONE=y | 368 | CONFIG_STANDALONE=y |
371 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 369 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
372 | CONFIG_FW_LOADER=y | 370 | CONFIG_FW_LOADER=y |
373 | # CONFIG_SYS_HYPERVISOR is not set | 371 | # CONFIG_SYS_HYPERVISOR is not set |
374 | |||
375 | # | ||
376 | # Connector - unified userspace <-> kernelspace linker | ||
377 | # | ||
378 | # CONFIG_CONNECTOR is not set | 372 | # CONFIG_CONNECTOR is not set |
379 | |||
380 | # | ||
381 | # Memory Technology Devices (MTD) | ||
382 | # | ||
383 | CONFIG_MTD=y | 373 | CONFIG_MTD=y |
384 | # CONFIG_MTD_DEBUG is not set | 374 | # CONFIG_MTD_DEBUG is not set |
385 | CONFIG_MTD_CONCAT=y | 375 | CONFIG_MTD_CONCAT=y |
386 | CONFIG_MTD_PARTITIONS=y | 376 | CONFIG_MTD_PARTITIONS=y |
387 | # CONFIG_MTD_REDBOOT_PARTS is not set | 377 | # CONFIG_MTD_REDBOOT_PARTS is not set |
388 | # CONFIG_MTD_CMDLINE_PARTS is not set | 378 | # CONFIG_MTD_CMDLINE_PARTS is not set |
379 | # CONFIG_MTD_AR7_PARTS is not set | ||
389 | 380 | ||
390 | # | 381 | # |
391 | # User Modules And Translation Layers | 382 | # User Modules And Translation Layers |
392 | # | 383 | # |
393 | CONFIG_MTD_CHAR=y | 384 | CONFIG_MTD_CHAR=y |
385 | CONFIG_MTD_BLKDEVS=y | ||
394 | CONFIG_MTD_BLOCK=y | 386 | CONFIG_MTD_BLOCK=y |
395 | # CONFIG_FTL is not set | 387 | # CONFIG_FTL is not set |
396 | # CONFIG_NFTL is not set | 388 | # CONFIG_NFTL is not set |
397 | # CONFIG_INFTL is not set | 389 | # CONFIG_INFTL is not set |
398 | # CONFIG_RFD_FTL is not set | 390 | # CONFIG_RFD_FTL is not set |
399 | # CONFIG_SSFDC is not set | 391 | # CONFIG_SSFDC is not set |
392 | # CONFIG_MTD_OOPS is not set | ||
400 | 393 | ||
401 | # | 394 | # |
402 | # RAM/ROM/Flash chip drivers | 395 | # RAM/ROM/Flash chip drivers |
@@ -422,13 +415,15 @@ CONFIG_MTD_CFI_UTIL=y | |||
422 | CONFIG_MTD_RAM=y | 415 | CONFIG_MTD_RAM=y |
423 | # CONFIG_MTD_ROM is not set | 416 | # CONFIG_MTD_ROM is not set |
424 | # CONFIG_MTD_ABSENT is not set | 417 | # CONFIG_MTD_ABSENT is not set |
425 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
426 | 418 | ||
427 | # | 419 | # |
428 | # Mapping drivers for chip access | 420 | # Mapping drivers for chip access |
429 | # | 421 | # |
430 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 422 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
431 | # CONFIG_MTD_PHYSMAP is not set | 423 | CONFIG_MTD_PHYSMAP=y |
424 | CONFIG_MTD_PHYSMAP_START=0x0 | ||
425 | CONFIG_MTD_PHYSMAP_LEN=0 | ||
426 | CONFIG_MTD_PHYSMAP_BANKWIDTH=0 | ||
432 | # CONFIG_MTD_PLATRAM is not set | 427 | # CONFIG_MTD_PLATRAM is not set |
433 | 428 | ||
434 | # | 429 | # |
@@ -445,130 +440,101 @@ CONFIG_MTD_RAM=y | |||
445 | # CONFIG_MTD_DOC2000 is not set | 440 | # CONFIG_MTD_DOC2000 is not set |
446 | # CONFIG_MTD_DOC2001 is not set | 441 | # CONFIG_MTD_DOC2001 is not set |
447 | # CONFIG_MTD_DOC2001PLUS is not set | 442 | # CONFIG_MTD_DOC2001PLUS is not set |
448 | |||
449 | # | ||
450 | # NAND Flash Device Drivers | ||
451 | # | ||
452 | # CONFIG_MTD_NAND is not set | 443 | # CONFIG_MTD_NAND is not set |
453 | |||
454 | # | ||
455 | # OneNAND Flash Device Drivers | ||
456 | # | ||
457 | # CONFIG_MTD_ONENAND is not set | 444 | # CONFIG_MTD_ONENAND is not set |
458 | 445 | ||
459 | # | 446 | # |
460 | # Parallel port support | 447 | # UBI - Unsorted block images |
461 | # | 448 | # |
449 | # CONFIG_MTD_UBI is not set | ||
462 | # CONFIG_PARPORT is not set | 450 | # CONFIG_PARPORT is not set |
463 | 451 | CONFIG_BLK_DEV=y | |
464 | # | ||
465 | # Plug and Play support | ||
466 | # | ||
467 | |||
468 | # | ||
469 | # Block devices | ||
470 | # | ||
471 | # CONFIG_BLK_DEV_COW_COMMON is not set | 452 | # CONFIG_BLK_DEV_COW_COMMON is not set |
472 | # CONFIG_BLK_DEV_LOOP is not set | 453 | # CONFIG_BLK_DEV_LOOP is not set |
473 | # CONFIG_BLK_DEV_NBD is not set | 454 | # CONFIG_BLK_DEV_NBD is not set |
474 | # CONFIG_BLK_DEV_RAM is not set | 455 | # CONFIG_BLK_DEV_RAM is not set |
475 | # CONFIG_BLK_DEV_INITRD is not set | ||
476 | # CONFIG_CDROM_PKTCDVD is not set | 456 | # CONFIG_CDROM_PKTCDVD is not set |
477 | # CONFIG_ATA_OVER_ETH is not set | 457 | # CONFIG_ATA_OVER_ETH is not set |
478 | 458 | # CONFIG_MISC_DEVICES is not set | |
479 | # | 459 | CONFIG_HAVE_IDE=y |
480 | # ATA/ATAPI/MFM/RLL support | ||
481 | # | ||
482 | # CONFIG_IDE is not set | 460 | # CONFIG_IDE is not set |
483 | 461 | ||
484 | # | 462 | # |
485 | # SCSI device support | 463 | # SCSI device support |
486 | # | 464 | # |
487 | # CONFIG_RAID_ATTRS is not set | 465 | # CONFIG_RAID_ATTRS is not set |
488 | # CONFIG_SCSI is not set | 466 | CONFIG_SCSI=y |
467 | CONFIG_SCSI_DMA=y | ||
468 | # CONFIG_SCSI_TGT is not set | ||
489 | # CONFIG_SCSI_NETLINK is not set | 469 | # CONFIG_SCSI_NETLINK is not set |
470 | CONFIG_SCSI_PROC_FS=y | ||
490 | 471 | ||
491 | # | 472 | # |
492 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | 473 | # SCSI support type (disk, tape, CD-ROM) |
493 | # | ||
494 | # CONFIG_ATA is not set | ||
495 | |||
496 | # | ||
497 | # Multi-device support (RAID and LVM) | ||
498 | # | ||
499 | # CONFIG_MD is not set | ||
500 | |||
501 | # | ||
502 | # Fusion MPT device support | ||
503 | # | ||
504 | # CONFIG_FUSION is not set | ||
505 | |||
506 | # | ||
507 | # IEEE 1394 (FireWire) support | ||
508 | # | 474 | # |
475 | # CONFIG_BLK_DEV_SD is not set | ||
476 | # CONFIG_CHR_DEV_ST is not set | ||
477 | # CONFIG_CHR_DEV_OSST is not set | ||
478 | # CONFIG_BLK_DEV_SR is not set | ||
479 | # CONFIG_CHR_DEV_SG is not set | ||
480 | # CONFIG_CHR_DEV_SCH is not set | ||
509 | 481 | ||
510 | # | 482 | # |
511 | # I2O device support | 483 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
512 | # | 484 | # |
485 | CONFIG_SCSI_MULTI_LUN=y | ||
486 | # CONFIG_SCSI_CONSTANTS is not set | ||
487 | # CONFIG_SCSI_LOGGING is not set | ||
488 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
489 | CONFIG_SCSI_WAIT_SCAN=m | ||
513 | 490 | ||
514 | # | 491 | # |
515 | # Network device support | 492 | # SCSI Transports |
516 | # | 493 | # |
494 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
495 | # CONFIG_SCSI_FC_ATTRS is not set | ||
496 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
497 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
498 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
499 | # CONFIG_SCSI_LOWLEVEL is not set | ||
500 | # CONFIG_ATA is not set | ||
501 | # CONFIG_MD is not set | ||
517 | CONFIG_NETDEVICES=y | 502 | CONFIG_NETDEVICES=y |
503 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
518 | # CONFIG_DUMMY is not set | 504 | # CONFIG_DUMMY is not set |
519 | # CONFIG_BONDING is not set | 505 | # CONFIG_BONDING is not set |
506 | # CONFIG_MACVLAN is not set | ||
520 | # CONFIG_EQUALIZER is not set | 507 | # CONFIG_EQUALIZER is not set |
521 | # CONFIG_TUN is not set | 508 | # CONFIG_TUN is not set |
522 | 509 | # CONFIG_VETH is not set | |
523 | # | ||
524 | # PHY device support | ||
525 | # | ||
526 | # CONFIG_PHYLIB is not set | 510 | # CONFIG_PHYLIB is not set |
527 | |||
528 | # | ||
529 | # Ethernet (10 or 100Mbit) | ||
530 | # | ||
531 | CONFIG_NET_ETHERNET=y | 511 | CONFIG_NET_ETHERNET=y |
532 | CONFIG_MII=y | 512 | CONFIG_MII=y |
513 | # CONFIG_AX88796 is not set | ||
533 | # CONFIG_STNIC is not set | 514 | # CONFIG_STNIC is not set |
534 | CONFIG_SMC91X=y | 515 | CONFIG_SMC91X=y |
516 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
517 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
518 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
519 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
520 | # CONFIG_B44 is not set | ||
521 | CONFIG_NETDEV_1000=y | ||
522 | # CONFIG_E1000E_ENABLED is not set | ||
523 | CONFIG_NETDEV_10000=y | ||
535 | 524 | ||
536 | # | 525 | # |
537 | # Ethernet (1000 Mbit) | 526 | # Wireless LAN |
538 | # | ||
539 | |||
540 | # | ||
541 | # Ethernet (10000 Mbit) | ||
542 | # | ||
543 | |||
544 | # | ||
545 | # Token Ring devices | ||
546 | # | ||
547 | |||
548 | # | ||
549 | # Wireless LAN (non-hamradio) | ||
550 | # | ||
551 | # CONFIG_NET_RADIO is not set | ||
552 | |||
553 | # | ||
554 | # Wan interfaces | ||
555 | # | 527 | # |
528 | # CONFIG_WLAN_PRE80211 is not set | ||
529 | # CONFIG_WLAN_80211 is not set | ||
530 | # CONFIG_IWLWIFI_LEDS is not set | ||
556 | # CONFIG_WAN is not set | 531 | # CONFIG_WAN is not set |
557 | # CONFIG_PPP is not set | 532 | # CONFIG_PPP is not set |
558 | # CONFIG_SLIP is not set | 533 | # CONFIG_SLIP is not set |
559 | # CONFIG_SHAPER is not set | ||
560 | # CONFIG_NETCONSOLE is not set | 534 | # CONFIG_NETCONSOLE is not set |
561 | # CONFIG_NETPOLL is not set | 535 | # CONFIG_NETPOLL is not set |
562 | # CONFIG_NET_POLL_CONTROLLER is not set | 536 | # CONFIG_NET_POLL_CONTROLLER is not set |
563 | |||
564 | # | ||
565 | # ISDN subsystem | ||
566 | # | ||
567 | # CONFIG_ISDN is not set | 537 | # CONFIG_ISDN is not set |
568 | |||
569 | # | ||
570 | # Telephony Support | ||
571 | # | ||
572 | # CONFIG_PHONE is not set | 538 | # CONFIG_PHONE is not set |
573 | 539 | ||
574 | # | 540 | # |
@@ -576,13 +542,13 @@ CONFIG_SMC91X=y | |||
576 | # | 542 | # |
577 | CONFIG_INPUT=y | 543 | CONFIG_INPUT=y |
578 | # CONFIG_INPUT_FF_MEMLESS is not set | 544 | # CONFIG_INPUT_FF_MEMLESS is not set |
545 | # CONFIG_INPUT_POLLDEV is not set | ||
579 | 546 | ||
580 | # | 547 | # |
581 | # Userland interfaces | 548 | # Userland interfaces |
582 | # | 549 | # |
583 | # CONFIG_INPUT_MOUSEDEV is not set | 550 | # CONFIG_INPUT_MOUSEDEV is not set |
584 | # CONFIG_INPUT_JOYDEV is not set | 551 | # CONFIG_INPUT_JOYDEV is not set |
585 | # CONFIG_INPUT_TSDEV is not set | ||
586 | # CONFIG_INPUT_EVDEV is not set | 552 | # CONFIG_INPUT_EVDEV is not set |
587 | # CONFIG_INPUT_EVBUG is not set | 553 | # CONFIG_INPUT_EVBUG is not set |
588 | 554 | ||
@@ -592,6 +558,7 @@ CONFIG_INPUT=y | |||
592 | # CONFIG_INPUT_KEYBOARD is not set | 558 | # CONFIG_INPUT_KEYBOARD is not set |
593 | # CONFIG_INPUT_MOUSE is not set | 559 | # CONFIG_INPUT_MOUSE is not set |
594 | # CONFIG_INPUT_JOYSTICK is not set | 560 | # CONFIG_INPUT_JOYSTICK is not set |
561 | # CONFIG_INPUT_TABLET is not set | ||
595 | # CONFIG_INPUT_TOUCHSCREEN is not set | 562 | # CONFIG_INPUT_TOUCHSCREEN is not set |
596 | # CONFIG_INPUT_MISC is not set | 563 | # CONFIG_INPUT_MISC is not set |
597 | 564 | ||
@@ -608,6 +575,7 @@ CONFIG_VT=y | |||
608 | CONFIG_VT_CONSOLE=y | 575 | CONFIG_VT_CONSOLE=y |
609 | CONFIG_HW_CONSOLE=y | 576 | CONFIG_HW_CONSOLE=y |
610 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | 577 | # CONFIG_VT_HW_CONSOLE_BINDING is not set |
578 | CONFIG_DEVKMEM=y | ||
611 | # CONFIG_SERIAL_NONSTANDARD is not set | 579 | # CONFIG_SERIAL_NONSTANDARD is not set |
612 | 580 | ||
613 | # | 581 | # |
@@ -626,147 +594,102 @@ CONFIG_SERIAL_CORE_CONSOLE=y | |||
626 | # CONFIG_UNIX98_PTYS is not set | 594 | # CONFIG_UNIX98_PTYS is not set |
627 | CONFIG_LEGACY_PTYS=y | 595 | CONFIG_LEGACY_PTYS=y |
628 | CONFIG_LEGACY_PTY_COUNT=256 | 596 | CONFIG_LEGACY_PTY_COUNT=256 |
629 | |||
630 | # | ||
631 | # IPMI | ||
632 | # | ||
633 | # CONFIG_IPMI_HANDLER is not set | 597 | # CONFIG_IPMI_HANDLER is not set |
634 | |||
635 | # | ||
636 | # Watchdog Cards | ||
637 | # | ||
638 | # CONFIG_WATCHDOG is not set | ||
639 | CONFIG_HW_RANDOM=y | 598 | CONFIG_HW_RANDOM=y |
640 | # CONFIG_GEN_RTC is not set | ||
641 | # CONFIG_DTLK is not set | ||
642 | # CONFIG_R3964 is not set | 599 | # CONFIG_R3964 is not set |
643 | |||
644 | # | ||
645 | # Ftape, the floppy tape device driver | ||
646 | # | ||
647 | # CONFIG_RAW_DRIVER is not set | 600 | # CONFIG_RAW_DRIVER is not set |
648 | |||
649 | # | ||
650 | # TPM devices | ||
651 | # | ||
652 | # CONFIG_TCG_TPM is not set | 601 | # CONFIG_TCG_TPM is not set |
653 | # CONFIG_TELCLOCK is not set | 602 | # CONFIG_I2C is not set |
654 | |||
655 | # | ||
656 | # I2C support | ||
657 | # | ||
658 | CONFIG_I2C=y | ||
659 | CONFIG_I2C_CHARDEV=y | ||
660 | |||
661 | # | ||
662 | # I2C Algorithms | ||
663 | # | ||
664 | # CONFIG_I2C_ALGOBIT is not set | ||
665 | # CONFIG_I2C_ALGOPCF is not set | ||
666 | # CONFIG_I2C_ALGOPCA is not set | ||
667 | |||
668 | # | ||
669 | # I2C Hardware Bus support | ||
670 | # | ||
671 | # CONFIG_I2C_OCORES is not set | ||
672 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
673 | # CONFIG_I2C_STUB is not set | ||
674 | # CONFIG_I2C_PCA_ISA is not set | ||
675 | |||
676 | # | ||
677 | # Miscellaneous I2C Chip support | ||
678 | # | ||
679 | # CONFIG_SENSORS_DS1337 is not set | ||
680 | # CONFIG_SENSORS_DS1374 is not set | ||
681 | # CONFIG_SENSORS_EEPROM is not set | ||
682 | # CONFIG_SENSORS_PCF8574 is not set | ||
683 | # CONFIG_SENSORS_PCA9539 is not set | ||
684 | # CONFIG_SENSORS_PCF8591 is not set | ||
685 | # CONFIG_SENSORS_MAX6875 is not set | ||
686 | # CONFIG_I2C_DEBUG_CORE is not set | ||
687 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
688 | # CONFIG_I2C_DEBUG_BUS is not set | ||
689 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
690 | |||
691 | # | ||
692 | # SPI support | ||
693 | # | ||
694 | # CONFIG_SPI is not set | 603 | # CONFIG_SPI is not set |
695 | # CONFIG_SPI_MASTER is not set | 604 | # CONFIG_W1 is not set |
605 | # CONFIG_POWER_SUPPLY is not set | ||
606 | # CONFIG_HWMON is not set | ||
607 | # CONFIG_THERMAL is not set | ||
608 | # CONFIG_THERMAL_HWMON is not set | ||
609 | # CONFIG_WATCHDOG is not set | ||
696 | 610 | ||
697 | # | 611 | # |
698 | # Dallas's 1-wire bus | 612 | # Sonics Silicon Backplane |
699 | # | 613 | # |
614 | CONFIG_SSB_POSSIBLE=y | ||
615 | # CONFIG_SSB is not set | ||
700 | 616 | ||
701 | # | 617 | # |
702 | # Hardware Monitoring support | 618 | # Multifunction device drivers |
703 | # | 619 | # |
704 | # CONFIG_HWMON is not set | 620 | # CONFIG_MFD_SM501 is not set |
705 | # CONFIG_HWMON_VID is not set | 621 | # CONFIG_HTC_PASIC3 is not set |
706 | 622 | ||
707 | # | 623 | # |
708 | # Misc devices | 624 | # Multimedia devices |
709 | # | 625 | # |
710 | 626 | ||
711 | # | 627 | # |
712 | # Multimedia devices | 628 | # Multimedia core support |
713 | # | 629 | # |
714 | CONFIG_VIDEO_DEV=y | 630 | CONFIG_VIDEO_DEV=y |
715 | CONFIG_VIDEO_V4L1=y | 631 | CONFIG_VIDEO_V4L2_COMMON=y |
632 | CONFIG_VIDEO_ALLOW_V4L1=y | ||
716 | CONFIG_VIDEO_V4L1_COMPAT=y | 633 | CONFIG_VIDEO_V4L1_COMPAT=y |
717 | CONFIG_VIDEO_V4L2=y | 634 | # CONFIG_DVB_CORE is not set |
718 | 635 | CONFIG_VIDEO_MEDIA=y | |
719 | # | ||
720 | # Video Capture Adapters | ||
721 | # | ||
722 | 636 | ||
723 | # | 637 | # |
724 | # Video Capture Adapters | 638 | # Multimedia drivers |
725 | # | 639 | # |
640 | # CONFIG_MEDIA_ATTACH is not set | ||
641 | CONFIG_VIDEO_V4L2=y | ||
642 | CONFIG_VIDEO_V4L1=y | ||
643 | CONFIG_VIDEO_CAPTURE_DRIVERS=y | ||
726 | # CONFIG_VIDEO_ADV_DEBUG is not set | 644 | # CONFIG_VIDEO_ADV_DEBUG is not set |
727 | CONFIG_VIDEO_HELPER_CHIPS_AUTO=y | 645 | CONFIG_VIDEO_HELPER_CHIPS_AUTO=y |
728 | # CONFIG_VIDEO_VIVI is not set | 646 | # CONFIG_VIDEO_VIVI is not set |
729 | # CONFIG_VIDEO_CPIA is not set | 647 | # CONFIG_VIDEO_CPIA is not set |
730 | # CONFIG_VIDEO_SAA5246A is not set | 648 | # CONFIG_SOC_CAMERA is not set |
731 | # CONFIG_VIDEO_SAA5249 is not set | 649 | CONFIG_RADIO_ADAPTERS=y |
732 | # CONFIG_TUNER_3036 is not set | 650 | # CONFIG_DAB is not set |
733 | |||
734 | # | ||
735 | # Radio Adapters | ||
736 | # | ||
737 | |||
738 | # | ||
739 | # Digital Video Broadcasting Devices | ||
740 | # | ||
741 | # CONFIG_DVB is not set | ||
742 | 651 | ||
743 | # | 652 | # |
744 | # Graphics support | 653 | # Graphics support |
745 | # | 654 | # |
746 | CONFIG_FIRMWARE_EDID=y | 655 | # CONFIG_VGASTATE is not set |
656 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
747 | CONFIG_FB=y | 657 | CONFIG_FB=y |
658 | CONFIG_FIRMWARE_EDID=y | ||
659 | # CONFIG_FB_DDC is not set | ||
748 | # CONFIG_FB_CFB_FILLRECT is not set | 660 | # CONFIG_FB_CFB_FILLRECT is not set |
749 | # CONFIG_FB_CFB_COPYAREA is not set | 661 | # CONFIG_FB_CFB_COPYAREA is not set |
750 | # CONFIG_FB_CFB_IMAGEBLIT is not set | 662 | # CONFIG_FB_CFB_IMAGEBLIT is not set |
663 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
664 | # CONFIG_FB_SYS_FILLRECT is not set | ||
665 | # CONFIG_FB_SYS_COPYAREA is not set | ||
666 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
667 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
668 | # CONFIG_FB_SYS_FOPS is not set | ||
669 | # CONFIG_FB_SVGALIB is not set | ||
751 | # CONFIG_FB_MACMODES is not set | 670 | # CONFIG_FB_MACMODES is not set |
752 | # CONFIG_FB_BACKLIGHT is not set | 671 | # CONFIG_FB_BACKLIGHT is not set |
753 | # CONFIG_FB_MODE_HELPERS is not set | 672 | # CONFIG_FB_MODE_HELPERS is not set |
754 | # CONFIG_FB_TILEBLITTING is not set | 673 | # CONFIG_FB_TILEBLITTING is not set |
755 | # CONFIG_FB_EPSON1355 is not set | 674 | |
675 | # | ||
676 | # Frame buffer hardware drivers | ||
677 | # | ||
756 | # CONFIG_FB_S1D13XXX is not set | 678 | # CONFIG_FB_S1D13XXX is not set |
757 | # CONFIG_FB_VIRTUAL is not set | 679 | # CONFIG_FB_VIRTUAL is not set |
680 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
758 | 681 | ||
759 | # | 682 | # |
760 | # Console display driver support | 683 | # Display device support |
761 | # | 684 | # |
762 | CONFIG_DUMMY_CONSOLE=y | 685 | # CONFIG_DISPLAY_SUPPORT is not set |
763 | # CONFIG_FRAMEBUFFER_CONSOLE is not set | ||
764 | 686 | ||
765 | # | 687 | # |
766 | # Logo configuration | 688 | # Console display driver support |
767 | # | 689 | # |
690 | CONFIG_DUMMY_CONSOLE=y | ||
691 | # CONFIG_FRAMEBUFFER_CONSOLE is not set | ||
768 | # CONFIG_LOGO is not set | 692 | # CONFIG_LOGO is not set |
769 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
770 | 693 | ||
771 | # | 694 | # |
772 | # Sound | 695 | # Sound |
@@ -802,85 +725,63 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
802 | # CONFIG_SND_MPU401 is not set | 725 | # CONFIG_SND_MPU401 is not set |
803 | 726 | ||
804 | # | 727 | # |
805 | # Open Sound System | 728 | # SUPERH devices |
806 | # | 729 | # |
807 | # CONFIG_SOUND_PRIME is not set | ||
808 | 730 | ||
809 | # | 731 | # |
810 | # USB support | 732 | # System on Chip audio support |
811 | # | 733 | # |
812 | # CONFIG_USB_ARCH_HAS_HCD is not set | 734 | # CONFIG_SND_SOC is not set |
813 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
814 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
815 | 735 | ||
816 | # | 736 | # |
817 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 737 | # SoC Audio support for SuperH |
818 | # | 738 | # |
819 | 739 | ||
820 | # | 740 | # |
821 | # USB Gadget Support | 741 | # ALSA SoC audio for Freescale SOCs |
822 | # | 742 | # |
823 | # CONFIG_USB_GADGET is not set | ||
824 | 743 | ||
825 | # | 744 | # |
826 | # MMC/SD Card support | 745 | # SoC Audio for the Texas Instruments OMAP |
827 | # | 746 | # |
828 | # CONFIG_MMC is not set | ||
829 | 747 | ||
830 | # | 748 | # |
831 | # LED devices | 749 | # Open Sound System |
832 | # | 750 | # |
751 | # CONFIG_SOUND_PRIME is not set | ||
752 | CONFIG_HID_SUPPORT=y | ||
753 | CONFIG_HID=y | ||
754 | # CONFIG_HID_DEBUG is not set | ||
755 | # CONFIG_HIDRAW is not set | ||
756 | # CONFIG_USB_SUPPORT is not set | ||
757 | # CONFIG_MMC is not set | ||
758 | # CONFIG_MEMSTICK is not set | ||
833 | # CONFIG_NEW_LEDS is not set | 759 | # CONFIG_NEW_LEDS is not set |
834 | 760 | # CONFIG_ACCESSIBILITY is not set | |
835 | # | ||
836 | # LED drivers | ||
837 | # | ||
838 | |||
839 | # | ||
840 | # LED Triggers | ||
841 | # | ||
842 | |||
843 | # | ||
844 | # InfiniBand support | ||
845 | # | ||
846 | |||
847 | # | ||
848 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
849 | # | ||
850 | |||
851 | # | ||
852 | # Real Time Clock | ||
853 | # | ||
854 | # CONFIG_RTC_CLASS is not set | 761 | # CONFIG_RTC_CLASS is not set |
855 | 762 | # CONFIG_UIO is not set | |
856 | # | ||
857 | # DMA Engine support | ||
858 | # | ||
859 | # CONFIG_DMA_ENGINE is not set | ||
860 | |||
861 | # | ||
862 | # DMA Clients | ||
863 | # | ||
864 | |||
865 | # | ||
866 | # DMA Devices | ||
867 | # | ||
868 | 763 | ||
869 | # | 764 | # |
870 | # File systems | 765 | # File systems |
871 | # | 766 | # |
872 | # CONFIG_EXT2_FS is not set | 767 | CONFIG_EXT2_FS=y |
873 | # CONFIG_EXT3_FS is not set | 768 | # CONFIG_EXT2_FS_XATTR is not set |
769 | # CONFIG_EXT2_FS_XIP is not set | ||
770 | CONFIG_EXT3_FS=y | ||
771 | CONFIG_EXT3_FS_XATTR=y | ||
772 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
773 | # CONFIG_EXT3_FS_SECURITY is not set | ||
774 | # CONFIG_EXT4DEV_FS is not set | ||
775 | CONFIG_JBD=y | ||
776 | CONFIG_FS_MBCACHE=y | ||
874 | # CONFIG_REISERFS_FS is not set | 777 | # CONFIG_REISERFS_FS is not set |
875 | # CONFIG_JFS_FS is not set | 778 | # CONFIG_JFS_FS is not set |
876 | # CONFIG_FS_POSIX_ACL is not set | 779 | # CONFIG_FS_POSIX_ACL is not set |
877 | # CONFIG_XFS_FS is not set | 780 | # CONFIG_XFS_FS is not set |
878 | # CONFIG_OCFS2_FS is not set | 781 | # CONFIG_OCFS2_FS is not set |
879 | # CONFIG_MINIX_FS is not set | 782 | # CONFIG_DNOTIFY is not set |
880 | # CONFIG_ROMFS_FS is not set | ||
881 | # CONFIG_INOTIFY is not set | 783 | # CONFIG_INOTIFY is not set |
882 | # CONFIG_QUOTA is not set | 784 | # CONFIG_QUOTA is not set |
883 | # CONFIG_DNOTIFY is not set | ||
884 | # CONFIG_AUTOFS_FS is not set | 785 | # CONFIG_AUTOFS_FS is not set |
885 | # CONFIG_AUTOFS4_FS is not set | 786 | # CONFIG_AUTOFS4_FS is not set |
886 | # CONFIG_FUSE_FS is not set | 787 | # CONFIG_FUSE_FS is not set |
@@ -909,7 +810,6 @@ CONFIG_TMPFS=y | |||
909 | # CONFIG_TMPFS_POSIX_ACL is not set | 810 | # CONFIG_TMPFS_POSIX_ACL is not set |
910 | # CONFIG_HUGETLBFS is not set | 811 | # CONFIG_HUGETLBFS is not set |
911 | # CONFIG_HUGETLB_PAGE is not set | 812 | # CONFIG_HUGETLB_PAGE is not set |
912 | CONFIG_RAMFS=y | ||
913 | # CONFIG_CONFIGFS_FS is not set | 813 | # CONFIG_CONFIGFS_FS is not set |
914 | 814 | ||
915 | # | 815 | # |
@@ -922,40 +822,39 @@ CONFIG_RAMFS=y | |||
922 | # CONFIG_BEFS_FS is not set | 822 | # CONFIG_BEFS_FS is not set |
923 | # CONFIG_BFS_FS is not set | 823 | # CONFIG_BFS_FS is not set |
924 | # CONFIG_EFS_FS is not set | 824 | # CONFIG_EFS_FS is not set |
925 | # CONFIG_JFFS_FS is not set | ||
926 | CONFIG_JFFS2_FS=y | 825 | CONFIG_JFFS2_FS=y |
927 | CONFIG_JFFS2_FS_DEBUG=0 | 826 | CONFIG_JFFS2_FS_DEBUG=0 |
928 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 827 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
828 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
929 | # CONFIG_JFFS2_SUMMARY is not set | 829 | # CONFIG_JFFS2_SUMMARY is not set |
930 | # CONFIG_JFFS2_FS_XATTR is not set | 830 | # CONFIG_JFFS2_FS_XATTR is not set |
931 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 831 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
932 | CONFIG_JFFS2_ZLIB=y | 832 | CONFIG_JFFS2_ZLIB=y |
833 | # CONFIG_JFFS2_LZO is not set | ||
933 | CONFIG_JFFS2_RTIME=y | 834 | CONFIG_JFFS2_RTIME=y |
934 | # CONFIG_JFFS2_RUBIN is not set | 835 | # CONFIG_JFFS2_RUBIN is not set |
935 | # CONFIG_CRAMFS is not set | 836 | CONFIG_CRAMFS=y |
936 | # CONFIG_VXFS_FS is not set | 837 | # CONFIG_VXFS_FS is not set |
838 | # CONFIG_MINIX_FS is not set | ||
937 | # CONFIG_HPFS_FS is not set | 839 | # CONFIG_HPFS_FS is not set |
938 | # CONFIG_QNX4FS_FS is not set | 840 | # CONFIG_QNX4FS_FS is not set |
841 | # CONFIG_ROMFS_FS is not set | ||
939 | # CONFIG_SYSV_FS is not set | 842 | # CONFIG_SYSV_FS is not set |
940 | # CONFIG_UFS_FS is not set | 843 | # CONFIG_UFS_FS is not set |
941 | 844 | CONFIG_NETWORK_FILESYSTEMS=y | |
942 | # | ||
943 | # Network File Systems | ||
944 | # | ||
945 | CONFIG_NFS_FS=y | 845 | CONFIG_NFS_FS=y |
946 | CONFIG_NFS_V3=y | 846 | CONFIG_NFS_V3=y |
947 | # CONFIG_NFS_V3_ACL is not set | 847 | # CONFIG_NFS_V3_ACL is not set |
948 | # CONFIG_NFS_V4 is not set | 848 | # CONFIG_NFS_V4 is not set |
949 | # CONFIG_NFS_DIRECTIO is not set | ||
950 | CONFIG_NFSD=y | 849 | CONFIG_NFSD=y |
951 | # CONFIG_NFSD_V3 is not set | 850 | # CONFIG_NFSD_V3 is not set |
952 | # CONFIG_NFSD_TCP is not set | 851 | # CONFIG_NFSD_V4 is not set |
953 | CONFIG_ROOT_NFS=y | ||
954 | CONFIG_LOCKD=y | 852 | CONFIG_LOCKD=y |
955 | CONFIG_LOCKD_V4=y | 853 | CONFIG_LOCKD_V4=y |
956 | CONFIG_EXPORTFS=y | 854 | CONFIG_EXPORTFS=y |
957 | CONFIG_NFS_COMMON=y | 855 | CONFIG_NFS_COMMON=y |
958 | CONFIG_SUNRPC=y | 856 | CONFIG_SUNRPC=y |
857 | # CONFIG_SUNRPC_BIND34 is not set | ||
959 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 858 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
960 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 859 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
961 | # CONFIG_SMB_FS is not set | 860 | # CONFIG_SMB_FS is not set |
@@ -963,56 +862,130 @@ CONFIG_SUNRPC=y | |||
963 | # CONFIG_NCP_FS is not set | 862 | # CONFIG_NCP_FS is not set |
964 | # CONFIG_CODA_FS is not set | 863 | # CONFIG_CODA_FS is not set |
965 | # CONFIG_AFS_FS is not set | 864 | # CONFIG_AFS_FS is not set |
966 | # CONFIG_9P_FS is not set | ||
967 | 865 | ||
968 | # | 866 | # |
969 | # Partition Types | 867 | # Partition Types |
970 | # | 868 | # |
971 | # CONFIG_PARTITION_ADVANCED is not set | 869 | # CONFIG_PARTITION_ADVANCED is not set |
972 | CONFIG_MSDOS_PARTITION=y | 870 | CONFIG_MSDOS_PARTITION=y |
973 | |||
974 | # | ||
975 | # Native Language Support | ||
976 | # | ||
977 | # CONFIG_NLS is not set | 871 | # CONFIG_NLS is not set |
978 | 872 | # CONFIG_DLM is not set | |
979 | # | ||
980 | # Profiling support | ||
981 | # | ||
982 | # CONFIG_PROFILING is not set | ||
983 | 873 | ||
984 | # | 874 | # |
985 | # Kernel hacking | 875 | # Kernel hacking |
986 | # | 876 | # |
877 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
987 | # CONFIG_PRINTK_TIME is not set | 878 | # CONFIG_PRINTK_TIME is not set |
879 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
988 | CONFIG_ENABLE_MUST_CHECK=y | 880 | CONFIG_ENABLE_MUST_CHECK=y |
881 | CONFIG_FRAME_WARN=1024 | ||
989 | # CONFIG_MAGIC_SYSRQ is not set | 882 | # CONFIG_MAGIC_SYSRQ is not set |
990 | # CONFIG_UNUSED_SYMBOLS is not set | 883 | # CONFIG_UNUSED_SYMBOLS is not set |
884 | # CONFIG_DEBUG_FS is not set | ||
885 | # CONFIG_HEADERS_CHECK is not set | ||
991 | # CONFIG_DEBUG_KERNEL is not set | 886 | # CONFIG_DEBUG_KERNEL is not set |
992 | CONFIG_LOG_BUF_SHIFT=14 | ||
993 | # CONFIG_DEBUG_BUGVERBOSE is not set | 887 | # CONFIG_DEBUG_BUGVERBOSE is not set |
994 | # CONFIG_DEBUG_FS is not set | 888 | # CONFIG_SAMPLES is not set |
995 | # CONFIG_SH_STANDARD_BIOS is not set | 889 | # CONFIG_SH_STANDARD_BIOS is not set |
996 | # CONFIG_EARLY_SCIF_CONSOLE is not set | 890 | CONFIG_EARLY_SCIF_CONSOLE=y |
997 | # CONFIG_KGDB is not set | 891 | CONFIG_EARLY_SCIF_CONSOLE_PORT=0xffe00000 |
892 | CONFIG_EARLY_PRINTK=y | ||
893 | # CONFIG_SH_KGDB is not set | ||
998 | 894 | ||
999 | # | 895 | # |
1000 | # Security options | 896 | # Security options |
1001 | # | 897 | # |
1002 | # CONFIG_KEYS is not set | 898 | # CONFIG_KEYS is not set |
1003 | # CONFIG_SECURITY is not set | 899 | # CONFIG_SECURITY is not set |
900 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
901 | CONFIG_CRYPTO=y | ||
902 | |||
903 | # | ||
904 | # Crypto core or helper | ||
905 | # | ||
906 | # CONFIG_CRYPTO_MANAGER is not set | ||
907 | # CONFIG_CRYPTO_GF128MUL is not set | ||
908 | # CONFIG_CRYPTO_NULL is not set | ||
909 | # CONFIG_CRYPTO_CRYPTD is not set | ||
910 | # CONFIG_CRYPTO_AUTHENC is not set | ||
911 | # CONFIG_CRYPTO_TEST is not set | ||
912 | |||
913 | # | ||
914 | # Authenticated Encryption with Associated Data | ||
915 | # | ||
916 | # CONFIG_CRYPTO_CCM is not set | ||
917 | # CONFIG_CRYPTO_GCM is not set | ||
918 | # CONFIG_CRYPTO_SEQIV is not set | ||
919 | |||
920 | # | ||
921 | # Block modes | ||
922 | # | ||
923 | # CONFIG_CRYPTO_CBC is not set | ||
924 | # CONFIG_CRYPTO_CTR is not set | ||
925 | # CONFIG_CRYPTO_CTS is not set | ||
926 | # CONFIG_CRYPTO_ECB is not set | ||
927 | # CONFIG_CRYPTO_LRW is not set | ||
928 | # CONFIG_CRYPTO_PCBC is not set | ||
929 | # CONFIG_CRYPTO_XTS is not set | ||
930 | |||
931 | # | ||
932 | # Hash modes | ||
933 | # | ||
934 | # CONFIG_CRYPTO_HMAC is not set | ||
935 | # CONFIG_CRYPTO_XCBC is not set | ||
936 | |||
937 | # | ||
938 | # Digest | ||
939 | # | ||
940 | # CONFIG_CRYPTO_CRC32C is not set | ||
941 | # CONFIG_CRYPTO_MD4 is not set | ||
942 | # CONFIG_CRYPTO_MD5 is not set | ||
943 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
944 | # CONFIG_CRYPTO_SHA1 is not set | ||
945 | # CONFIG_CRYPTO_SHA256 is not set | ||
946 | # CONFIG_CRYPTO_SHA512 is not set | ||
947 | # CONFIG_CRYPTO_TGR192 is not set | ||
948 | # CONFIG_CRYPTO_WP512 is not set | ||
949 | |||
950 | # | ||
951 | # Ciphers | ||
952 | # | ||
953 | # CONFIG_CRYPTO_AES is not set | ||
954 | # CONFIG_CRYPTO_ANUBIS is not set | ||
955 | # CONFIG_CRYPTO_ARC4 is not set | ||
956 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
957 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
958 | # CONFIG_CRYPTO_CAST5 is not set | ||
959 | # CONFIG_CRYPTO_CAST6 is not set | ||
960 | # CONFIG_CRYPTO_DES is not set | ||
961 | # CONFIG_CRYPTO_FCRYPT is not set | ||
962 | # CONFIG_CRYPTO_KHAZAD is not set | ||
963 | # CONFIG_CRYPTO_SALSA20 is not set | ||
964 | # CONFIG_CRYPTO_SEED is not set | ||
965 | # CONFIG_CRYPTO_SERPENT is not set | ||
966 | # CONFIG_CRYPTO_TEA is not set | ||
967 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1004 | 968 | ||
1005 | # | 969 | # |
1006 | # Cryptographic options | 970 | # Compression |
1007 | # | 971 | # |
1008 | # CONFIG_CRYPTO is not set | 972 | # CONFIG_CRYPTO_DEFLATE is not set |
973 | # CONFIG_CRYPTO_LZO is not set | ||
974 | CONFIG_CRYPTO_HW=y | ||
1009 | 975 | ||
1010 | # | 976 | # |
1011 | # Library routines | 977 | # Library routines |
1012 | # | 978 | # |
979 | CONFIG_BITREVERSE=y | ||
980 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1013 | # CONFIG_CRC_CCITT is not set | 981 | # CONFIG_CRC_CCITT is not set |
1014 | # CONFIG_CRC16 is not set | 982 | # CONFIG_CRC16 is not set |
983 | # CONFIG_CRC_ITU_T is not set | ||
1015 | CONFIG_CRC32=y | 984 | CONFIG_CRC32=y |
985 | # CONFIG_CRC7 is not set | ||
1016 | # CONFIG_LIBCRC32C is not set | 986 | # CONFIG_LIBCRC32C is not set |
1017 | CONFIG_ZLIB_INFLATE=y | 987 | CONFIG_ZLIB_INFLATE=y |
1018 | CONFIG_ZLIB_DEFLATE=y | 988 | CONFIG_ZLIB_DEFLATE=y |
989 | CONFIG_HAS_IOMEM=y | ||
990 | CONFIG_HAS_IOPORT=y | ||
991 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/sh/configs/se7712_defconfig b/arch/sh/configs/se7712_defconfig index 2dd83af988f0..7be79cd04eb0 100644 --- a/arch/sh/configs/se7712_defconfig +++ b/arch/sh/configs/se7712_defconfig | |||
@@ -1,53 +1,57 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.21-rc4 | 3 | # Linux kernel version: 2.6.26-rc6 |
4 | # Wed Mar 28 10:19:02 2007 | 4 | # Wed Jun 18 16:36:08 2008 |
5 | # | 5 | # |
6 | CONFIG_SUPERH=y | 6 | CONFIG_SUPERH=y |
7 | CONFIG_SUPERH32=y | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
8 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 9 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
9 | CONFIG_GENERIC_HWEIGHT=y | 10 | CONFIG_GENERIC_HWEIGHT=y |
10 | CONFIG_GENERIC_HARDIRQS=y | 11 | CONFIG_GENERIC_HARDIRQS=y |
11 | CONFIG_GENERIC_IRQ_PROBE=y | 12 | CONFIG_GENERIC_IRQ_PROBE=y |
12 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 13 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
13 | # CONFIG_GENERIC_TIME is not set | 14 | CONFIG_GENERIC_TIME=y |
15 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
14 | CONFIG_STACKTRACE_SUPPORT=y | 16 | CONFIG_STACKTRACE_SUPPORT=y |
15 | CONFIG_LOCKDEP_SUPPORT=y | 17 | CONFIG_LOCKDEP_SUPPORT=y |
16 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | 18 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set |
17 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | 19 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set |
20 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
21 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
18 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
19 | 23 | ||
20 | # | 24 | # |
21 | # Code maturity level options | 25 | # General setup |
22 | # | 26 | # |
23 | CONFIG_EXPERIMENTAL=y | 27 | CONFIG_EXPERIMENTAL=y |
24 | CONFIG_BROKEN_ON_SMP=y | 28 | CONFIG_BROKEN_ON_SMP=y |
25 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
26 | |||
27 | # | ||
28 | # General setup | ||
29 | # | ||
30 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
31 | # CONFIG_LOCALVERSION_AUTO is not set | 31 | # CONFIG_LOCALVERSION_AUTO is not set |
32 | # CONFIG_SWAP is not set | 32 | # CONFIG_SWAP is not set |
33 | CONFIG_SYSVIPC=y | 33 | CONFIG_SYSVIPC=y |
34 | # CONFIG_IPC_NS is not set | ||
35 | CONFIG_SYSVIPC_SYSCTL=y | 34 | CONFIG_SYSVIPC_SYSCTL=y |
36 | CONFIG_POSIX_MQUEUE=y | 35 | CONFIG_POSIX_MQUEUE=y |
37 | CONFIG_BSD_PROCESS_ACCT=y | 36 | CONFIG_BSD_PROCESS_ACCT=y |
38 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | 37 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set |
39 | # CONFIG_TASKSTATS is not set | 38 | # CONFIG_TASKSTATS is not set |
40 | # CONFIG_UTS_NS is not set | ||
41 | # CONFIG_AUDIT is not set | 39 | # CONFIG_AUDIT is not set |
42 | # CONFIG_IKCONFIG is not set | 40 | # CONFIG_IKCONFIG is not set |
41 | CONFIG_LOG_BUF_SHIFT=14 | ||
42 | # CONFIG_CGROUPS is not set | ||
43 | # CONFIG_GROUP_SCHED is not set | ||
43 | CONFIG_SYSFS_DEPRECATED=y | 44 | CONFIG_SYSFS_DEPRECATED=y |
45 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
44 | # CONFIG_RELAY is not set | 46 | # CONFIG_RELAY is not set |
47 | # CONFIG_NAMESPACES is not set | ||
45 | # CONFIG_BLK_DEV_INITRD is not set | 48 | # CONFIG_BLK_DEV_INITRD is not set |
46 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 49 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
47 | CONFIG_SYSCTL=y | 50 | CONFIG_SYSCTL=y |
48 | CONFIG_EMBEDDED=y | 51 | CONFIG_EMBEDDED=y |
49 | CONFIG_UID16=y | 52 | CONFIG_UID16=y |
50 | CONFIG_SYSCTL_SYSCALL=y | 53 | CONFIG_SYSCTL_SYSCALL=y |
54 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
51 | CONFIG_KALLSYMS=y | 55 | CONFIG_KALLSYMS=y |
52 | CONFIG_KALLSYMS_ALL=y | 56 | CONFIG_KALLSYMS_ALL=y |
53 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 57 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
@@ -55,33 +59,41 @@ CONFIG_HOTPLUG=y | |||
55 | CONFIG_PRINTK=y | 59 | CONFIG_PRINTK=y |
56 | # CONFIG_BUG is not set | 60 | # CONFIG_BUG is not set |
57 | CONFIG_ELF_CORE=y | 61 | CONFIG_ELF_CORE=y |
62 | CONFIG_COMPAT_BRK=y | ||
58 | # CONFIG_BASE_FULL is not set | 63 | # CONFIG_BASE_FULL is not set |
59 | CONFIG_FUTEX=y | 64 | CONFIG_FUTEX=y |
65 | CONFIG_ANON_INODES=y | ||
60 | CONFIG_EPOLL=y | 66 | CONFIG_EPOLL=y |
67 | CONFIG_SIGNALFD=y | ||
68 | CONFIG_TIMERFD=y | ||
69 | CONFIG_EVENTFD=y | ||
61 | # CONFIG_SHMEM is not set | 70 | # CONFIG_SHMEM is not set |
62 | CONFIG_SLAB=y | ||
63 | CONFIG_VM_EVENT_COUNTERS=y | 71 | CONFIG_VM_EVENT_COUNTERS=y |
72 | CONFIG_SLAB=y | ||
73 | # CONFIG_SLUB is not set | ||
74 | # CONFIG_SLOB is not set | ||
75 | # CONFIG_PROFILING is not set | ||
76 | # CONFIG_MARKERS is not set | ||
77 | CONFIG_HAVE_OPROFILE=y | ||
78 | # CONFIG_HAVE_KPROBES is not set | ||
79 | # CONFIG_HAVE_KRETPROBES is not set | ||
80 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
81 | CONFIG_PROC_PAGE_MONITOR=y | ||
82 | CONFIG_SLABINFO=y | ||
64 | CONFIG_RT_MUTEXES=y | 83 | CONFIG_RT_MUTEXES=y |
65 | CONFIG_TINY_SHMEM=y | 84 | CONFIG_TINY_SHMEM=y |
66 | CONFIG_BASE_SMALL=1 | 85 | CONFIG_BASE_SMALL=1 |
67 | # CONFIG_SLOB is not set | ||
68 | |||
69 | # | ||
70 | # Loadable module support | ||
71 | # | ||
72 | CONFIG_MODULES=y | 86 | CONFIG_MODULES=y |
87 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
73 | # CONFIG_MODULE_UNLOAD is not set | 88 | # CONFIG_MODULE_UNLOAD is not set |
74 | # CONFIG_MODVERSIONS is not set | 89 | # CONFIG_MODVERSIONS is not set |
75 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 90 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
76 | # CONFIG_KMOD is not set | 91 | # CONFIG_KMOD is not set |
77 | |||
78 | # | ||
79 | # Block layer | ||
80 | # | ||
81 | CONFIG_BLOCK=y | 92 | CONFIG_BLOCK=y |
82 | # CONFIG_LBD is not set | 93 | # CONFIG_LBD is not set |
83 | # CONFIG_BLK_DEV_IO_TRACE is not set | 94 | # CONFIG_BLK_DEV_IO_TRACE is not set |
84 | # CONFIG_LSF is not set | 95 | # CONFIG_LSF is not set |
96 | # CONFIG_BLK_DEV_BSG is not set | ||
85 | 97 | ||
86 | # | 98 | # |
87 | # IO Schedulers | 99 | # IO Schedulers |
@@ -95,57 +107,17 @@ CONFIG_IOSCHED_NOOP=y | |||
95 | # CONFIG_DEFAULT_CFQ is not set | 107 | # CONFIG_DEFAULT_CFQ is not set |
96 | CONFIG_DEFAULT_NOOP=y | 108 | CONFIG_DEFAULT_NOOP=y |
97 | CONFIG_DEFAULT_IOSCHED="noop" | 109 | CONFIG_DEFAULT_IOSCHED="noop" |
110 | CONFIG_CLASSIC_RCU=y | ||
98 | 111 | ||
99 | # | 112 | # |
100 | # System type | 113 | # System type |
101 | # | 114 | # |
102 | CONFIG_SOLUTION_ENGINE=y | ||
103 | CONFIG_SH_SOLUTION_ENGINE=y | ||
104 | # CONFIG_SH_7751_SOLUTION_ENGINE is not set | ||
105 | # CONFIG_SH_7300_SOLUTION_ENGINE is not set | ||
106 | # CONFIG_SH_7343_SOLUTION_ENGINE is not set | ||
107 | # CONFIG_SH_73180_SOLUTION_ENGINE is not set | ||
108 | # CONFIG_SH_7751_SYSTEMH is not set | ||
109 | # CONFIG_SH_HP6XX is not set | ||
110 | # CONFIG_SH_SATURN is not set | ||
111 | # CONFIG_SH_DREAMCAST is not set | ||
112 | # CONFIG_SH_MPC1211 is not set | ||
113 | # CONFIG_SH_SH03 is not set | ||
114 | # CONFIG_SH_SECUREEDGE5410 is not set | ||
115 | # CONFIG_SH_HS7751RVOIP is not set | ||
116 | # CONFIG_SH_7710VOIPGW is not set | ||
117 | # CONFIG_SH_RTS7751R2D is not set | ||
118 | # CONFIG_SH_HIGHLANDER is not set | ||
119 | # CONFIG_SH_EDOSK7705 is not set | ||
120 | # CONFIG_SH_SH4202_MICRODEV is not set | ||
121 | # CONFIG_SH_LANDISK is not set | ||
122 | # CONFIG_SH_TITAN is not set | ||
123 | # CONFIG_SH_SHMIN is not set | ||
124 | # CONFIG_SH_7206_SOLUTION_ENGINE is not set | ||
125 | # CONFIG_SH_7619_SOLUTION_ENGINE is not set | ||
126 | # CONFIG_SH_LBOX_RE2 is not set | ||
127 | # CONFIG_SH_UNKNOWN is not set | ||
128 | |||
129 | # | ||
130 | # Processor selection | ||
131 | # | ||
132 | CONFIG_CPU_SH3=y | 115 | CONFIG_CPU_SH3=y |
133 | |||
134 | # | ||
135 | # SH-2 Processor Support | ||
136 | # | ||
137 | # CONFIG_CPU_SUBTYPE_SH7604 is not set | ||
138 | # CONFIG_CPU_SUBTYPE_SH7619 is not set | 116 | # CONFIG_CPU_SUBTYPE_SH7619 is not set |
139 | 117 | # CONFIG_CPU_SUBTYPE_SH7203 is not set | |
140 | # | ||
141 | # SH-2A Processor Support | ||
142 | # | ||
143 | # CONFIG_CPU_SUBTYPE_SH7206 is not set | 118 | # CONFIG_CPU_SUBTYPE_SH7206 is not set |
144 | 119 | # CONFIG_CPU_SUBTYPE_SH7263 is not set | |
145 | # | 120 | # CONFIG_CPU_SUBTYPE_MXG is not set |
146 | # SH-3 Processor Support | ||
147 | # | ||
148 | # CONFIG_CPU_SUBTYPE_SH7300 is not set | ||
149 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | 121 | # CONFIG_CPU_SUBTYPE_SH7705 is not set |
150 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | 122 | # CONFIG_CPU_SUBTYPE_SH7706 is not set |
151 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | 123 | # CONFIG_CPU_SUBTYPE_SH7707 is not set |
@@ -153,10 +125,8 @@ CONFIG_CPU_SH3=y | |||
153 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | 125 | # CONFIG_CPU_SUBTYPE_SH7709 is not set |
154 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | 126 | # CONFIG_CPU_SUBTYPE_SH7710 is not set |
155 | CONFIG_CPU_SUBTYPE_SH7712=y | 127 | CONFIG_CPU_SUBTYPE_SH7712=y |
156 | 128 | # CONFIG_CPU_SUBTYPE_SH7720 is not set | |
157 | # | 129 | # CONFIG_CPU_SUBTYPE_SH7721 is not set |
158 | # SH-4 Processor Support | ||
159 | # | ||
160 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | 130 | # CONFIG_CPU_SUBTYPE_SH7750 is not set |
161 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | 131 | # CONFIG_CPU_SUBTYPE_SH7091 is not set |
162 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | 132 | # CONFIG_CPU_SUBTYPE_SH7750R is not set |
@@ -165,37 +135,37 @@ CONFIG_CPU_SUBTYPE_SH7712=y | |||
165 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | 135 | # CONFIG_CPU_SUBTYPE_SH7751R is not set |
166 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | 136 | # CONFIG_CPU_SUBTYPE_SH7760 is not set |
167 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | 137 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set |
168 | 138 | # CONFIG_CPU_SUBTYPE_SH7723 is not set | |
169 | # | 139 | # CONFIG_CPU_SUBTYPE_SH7763 is not set |
170 | # ST40 Processor Support | ||
171 | # | ||
172 | # CONFIG_CPU_SUBTYPE_ST40STB1 is not set | ||
173 | # CONFIG_CPU_SUBTYPE_ST40GX1 is not set | ||
174 | |||
175 | # | ||
176 | # SH-4A Processor Support | ||
177 | # | ||
178 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | 140 | # CONFIG_CPU_SUBTYPE_SH7770 is not set |
179 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | 141 | # CONFIG_CPU_SUBTYPE_SH7780 is not set |
180 | # CONFIG_CPU_SUBTYPE_SH7785 is not set | 142 | # CONFIG_CPU_SUBTYPE_SH7785 is not set |
181 | 143 | # CONFIG_CPU_SUBTYPE_SHX3 is not set | |
182 | # | ||
183 | # SH4AL-DSP Processor Support | ||
184 | # | ||
185 | # CONFIG_CPU_SUBTYPE_SH73180 is not set | ||
186 | # CONFIG_CPU_SUBTYPE_SH7343 is not set | 144 | # CONFIG_CPU_SUBTYPE_SH7343 is not set |
187 | # CONFIG_CPU_SUBTYPE_SH7722 is not set | 145 | # CONFIG_CPU_SUBTYPE_SH7722 is not set |
146 | # CONFIG_CPU_SUBTYPE_SH7366 is not set | ||
147 | # CONFIG_CPU_SUBTYPE_SH5_101 is not set | ||
148 | # CONFIG_CPU_SUBTYPE_SH5_103 is not set | ||
188 | 149 | ||
189 | # | 150 | # |
190 | # Memory management options | 151 | # Memory management options |
191 | # | 152 | # |
153 | CONFIG_QUICKLIST=y | ||
192 | CONFIG_MMU=y | 154 | CONFIG_MMU=y |
193 | CONFIG_PAGE_OFFSET=0x80000000 | 155 | CONFIG_PAGE_OFFSET=0x80000000 |
194 | CONFIG_MEMORY_START=0x0c000000 | 156 | CONFIG_MEMORY_START=0x0c000000 |
195 | CONFIG_MEMORY_SIZE=0x02000000 | 157 | CONFIG_MEMORY_SIZE=0x02000000 |
158 | CONFIG_29BIT=y | ||
196 | CONFIG_VSYSCALL=y | 159 | CONFIG_VSYSCALL=y |
160 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
161 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
162 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
163 | CONFIG_MAX_ACTIVE_REGIONS=1 | ||
164 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
165 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
197 | CONFIG_PAGE_SIZE_4KB=y | 166 | CONFIG_PAGE_SIZE_4KB=y |
198 | # CONFIG_PAGE_SIZE_8KB is not set | 167 | # CONFIG_PAGE_SIZE_8KB is not set |
168 | # CONFIG_PAGE_SIZE_16KB is not set | ||
199 | # CONFIG_PAGE_SIZE_64KB is not set | 169 | # CONFIG_PAGE_SIZE_64KB is not set |
200 | CONFIG_SELECT_MEMORY_MODEL=y | 170 | CONFIG_SELECT_MEMORY_MODEL=y |
201 | CONFIG_FLATMEM_MANUAL=y | 171 | CONFIG_FLATMEM_MANUAL=y |
@@ -203,21 +173,21 @@ CONFIG_FLATMEM_MANUAL=y | |||
203 | # CONFIG_SPARSEMEM_MANUAL is not set | 173 | # CONFIG_SPARSEMEM_MANUAL is not set |
204 | CONFIG_FLATMEM=y | 174 | CONFIG_FLATMEM=y |
205 | CONFIG_FLAT_NODE_MEM_MAP=y | 175 | CONFIG_FLAT_NODE_MEM_MAP=y |
206 | # CONFIG_SPARSEMEM_STATIC is not set | 176 | CONFIG_SPARSEMEM_STATIC=y |
177 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
178 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
207 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 179 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
208 | # CONFIG_RESOURCES_64BIT is not set | 180 | # CONFIG_RESOURCES_64BIT is not set |
209 | CONFIG_ZONE_DMA_FLAG=0 | 181 | CONFIG_ZONE_DMA_FLAG=0 |
182 | CONFIG_NR_QUICK=2 | ||
210 | 183 | ||
211 | # | 184 | # |
212 | # Cache configuration | 185 | # Cache configuration |
213 | # | 186 | # |
214 | # CONFIG_SH_DIRECT_MAPPED is not set | 187 | # CONFIG_SH_DIRECT_MAPPED is not set |
215 | # CONFIG_SH_WRITETHROUGH is not set | 188 | CONFIG_CACHE_WRITEBACK=y |
216 | # CONFIG_SH_OCRAM is not set | 189 | # CONFIG_CACHE_WRITETHROUGH is not set |
217 | CONFIG_CF_ENABLER=y | 190 | # CONFIG_CACHE_OFF is not set |
218 | # CONFIG_CF_AREA5 is not set | ||
219 | CONFIG_CF_AREA6=y | ||
220 | CONFIG_CF_BASE_ADDR=0xb8000000 | ||
221 | 191 | ||
222 | # | 192 | # |
223 | # Processor features | 193 | # Processor features |
@@ -230,6 +200,14 @@ CONFIG_CPU_LITTLE_ENDIAN=y | |||
230 | CONFIG_CPU_HAS_INTEVT=y | 200 | CONFIG_CPU_HAS_INTEVT=y |
231 | CONFIG_CPU_HAS_IPR_IRQ=y | 201 | CONFIG_CPU_HAS_IPR_IRQ=y |
232 | CONFIG_CPU_HAS_SR_RB=y | 202 | CONFIG_CPU_HAS_SR_RB=y |
203 | CONFIG_CPU_HAS_DSP=y | ||
204 | |||
205 | # | ||
206 | # Board support | ||
207 | # | ||
208 | CONFIG_SOLUTION_ENGINE=y | ||
209 | CONFIG_SH_SOLUTION_ENGINE=y | ||
210 | # CONFIG_SH_AP325RXA is not set | ||
233 | 211 | ||
234 | # | 212 | # |
235 | # Timer and clock configuration | 213 | # Timer and clock configuration |
@@ -237,6 +215,10 @@ CONFIG_CPU_HAS_SR_RB=y | |||
237 | CONFIG_SH_TMU=y | 215 | CONFIG_SH_TMU=y |
238 | CONFIG_SH_TIMER_IRQ=16 | 216 | CONFIG_SH_TIMER_IRQ=16 |
239 | CONFIG_SH_PCLK_FREQ=66666666 | 217 | CONFIG_SH_PCLK_FREQ=66666666 |
218 | # CONFIG_TICK_ONESHOT is not set | ||
219 | # CONFIG_NO_HZ is not set | ||
220 | # CONFIG_HIGH_RES_TIMERS is not set | ||
221 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
240 | 222 | ||
241 | # | 223 | # |
242 | # CPU Frequency scaling | 224 | # CPU Frequency scaling |
@@ -251,7 +233,6 @@ CONFIG_SH_PCLK_FREQ=66666666 | |||
251 | # | 233 | # |
252 | # Companion Chips | 234 | # Companion Chips |
253 | # | 235 | # |
254 | # CONFIG_HD6446X_SERIES is not set | ||
255 | 236 | ||
256 | # | 237 | # |
257 | # Additional SuperH Device Drivers | 238 | # Additional SuperH Device Drivers |
@@ -267,48 +248,40 @@ CONFIG_HZ_250=y | |||
267 | # CONFIG_HZ_300 is not set | 248 | # CONFIG_HZ_300 is not set |
268 | # CONFIG_HZ_1000 is not set | 249 | # CONFIG_HZ_1000 is not set |
269 | CONFIG_HZ=250 | 250 | CONFIG_HZ=250 |
251 | # CONFIG_SCHED_HRTICK is not set | ||
270 | # CONFIG_KEXEC is not set | 252 | # CONFIG_KEXEC is not set |
271 | # CONFIG_SMP is not set | 253 | # CONFIG_CRASH_DUMP is not set |
272 | # CONFIG_PREEMPT_NONE is not set | 254 | # CONFIG_PREEMPT_NONE is not set |
273 | CONFIG_PREEMPT_VOLUNTARY=y | 255 | CONFIG_PREEMPT_VOLUNTARY=y |
274 | # CONFIG_PREEMPT is not set | 256 | # CONFIG_PREEMPT is not set |
257 | CONFIG_GUSA=y | ||
258 | # CONFIG_GUSA_RB is not set | ||
275 | 259 | ||
276 | # | 260 | # |
277 | # Boot options | 261 | # Boot options |
278 | # | 262 | # |
279 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | 263 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 |
280 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | 264 | CONFIG_BOOT_LINK_OFFSET=0x00800000 |
281 | # CONFIG_UBC_WAKEUP is not set | ||
282 | CONFIG_CMDLINE_BOOL=y | 265 | CONFIG_CMDLINE_BOOL=y |
283 | CONFIG_CMDLINE="console=ttySC0,115200 root=/dev/sda1" | 266 | CONFIG_CMDLINE="console=ttySC0,115200 root=/dev/sda1" |
284 | 267 | ||
285 | # | 268 | # |
286 | # Bus options | 269 | # Bus options |
287 | # | 270 | # |
288 | # CONFIG_PCI is not set | 271 | CONFIG_CF_ENABLER=y |
289 | 272 | # CONFIG_CF_AREA5 is not set | |
290 | # | 273 | CONFIG_CF_AREA6=y |
291 | # PCCARD (PCMCIA/CardBus) support | 274 | CONFIG_CF_BASE_ADDR=0xb8000000 |
292 | # | 275 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
293 | # CONFIG_PCCARD is not set | 276 | # CONFIG_PCCARD is not set |
294 | 277 | ||
295 | # | 278 | # |
296 | # PCI Hotplug Support | ||
297 | # | ||
298 | |||
299 | # | ||
300 | # Executable file formats | 279 | # Executable file formats |
301 | # | 280 | # |
302 | CONFIG_BINFMT_ELF=y | 281 | CONFIG_BINFMT_ELF=y |
303 | # CONFIG_BINFMT_FLAT is not set | ||
304 | # CONFIG_BINFMT_MISC is not set | 282 | # CONFIG_BINFMT_MISC is not set |
305 | 283 | ||
306 | # | 284 | # |
307 | # Power management options (EXPERIMENTAL) | ||
308 | # | ||
309 | # CONFIG_PM is not set | ||
310 | |||
311 | # | ||
312 | # Networking | 285 | # Networking |
313 | # | 286 | # |
314 | CONFIG_NET=y | 287 | CONFIG_NET=y |
@@ -316,7 +289,6 @@ CONFIG_NET=y | |||
316 | # | 289 | # |
317 | # Networking options | 290 | # Networking options |
318 | # | 291 | # |
319 | # CONFIG_NETDEBUG is not set | ||
320 | CONFIG_PACKET=y | 292 | CONFIG_PACKET=y |
321 | CONFIG_PACKET_MMAP=y | 293 | CONFIG_PACKET_MMAP=y |
322 | CONFIG_UNIX=y | 294 | CONFIG_UNIX=y |
@@ -324,6 +296,7 @@ CONFIG_XFRM=y | |||
324 | # CONFIG_XFRM_USER is not set | 296 | # CONFIG_XFRM_USER is not set |
325 | # CONFIG_XFRM_SUB_POLICY is not set | 297 | # CONFIG_XFRM_SUB_POLICY is not set |
326 | # CONFIG_XFRM_MIGRATE is not set | 298 | # CONFIG_XFRM_MIGRATE is not set |
299 | # CONFIG_XFRM_STATISTICS is not set | ||
327 | CONFIG_NET_KEY=y | 300 | CONFIG_NET_KEY=y |
328 | # CONFIG_NET_KEY_MIGRATE is not set | 301 | # CONFIG_NET_KEY_MIGRATE is not set |
329 | CONFIG_INET=y | 302 | CONFIG_INET=y |
@@ -334,11 +307,10 @@ CONFIG_ASK_IP_FIB_HASH=y | |||
334 | CONFIG_IP_FIB_HASH=y | 307 | CONFIG_IP_FIB_HASH=y |
335 | CONFIG_IP_MULTIPLE_TABLES=y | 308 | CONFIG_IP_MULTIPLE_TABLES=y |
336 | CONFIG_IP_ROUTE_MULTIPATH=y | 309 | CONFIG_IP_ROUTE_MULTIPATH=y |
337 | # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set | ||
338 | CONFIG_IP_ROUTE_VERBOSE=y | 310 | CONFIG_IP_ROUTE_VERBOSE=y |
339 | CONFIG_IP_PNP=y | 311 | CONFIG_IP_PNP=y |
340 | CONFIG_IP_PNP_DHCP=y | 312 | CONFIG_IP_PNP_DHCP=y |
341 | # CONFIG_IP_PNP_BOOTP is not set | 313 | CONFIG_IP_PNP_BOOTP=y |
342 | # CONFIG_IP_PNP_RARP is not set | 314 | # CONFIG_IP_PNP_RARP is not set |
343 | # CONFIG_NET_IPIP is not set | 315 | # CONFIG_NET_IPIP is not set |
344 | # CONFIG_NET_IPGRE is not set | 316 | # CONFIG_NET_IPGRE is not set |
@@ -355,30 +327,17 @@ CONFIG_INET_TUNNEL=y | |||
355 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 327 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
356 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 328 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
357 | CONFIG_INET_XFRM_MODE_BEET=y | 329 | CONFIG_INET_XFRM_MODE_BEET=y |
330 | # CONFIG_INET_LRO is not set | ||
358 | # CONFIG_INET_DIAG is not set | 331 | # CONFIG_INET_DIAG is not set |
359 | # CONFIG_TCP_CONG_ADVANCED is not set | 332 | # CONFIG_TCP_CONG_ADVANCED is not set |
360 | CONFIG_TCP_CONG_CUBIC=y | 333 | CONFIG_TCP_CONG_CUBIC=y |
361 | CONFIG_DEFAULT_TCP_CONG="cubic" | 334 | CONFIG_DEFAULT_TCP_CONG="cubic" |
362 | # CONFIG_TCP_MD5SIG is not set | 335 | # CONFIG_TCP_MD5SIG is not set |
363 | # CONFIG_IPV6 is not set | 336 | # CONFIG_IPV6 is not set |
364 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
365 | # CONFIG_INET6_TUNNEL is not set | ||
366 | # CONFIG_NETWORK_SECMARK is not set | 337 | # CONFIG_NETWORK_SECMARK is not set |
367 | # CONFIG_NETFILTER is not set | 338 | # CONFIG_NETFILTER is not set |
368 | |||
369 | # | ||
370 | # DCCP Configuration (EXPERIMENTAL) | ||
371 | # | ||
372 | # CONFIG_IP_DCCP is not set | 339 | # CONFIG_IP_DCCP is not set |
373 | |||
374 | # | ||
375 | # SCTP Configuration (EXPERIMENTAL) | ||
376 | # | ||
377 | # CONFIG_IP_SCTP is not set | 340 | # CONFIG_IP_SCTP is not set |
378 | |||
379 | # | ||
380 | # TIPC Configuration (EXPERIMENTAL) | ||
381 | # | ||
382 | # CONFIG_TIPC is not set | 341 | # CONFIG_TIPC is not set |
383 | # CONFIG_ATM is not set | 342 | # CONFIG_ATM is not set |
384 | # CONFIG_BRIDGE is not set | 343 | # CONFIG_BRIDGE is not set |
@@ -391,15 +350,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
391 | # CONFIG_LAPB is not set | 350 | # CONFIG_LAPB is not set |
392 | # CONFIG_ECONET is not set | 351 | # CONFIG_ECONET is not set |
393 | # CONFIG_WAN_ROUTER is not set | 352 | # CONFIG_WAN_ROUTER is not set |
394 | |||
395 | # | ||
396 | # QoS and/or fair queueing | ||
397 | # | ||
398 | CONFIG_NET_SCHED=y | 353 | CONFIG_NET_SCHED=y |
399 | CONFIG_NET_SCH_FIFO=y | ||
400 | CONFIG_NET_SCH_CLK_JIFFIES=y | ||
401 | # CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set | ||
402 | # CONFIG_NET_SCH_CLK_CPU is not set | ||
403 | 354 | ||
404 | # | 355 | # |
405 | # Queueing/Scheduling | 356 | # Queueing/Scheduling |
@@ -408,6 +359,7 @@ CONFIG_NET_SCH_CBQ=y | |||
408 | CONFIG_NET_SCH_HTB=y | 359 | CONFIG_NET_SCH_HTB=y |
409 | CONFIG_NET_SCH_HFSC=y | 360 | CONFIG_NET_SCH_HFSC=y |
410 | CONFIG_NET_SCH_PRIO=y | 361 | CONFIG_NET_SCH_PRIO=y |
362 | # CONFIG_NET_SCH_RR is not set | ||
411 | CONFIG_NET_SCH_RED=y | 363 | CONFIG_NET_SCH_RED=y |
412 | CONFIG_NET_SCH_SFQ=y | 364 | CONFIG_NET_SCH_SFQ=y |
413 | CONFIG_NET_SCH_TEQL=y | 365 | CONFIG_NET_SCH_TEQL=y |
@@ -415,7 +367,6 @@ CONFIG_NET_SCH_TBF=y | |||
415 | CONFIG_NET_SCH_GRED=y | 367 | CONFIG_NET_SCH_GRED=y |
416 | CONFIG_NET_SCH_DSMARK=y | 368 | CONFIG_NET_SCH_DSMARK=y |
417 | CONFIG_NET_SCH_NETEM=y | 369 | CONFIG_NET_SCH_NETEM=y |
418 | CONFIG_NET_SCH_INGRESS=y | ||
419 | 370 | ||
420 | # | 371 | # |
421 | # Classification | 372 | # Classification |
@@ -429,50 +380,55 @@ CONFIG_NET_CLS_FW=y | |||
429 | # CONFIG_NET_CLS_U32 is not set | 380 | # CONFIG_NET_CLS_U32 is not set |
430 | # CONFIG_NET_CLS_RSVP is not set | 381 | # CONFIG_NET_CLS_RSVP is not set |
431 | # CONFIG_NET_CLS_RSVP6 is not set | 382 | # CONFIG_NET_CLS_RSVP6 is not set |
383 | # CONFIG_NET_CLS_FLOW is not set | ||
432 | # CONFIG_NET_EMATCH is not set | 384 | # CONFIG_NET_EMATCH is not set |
433 | # CONFIG_NET_CLS_ACT is not set | 385 | # CONFIG_NET_CLS_ACT is not set |
434 | # CONFIG_NET_CLS_POLICE is not set | ||
435 | CONFIG_NET_CLS_IND=y | 386 | CONFIG_NET_CLS_IND=y |
436 | CONFIG_NET_ESTIMATOR=y | 387 | CONFIG_NET_SCH_FIFO=y |
437 | 388 | ||
438 | # | 389 | # |
439 | # Network testing | 390 | # Network testing |
440 | # | 391 | # |
441 | # CONFIG_NET_PKTGEN is not set | 392 | # CONFIG_NET_PKTGEN is not set |
442 | # CONFIG_HAMRADIO is not set | 393 | # CONFIG_HAMRADIO is not set |
394 | # CONFIG_CAN is not set | ||
443 | # CONFIG_IRDA is not set | 395 | # CONFIG_IRDA is not set |
444 | # CONFIG_BT is not set | 396 | # CONFIG_BT is not set |
445 | # CONFIG_IEEE80211 is not set | 397 | # CONFIG_AF_RXRPC is not set |
446 | CONFIG_FIB_RULES=y | 398 | CONFIG_FIB_RULES=y |
447 | 399 | ||
448 | # | 400 | # |
401 | # Wireless | ||
402 | # | ||
403 | # CONFIG_CFG80211 is not set | ||
404 | # CONFIG_WIRELESS_EXT is not set | ||
405 | # CONFIG_MAC80211 is not set | ||
406 | # CONFIG_IEEE80211 is not set | ||
407 | # CONFIG_RFKILL is not set | ||
408 | # CONFIG_NET_9P is not set | ||
409 | |||
410 | # | ||
449 | # Device Drivers | 411 | # Device Drivers |
450 | # | 412 | # |
451 | 413 | ||
452 | # | 414 | # |
453 | # Generic Driver Options | 415 | # Generic Driver Options |
454 | # | 416 | # |
417 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
455 | CONFIG_STANDALONE=y | 418 | CONFIG_STANDALONE=y |
456 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 419 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
457 | CONFIG_FW_LOADER=y | 420 | CONFIG_FW_LOADER=y |
458 | # CONFIG_DEBUG_DRIVER is not set | 421 | # CONFIG_DEBUG_DRIVER is not set |
459 | # CONFIG_DEBUG_DEVRES is not set | 422 | # CONFIG_DEBUG_DEVRES is not set |
460 | # CONFIG_SYS_HYPERVISOR is not set | 423 | # CONFIG_SYS_HYPERVISOR is not set |
461 | |||
462 | # | ||
463 | # Connector - unified userspace <-> kernelspace linker | ||
464 | # | ||
465 | # CONFIG_CONNECTOR is not set | 424 | # CONFIG_CONNECTOR is not set |
466 | |||
467 | # | ||
468 | # Memory Technology Devices (MTD) | ||
469 | # | ||
470 | CONFIG_MTD=y | 425 | CONFIG_MTD=y |
471 | # CONFIG_MTD_DEBUG is not set | 426 | # CONFIG_MTD_DEBUG is not set |
472 | CONFIG_MTD_CONCAT=y | 427 | CONFIG_MTD_CONCAT=y |
473 | CONFIG_MTD_PARTITIONS=y | 428 | CONFIG_MTD_PARTITIONS=y |
474 | # CONFIG_MTD_REDBOOT_PARTS is not set | 429 | # CONFIG_MTD_REDBOOT_PARTS is not set |
475 | # CONFIG_MTD_CMDLINE_PARTS is not set | 430 | # CONFIG_MTD_CMDLINE_PARTS is not set |
431 | # CONFIG_MTD_AR7_PARTS is not set | ||
476 | 432 | ||
477 | # | 433 | # |
478 | # User Modules And Translation Layers | 434 | # User Modules And Translation Layers |
@@ -485,6 +441,7 @@ CONFIG_MTD_BLOCK=y | |||
485 | # CONFIG_INFTL is not set | 441 | # CONFIG_INFTL is not set |
486 | # CONFIG_RFD_FTL is not set | 442 | # CONFIG_RFD_FTL is not set |
487 | # CONFIG_SSFDC is not set | 443 | # CONFIG_SSFDC is not set |
444 | # CONFIG_MTD_OOPS is not set | ||
488 | 445 | ||
489 | # | 446 | # |
490 | # RAM/ROM/Flash chip drivers | 447 | # RAM/ROM/Flash chip drivers |
@@ -510,7 +467,6 @@ CONFIG_MTD_CFI_UTIL=y | |||
510 | # CONFIG_MTD_RAM is not set | 467 | # CONFIG_MTD_RAM is not set |
511 | # CONFIG_MTD_ROM is not set | 468 | # CONFIG_MTD_ROM is not set |
512 | # CONFIG_MTD_ABSENT is not set | 469 | # CONFIG_MTD_ABSENT is not set |
513 | # CONFIG_MTD_OBSOLETE_CHIPS is not set | ||
514 | 470 | ||
515 | # | 471 | # |
516 | # Mapping drivers for chip access | 472 | # Mapping drivers for chip access |
@@ -533,44 +489,25 @@ CONFIG_MTD_CFI_UTIL=y | |||
533 | # CONFIG_MTD_DOC2000 is not set | 489 | # CONFIG_MTD_DOC2000 is not set |
534 | # CONFIG_MTD_DOC2001 is not set | 490 | # CONFIG_MTD_DOC2001 is not set |
535 | # CONFIG_MTD_DOC2001PLUS is not set | 491 | # CONFIG_MTD_DOC2001PLUS is not set |
536 | |||
537 | # | ||
538 | # NAND Flash Device Drivers | ||
539 | # | ||
540 | # CONFIG_MTD_NAND is not set | 492 | # CONFIG_MTD_NAND is not set |
541 | |||
542 | # | ||
543 | # OneNAND Flash Device Drivers | ||
544 | # | ||
545 | # CONFIG_MTD_ONENAND is not set | 493 | # CONFIG_MTD_ONENAND is not set |
546 | 494 | ||
547 | # | 495 | # |
548 | # Parallel port support | 496 | # UBI - Unsorted block images |
549 | # | 497 | # |
498 | # CONFIG_MTD_UBI is not set | ||
550 | # CONFIG_PARPORT is not set | 499 | # CONFIG_PARPORT is not set |
551 | 500 | CONFIG_BLK_DEV=y | |
552 | # | ||
553 | # Plug and Play support | ||
554 | # | ||
555 | # CONFIG_PNPACPI is not set | ||
556 | |||
557 | # | ||
558 | # Block devices | ||
559 | # | ||
560 | # CONFIG_BLK_DEV_COW_COMMON is not set | 501 | # CONFIG_BLK_DEV_COW_COMMON is not set |
561 | # CONFIG_BLK_DEV_LOOP is not set | 502 | # CONFIG_BLK_DEV_LOOP is not set |
562 | # CONFIG_BLK_DEV_NBD is not set | 503 | # CONFIG_BLK_DEV_NBD is not set |
563 | # CONFIG_BLK_DEV_RAM is not set | 504 | # CONFIG_BLK_DEV_RAM is not set |
564 | # CONFIG_CDROM_PKTCDVD is not set | 505 | # CONFIG_CDROM_PKTCDVD is not set |
565 | # CONFIG_ATA_OVER_ETH is not set | 506 | # CONFIG_ATA_OVER_ETH is not set |
566 | 507 | CONFIG_MISC_DEVICES=y | |
567 | # | 508 | # CONFIG_EEPROM_93CX6 is not set |
568 | # Misc devices | 509 | # CONFIG_ENCLOSURE_SERVICES is not set |
569 | # | 510 | CONFIG_HAVE_IDE=y |
570 | |||
571 | # | ||
572 | # ATA/ATAPI/MFM/RLL support | ||
573 | # | ||
574 | # CONFIG_IDE is not set | 511 | # CONFIG_IDE is not set |
575 | 512 | ||
576 | # | 513 | # |
@@ -578,6 +515,7 @@ CONFIG_MTD_CFI_UTIL=y | |||
578 | # | 515 | # |
579 | # CONFIG_RAID_ATTRS is not set | 516 | # CONFIG_RAID_ATTRS is not set |
580 | CONFIG_SCSI=y | 517 | CONFIG_SCSI=y |
518 | CONFIG_SCSI_DMA=y | ||
581 | # CONFIG_SCSI_TGT is not set | 519 | # CONFIG_SCSI_TGT is not set |
582 | # CONFIG_SCSI_NETLINK is not set | 520 | # CONFIG_SCSI_NETLINK is not set |
583 | CONFIG_SCSI_PROC_FS=y | 521 | CONFIG_SCSI_PROC_FS=y |
@@ -599,6 +537,7 @@ CONFIG_BLK_DEV_SD=y | |||
599 | # CONFIG_SCSI_CONSTANTS is not set | 537 | # CONFIG_SCSI_CONSTANTS is not set |
600 | # CONFIG_SCSI_LOGGING is not set | 538 | # CONFIG_SCSI_LOGGING is not set |
601 | # CONFIG_SCSI_SCAN_ASYNC is not set | 539 | # CONFIG_SCSI_SCAN_ASYNC is not set |
540 | CONFIG_SCSI_WAIT_SCAN=m | ||
602 | 541 | ||
603 | # | 542 | # |
604 | # SCSI Transports | 543 | # SCSI Transports |
@@ -606,94 +545,72 @@ CONFIG_BLK_DEV_SD=y | |||
606 | # CONFIG_SCSI_SPI_ATTRS is not set | 545 | # CONFIG_SCSI_SPI_ATTRS is not set |
607 | # CONFIG_SCSI_FC_ATTRS is not set | 546 | # CONFIG_SCSI_FC_ATTRS is not set |
608 | # CONFIG_SCSI_ISCSI_ATTRS is not set | 547 | # CONFIG_SCSI_ISCSI_ATTRS is not set |
609 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
610 | # CONFIG_SCSI_SAS_LIBSAS is not set | 548 | # CONFIG_SCSI_SAS_LIBSAS is not set |
611 | 549 | # CONFIG_SCSI_SRP_ATTRS is not set | |
612 | # | 550 | CONFIG_SCSI_LOWLEVEL=y |
613 | # SCSI low-level drivers | ||
614 | # | ||
615 | # CONFIG_ISCSI_TCP is not set | 551 | # CONFIG_ISCSI_TCP is not set |
616 | # CONFIG_SCSI_DEBUG is not set | 552 | # CONFIG_SCSI_DEBUG is not set |
617 | |||
618 | # | ||
619 | # Serial ATA (prod) and Parallel ATA (experimental) drivers | ||
620 | # | ||
621 | CONFIG_ATA=y | 553 | CONFIG_ATA=y |
622 | # CONFIG_ATA_NONSTANDARD is not set | 554 | # CONFIG_ATA_NONSTANDARD is not set |
555 | CONFIG_SATA_PMP=y | ||
556 | CONFIG_ATA_SFF=y | ||
557 | # CONFIG_SATA_MV is not set | ||
623 | CONFIG_PATA_PLATFORM=y | 558 | CONFIG_PATA_PLATFORM=y |
624 | |||
625 | # | ||
626 | # Multi-device support (RAID and LVM) | ||
627 | # | ||
628 | # CONFIG_MD is not set | 559 | # CONFIG_MD is not set |
629 | |||
630 | # | ||
631 | # Fusion MPT device support | ||
632 | # | ||
633 | # CONFIG_FUSION is not set | ||
634 | |||
635 | # | ||
636 | # IEEE 1394 (FireWire) support | ||
637 | # | ||
638 | |||
639 | # | ||
640 | # I2O device support | ||
641 | # | ||
642 | |||
643 | # | ||
644 | # Network device support | ||
645 | # | ||
646 | CONFIG_NETDEVICES=y | 560 | CONFIG_NETDEVICES=y |
561 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
647 | # CONFIG_DUMMY is not set | 562 | # CONFIG_DUMMY is not set |
648 | # CONFIG_BONDING is not set | 563 | # CONFIG_BONDING is not set |
564 | # CONFIG_MACVLAN is not set | ||
649 | # CONFIG_EQUALIZER is not set | 565 | # CONFIG_EQUALIZER is not set |
650 | # CONFIG_TUN is not set | 566 | # CONFIG_TUN is not set |
651 | 567 | # CONFIG_VETH is not set | |
652 | # | 568 | CONFIG_PHYLIB=y |
653 | # PHY device support | 569 | |
654 | # | 570 | # |
655 | 571 | # MII PHY device drivers | |
656 | # | 572 | # |
657 | # Ethernet (10 or 100Mbit) | 573 | # CONFIG_MARVELL_PHY is not set |
658 | # | 574 | # CONFIG_DAVICOM_PHY is not set |
659 | # CONFIG_NET_ETHERNET is not set | 575 | # CONFIG_QSEMI_PHY is not set |
660 | 576 | # CONFIG_LXT_PHY is not set | |
661 | # | 577 | # CONFIG_CICADA_PHY is not set |
662 | # Ethernet (1000 Mbit) | 578 | # CONFIG_VITESSE_PHY is not set |
663 | # | 579 | # CONFIG_SMSC_PHY is not set |
664 | 580 | # CONFIG_BROADCOM_PHY is not set | |
665 | # | 581 | # CONFIG_ICPLUS_PHY is not set |
666 | # Ethernet (10000 Mbit) | 582 | # CONFIG_REALTEK_PHY is not set |
667 | # | 583 | # CONFIG_FIXED_PHY is not set |
668 | 584 | CONFIG_MDIO_BITBANG=y | |
669 | # | 585 | CONFIG_NET_ETHERNET=y |
670 | # Token Ring devices | 586 | CONFIG_MII=y |
671 | # | 587 | # CONFIG_AX88796 is not set |
672 | 588 | # CONFIG_STNIC is not set | |
673 | # | 589 | CONFIG_SH_ETH=y |
674 | # Wireless LAN (non-hamradio) | 590 | # CONFIG_SMC91X is not set |
675 | # | 591 | # CONFIG_SMC911X is not set |
676 | # CONFIG_NET_RADIO is not set | 592 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
677 | 593 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | |
678 | # | 594 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
679 | # Wan interfaces | 595 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
680 | # | 596 | # CONFIG_B44 is not set |
597 | CONFIG_NETDEV_1000=y | ||
598 | # CONFIG_E1000E_ENABLED is not set | ||
599 | CONFIG_NETDEV_10000=y | ||
600 | |||
601 | # | ||
602 | # Wireless LAN | ||
603 | # | ||
604 | # CONFIG_WLAN_PRE80211 is not set | ||
605 | # CONFIG_WLAN_80211 is not set | ||
606 | # CONFIG_IWLWIFI_LEDS is not set | ||
681 | # CONFIG_WAN is not set | 607 | # CONFIG_WAN is not set |
682 | # CONFIG_PPP is not set | 608 | # CONFIG_PPP is not set |
683 | # CONFIG_SLIP is not set | 609 | # CONFIG_SLIP is not set |
684 | # CONFIG_SHAPER is not set | ||
685 | # CONFIG_NETCONSOLE is not set | 610 | # CONFIG_NETCONSOLE is not set |
686 | # CONFIG_NETPOLL is not set | 611 | # CONFIG_NETPOLL is not set |
687 | # CONFIG_NET_POLL_CONTROLLER is not set | 612 | # CONFIG_NET_POLL_CONTROLLER is not set |
688 | |||
689 | # | ||
690 | # ISDN subsystem | ||
691 | # | ||
692 | # CONFIG_ISDN is not set | 613 | # CONFIG_ISDN is not set |
693 | |||
694 | # | ||
695 | # Telephony Support | ||
696 | # | ||
697 | # CONFIG_PHONE is not set | 614 | # CONFIG_PHONE is not set |
698 | 615 | ||
699 | # | 616 | # |
@@ -711,6 +628,7 @@ CONFIG_NETDEVICES=y | |||
711 | # Character devices | 628 | # Character devices |
712 | # | 629 | # |
713 | # CONFIG_VT is not set | 630 | # CONFIG_VT is not set |
631 | CONFIG_DEVKMEM=y | ||
714 | # CONFIG_SERIAL_NONSTANDARD is not set | 632 | # CONFIG_SERIAL_NONSTANDARD is not set |
715 | 633 | ||
716 | # | 634 | # |
@@ -728,99 +646,78 @@ CONFIG_SERIAL_CORE=y | |||
728 | CONFIG_SERIAL_CORE_CONSOLE=y | 646 | CONFIG_SERIAL_CORE_CONSOLE=y |
729 | CONFIG_UNIX98_PTYS=y | 647 | CONFIG_UNIX98_PTYS=y |
730 | # CONFIG_LEGACY_PTYS is not set | 648 | # CONFIG_LEGACY_PTYS is not set |
731 | |||
732 | # | ||
733 | # IPMI | ||
734 | # | ||
735 | # CONFIG_IPMI_HANDLER is not set | 649 | # CONFIG_IPMI_HANDLER is not set |
736 | |||
737 | # | ||
738 | # Watchdog Cards | ||
739 | # | ||
740 | # CONFIG_WATCHDOG is not set | ||
741 | CONFIG_HW_RANDOM=m | 650 | CONFIG_HW_RANDOM=m |
742 | # CONFIG_GEN_RTC is not set | ||
743 | # CONFIG_DTLK is not set | ||
744 | # CONFIG_R3964 is not set | 651 | # CONFIG_R3964 is not set |
745 | # CONFIG_RAW_DRIVER is not set | 652 | # CONFIG_RAW_DRIVER is not set |
746 | |||
747 | # | ||
748 | # TPM devices | ||
749 | # | ||
750 | # CONFIG_TCG_TPM is not set | 653 | # CONFIG_TCG_TPM is not set |
751 | |||
752 | # | ||
753 | # I2C support | ||
754 | # | ||
755 | # CONFIG_I2C is not set | 654 | # CONFIG_I2C is not set |
756 | |||
757 | # | ||
758 | # SPI support | ||
759 | # | ||
760 | # CONFIG_SPI is not set | 655 | # CONFIG_SPI is not set |
761 | # CONFIG_SPI_MASTER is not set | ||
762 | |||
763 | # | ||
764 | # Dallas's 1-wire bus | ||
765 | # | ||
766 | # CONFIG_W1 is not set | 656 | # CONFIG_W1 is not set |
657 | # CONFIG_POWER_SUPPLY is not set | ||
658 | # CONFIG_HWMON is not set | ||
659 | # CONFIG_THERMAL is not set | ||
660 | # CONFIG_WATCHDOG is not set | ||
767 | 661 | ||
768 | # | 662 | # |
769 | # Hardware Monitoring support | 663 | # Sonics Silicon Backplane |
770 | # | 664 | # |
771 | # CONFIG_HWMON is not set | 665 | CONFIG_SSB_POSSIBLE=y |
772 | # CONFIG_HWMON_VID is not set | 666 | # CONFIG_SSB is not set |
773 | 667 | ||
774 | # | 668 | # |
775 | # Multifunction device drivers | 669 | # Multifunction device drivers |
776 | # | 670 | # |
777 | # CONFIG_MFD_SM501 is not set | 671 | # CONFIG_MFD_SM501 is not set |
672 | # CONFIG_HTC_PASIC3 is not set | ||
778 | 673 | ||
779 | # | 674 | # |
780 | # Multimedia devices | 675 | # Multimedia devices |
781 | # | 676 | # |
677 | |||
678 | # | ||
679 | # Multimedia core support | ||
680 | # | ||
782 | # CONFIG_VIDEO_DEV is not set | 681 | # CONFIG_VIDEO_DEV is not set |
682 | # CONFIG_DVB_CORE is not set | ||
683 | # CONFIG_VIDEO_MEDIA is not set | ||
783 | 684 | ||
784 | # | 685 | # |
785 | # Digital Video Broadcasting Devices | 686 | # Multimedia drivers |
786 | # | 687 | # |
787 | # CONFIG_DVB is not set | 688 | # CONFIG_DAB is not set |
788 | 689 | ||
789 | # | 690 | # |
790 | # Graphics support | 691 | # Graphics support |
791 | # | 692 | # |
792 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 693 | # CONFIG_VGASTATE is not set |
694 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
793 | # CONFIG_FB is not set | 695 | # CONFIG_FB is not set |
696 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
794 | 697 | ||
795 | # | 698 | # |
796 | # Sound | 699 | # Display device support |
797 | # | 700 | # |
798 | # CONFIG_SOUND is not set | 701 | # CONFIG_DISPLAY_SUPPORT is not set |
799 | 702 | ||
800 | # | 703 | # |
801 | # USB support | 704 | # Sound |
802 | # | 705 | # |
803 | # CONFIG_USB_ARCH_HAS_HCD is not set | 706 | # CONFIG_SOUND is not set |
707 | CONFIG_USB_SUPPORT=y | ||
708 | CONFIG_USB_ARCH_HAS_HCD=y | ||
804 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 709 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
805 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 710 | # CONFIG_USB_ARCH_HAS_EHCI is not set |
711 | # CONFIG_USB is not set | ||
712 | # CONFIG_USB_OTG_WHITELIST is not set | ||
713 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
806 | 714 | ||
807 | # | 715 | # |
808 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 716 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
809 | # | 717 | # |
810 | |||
811 | # | ||
812 | # USB Gadget Support | ||
813 | # | ||
814 | # CONFIG_USB_GADGET is not set | 718 | # CONFIG_USB_GADGET is not set |
815 | |||
816 | # | ||
817 | # MMC/SD Card support | ||
818 | # | ||
819 | # CONFIG_MMC is not set | 719 | # CONFIG_MMC is not set |
820 | 720 | # CONFIG_MEMSTICK is not set | |
821 | # | ||
822 | # LED devices | ||
823 | # | ||
824 | CONFIG_NEW_LEDS=y | 721 | CONFIG_NEW_LEDS=y |
825 | CONFIG_LEDS_CLASS=y | 722 | CONFIG_LEDS_CLASS=y |
826 | 723 | ||
@@ -834,40 +731,10 @@ CONFIG_LEDS_CLASS=y | |||
834 | CONFIG_LEDS_TRIGGERS=y | 731 | CONFIG_LEDS_TRIGGERS=y |
835 | # CONFIG_LEDS_TRIGGER_TIMER is not set | 732 | # CONFIG_LEDS_TRIGGER_TIMER is not set |
836 | # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set | 733 | # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set |
837 | 734 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set | |
838 | # | 735 | # CONFIG_ACCESSIBILITY is not set |
839 | # InfiniBand support | ||
840 | # | ||
841 | |||
842 | # | ||
843 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
844 | # | ||
845 | |||
846 | # | ||
847 | # Real Time Clock | ||
848 | # | ||
849 | # CONFIG_RTC_CLASS is not set | 736 | # CONFIG_RTC_CLASS is not set |
850 | 737 | # CONFIG_UIO is not set | |
851 | # | ||
852 | # DMA Engine support | ||
853 | # | ||
854 | # CONFIG_DMA_ENGINE is not set | ||
855 | |||
856 | # | ||
857 | # DMA Clients | ||
858 | # | ||
859 | |||
860 | # | ||
861 | # DMA Devices | ||
862 | # | ||
863 | |||
864 | # | ||
865 | # Auxiliary Display support | ||
866 | # | ||
867 | |||
868 | # | ||
869 | # Virtualization | ||
870 | # | ||
871 | 738 | ||
872 | # | 739 | # |
873 | # File systems | 740 | # File systems |
@@ -877,20 +744,21 @@ CONFIG_EXT2_FS_XATTR=y | |||
877 | CONFIG_EXT2_FS_POSIX_ACL=y | 744 | CONFIG_EXT2_FS_POSIX_ACL=y |
878 | CONFIG_EXT2_FS_SECURITY=y | 745 | CONFIG_EXT2_FS_SECURITY=y |
879 | # CONFIG_EXT2_FS_XIP is not set | 746 | # CONFIG_EXT2_FS_XIP is not set |
880 | # CONFIG_EXT3_FS is not set | 747 | CONFIG_EXT3_FS=y |
748 | CONFIG_EXT3_FS_XATTR=y | ||
749 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
750 | # CONFIG_EXT3_FS_SECURITY is not set | ||
881 | # CONFIG_EXT4DEV_FS is not set | 751 | # CONFIG_EXT4DEV_FS is not set |
752 | CONFIG_JBD=y | ||
882 | CONFIG_FS_MBCACHE=y | 753 | CONFIG_FS_MBCACHE=y |
883 | # CONFIG_REISERFS_FS is not set | 754 | # CONFIG_REISERFS_FS is not set |
884 | # CONFIG_JFS_FS is not set | 755 | # CONFIG_JFS_FS is not set |
885 | CONFIG_FS_POSIX_ACL=y | 756 | CONFIG_FS_POSIX_ACL=y |
886 | # CONFIG_XFS_FS is not set | 757 | # CONFIG_XFS_FS is not set |
887 | # CONFIG_GFS2_FS is not set | ||
888 | # CONFIG_OCFS2_FS is not set | 758 | # CONFIG_OCFS2_FS is not set |
889 | # CONFIG_MINIX_FS is not set | 759 | # CONFIG_DNOTIFY is not set |
890 | # CONFIG_ROMFS_FS is not set | ||
891 | # CONFIG_INOTIFY is not set | 760 | # CONFIG_INOTIFY is not set |
892 | # CONFIG_QUOTA is not set | 761 | # CONFIG_QUOTA is not set |
893 | # CONFIG_DNOTIFY is not set | ||
894 | # CONFIG_AUTOFS_FS is not set | 762 | # CONFIG_AUTOFS_FS is not set |
895 | # CONFIG_AUTOFS4_FS is not set | 763 | # CONFIG_AUTOFS4_FS is not set |
896 | # CONFIG_FUSE_FS is not set | 764 | # CONFIG_FUSE_FS is not set |
@@ -919,7 +787,6 @@ CONFIG_TMPFS=y | |||
919 | # CONFIG_TMPFS_POSIX_ACL is not set | 787 | # CONFIG_TMPFS_POSIX_ACL is not set |
920 | # CONFIG_HUGETLBFS is not set | 788 | # CONFIG_HUGETLBFS is not set |
921 | # CONFIG_HUGETLB_PAGE is not set | 789 | # CONFIG_HUGETLB_PAGE is not set |
922 | CONFIG_RAMFS=y | ||
923 | # CONFIG_CONFIGFS_FS is not set | 790 | # CONFIG_CONFIGFS_FS is not set |
924 | 791 | ||
925 | # | 792 | # |
@@ -935,68 +802,67 @@ CONFIG_RAMFS=y | |||
935 | CONFIG_JFFS2_FS=y | 802 | CONFIG_JFFS2_FS=y |
936 | CONFIG_JFFS2_FS_DEBUG=0 | 803 | CONFIG_JFFS2_FS_DEBUG=0 |
937 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 804 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
805 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
938 | # CONFIG_JFFS2_SUMMARY is not set | 806 | # CONFIG_JFFS2_SUMMARY is not set |
939 | # CONFIG_JFFS2_FS_XATTR is not set | 807 | # CONFIG_JFFS2_FS_XATTR is not set |
940 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 808 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
941 | CONFIG_JFFS2_ZLIB=y | 809 | CONFIG_JFFS2_ZLIB=y |
810 | # CONFIG_JFFS2_LZO is not set | ||
942 | CONFIG_JFFS2_RTIME=y | 811 | CONFIG_JFFS2_RTIME=y |
943 | # CONFIG_JFFS2_RUBIN is not set | 812 | # CONFIG_JFFS2_RUBIN is not set |
944 | CONFIG_CRAMFS=y | 813 | CONFIG_CRAMFS=y |
945 | # CONFIG_VXFS_FS is not set | 814 | # CONFIG_VXFS_FS is not set |
815 | # CONFIG_MINIX_FS is not set | ||
946 | # CONFIG_HPFS_FS is not set | 816 | # CONFIG_HPFS_FS is not set |
947 | # CONFIG_QNX4FS_FS is not set | 817 | # CONFIG_QNX4FS_FS is not set |
818 | # CONFIG_ROMFS_FS is not set | ||
948 | # CONFIG_SYSV_FS is not set | 819 | # CONFIG_SYSV_FS is not set |
949 | # CONFIG_UFS_FS is not set | 820 | # CONFIG_UFS_FS is not set |
950 | 821 | CONFIG_NETWORK_FILESYSTEMS=y | |
951 | # | 822 | CONFIG_NFS_FS=y |
952 | # Network File Systems | 823 | # CONFIG_NFS_V3 is not set |
953 | # | 824 | # CONFIG_NFS_V4 is not set |
954 | # CONFIG_NFS_FS is not set | ||
955 | # CONFIG_NFSD is not set | 825 | # CONFIG_NFSD is not set |
826 | CONFIG_ROOT_NFS=y | ||
827 | CONFIG_LOCKD=y | ||
828 | CONFIG_NFS_COMMON=y | ||
829 | CONFIG_SUNRPC=y | ||
830 | # CONFIG_SUNRPC_BIND34 is not set | ||
831 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
832 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
956 | # CONFIG_SMB_FS is not set | 833 | # CONFIG_SMB_FS is not set |
957 | # CONFIG_CIFS is not set | 834 | # CONFIG_CIFS is not set |
958 | # CONFIG_NCP_FS is not set | 835 | # CONFIG_NCP_FS is not set |
959 | # CONFIG_CODA_FS is not set | 836 | # CONFIG_CODA_FS is not set |
960 | # CONFIG_AFS_FS is not set | 837 | # CONFIG_AFS_FS is not set |
961 | # CONFIG_9P_FS is not set | ||
962 | 838 | ||
963 | # | 839 | # |
964 | # Partition Types | 840 | # Partition Types |
965 | # | 841 | # |
966 | # CONFIG_PARTITION_ADVANCED is not set | 842 | # CONFIG_PARTITION_ADVANCED is not set |
967 | CONFIG_MSDOS_PARTITION=y | 843 | CONFIG_MSDOS_PARTITION=y |
968 | |||
969 | # | ||
970 | # Native Language Support | ||
971 | # | ||
972 | # CONFIG_NLS is not set | 844 | # CONFIG_NLS is not set |
973 | |||
974 | # | ||
975 | # Distributed Lock Manager | ||
976 | # | ||
977 | # CONFIG_DLM is not set | 845 | # CONFIG_DLM is not set |
978 | 846 | ||
979 | # | 847 | # |
980 | # Profiling support | ||
981 | # | ||
982 | # CONFIG_PROFILING is not set | ||
983 | |||
984 | # | ||
985 | # Kernel hacking | 848 | # Kernel hacking |
986 | # | 849 | # |
987 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | 850 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y |
988 | # CONFIG_PRINTK_TIME is not set | 851 | # CONFIG_PRINTK_TIME is not set |
852 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
989 | CONFIG_ENABLE_MUST_CHECK=y | 853 | CONFIG_ENABLE_MUST_CHECK=y |
854 | CONFIG_FRAME_WARN=1024 | ||
990 | # CONFIG_MAGIC_SYSRQ is not set | 855 | # CONFIG_MAGIC_SYSRQ is not set |
991 | # CONFIG_UNUSED_SYMBOLS is not set | 856 | # CONFIG_UNUSED_SYMBOLS is not set |
992 | # CONFIG_DEBUG_FS is not set | 857 | # CONFIG_DEBUG_FS is not set |
993 | # CONFIG_HEADERS_CHECK is not set | 858 | # CONFIG_HEADERS_CHECK is not set |
994 | CONFIG_DEBUG_KERNEL=y | 859 | CONFIG_DEBUG_KERNEL=y |
995 | # CONFIG_DEBUG_SHIRQ is not set | 860 | # CONFIG_DEBUG_SHIRQ is not set |
996 | CONFIG_LOG_BUF_SHIFT=14 | ||
997 | # CONFIG_DETECT_SOFTLOCKUP is not set | 861 | # CONFIG_DETECT_SOFTLOCKUP is not set |
862 | CONFIG_SCHED_DEBUG=y | ||
998 | # CONFIG_SCHEDSTATS is not set | 863 | # CONFIG_SCHEDSTATS is not set |
999 | # CONFIG_TIMER_STATS is not set | 864 | # CONFIG_TIMER_STATS is not set |
865 | # CONFIG_DEBUG_OBJECTS is not set | ||
1000 | # CONFIG_DEBUG_SLAB is not set | 866 | # CONFIG_DEBUG_SLAB is not set |
1001 | # CONFIG_DEBUG_RT_MUTEXES is not set | 867 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1002 | # CONFIG_RT_MUTEX_TESTER is not set | 868 | # CONFIG_RT_MUTEX_TESTER is not set |
@@ -1004,21 +870,28 @@ CONFIG_LOG_BUF_SHIFT=14 | |||
1004 | # CONFIG_DEBUG_MUTEXES is not set | 870 | # CONFIG_DEBUG_MUTEXES is not set |
1005 | # CONFIG_DEBUG_LOCK_ALLOC is not set | 871 | # CONFIG_DEBUG_LOCK_ALLOC is not set |
1006 | # CONFIG_PROVE_LOCKING is not set | 872 | # CONFIG_PROVE_LOCKING is not set |
873 | # CONFIG_LOCK_STAT is not set | ||
1007 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 874 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1008 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 875 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1009 | # CONFIG_DEBUG_KOBJECT is not set | 876 | # CONFIG_DEBUG_KOBJECT is not set |
1010 | CONFIG_DEBUG_INFO=y | 877 | CONFIG_DEBUG_INFO=y |
1011 | # CONFIG_DEBUG_VM is not set | 878 | # CONFIG_DEBUG_VM is not set |
879 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1012 | # CONFIG_DEBUG_LIST is not set | 880 | # CONFIG_DEBUG_LIST is not set |
881 | # CONFIG_DEBUG_SG is not set | ||
1013 | CONFIG_FRAME_POINTER=y | 882 | CONFIG_FRAME_POINTER=y |
1014 | # CONFIG_FORCED_INLINING is not set | 883 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1015 | # CONFIG_RCU_TORTURE_TEST is not set | 884 | # CONFIG_RCU_TORTURE_TEST is not set |
885 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
1016 | # CONFIG_FAULT_INJECTION is not set | 886 | # CONFIG_FAULT_INJECTION is not set |
887 | # CONFIG_SAMPLES is not set | ||
1017 | # CONFIG_SH_STANDARD_BIOS is not set | 888 | # CONFIG_SH_STANDARD_BIOS is not set |
1018 | # CONFIG_EARLY_SCIF_CONSOLE is not set | 889 | # CONFIG_EARLY_SCIF_CONSOLE is not set |
890 | # CONFIG_DEBUG_BOOTMEM is not set | ||
1019 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 891 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1020 | # CONFIG_DEBUG_STACK_USAGE is not set | 892 | # CONFIG_DEBUG_STACK_USAGE is not set |
1021 | # CONFIG_4KSTACKS is not set | 893 | # CONFIG_4KSTACKS is not set |
894 | # CONFIG_IRQSTACKS is not set | ||
1022 | # CONFIG_SH_KGDB is not set | 895 | # CONFIG_SH_KGDB is not set |
1023 | 896 | ||
1024 | # | 897 | # |
@@ -1026,62 +899,100 @@ CONFIG_FRAME_POINTER=y | |||
1026 | # | 899 | # |
1027 | # CONFIG_KEYS is not set | 900 | # CONFIG_KEYS is not set |
1028 | # CONFIG_SECURITY is not set | 901 | # CONFIG_SECURITY is not set |
902 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
903 | CONFIG_CRYPTO=y | ||
1029 | 904 | ||
1030 | # | 905 | # |
1031 | # Cryptographic options | 906 | # Crypto core or helper |
1032 | # | 907 | # |
1033 | CONFIG_CRYPTO=y | ||
1034 | CONFIG_CRYPTO_ALGAPI=y | 908 | CONFIG_CRYPTO_ALGAPI=y |
909 | CONFIG_CRYPTO_AEAD=y | ||
1035 | CONFIG_CRYPTO_BLKCIPHER=y | 910 | CONFIG_CRYPTO_BLKCIPHER=y |
1036 | CONFIG_CRYPTO_HASH=y | 911 | CONFIG_CRYPTO_HASH=y |
1037 | CONFIG_CRYPTO_MANAGER=y | 912 | CONFIG_CRYPTO_MANAGER=y |
913 | # CONFIG_CRYPTO_GF128MUL is not set | ||
914 | # CONFIG_CRYPTO_NULL is not set | ||
915 | # CONFIG_CRYPTO_CRYPTD is not set | ||
916 | CONFIG_CRYPTO_AUTHENC=y | ||
917 | # CONFIG_CRYPTO_TEST is not set | ||
918 | |||
919 | # | ||
920 | # Authenticated Encryption with Associated Data | ||
921 | # | ||
922 | # CONFIG_CRYPTO_CCM is not set | ||
923 | # CONFIG_CRYPTO_GCM is not set | ||
924 | # CONFIG_CRYPTO_SEQIV is not set | ||
925 | |||
926 | # | ||
927 | # Block modes | ||
928 | # | ||
929 | CONFIG_CRYPTO_CBC=y | ||
930 | # CONFIG_CRYPTO_CTR is not set | ||
931 | # CONFIG_CRYPTO_CTS is not set | ||
932 | CONFIG_CRYPTO_ECB=m | ||
933 | # CONFIG_CRYPTO_LRW is not set | ||
934 | CONFIG_CRYPTO_PCBC=m | ||
935 | # CONFIG_CRYPTO_XTS is not set | ||
936 | |||
937 | # | ||
938 | # Hash modes | ||
939 | # | ||
1038 | CONFIG_CRYPTO_HMAC=y | 940 | CONFIG_CRYPTO_HMAC=y |
1039 | # CONFIG_CRYPTO_XCBC is not set | 941 | # CONFIG_CRYPTO_XCBC is not set |
1040 | # CONFIG_CRYPTO_NULL is not set | 942 | |
943 | # | ||
944 | # Digest | ||
945 | # | ||
946 | # CONFIG_CRYPTO_CRC32C is not set | ||
1041 | # CONFIG_CRYPTO_MD4 is not set | 947 | # CONFIG_CRYPTO_MD4 is not set |
1042 | CONFIG_CRYPTO_MD5=y | 948 | CONFIG_CRYPTO_MD5=y |
949 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1043 | CONFIG_CRYPTO_SHA1=y | 950 | CONFIG_CRYPTO_SHA1=y |
1044 | # CONFIG_CRYPTO_SHA256 is not set | 951 | # CONFIG_CRYPTO_SHA256 is not set |
1045 | # CONFIG_CRYPTO_SHA512 is not set | 952 | # CONFIG_CRYPTO_SHA512 is not set |
1046 | # CONFIG_CRYPTO_WP512 is not set | ||
1047 | # CONFIG_CRYPTO_TGR192 is not set | 953 | # CONFIG_CRYPTO_TGR192 is not set |
1048 | # CONFIG_CRYPTO_GF128MUL is not set | 954 | # CONFIG_CRYPTO_WP512 is not set |
1049 | CONFIG_CRYPTO_ECB=m | 955 | |
1050 | CONFIG_CRYPTO_CBC=y | 956 | # |
1051 | CONFIG_CRYPTO_PCBC=m | 957 | # Ciphers |
1052 | # CONFIG_CRYPTO_LRW is not set | 958 | # |
1053 | CONFIG_CRYPTO_DES=y | ||
1054 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1055 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1056 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1057 | # CONFIG_CRYPTO_SERPENT is not set | ||
1058 | # CONFIG_CRYPTO_AES is not set | 959 | # CONFIG_CRYPTO_AES is not set |
960 | # CONFIG_CRYPTO_ANUBIS is not set | ||
961 | # CONFIG_CRYPTO_ARC4 is not set | ||
962 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
963 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1059 | # CONFIG_CRYPTO_CAST5 is not set | 964 | # CONFIG_CRYPTO_CAST5 is not set |
1060 | # CONFIG_CRYPTO_CAST6 is not set | 965 | # CONFIG_CRYPTO_CAST6 is not set |
1061 | # CONFIG_CRYPTO_TEA is not set | 966 | CONFIG_CRYPTO_DES=y |
1062 | # CONFIG_CRYPTO_ARC4 is not set | 967 | # CONFIG_CRYPTO_FCRYPT is not set |
1063 | # CONFIG_CRYPTO_KHAZAD is not set | 968 | # CONFIG_CRYPTO_KHAZAD is not set |
1064 | # CONFIG_CRYPTO_ANUBIS is not set | 969 | # CONFIG_CRYPTO_SALSA20 is not set |
1065 | CONFIG_CRYPTO_DEFLATE=y | 970 | # CONFIG_CRYPTO_SEED is not set |
1066 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | 971 | # CONFIG_CRYPTO_SERPENT is not set |
1067 | # CONFIG_CRYPTO_CRC32C is not set | 972 | # CONFIG_CRYPTO_TEA is not set |
1068 | # CONFIG_CRYPTO_CAMELLIA is not set | 973 | # CONFIG_CRYPTO_TWOFISH is not set |
1069 | # CONFIG_CRYPTO_TEST is not set | ||
1070 | 974 | ||
1071 | # | 975 | # |
1072 | # Hardware crypto devices | 976 | # Compression |
1073 | # | 977 | # |
978 | CONFIG_CRYPTO_DEFLATE=y | ||
979 | # CONFIG_CRYPTO_LZO is not set | ||
980 | CONFIG_CRYPTO_HW=y | ||
1074 | 981 | ||
1075 | # | 982 | # |
1076 | # Library routines | 983 | # Library routines |
1077 | # | 984 | # |
1078 | CONFIG_BITREVERSE=y | 985 | CONFIG_BITREVERSE=y |
986 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1079 | CONFIG_CRC_CCITT=y | 987 | CONFIG_CRC_CCITT=y |
1080 | # CONFIG_CRC16 is not set | 988 | # CONFIG_CRC16 is not set |
989 | # CONFIG_CRC_ITU_T is not set | ||
1081 | CONFIG_CRC32=y | 990 | CONFIG_CRC32=y |
991 | # CONFIG_CRC7 is not set | ||
1082 | # CONFIG_LIBCRC32C is not set | 992 | # CONFIG_LIBCRC32C is not set |
1083 | CONFIG_ZLIB_INFLATE=y | 993 | CONFIG_ZLIB_INFLATE=y |
1084 | CONFIG_ZLIB_DEFLATE=y | 994 | CONFIG_ZLIB_DEFLATE=y |
1085 | CONFIG_PLIST=y | 995 | CONFIG_PLIST=y |
1086 | CONFIG_HAS_IOMEM=y | 996 | CONFIG_HAS_IOMEM=y |
1087 | CONFIG_HAS_IOPORT=y | 997 | CONFIG_HAS_IOPORT=y |
998 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/sh/configs/sh7763rdp_defconfig b/arch/sh/configs/sh7763rdp_defconfig new file mode 100644 index 000000000000..83f3fe5db3e5 --- /dev/null +++ b/arch/sh/configs/sh7763rdp_defconfig | |||
@@ -0,0 +1,1052 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26-rc4 | ||
4 | # Fri Jun 6 12:20:17 2008 | ||
5 | # | ||
6 | CONFIG_SUPERH=y | ||
7 | CONFIG_SUPERH32=y | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
11 | CONFIG_GENERIC_HWEIGHT=y | ||
12 | CONFIG_GENERIC_HARDIRQS=y | ||
13 | CONFIG_GENERIC_IRQ_PROBE=y | ||
14 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
15 | CONFIG_GENERIC_TIME=y | ||
16 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
17 | CONFIG_STACKTRACE_SUPPORT=y | ||
18 | CONFIG_LOCKDEP_SUPPORT=y | ||
19 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
20 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
21 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
22 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
23 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
24 | |||
25 | # | ||
26 | # General setup | ||
27 | # | ||
28 | CONFIG_EXPERIMENTAL=y | ||
29 | CONFIG_BROKEN_ON_SMP=y | ||
30 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
31 | CONFIG_LOCALVERSION="" | ||
32 | CONFIG_LOCALVERSION_AUTO=y | ||
33 | CONFIG_SWAP=y | ||
34 | CONFIG_SYSVIPC=y | ||
35 | CONFIG_SYSVIPC_SYSCTL=y | ||
36 | # CONFIG_POSIX_MQUEUE is not set | ||
37 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
38 | # CONFIG_TASKSTATS is not set | ||
39 | # CONFIG_AUDIT is not set | ||
40 | CONFIG_IKCONFIG=y | ||
41 | CONFIG_IKCONFIG_PROC=y | ||
42 | CONFIG_LOG_BUF_SHIFT=14 | ||
43 | # CONFIG_CGROUPS is not set | ||
44 | CONFIG_GROUP_SCHED=y | ||
45 | CONFIG_FAIR_GROUP_SCHED=y | ||
46 | # CONFIG_RT_GROUP_SCHED is not set | ||
47 | CONFIG_USER_SCHED=y | ||
48 | # CONFIG_CGROUP_SCHED is not set | ||
49 | CONFIG_SYSFS_DEPRECATED=y | ||
50 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
51 | # CONFIG_RELAY is not set | ||
52 | CONFIG_NAMESPACES=y | ||
53 | CONFIG_UTS_NS=y | ||
54 | CONFIG_IPC_NS=y | ||
55 | # CONFIG_USER_NS is not set | ||
56 | # CONFIG_PID_NS is not set | ||
57 | # CONFIG_BLK_DEV_INITRD is not set | ||
58 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
59 | CONFIG_SYSCTL=y | ||
60 | CONFIG_EMBEDDED=y | ||
61 | CONFIG_UID16=y | ||
62 | # CONFIG_SYSCTL_SYSCALL is not set | ||
63 | CONFIG_KALLSYMS=y | ||
64 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
65 | CONFIG_HOTPLUG=y | ||
66 | CONFIG_PRINTK=y | ||
67 | CONFIG_BUG=y | ||
68 | CONFIG_ELF_CORE=y | ||
69 | CONFIG_COMPAT_BRK=y | ||
70 | CONFIG_BASE_FULL=y | ||
71 | CONFIG_FUTEX=y | ||
72 | CONFIG_ANON_INODES=y | ||
73 | CONFIG_EPOLL=y | ||
74 | CONFIG_SIGNALFD=y | ||
75 | CONFIG_TIMERFD=y | ||
76 | CONFIG_EVENTFD=y | ||
77 | CONFIG_SHMEM=y | ||
78 | CONFIG_VM_EVENT_COUNTERS=y | ||
79 | CONFIG_SLAB=y | ||
80 | # CONFIG_SLUB is not set | ||
81 | # CONFIG_SLOB is not set | ||
82 | CONFIG_PROFILING=y | ||
83 | # CONFIG_MARKERS is not set | ||
84 | CONFIG_OPROFILE=y | ||
85 | CONFIG_HAVE_OPROFILE=y | ||
86 | # CONFIG_HAVE_KPROBES is not set | ||
87 | # CONFIG_HAVE_KRETPROBES is not set | ||
88 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
89 | CONFIG_PROC_PAGE_MONITOR=y | ||
90 | CONFIG_SLABINFO=y | ||
91 | CONFIG_RT_MUTEXES=y | ||
92 | # CONFIG_TINY_SHMEM is not set | ||
93 | CONFIG_BASE_SMALL=0 | ||
94 | CONFIG_MODULES=y | ||
95 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
96 | # CONFIG_MODULE_UNLOAD is not set | ||
97 | # CONFIG_MODVERSIONS is not set | ||
98 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
99 | # CONFIG_KMOD is not set | ||
100 | CONFIG_BLOCK=y | ||
101 | # CONFIG_LBD is not set | ||
102 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
103 | # CONFIG_LSF is not set | ||
104 | # CONFIG_BLK_DEV_BSG is not set | ||
105 | |||
106 | # | ||
107 | # IO Schedulers | ||
108 | # | ||
109 | CONFIG_IOSCHED_NOOP=y | ||
110 | CONFIG_IOSCHED_AS=y | ||
111 | CONFIG_IOSCHED_DEADLINE=y | ||
112 | CONFIG_IOSCHED_CFQ=y | ||
113 | CONFIG_DEFAULT_AS=y | ||
114 | # CONFIG_DEFAULT_DEADLINE is not set | ||
115 | # CONFIG_DEFAULT_CFQ is not set | ||
116 | # CONFIG_DEFAULT_NOOP is not set | ||
117 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
118 | CONFIG_CLASSIC_RCU=y | ||
119 | |||
120 | # | ||
121 | # System type | ||
122 | # | ||
123 | CONFIG_CPU_SH4=y | ||
124 | CONFIG_CPU_SH4A=y | ||
125 | # CONFIG_CPU_SUBTYPE_SH7619 is not set | ||
126 | # CONFIG_CPU_SUBTYPE_SH7203 is not set | ||
127 | # CONFIG_CPU_SUBTYPE_SH7206 is not set | ||
128 | # CONFIG_CPU_SUBTYPE_SH7263 is not set | ||
129 | # CONFIG_CPU_SUBTYPE_MXG is not set | ||
130 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | ||
131 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | ||
132 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | ||
133 | # CONFIG_CPU_SUBTYPE_SH7708 is not set | ||
134 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | ||
135 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | ||
136 | # CONFIG_CPU_SUBTYPE_SH7712 is not set | ||
137 | # CONFIG_CPU_SUBTYPE_SH7720 is not set | ||
138 | # CONFIG_CPU_SUBTYPE_SH7721 is not set | ||
139 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | ||
140 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | ||
141 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | ||
142 | # CONFIG_CPU_SUBTYPE_SH7750S is not set | ||
143 | # CONFIG_CPU_SUBTYPE_SH7751 is not set | ||
144 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | ||
145 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | ||
146 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | ||
147 | # CONFIG_CPU_SUBTYPE_SH7723 is not set | ||
148 | CONFIG_CPU_SUBTYPE_SH7763=y | ||
149 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | ||
150 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | ||
151 | # CONFIG_CPU_SUBTYPE_SH7785 is not set | ||
152 | # CONFIG_CPU_SUBTYPE_SHX3 is not set | ||
153 | # CONFIG_CPU_SUBTYPE_SH7343 is not set | ||
154 | # CONFIG_CPU_SUBTYPE_SH7722 is not set | ||
155 | # CONFIG_CPU_SUBTYPE_SH7366 is not set | ||
156 | # CONFIG_CPU_SUBTYPE_SH5_101 is not set | ||
157 | # CONFIG_CPU_SUBTYPE_SH5_103 is not set | ||
158 | |||
159 | # | ||
160 | # Memory management options | ||
161 | # | ||
162 | CONFIG_QUICKLIST=y | ||
163 | CONFIG_MMU=y | ||
164 | CONFIG_PAGE_OFFSET=0x80000000 | ||
165 | CONFIG_MEMORY_START=0x0c000000 | ||
166 | CONFIG_MEMORY_SIZE=0x04000000 | ||
167 | CONFIG_29BIT=y | ||
168 | CONFIG_VSYSCALL=y | ||
169 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
170 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
171 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
172 | CONFIG_MAX_ACTIVE_REGIONS=1 | ||
173 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
174 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
175 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
176 | CONFIG_PAGE_SIZE_4KB=y | ||
177 | # CONFIG_PAGE_SIZE_8KB is not set | ||
178 | # CONFIG_PAGE_SIZE_16KB is not set | ||
179 | # CONFIG_PAGE_SIZE_64KB is not set | ||
180 | CONFIG_SELECT_MEMORY_MODEL=y | ||
181 | # CONFIG_FLATMEM_MANUAL is not set | ||
182 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
183 | CONFIG_SPARSEMEM_MANUAL=y | ||
184 | CONFIG_SPARSEMEM=y | ||
185 | CONFIG_HAVE_MEMORY_PRESENT=y | ||
186 | CONFIG_SPARSEMEM_STATIC=y | ||
187 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
188 | # CONFIG_MEMORY_HOTPLUG is not set | ||
189 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
190 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
191 | # CONFIG_RESOURCES_64BIT is not set | ||
192 | CONFIG_ZONE_DMA_FLAG=0 | ||
193 | CONFIG_NR_QUICK=2 | ||
194 | |||
195 | # | ||
196 | # Cache configuration | ||
197 | # | ||
198 | # CONFIG_SH_DIRECT_MAPPED is not set | ||
199 | CONFIG_CACHE_WRITEBACK=y | ||
200 | # CONFIG_CACHE_WRITETHROUGH is not set | ||
201 | # CONFIG_CACHE_OFF is not set | ||
202 | |||
203 | # | ||
204 | # Processor features | ||
205 | # | ||
206 | CONFIG_CPU_LITTLE_ENDIAN=y | ||
207 | # CONFIG_CPU_BIG_ENDIAN is not set | ||
208 | CONFIG_SH_FPU=y | ||
209 | # CONFIG_SH_STORE_QUEUES is not set | ||
210 | CONFIG_CPU_HAS_INTEVT=y | ||
211 | CONFIG_CPU_HAS_SR_RB=y | ||
212 | CONFIG_CPU_HAS_FPU=y | ||
213 | |||
214 | # | ||
215 | # Board support | ||
216 | # | ||
217 | CONFIG_SH_SH7763RDP=y | ||
218 | |||
219 | # | ||
220 | # Timer and clock configuration | ||
221 | # | ||
222 | CONFIG_SH_TMU=y | ||
223 | CONFIG_SH_TIMER_IRQ=28 | ||
224 | CONFIG_SH_PCLK_FREQ=66666666 | ||
225 | # CONFIG_TICK_ONESHOT is not set | ||
226 | # CONFIG_NO_HZ is not set | ||
227 | # CONFIG_HIGH_RES_TIMERS is not set | ||
228 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
229 | |||
230 | # | ||
231 | # CPU Frequency scaling | ||
232 | # | ||
233 | # CONFIG_CPU_FREQ is not set | ||
234 | |||
235 | # | ||
236 | # DMA support | ||
237 | # | ||
238 | # CONFIG_SH_DMA is not set | ||
239 | |||
240 | # | ||
241 | # Companion Chips | ||
242 | # | ||
243 | |||
244 | # | ||
245 | # Additional SuperH Device Drivers | ||
246 | # | ||
247 | # CONFIG_HEARTBEAT is not set | ||
248 | # CONFIG_PUSH_SWITCH is not set | ||
249 | |||
250 | # | ||
251 | # Kernel features | ||
252 | # | ||
253 | # CONFIG_HZ_100 is not set | ||
254 | CONFIG_HZ_250=y | ||
255 | # CONFIG_HZ_300 is not set | ||
256 | # CONFIG_HZ_1000 is not set | ||
257 | CONFIG_HZ=250 | ||
258 | # CONFIG_SCHED_HRTICK is not set | ||
259 | # CONFIG_KEXEC is not set | ||
260 | # CONFIG_CRASH_DUMP is not set | ||
261 | CONFIG_PREEMPT_NONE=y | ||
262 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
263 | # CONFIG_PREEMPT is not set | ||
264 | CONFIG_GUSA=y | ||
265 | |||
266 | # | ||
267 | # Boot options | ||
268 | # | ||
269 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | ||
270 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | ||
271 | CONFIG_CMDLINE_BOOL=y | ||
272 | CONFIG_CMDLINE="console=ttySC2,115200 root=/dev/sda1 rootdelay=10" | ||
273 | |||
274 | # | ||
275 | # Bus options | ||
276 | # | ||
277 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
278 | # CONFIG_PCCARD is not set | ||
279 | |||
280 | # | ||
281 | # Executable file formats | ||
282 | # | ||
283 | CONFIG_BINFMT_ELF=y | ||
284 | # CONFIG_BINFMT_MISC is not set | ||
285 | |||
286 | # | ||
287 | # Networking | ||
288 | # | ||
289 | CONFIG_NET=y | ||
290 | |||
291 | # | ||
292 | # Networking options | ||
293 | # | ||
294 | CONFIG_PACKET=y | ||
295 | # CONFIG_PACKET_MMAP is not set | ||
296 | CONFIG_UNIX=y | ||
297 | CONFIG_XFRM=y | ||
298 | # CONFIG_XFRM_USER is not set | ||
299 | # CONFIG_XFRM_SUB_POLICY is not set | ||
300 | # CONFIG_XFRM_MIGRATE is not set | ||
301 | # CONFIG_XFRM_STATISTICS is not set | ||
302 | # CONFIG_NET_KEY is not set | ||
303 | CONFIG_INET=y | ||
304 | # CONFIG_IP_MULTICAST is not set | ||
305 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
306 | CONFIG_IP_FIB_HASH=y | ||
307 | CONFIG_IP_PNP=y | ||
308 | CONFIG_IP_PNP_DHCP=y | ||
309 | CONFIG_IP_PNP_BOOTP=y | ||
310 | # CONFIG_IP_PNP_RARP is not set | ||
311 | # CONFIG_NET_IPIP is not set | ||
312 | # CONFIG_NET_IPGRE is not set | ||
313 | # CONFIG_ARPD is not set | ||
314 | # CONFIG_SYN_COOKIES is not set | ||
315 | # CONFIG_INET_AH is not set | ||
316 | # CONFIG_INET_ESP is not set | ||
317 | # CONFIG_INET_IPCOMP is not set | ||
318 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
319 | # CONFIG_INET_TUNNEL is not set | ||
320 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
321 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
322 | CONFIG_INET_XFRM_MODE_BEET=y | ||
323 | # CONFIG_INET_LRO is not set | ||
324 | CONFIG_INET_DIAG=y | ||
325 | CONFIG_INET_TCP_DIAG=y | ||
326 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
327 | CONFIG_TCP_CONG_CUBIC=y | ||
328 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
329 | # CONFIG_TCP_MD5SIG is not set | ||
330 | # CONFIG_IPV6 is not set | ||
331 | # CONFIG_NETWORK_SECMARK is not set | ||
332 | # CONFIG_NETFILTER is not set | ||
333 | # CONFIG_IP_DCCP is not set | ||
334 | # CONFIG_IP_SCTP is not set | ||
335 | # CONFIG_TIPC is not set | ||
336 | # CONFIG_ATM is not set | ||
337 | # CONFIG_BRIDGE is not set | ||
338 | # CONFIG_VLAN_8021Q is not set | ||
339 | # CONFIG_DECNET is not set | ||
340 | # CONFIG_LLC2 is not set | ||
341 | # CONFIG_IPX is not set | ||
342 | # CONFIG_ATALK is not set | ||
343 | # CONFIG_X25 is not set | ||
344 | # CONFIG_LAPB is not set | ||
345 | # CONFIG_ECONET is not set | ||
346 | # CONFIG_WAN_ROUTER is not set | ||
347 | # CONFIG_NET_SCHED is not set | ||
348 | |||
349 | # | ||
350 | # Network testing | ||
351 | # | ||
352 | # CONFIG_NET_PKTGEN is not set | ||
353 | # CONFIG_HAMRADIO is not set | ||
354 | # CONFIG_CAN is not set | ||
355 | # CONFIG_IRDA is not set | ||
356 | # CONFIG_BT is not set | ||
357 | # CONFIG_AF_RXRPC is not set | ||
358 | |||
359 | # | ||
360 | # Wireless | ||
361 | # | ||
362 | # CONFIG_CFG80211 is not set | ||
363 | CONFIG_WIRELESS_EXT=y | ||
364 | # CONFIG_MAC80211 is not set | ||
365 | # CONFIG_IEEE80211 is not set | ||
366 | # CONFIG_RFKILL is not set | ||
367 | # CONFIG_NET_9P is not set | ||
368 | |||
369 | # | ||
370 | # Device Drivers | ||
371 | # | ||
372 | |||
373 | # | ||
374 | # Generic Driver Options | ||
375 | # | ||
376 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
377 | CONFIG_STANDALONE=y | ||
378 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
379 | CONFIG_FW_LOADER=y | ||
380 | # CONFIG_SYS_HYPERVISOR is not set | ||
381 | # CONFIG_CONNECTOR is not set | ||
382 | CONFIG_MTD=y | ||
383 | # CONFIG_MTD_DEBUG is not set | ||
384 | # CONFIG_MTD_CONCAT is not set | ||
385 | CONFIG_MTD_PARTITIONS=y | ||
386 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
387 | CONFIG_MTD_CMDLINE_PARTS=y | ||
388 | # CONFIG_MTD_AR7_PARTS is not set | ||
389 | |||
390 | # | ||
391 | # User Modules And Translation Layers | ||
392 | # | ||
393 | # CONFIG_MTD_CHAR is not set | ||
394 | CONFIG_MTD_BLKDEVS=y | ||
395 | # CONFIG_MTD_BLOCK is not set | ||
396 | # CONFIG_MTD_BLOCK_RO is not set | ||
397 | # CONFIG_FTL is not set | ||
398 | # CONFIG_NFTL is not set | ||
399 | # CONFIG_INFTL is not set | ||
400 | # CONFIG_RFD_FTL is not set | ||
401 | # CONFIG_SSFDC is not set | ||
402 | # CONFIG_MTD_OOPS is not set | ||
403 | |||
404 | # | ||
405 | # RAM/ROM/Flash chip drivers | ||
406 | # | ||
407 | CONFIG_MTD_CFI=y | ||
408 | CONFIG_MTD_JEDECPROBE=y | ||
409 | CONFIG_MTD_GEN_PROBE=y | ||
410 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
411 | CONFIG_MTD_CFI_NOSWAP=y | ||
412 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
413 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
414 | CONFIG_MTD_CFI_GEOMETRY=y | ||
415 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
416 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
417 | # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set | ||
418 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
419 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
420 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
421 | CONFIG_MTD_CFI_I1=y | ||
422 | CONFIG_MTD_CFI_I2=y | ||
423 | # CONFIG_MTD_CFI_I4 is not set | ||
424 | # CONFIG_MTD_CFI_I8 is not set | ||
425 | # CONFIG_MTD_OTP is not set | ||
426 | CONFIG_MTD_CFI_INTELEXT=y | ||
427 | CONFIG_MTD_CFI_AMDSTD=y | ||
428 | CONFIG_MTD_CFI_STAA=y | ||
429 | CONFIG_MTD_CFI_UTIL=y | ||
430 | # CONFIG_MTD_RAM is not set | ||
431 | # CONFIG_MTD_ROM is not set | ||
432 | # CONFIG_MTD_ABSENT is not set | ||
433 | |||
434 | # | ||
435 | # Mapping drivers for chip access | ||
436 | # | ||
437 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
438 | CONFIG_MTD_PHYSMAP=y | ||
439 | CONFIG_MTD_PHYSMAP_START=0x8000000 | ||
440 | CONFIG_MTD_PHYSMAP_LEN=0 | ||
441 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
442 | # CONFIG_MTD_PLATRAM is not set | ||
443 | |||
444 | # | ||
445 | # Self-contained MTD device drivers | ||
446 | # | ||
447 | # CONFIG_MTD_SLRAM is not set | ||
448 | # CONFIG_MTD_PHRAM is not set | ||
449 | # CONFIG_MTD_MTDRAM is not set | ||
450 | # CONFIG_MTD_BLOCK2MTD is not set | ||
451 | |||
452 | # | ||
453 | # Disk-On-Chip Device Drivers | ||
454 | # | ||
455 | # CONFIG_MTD_DOC2000 is not set | ||
456 | # CONFIG_MTD_DOC2001 is not set | ||
457 | # CONFIG_MTD_DOC2001PLUS is not set | ||
458 | # CONFIG_MTD_NAND is not set | ||
459 | # CONFIG_MTD_ONENAND is not set | ||
460 | |||
461 | # | ||
462 | # UBI - Unsorted block images | ||
463 | # | ||
464 | # CONFIG_MTD_UBI is not set | ||
465 | # CONFIG_PARPORT is not set | ||
466 | CONFIG_BLK_DEV=y | ||
467 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
468 | # CONFIG_BLK_DEV_LOOP is not set | ||
469 | # CONFIG_BLK_DEV_NBD is not set | ||
470 | # CONFIG_BLK_DEV_UB is not set | ||
471 | # CONFIG_BLK_DEV_RAM is not set | ||
472 | # CONFIG_CDROM_PKTCDVD is not set | ||
473 | # CONFIG_ATA_OVER_ETH is not set | ||
474 | # CONFIG_MISC_DEVICES is not set | ||
475 | CONFIG_HAVE_IDE=y | ||
476 | # CONFIG_IDE is not set | ||
477 | |||
478 | # | ||
479 | # SCSI device support | ||
480 | # | ||
481 | # CONFIG_RAID_ATTRS is not set | ||
482 | CONFIG_SCSI=y | ||
483 | CONFIG_SCSI_DMA=y | ||
484 | # CONFIG_SCSI_TGT is not set | ||
485 | # CONFIG_SCSI_NETLINK is not set | ||
486 | CONFIG_SCSI_PROC_FS=y | ||
487 | |||
488 | # | ||
489 | # SCSI support type (disk, tape, CD-ROM) | ||
490 | # | ||
491 | CONFIG_BLK_DEV_SD=y | ||
492 | # CONFIG_CHR_DEV_ST is not set | ||
493 | # CONFIG_CHR_DEV_OSST is not set | ||
494 | # CONFIG_BLK_DEV_SR is not set | ||
495 | # CONFIG_CHR_DEV_SG is not set | ||
496 | # CONFIG_CHR_DEV_SCH is not set | ||
497 | |||
498 | # | ||
499 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
500 | # | ||
501 | # CONFIG_SCSI_MULTI_LUN is not set | ||
502 | # CONFIG_SCSI_CONSTANTS is not set | ||
503 | # CONFIG_SCSI_LOGGING is not set | ||
504 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
505 | CONFIG_SCSI_WAIT_SCAN=m | ||
506 | |||
507 | # | ||
508 | # SCSI Transports | ||
509 | # | ||
510 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
511 | # CONFIG_SCSI_FC_ATTRS is not set | ||
512 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
513 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
514 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
515 | CONFIG_SCSI_LOWLEVEL=y | ||
516 | # CONFIG_ISCSI_TCP is not set | ||
517 | # CONFIG_SCSI_DEBUG is not set | ||
518 | # CONFIG_ATA is not set | ||
519 | # CONFIG_MD is not set | ||
520 | CONFIG_NETDEVICES=y | ||
521 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
522 | # CONFIG_DUMMY is not set | ||
523 | # CONFIG_BONDING is not set | ||
524 | # CONFIG_MACVLAN is not set | ||
525 | # CONFIG_EQUALIZER is not set | ||
526 | # CONFIG_TUN is not set | ||
527 | # CONFIG_VETH is not set | ||
528 | CONFIG_PHYLIB=y | ||
529 | |||
530 | # | ||
531 | # MII PHY device drivers | ||
532 | # | ||
533 | # CONFIG_MARVELL_PHY is not set | ||
534 | # CONFIG_DAVICOM_PHY is not set | ||
535 | # CONFIG_QSEMI_PHY is not set | ||
536 | # CONFIG_LXT_PHY is not set | ||
537 | # CONFIG_CICADA_PHY is not set | ||
538 | # CONFIG_VITESSE_PHY is not set | ||
539 | # CONFIG_SMSC_PHY is not set | ||
540 | # CONFIG_BROADCOM_PHY is not set | ||
541 | # CONFIG_ICPLUS_PHY is not set | ||
542 | # CONFIG_REALTEK_PHY is not set | ||
543 | # CONFIG_FIXED_PHY is not set | ||
544 | CONFIG_MDIO_BITBANG=y | ||
545 | CONFIG_NET_ETHERNET=y | ||
546 | CONFIG_MII=y | ||
547 | # CONFIG_AX88796 is not set | ||
548 | # CONFIG_STNIC is not set | ||
549 | # CONFIG_SMC91X is not set | ||
550 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
551 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
552 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
553 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
554 | # CONFIG_B44 is not set | ||
555 | # CONFIG_NETDEV_1000 is not set | ||
556 | # CONFIG_NETDEV_10000 is not set | ||
557 | |||
558 | # | ||
559 | # Wireless LAN | ||
560 | # | ||
561 | # CONFIG_WLAN_PRE80211 is not set | ||
562 | # CONFIG_WLAN_80211 is not set | ||
563 | # CONFIG_IWLWIFI_LEDS is not set | ||
564 | |||
565 | # | ||
566 | # USB Network Adapters | ||
567 | # | ||
568 | # CONFIG_USB_CATC is not set | ||
569 | # CONFIG_USB_KAWETH is not set | ||
570 | # CONFIG_USB_PEGASUS is not set | ||
571 | # CONFIG_USB_RTL8150 is not set | ||
572 | # CONFIG_USB_USBNET is not set | ||
573 | # CONFIG_WAN is not set | ||
574 | # CONFIG_PPP is not set | ||
575 | # CONFIG_SLIP is not set | ||
576 | # CONFIG_NETCONSOLE is not set | ||
577 | # CONFIG_NETPOLL is not set | ||
578 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
579 | # CONFIG_ISDN is not set | ||
580 | # CONFIG_PHONE is not set | ||
581 | |||
582 | # | ||
583 | # Input device support | ||
584 | # | ||
585 | CONFIG_INPUT=y | ||
586 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
587 | # CONFIG_INPUT_POLLDEV is not set | ||
588 | |||
589 | # | ||
590 | # Userland interfaces | ||
591 | # | ||
592 | # CONFIG_INPUT_MOUSEDEV is not set | ||
593 | # CONFIG_INPUT_JOYDEV is not set | ||
594 | # CONFIG_INPUT_EVDEV is not set | ||
595 | # CONFIG_INPUT_EVBUG is not set | ||
596 | |||
597 | # | ||
598 | # Input Device Drivers | ||
599 | # | ||
600 | # CONFIG_INPUT_KEYBOARD is not set | ||
601 | # CONFIG_INPUT_MOUSE is not set | ||
602 | # CONFIG_INPUT_JOYSTICK is not set | ||
603 | # CONFIG_INPUT_TABLET is not set | ||
604 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
605 | # CONFIG_INPUT_MISC is not set | ||
606 | |||
607 | # | ||
608 | # Hardware I/O ports | ||
609 | # | ||
610 | # CONFIG_SERIO is not set | ||
611 | # CONFIG_GAMEPORT is not set | ||
612 | |||
613 | # | ||
614 | # Character devices | ||
615 | # | ||
616 | # CONFIG_VT is not set | ||
617 | CONFIG_DEVKMEM=y | ||
618 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
619 | |||
620 | # | ||
621 | # Serial drivers | ||
622 | # | ||
623 | # CONFIG_SERIAL_8250 is not set | ||
624 | |||
625 | # | ||
626 | # Non-8250 serial port support | ||
627 | # | ||
628 | CONFIG_SERIAL_SH_SCI=y | ||
629 | CONFIG_SERIAL_SH_SCI_NR_UARTS=3 | ||
630 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
631 | CONFIG_SERIAL_CORE=y | ||
632 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
633 | CONFIG_UNIX98_PTYS=y | ||
634 | CONFIG_LEGACY_PTYS=y | ||
635 | CONFIG_LEGACY_PTY_COUNT=256 | ||
636 | # CONFIG_IPMI_HANDLER is not set | ||
637 | CONFIG_HW_RANDOM=y | ||
638 | # CONFIG_R3964 is not set | ||
639 | # CONFIG_RAW_DRIVER is not set | ||
640 | # CONFIG_TCG_TPM is not set | ||
641 | # CONFIG_I2C is not set | ||
642 | # CONFIG_SPI is not set | ||
643 | # CONFIG_W1 is not set | ||
644 | # CONFIG_POWER_SUPPLY is not set | ||
645 | # CONFIG_HWMON is not set | ||
646 | # CONFIG_THERMAL is not set | ||
647 | # CONFIG_WATCHDOG is not set | ||
648 | |||
649 | # | ||
650 | # Sonics Silicon Backplane | ||
651 | # | ||
652 | CONFIG_SSB_POSSIBLE=y | ||
653 | # CONFIG_SSB is not set | ||
654 | |||
655 | # | ||
656 | # Multifunction device drivers | ||
657 | # | ||
658 | # CONFIG_MFD_SM501 is not set | ||
659 | # CONFIG_HTC_PASIC3 is not set | ||
660 | |||
661 | # | ||
662 | # Multimedia devices | ||
663 | # | ||
664 | |||
665 | # | ||
666 | # Multimedia core support | ||
667 | # | ||
668 | # CONFIG_VIDEO_DEV is not set | ||
669 | # CONFIG_DVB_CORE is not set | ||
670 | # CONFIG_VIDEO_MEDIA is not set | ||
671 | |||
672 | # | ||
673 | # Multimedia drivers | ||
674 | # | ||
675 | # CONFIG_DAB is not set | ||
676 | |||
677 | # | ||
678 | # Graphics support | ||
679 | # | ||
680 | # CONFIG_VGASTATE is not set | ||
681 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
682 | # CONFIG_FB is not set | ||
683 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
684 | |||
685 | # | ||
686 | # Display device support | ||
687 | # | ||
688 | # CONFIG_DISPLAY_SUPPORT is not set | ||
689 | |||
690 | # | ||
691 | # Sound | ||
692 | # | ||
693 | # CONFIG_SOUND is not set | ||
694 | # CONFIG_HID_SUPPORT is not set | ||
695 | CONFIG_USB_SUPPORT=y | ||
696 | CONFIG_USB_ARCH_HAS_HCD=y | ||
697 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
698 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
699 | CONFIG_USB=y | ||
700 | # CONFIG_USB_DEBUG is not set | ||
701 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
702 | |||
703 | # | ||
704 | # Miscellaneous USB options | ||
705 | # | ||
706 | # CONFIG_USB_DEVICEFS is not set | ||
707 | CONFIG_USB_DEVICE_CLASS=y | ||
708 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
709 | # CONFIG_USB_OTG is not set | ||
710 | # CONFIG_USB_OTG_WHITELIST is not set | ||
711 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
712 | |||
713 | # | ||
714 | # USB Host Controller Drivers | ||
715 | # | ||
716 | # CONFIG_USB_C67X00_HCD is not set | ||
717 | # CONFIG_USB_ISP116X_HCD is not set | ||
718 | # CONFIG_USB_ISP1760_HCD is not set | ||
719 | CONFIG_USB_OHCI_HCD=y | ||
720 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
721 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
722 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
723 | # CONFIG_USB_SL811_HCD is not set | ||
724 | # CONFIG_USB_R8A66597_HCD is not set | ||
725 | |||
726 | # | ||
727 | # USB Device Class drivers | ||
728 | # | ||
729 | # CONFIG_USB_ACM is not set | ||
730 | # CONFIG_USB_PRINTER is not set | ||
731 | # CONFIG_USB_WDM is not set | ||
732 | |||
733 | # | ||
734 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
735 | # | ||
736 | |||
737 | # | ||
738 | # may also be needed; see USB_STORAGE Help for more information | ||
739 | # | ||
740 | CONFIG_USB_STORAGE=y | ||
741 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
742 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
743 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
744 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
745 | # CONFIG_USB_STORAGE_DPCM is not set | ||
746 | # CONFIG_USB_STORAGE_USBAT is not set | ||
747 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
748 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
749 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
750 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
751 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
752 | # CONFIG_USB_STORAGE_KARMA is not set | ||
753 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
754 | # CONFIG_USB_LIBUSUAL is not set | ||
755 | |||
756 | # | ||
757 | # USB Imaging devices | ||
758 | # | ||
759 | # CONFIG_USB_MDC800 is not set | ||
760 | # CONFIG_USB_MICROTEK is not set | ||
761 | CONFIG_USB_MON=y | ||
762 | |||
763 | # | ||
764 | # USB port drivers | ||
765 | # | ||
766 | # CONFIG_USB_SERIAL is not set | ||
767 | |||
768 | # | ||
769 | # USB Miscellaneous drivers | ||
770 | # | ||
771 | # CONFIG_USB_EMI62 is not set | ||
772 | # CONFIG_USB_EMI26 is not set | ||
773 | # CONFIG_USB_ADUTUX is not set | ||
774 | # CONFIG_USB_AUERSWALD is not set | ||
775 | # CONFIG_USB_RIO500 is not set | ||
776 | # CONFIG_USB_LEGOTOWER is not set | ||
777 | # CONFIG_USB_LCD is not set | ||
778 | # CONFIG_USB_BERRY_CHARGE is not set | ||
779 | # CONFIG_USB_LED is not set | ||
780 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
781 | # CONFIG_USB_CYTHERM is not set | ||
782 | # CONFIG_USB_PHIDGET is not set | ||
783 | # CONFIG_USB_IDMOUSE is not set | ||
784 | # CONFIG_USB_FTDI_ELAN is not set | ||
785 | # CONFIG_USB_APPLEDISPLAY is not set | ||
786 | # CONFIG_USB_LD is not set | ||
787 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
788 | # CONFIG_USB_IOWARRIOR is not set | ||
789 | # CONFIG_USB_ISIGHTFW is not set | ||
790 | # CONFIG_USB_GADGET is not set | ||
791 | # CONFIG_MMC is not set | ||
792 | # CONFIG_MEMSTICK is not set | ||
793 | # CONFIG_NEW_LEDS is not set | ||
794 | # CONFIG_ACCESSIBILITY is not set | ||
795 | # CONFIG_RTC_CLASS is not set | ||
796 | # CONFIG_UIO is not set | ||
797 | |||
798 | # | ||
799 | # File systems | ||
800 | # | ||
801 | CONFIG_EXT2_FS=y | ||
802 | # CONFIG_EXT2_FS_XATTR is not set | ||
803 | # CONFIG_EXT2_FS_XIP is not set | ||
804 | CONFIG_EXT3_FS=y | ||
805 | CONFIG_EXT3_FS_XATTR=y | ||
806 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
807 | # CONFIG_EXT3_FS_SECURITY is not set | ||
808 | # CONFIG_EXT4DEV_FS is not set | ||
809 | CONFIG_JBD=y | ||
810 | CONFIG_FS_MBCACHE=y | ||
811 | # CONFIG_REISERFS_FS is not set | ||
812 | # CONFIG_JFS_FS is not set | ||
813 | CONFIG_FS_POSIX_ACL=y | ||
814 | # CONFIG_XFS_FS is not set | ||
815 | # CONFIG_OCFS2_FS is not set | ||
816 | CONFIG_DNOTIFY=y | ||
817 | CONFIG_INOTIFY=y | ||
818 | CONFIG_INOTIFY_USER=y | ||
819 | # CONFIG_QUOTA is not set | ||
820 | CONFIG_AUTOFS_FS=y | ||
821 | CONFIG_AUTOFS4_FS=y | ||
822 | # CONFIG_FUSE_FS is not set | ||
823 | CONFIG_GENERIC_ACL=y | ||
824 | |||
825 | # | ||
826 | # CD-ROM/DVD Filesystems | ||
827 | # | ||
828 | # CONFIG_ISO9660_FS is not set | ||
829 | # CONFIG_UDF_FS is not set | ||
830 | |||
831 | # | ||
832 | # DOS/FAT/NT Filesystems | ||
833 | # | ||
834 | CONFIG_FAT_FS=y | ||
835 | CONFIG_MSDOS_FS=y | ||
836 | CONFIG_VFAT_FS=y | ||
837 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
838 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
839 | # CONFIG_NTFS_FS is not set | ||
840 | |||
841 | # | ||
842 | # Pseudo filesystems | ||
843 | # | ||
844 | CONFIG_PROC_FS=y | ||
845 | CONFIG_PROC_KCORE=y | ||
846 | CONFIG_PROC_SYSCTL=y | ||
847 | CONFIG_SYSFS=y | ||
848 | CONFIG_TMPFS=y | ||
849 | CONFIG_TMPFS_POSIX_ACL=y | ||
850 | # CONFIG_HUGETLBFS is not set | ||
851 | # CONFIG_HUGETLB_PAGE is not set | ||
852 | # CONFIG_CONFIGFS_FS is not set | ||
853 | |||
854 | # | ||
855 | # Miscellaneous filesystems | ||
856 | # | ||
857 | # CONFIG_ADFS_FS is not set | ||
858 | # CONFIG_AFFS_FS is not set | ||
859 | # CONFIG_HFS_FS is not set | ||
860 | # CONFIG_HFSPLUS_FS is not set | ||
861 | # CONFIG_BEFS_FS is not set | ||
862 | # CONFIG_BFS_FS is not set | ||
863 | # CONFIG_EFS_FS is not set | ||
864 | # CONFIG_JFFS2_FS is not set | ||
865 | # CONFIG_CRAMFS is not set | ||
866 | # CONFIG_VXFS_FS is not set | ||
867 | # CONFIG_MINIX_FS is not set | ||
868 | # CONFIG_HPFS_FS is not set | ||
869 | # CONFIG_QNX4FS_FS is not set | ||
870 | # CONFIG_ROMFS_FS is not set | ||
871 | # CONFIG_SYSV_FS is not set | ||
872 | # CONFIG_UFS_FS is not set | ||
873 | CONFIG_NETWORK_FILESYSTEMS=y | ||
874 | CONFIG_NFS_FS=y | ||
875 | # CONFIG_NFS_V3 is not set | ||
876 | # CONFIG_NFS_V4 is not set | ||
877 | # CONFIG_NFSD is not set | ||
878 | CONFIG_ROOT_NFS=y | ||
879 | CONFIG_LOCKD=y | ||
880 | CONFIG_NFS_COMMON=y | ||
881 | CONFIG_SUNRPC=y | ||
882 | # CONFIG_SUNRPC_BIND34 is not set | ||
883 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
884 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
885 | # CONFIG_SMB_FS is not set | ||
886 | # CONFIG_CIFS is not set | ||
887 | # CONFIG_NCP_FS is not set | ||
888 | # CONFIG_CODA_FS is not set | ||
889 | # CONFIG_AFS_FS is not set | ||
890 | |||
891 | # | ||
892 | # Partition Types | ||
893 | # | ||
894 | # CONFIG_PARTITION_ADVANCED is not set | ||
895 | CONFIG_MSDOS_PARTITION=y | ||
896 | CONFIG_NLS=y | ||
897 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
898 | CONFIG_NLS_CODEPAGE_437=y | ||
899 | CONFIG_NLS_CODEPAGE_737=y | ||
900 | CONFIG_NLS_CODEPAGE_775=y | ||
901 | CONFIG_NLS_CODEPAGE_850=y | ||
902 | CONFIG_NLS_CODEPAGE_852=y | ||
903 | CONFIG_NLS_CODEPAGE_855=y | ||
904 | CONFIG_NLS_CODEPAGE_857=y | ||
905 | CONFIG_NLS_CODEPAGE_860=y | ||
906 | CONFIG_NLS_CODEPAGE_861=y | ||
907 | CONFIG_NLS_CODEPAGE_862=y | ||
908 | CONFIG_NLS_CODEPAGE_863=y | ||
909 | CONFIG_NLS_CODEPAGE_864=y | ||
910 | CONFIG_NLS_CODEPAGE_865=y | ||
911 | CONFIG_NLS_CODEPAGE_866=y | ||
912 | CONFIG_NLS_CODEPAGE_869=y | ||
913 | CONFIG_NLS_CODEPAGE_936=y | ||
914 | CONFIG_NLS_CODEPAGE_950=y | ||
915 | CONFIG_NLS_CODEPAGE_932=y | ||
916 | CONFIG_NLS_CODEPAGE_949=y | ||
917 | CONFIG_NLS_CODEPAGE_874=y | ||
918 | CONFIG_NLS_ISO8859_8=y | ||
919 | CONFIG_NLS_CODEPAGE_1250=y | ||
920 | CONFIG_NLS_CODEPAGE_1251=y | ||
921 | CONFIG_NLS_ASCII=y | ||
922 | CONFIG_NLS_ISO8859_1=y | ||
923 | CONFIG_NLS_ISO8859_2=y | ||
924 | CONFIG_NLS_ISO8859_3=y | ||
925 | CONFIG_NLS_ISO8859_4=y | ||
926 | CONFIG_NLS_ISO8859_5=y | ||
927 | CONFIG_NLS_ISO8859_6=y | ||
928 | CONFIG_NLS_ISO8859_7=y | ||
929 | CONFIG_NLS_ISO8859_9=y | ||
930 | CONFIG_NLS_ISO8859_13=y | ||
931 | CONFIG_NLS_ISO8859_14=y | ||
932 | CONFIG_NLS_ISO8859_15=y | ||
933 | CONFIG_NLS_KOI8_R=y | ||
934 | CONFIG_NLS_KOI8_U=y | ||
935 | CONFIG_NLS_UTF8=y | ||
936 | # CONFIG_DLM is not set | ||
937 | |||
938 | # | ||
939 | # Kernel hacking | ||
940 | # | ||
941 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
942 | # CONFIG_PRINTK_TIME is not set | ||
943 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
944 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
945 | CONFIG_FRAME_WARN=1024 | ||
946 | # CONFIG_MAGIC_SYSRQ is not set | ||
947 | # CONFIG_UNUSED_SYMBOLS is not set | ||
948 | # CONFIG_DEBUG_FS is not set | ||
949 | # CONFIG_HEADERS_CHECK is not set | ||
950 | # CONFIG_DEBUG_KERNEL is not set | ||
951 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
952 | # CONFIG_SAMPLES is not set | ||
953 | # CONFIG_SH_STANDARD_BIOS is not set | ||
954 | # CONFIG_EARLY_SCIF_CONSOLE is not set | ||
955 | # CONFIG_SH_KGDB is not set | ||
956 | |||
957 | # | ||
958 | # Security options | ||
959 | # | ||
960 | # CONFIG_KEYS is not set | ||
961 | # CONFIG_SECURITY is not set | ||
962 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
963 | CONFIG_CRYPTO=y | ||
964 | |||
965 | # | ||
966 | # Crypto core or helper | ||
967 | # | ||
968 | # CONFIG_CRYPTO_MANAGER is not set | ||
969 | # CONFIG_CRYPTO_GF128MUL is not set | ||
970 | # CONFIG_CRYPTO_NULL is not set | ||
971 | # CONFIG_CRYPTO_CRYPTD is not set | ||
972 | # CONFIG_CRYPTO_AUTHENC is not set | ||
973 | # CONFIG_CRYPTO_TEST is not set | ||
974 | |||
975 | # | ||
976 | # Authenticated Encryption with Associated Data | ||
977 | # | ||
978 | # CONFIG_CRYPTO_CCM is not set | ||
979 | # CONFIG_CRYPTO_GCM is not set | ||
980 | # CONFIG_CRYPTO_SEQIV is not set | ||
981 | |||
982 | # | ||
983 | # Block modes | ||
984 | # | ||
985 | # CONFIG_CRYPTO_CBC is not set | ||
986 | # CONFIG_CRYPTO_CTR is not set | ||
987 | # CONFIG_CRYPTO_CTS is not set | ||
988 | # CONFIG_CRYPTO_ECB is not set | ||
989 | # CONFIG_CRYPTO_LRW is not set | ||
990 | # CONFIG_CRYPTO_PCBC is not set | ||
991 | # CONFIG_CRYPTO_XTS is not set | ||
992 | |||
993 | # | ||
994 | # Hash modes | ||
995 | # | ||
996 | # CONFIG_CRYPTO_HMAC is not set | ||
997 | # CONFIG_CRYPTO_XCBC is not set | ||
998 | |||
999 | # | ||
1000 | # Digest | ||
1001 | # | ||
1002 | # CONFIG_CRYPTO_CRC32C is not set | ||
1003 | # CONFIG_CRYPTO_MD4 is not set | ||
1004 | # CONFIG_CRYPTO_MD5 is not set | ||
1005 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1006 | # CONFIG_CRYPTO_SHA1 is not set | ||
1007 | # CONFIG_CRYPTO_SHA256 is not set | ||
1008 | # CONFIG_CRYPTO_SHA512 is not set | ||
1009 | # CONFIG_CRYPTO_TGR192 is not set | ||
1010 | # CONFIG_CRYPTO_WP512 is not set | ||
1011 | |||
1012 | # | ||
1013 | # Ciphers | ||
1014 | # | ||
1015 | # CONFIG_CRYPTO_AES is not set | ||
1016 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1017 | # CONFIG_CRYPTO_ARC4 is not set | ||
1018 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1019 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1020 | # CONFIG_CRYPTO_CAST5 is not set | ||
1021 | # CONFIG_CRYPTO_CAST6 is not set | ||
1022 | # CONFIG_CRYPTO_DES is not set | ||
1023 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1024 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1025 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1026 | # CONFIG_CRYPTO_SEED is not set | ||
1027 | # CONFIG_CRYPTO_SERPENT is not set | ||
1028 | # CONFIG_CRYPTO_TEA is not set | ||
1029 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1030 | |||
1031 | # | ||
1032 | # Compression | ||
1033 | # | ||
1034 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1035 | # CONFIG_CRYPTO_LZO is not set | ||
1036 | CONFIG_CRYPTO_HW=y | ||
1037 | |||
1038 | # | ||
1039 | # Library routines | ||
1040 | # | ||
1041 | CONFIG_BITREVERSE=y | ||
1042 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1043 | # CONFIG_CRC_CCITT is not set | ||
1044 | # CONFIG_CRC16 is not set | ||
1045 | # CONFIG_CRC_ITU_T is not set | ||
1046 | CONFIG_CRC32=y | ||
1047 | # CONFIG_CRC7 is not set | ||
1048 | # CONFIG_LIBCRC32C is not set | ||
1049 | CONFIG_PLIST=y | ||
1050 | CONFIG_HAS_IOMEM=y | ||
1051 | CONFIG_HAS_IOPORT=y | ||
1052 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/sh/configs/sh7785lcr_defconfig b/arch/sh/configs/sh7785lcr_defconfig new file mode 100644 index 000000000000..ff72697365d1 --- /dev/null +++ b/arch/sh/configs/sh7785lcr_defconfig | |||
@@ -0,0 +1,1388 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26-rc8 | ||
4 | # Tue Jul 15 21:37:59 2008 | ||
5 | # | ||
6 | CONFIG_SUPERH=y | ||
7 | CONFIG_SUPERH32=y | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
11 | CONFIG_GENERIC_HWEIGHT=y | ||
12 | CONFIG_GENERIC_HARDIRQS=y | ||
13 | CONFIG_GENERIC_IRQ_PROBE=y | ||
14 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
15 | CONFIG_GENERIC_TIME=y | ||
16 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
17 | CONFIG_SYS_SUPPORTS_NUMA=y | ||
18 | CONFIG_SYS_SUPPORTS_PCI=y | ||
19 | CONFIG_STACKTRACE_SUPPORT=y | ||
20 | CONFIG_LOCKDEP_SUPPORT=y | ||
21 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
22 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
23 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
24 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
25 | CONFIG_IO_TRAPPED=y | ||
26 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
27 | |||
28 | # | ||
29 | # General setup | ||
30 | # | ||
31 | CONFIG_EXPERIMENTAL=y | ||
32 | CONFIG_BROKEN_ON_SMP=y | ||
33 | CONFIG_LOCK_KERNEL=y | ||
34 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
35 | CONFIG_LOCALVERSION="" | ||
36 | CONFIG_LOCALVERSION_AUTO=y | ||
37 | CONFIG_SWAP=y | ||
38 | CONFIG_SYSVIPC=y | ||
39 | CONFIG_SYSVIPC_SYSCTL=y | ||
40 | # CONFIG_POSIX_MQUEUE is not set | ||
41 | CONFIG_BSD_PROCESS_ACCT=y | ||
42 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | ||
43 | # CONFIG_TASKSTATS is not set | ||
44 | # CONFIG_AUDIT is not set | ||
45 | CONFIG_IKCONFIG=y | ||
46 | CONFIG_IKCONFIG_PROC=y | ||
47 | CONFIG_LOG_BUF_SHIFT=14 | ||
48 | # CONFIG_CGROUPS is not set | ||
49 | CONFIG_GROUP_SCHED=y | ||
50 | CONFIG_FAIR_GROUP_SCHED=y | ||
51 | # CONFIG_RT_GROUP_SCHED is not set | ||
52 | CONFIG_USER_SCHED=y | ||
53 | # CONFIG_CGROUP_SCHED is not set | ||
54 | CONFIG_SYSFS_DEPRECATED=y | ||
55 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
56 | # CONFIG_RELAY is not set | ||
57 | # CONFIG_NAMESPACES is not set | ||
58 | # CONFIG_BLK_DEV_INITRD is not set | ||
59 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
60 | CONFIG_SYSCTL=y | ||
61 | CONFIG_EMBEDDED=y | ||
62 | CONFIG_UID16=y | ||
63 | CONFIG_SYSCTL_SYSCALL=y | ||
64 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
65 | CONFIG_KALLSYMS=y | ||
66 | # CONFIG_KALLSYMS_ALL is not set | ||
67 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
68 | CONFIG_HOTPLUG=y | ||
69 | CONFIG_PRINTK=y | ||
70 | CONFIG_BUG=y | ||
71 | CONFIG_ELF_CORE=y | ||
72 | CONFIG_COMPAT_BRK=y | ||
73 | CONFIG_BASE_FULL=y | ||
74 | CONFIG_FUTEX=y | ||
75 | CONFIG_ANON_INODES=y | ||
76 | CONFIG_EPOLL=y | ||
77 | CONFIG_SIGNALFD=y | ||
78 | CONFIG_TIMERFD=y | ||
79 | CONFIG_EVENTFD=y | ||
80 | CONFIG_SHMEM=y | ||
81 | CONFIG_VM_EVENT_COUNTERS=y | ||
82 | CONFIG_SLAB=y | ||
83 | # CONFIG_SLUB is not set | ||
84 | # CONFIG_SLOB is not set | ||
85 | CONFIG_PROFILING=y | ||
86 | # CONFIG_MARKERS is not set | ||
87 | # CONFIG_OPROFILE is not set | ||
88 | CONFIG_HAVE_OPROFILE=y | ||
89 | # CONFIG_HAVE_KPROBES is not set | ||
90 | # CONFIG_HAVE_KRETPROBES is not set | ||
91 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
92 | CONFIG_PROC_PAGE_MONITOR=y | ||
93 | CONFIG_SLABINFO=y | ||
94 | CONFIG_RT_MUTEXES=y | ||
95 | # CONFIG_TINY_SHMEM is not set | ||
96 | CONFIG_BASE_SMALL=0 | ||
97 | CONFIG_MODULES=y | ||
98 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
99 | CONFIG_MODULE_UNLOAD=y | ||
100 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
101 | # CONFIG_MODVERSIONS is not set | ||
102 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
103 | CONFIG_KMOD=y | ||
104 | CONFIG_BLOCK=y | ||
105 | # CONFIG_LBD is not set | ||
106 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
107 | # CONFIG_LSF is not set | ||
108 | # CONFIG_BLK_DEV_BSG is not set | ||
109 | |||
110 | # | ||
111 | # IO Schedulers | ||
112 | # | ||
113 | CONFIG_IOSCHED_NOOP=y | ||
114 | CONFIG_IOSCHED_AS=y | ||
115 | CONFIG_IOSCHED_DEADLINE=y | ||
116 | CONFIG_IOSCHED_CFQ=y | ||
117 | # CONFIG_DEFAULT_AS is not set | ||
118 | # CONFIG_DEFAULT_DEADLINE is not set | ||
119 | CONFIG_DEFAULT_CFQ=y | ||
120 | # CONFIG_DEFAULT_NOOP is not set | ||
121 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
122 | CONFIG_CLASSIC_RCU=y | ||
123 | |||
124 | # | ||
125 | # System type | ||
126 | # | ||
127 | CONFIG_CPU_SH4=y | ||
128 | CONFIG_CPU_SH4A=y | ||
129 | CONFIG_CPU_SHX2=y | ||
130 | # CONFIG_CPU_SUBTYPE_SH7619 is not set | ||
131 | # CONFIG_CPU_SUBTYPE_SH7203 is not set | ||
132 | # CONFIG_CPU_SUBTYPE_SH7206 is not set | ||
133 | # CONFIG_CPU_SUBTYPE_SH7263 is not set | ||
134 | # CONFIG_CPU_SUBTYPE_MXG is not set | ||
135 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | ||
136 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | ||
137 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | ||
138 | # CONFIG_CPU_SUBTYPE_SH7708 is not set | ||
139 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | ||
140 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | ||
141 | # CONFIG_CPU_SUBTYPE_SH7712 is not set | ||
142 | # CONFIG_CPU_SUBTYPE_SH7720 is not set | ||
143 | # CONFIG_CPU_SUBTYPE_SH7721 is not set | ||
144 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | ||
145 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | ||
146 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | ||
147 | # CONFIG_CPU_SUBTYPE_SH7750S is not set | ||
148 | # CONFIG_CPU_SUBTYPE_SH7751 is not set | ||
149 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | ||
150 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | ||
151 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | ||
152 | # CONFIG_CPU_SUBTYPE_SH7723 is not set | ||
153 | # CONFIG_CPU_SUBTYPE_SH7763 is not set | ||
154 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | ||
155 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | ||
156 | CONFIG_CPU_SUBTYPE_SH7785=y | ||
157 | # CONFIG_CPU_SUBTYPE_SHX3 is not set | ||
158 | # CONFIG_CPU_SUBTYPE_SH7343 is not set | ||
159 | # CONFIG_CPU_SUBTYPE_SH7722 is not set | ||
160 | # CONFIG_CPU_SUBTYPE_SH7366 is not set | ||
161 | # CONFIG_CPU_SUBTYPE_SH5_101 is not set | ||
162 | # CONFIG_CPU_SUBTYPE_SH5_103 is not set | ||
163 | |||
164 | # | ||
165 | # Memory management options | ||
166 | # | ||
167 | CONFIG_QUICKLIST=y | ||
168 | CONFIG_MMU=y | ||
169 | CONFIG_PAGE_OFFSET=0x80000000 | ||
170 | CONFIG_MEMORY_START=0x08000000 | ||
171 | CONFIG_MEMORY_SIZE=0x08000000 | ||
172 | CONFIG_29BIT=y | ||
173 | # CONFIG_PMB is not set | ||
174 | # CONFIG_X2TLB is not set | ||
175 | CONFIG_VSYSCALL=y | ||
176 | # CONFIG_NUMA is not set | ||
177 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
178 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
179 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
180 | CONFIG_MAX_ACTIVE_REGIONS=2 | ||
181 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
182 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
183 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
184 | CONFIG_PAGE_SIZE_4KB=y | ||
185 | # CONFIG_PAGE_SIZE_8KB is not set | ||
186 | # CONFIG_PAGE_SIZE_16KB is not set | ||
187 | # CONFIG_PAGE_SIZE_64KB is not set | ||
188 | CONFIG_SELECT_MEMORY_MODEL=y | ||
189 | # CONFIG_FLATMEM_MANUAL is not set | ||
190 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
191 | CONFIG_SPARSEMEM_MANUAL=y | ||
192 | CONFIG_SPARSEMEM=y | ||
193 | CONFIG_HAVE_MEMORY_PRESENT=y | ||
194 | CONFIG_SPARSEMEM_STATIC=y | ||
195 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
196 | # CONFIG_MEMORY_HOTPLUG is not set | ||
197 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
198 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
199 | # CONFIG_RESOURCES_64BIT is not set | ||
200 | CONFIG_ZONE_DMA_FLAG=0 | ||
201 | CONFIG_NR_QUICK=2 | ||
202 | |||
203 | # | ||
204 | # Cache configuration | ||
205 | # | ||
206 | # CONFIG_SH_DIRECT_MAPPED is not set | ||
207 | CONFIG_CACHE_WRITEBACK=y | ||
208 | # CONFIG_CACHE_WRITETHROUGH is not set | ||
209 | # CONFIG_CACHE_OFF is not set | ||
210 | |||
211 | # | ||
212 | # Processor features | ||
213 | # | ||
214 | CONFIG_CPU_LITTLE_ENDIAN=y | ||
215 | # CONFIG_CPU_BIG_ENDIAN is not set | ||
216 | CONFIG_SH_FPU=y | ||
217 | CONFIG_SH_STORE_QUEUES=y | ||
218 | CONFIG_CPU_HAS_INTEVT=y | ||
219 | CONFIG_CPU_HAS_SR_RB=y | ||
220 | CONFIG_CPU_HAS_PTEA=y | ||
221 | CONFIG_CPU_HAS_FPU=y | ||
222 | |||
223 | # | ||
224 | # Board support | ||
225 | # | ||
226 | # CONFIG_SH_HIGHLANDER is not set | ||
227 | CONFIG_SH_SH7785LCR=y | ||
228 | CONFIG_SH_SH7785LCR_29BIT_PHYSMAPS=y | ||
229 | |||
230 | # | ||
231 | # Timer and clock configuration | ||
232 | # | ||
233 | CONFIG_SH_TMU=y | ||
234 | CONFIG_SH_TIMER_IRQ=28 | ||
235 | CONFIG_SH_PCLK_FREQ=50000000 | ||
236 | CONFIG_TICK_ONESHOT=y | ||
237 | # CONFIG_NO_HZ is not set | ||
238 | CONFIG_HIGH_RES_TIMERS=y | ||
239 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
240 | |||
241 | # | ||
242 | # CPU Frequency scaling | ||
243 | # | ||
244 | # CONFIG_CPU_FREQ is not set | ||
245 | |||
246 | # | ||
247 | # DMA support | ||
248 | # | ||
249 | # CONFIG_SH_DMA is not set | ||
250 | |||
251 | # | ||
252 | # Companion Chips | ||
253 | # | ||
254 | |||
255 | # | ||
256 | # Additional SuperH Device Drivers | ||
257 | # | ||
258 | CONFIG_HEARTBEAT=y | ||
259 | # CONFIG_PUSH_SWITCH is not set | ||
260 | |||
261 | # | ||
262 | # Kernel features | ||
263 | # | ||
264 | # CONFIG_HZ_100 is not set | ||
265 | CONFIG_HZ_250=y | ||
266 | # CONFIG_HZ_300 is not set | ||
267 | # CONFIG_HZ_1000 is not set | ||
268 | CONFIG_HZ=250 | ||
269 | # CONFIG_SCHED_HRTICK is not set | ||
270 | CONFIG_KEXEC=y | ||
271 | # CONFIG_CRASH_DUMP is not set | ||
272 | # CONFIG_PREEMPT_NONE is not set | ||
273 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
274 | CONFIG_PREEMPT=y | ||
275 | # CONFIG_PREEMPT_RCU is not set | ||
276 | CONFIG_GUSA=y | ||
277 | |||
278 | # | ||
279 | # Boot options | ||
280 | # | ||
281 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | ||
282 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | ||
283 | # CONFIG_CMDLINE_BOOL is not set | ||
284 | |||
285 | # | ||
286 | # Bus options | ||
287 | # | ||
288 | CONFIG_PCI=y | ||
289 | CONFIG_SH_PCIDMA_NONCOHERENT=y | ||
290 | CONFIG_PCI_AUTO=y | ||
291 | CONFIG_PCI_AUTO_UPDATE_RESOURCES=y | ||
292 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
293 | CONFIG_PCI_LEGACY=y | ||
294 | # CONFIG_PCI_DEBUG is not set | ||
295 | # CONFIG_PCCARD is not set | ||
296 | # CONFIG_HOTPLUG_PCI is not set | ||
297 | |||
298 | # | ||
299 | # Executable file formats | ||
300 | # | ||
301 | CONFIG_BINFMT_ELF=y | ||
302 | # CONFIG_BINFMT_MISC is not set | ||
303 | |||
304 | # | ||
305 | # Networking | ||
306 | # | ||
307 | CONFIG_NET=y | ||
308 | |||
309 | # | ||
310 | # Networking options | ||
311 | # | ||
312 | CONFIG_PACKET=y | ||
313 | # CONFIG_PACKET_MMAP is not set | ||
314 | CONFIG_UNIX=y | ||
315 | CONFIG_XFRM=y | ||
316 | # CONFIG_XFRM_USER is not set | ||
317 | # CONFIG_XFRM_SUB_POLICY is not set | ||
318 | # CONFIG_XFRM_MIGRATE is not set | ||
319 | # CONFIG_XFRM_STATISTICS is not set | ||
320 | # CONFIG_NET_KEY is not set | ||
321 | CONFIG_INET=y | ||
322 | # CONFIG_IP_MULTICAST is not set | ||
323 | CONFIG_IP_ADVANCED_ROUTER=y | ||
324 | CONFIG_ASK_IP_FIB_HASH=y | ||
325 | # CONFIG_IP_FIB_TRIE is not set | ||
326 | CONFIG_IP_FIB_HASH=y | ||
327 | # CONFIG_IP_MULTIPLE_TABLES is not set | ||
328 | # CONFIG_IP_ROUTE_MULTIPATH is not set | ||
329 | # CONFIG_IP_ROUTE_VERBOSE is not set | ||
330 | CONFIG_IP_PNP=y | ||
331 | CONFIG_IP_PNP_DHCP=y | ||
332 | # CONFIG_IP_PNP_BOOTP is not set | ||
333 | # CONFIG_IP_PNP_RARP is not set | ||
334 | # CONFIG_NET_IPIP is not set | ||
335 | # CONFIG_NET_IPGRE is not set | ||
336 | # CONFIG_ARPD is not set | ||
337 | # CONFIG_SYN_COOKIES is not set | ||
338 | # CONFIG_INET_AH is not set | ||
339 | # CONFIG_INET_ESP is not set | ||
340 | # CONFIG_INET_IPCOMP is not set | ||
341 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
342 | # CONFIG_INET_TUNNEL is not set | ||
343 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
344 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
345 | CONFIG_INET_XFRM_MODE_BEET=y | ||
346 | # CONFIG_INET_LRO is not set | ||
347 | CONFIG_INET_DIAG=y | ||
348 | CONFIG_INET_TCP_DIAG=y | ||
349 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
350 | CONFIG_TCP_CONG_CUBIC=y | ||
351 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
352 | # CONFIG_TCP_MD5SIG is not set | ||
353 | # CONFIG_IPV6 is not set | ||
354 | # CONFIG_NETWORK_SECMARK is not set | ||
355 | # CONFIG_NETFILTER is not set | ||
356 | # CONFIG_IP_DCCP is not set | ||
357 | # CONFIG_IP_SCTP is not set | ||
358 | # CONFIG_TIPC is not set | ||
359 | # CONFIG_ATM is not set | ||
360 | # CONFIG_BRIDGE is not set | ||
361 | # CONFIG_VLAN_8021Q is not set | ||
362 | # CONFIG_DECNET is not set | ||
363 | # CONFIG_LLC2 is not set | ||
364 | # CONFIG_IPX is not set | ||
365 | # CONFIG_ATALK is not set | ||
366 | # CONFIG_X25 is not set | ||
367 | # CONFIG_LAPB is not set | ||
368 | # CONFIG_ECONET is not set | ||
369 | # CONFIG_WAN_ROUTER is not set | ||
370 | # CONFIG_NET_SCHED is not set | ||
371 | |||
372 | # | ||
373 | # Network testing | ||
374 | # | ||
375 | # CONFIG_NET_PKTGEN is not set | ||
376 | # CONFIG_HAMRADIO is not set | ||
377 | # CONFIG_CAN is not set | ||
378 | # CONFIG_IRDA is not set | ||
379 | # CONFIG_BT is not set | ||
380 | # CONFIG_AF_RXRPC is not set | ||
381 | |||
382 | # | ||
383 | # Wireless | ||
384 | # | ||
385 | # CONFIG_CFG80211 is not set | ||
386 | CONFIG_WIRELESS_EXT=y | ||
387 | # CONFIG_MAC80211 is not set | ||
388 | # CONFIG_IEEE80211 is not set | ||
389 | # CONFIG_RFKILL is not set | ||
390 | # CONFIG_NET_9P is not set | ||
391 | |||
392 | # | ||
393 | # Device Drivers | ||
394 | # | ||
395 | |||
396 | # | ||
397 | # Generic Driver Options | ||
398 | # | ||
399 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
400 | CONFIG_STANDALONE=y | ||
401 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
402 | # CONFIG_FW_LOADER is not set | ||
403 | # CONFIG_DEBUG_DRIVER is not set | ||
404 | # CONFIG_DEBUG_DEVRES is not set | ||
405 | # CONFIG_SYS_HYPERVISOR is not set | ||
406 | # CONFIG_CONNECTOR is not set | ||
407 | CONFIG_MTD=y | ||
408 | # CONFIG_MTD_DEBUG is not set | ||
409 | CONFIG_MTD_CONCAT=y | ||
410 | CONFIG_MTD_PARTITIONS=y | ||
411 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
412 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
413 | # CONFIG_MTD_AR7_PARTS is not set | ||
414 | |||
415 | # | ||
416 | # User Modules And Translation Layers | ||
417 | # | ||
418 | CONFIG_MTD_CHAR=y | ||
419 | CONFIG_MTD_BLKDEVS=y | ||
420 | CONFIG_MTD_BLOCK=y | ||
421 | # CONFIG_FTL is not set | ||
422 | # CONFIG_NFTL is not set | ||
423 | # CONFIG_INFTL is not set | ||
424 | # CONFIG_RFD_FTL is not set | ||
425 | # CONFIG_SSFDC is not set | ||
426 | # CONFIG_MTD_OOPS is not set | ||
427 | |||
428 | # | ||
429 | # RAM/ROM/Flash chip drivers | ||
430 | # | ||
431 | CONFIG_MTD_CFI=y | ||
432 | # CONFIG_MTD_JEDECPROBE is not set | ||
433 | CONFIG_MTD_GEN_PROBE=y | ||
434 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
435 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
436 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
437 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
438 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
439 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
440 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
441 | CONFIG_MTD_CFI_I1=y | ||
442 | CONFIG_MTD_CFI_I2=y | ||
443 | # CONFIG_MTD_CFI_I4 is not set | ||
444 | # CONFIG_MTD_CFI_I8 is not set | ||
445 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
446 | CONFIG_MTD_CFI_AMDSTD=y | ||
447 | # CONFIG_MTD_CFI_STAA is not set | ||
448 | CONFIG_MTD_CFI_UTIL=y | ||
449 | # CONFIG_MTD_RAM is not set | ||
450 | # CONFIG_MTD_ROM is not set | ||
451 | # CONFIG_MTD_ABSENT is not set | ||
452 | |||
453 | # | ||
454 | # Mapping drivers for chip access | ||
455 | # | ||
456 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
457 | CONFIG_MTD_PHYSMAP=y | ||
458 | CONFIG_MTD_PHYSMAP_START=0x00000000 | ||
459 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
460 | CONFIG_MTD_PHYSMAP_BANKWIDTH=0 | ||
461 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
462 | # CONFIG_MTD_PLATRAM is not set | ||
463 | |||
464 | # | ||
465 | # Self-contained MTD device drivers | ||
466 | # | ||
467 | # CONFIG_MTD_PMC551 is not set | ||
468 | # CONFIG_MTD_SLRAM is not set | ||
469 | # CONFIG_MTD_PHRAM is not set | ||
470 | # CONFIG_MTD_MTDRAM is not set | ||
471 | # CONFIG_MTD_BLOCK2MTD is not set | ||
472 | |||
473 | # | ||
474 | # Disk-On-Chip Device Drivers | ||
475 | # | ||
476 | # CONFIG_MTD_DOC2000 is not set | ||
477 | # CONFIG_MTD_DOC2001 is not set | ||
478 | # CONFIG_MTD_DOC2001PLUS is not set | ||
479 | # CONFIG_MTD_NAND is not set | ||
480 | # CONFIG_MTD_ONENAND is not set | ||
481 | |||
482 | # | ||
483 | # UBI - Unsorted block images | ||
484 | # | ||
485 | # CONFIG_MTD_UBI is not set | ||
486 | # CONFIG_PARPORT is not set | ||
487 | CONFIG_BLK_DEV=y | ||
488 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
489 | # CONFIG_BLK_DEV_DAC960 is not set | ||
490 | # CONFIG_BLK_DEV_UMEM is not set | ||
491 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
492 | # CONFIG_BLK_DEV_LOOP is not set | ||
493 | # CONFIG_BLK_DEV_NBD is not set | ||
494 | # CONFIG_BLK_DEV_SX8 is not set | ||
495 | # CONFIG_BLK_DEV_UB is not set | ||
496 | CONFIG_BLK_DEV_RAM=y | ||
497 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
498 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
499 | # CONFIG_BLK_DEV_XIP is not set | ||
500 | # CONFIG_CDROM_PKTCDVD is not set | ||
501 | # CONFIG_ATA_OVER_ETH is not set | ||
502 | # CONFIG_MISC_DEVICES is not set | ||
503 | CONFIG_HAVE_IDE=y | ||
504 | # CONFIG_IDE is not set | ||
505 | |||
506 | # | ||
507 | # SCSI device support | ||
508 | # | ||
509 | # CONFIG_RAID_ATTRS is not set | ||
510 | CONFIG_SCSI=y | ||
511 | CONFIG_SCSI_DMA=y | ||
512 | # CONFIG_SCSI_TGT is not set | ||
513 | # CONFIG_SCSI_NETLINK is not set | ||
514 | CONFIG_SCSI_PROC_FS=y | ||
515 | |||
516 | # | ||
517 | # SCSI support type (disk, tape, CD-ROM) | ||
518 | # | ||
519 | CONFIG_BLK_DEV_SD=y | ||
520 | # CONFIG_CHR_DEV_ST is not set | ||
521 | # CONFIG_CHR_DEV_OSST is not set | ||
522 | # CONFIG_BLK_DEV_SR is not set | ||
523 | # CONFIG_CHR_DEV_SG is not set | ||
524 | # CONFIG_CHR_DEV_SCH is not set | ||
525 | |||
526 | # | ||
527 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
528 | # | ||
529 | # CONFIG_SCSI_MULTI_LUN is not set | ||
530 | # CONFIG_SCSI_CONSTANTS is not set | ||
531 | # CONFIG_SCSI_LOGGING is not set | ||
532 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
533 | CONFIG_SCSI_WAIT_SCAN=m | ||
534 | |||
535 | # | ||
536 | # SCSI Transports | ||
537 | # | ||
538 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
539 | # CONFIG_SCSI_FC_ATTRS is not set | ||
540 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
541 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
542 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
543 | # CONFIG_SCSI_LOWLEVEL is not set | ||
544 | CONFIG_ATA=y | ||
545 | # CONFIG_ATA_NONSTANDARD is not set | ||
546 | CONFIG_SATA_PMP=y | ||
547 | # CONFIG_SATA_AHCI is not set | ||
548 | # CONFIG_SATA_SIL24 is not set | ||
549 | CONFIG_ATA_SFF=y | ||
550 | # CONFIG_SATA_SVW is not set | ||
551 | # CONFIG_ATA_PIIX is not set | ||
552 | # CONFIG_SATA_MV is not set | ||
553 | # CONFIG_SATA_NV is not set | ||
554 | # CONFIG_PDC_ADMA is not set | ||
555 | # CONFIG_SATA_QSTOR is not set | ||
556 | # CONFIG_SATA_PROMISE is not set | ||
557 | # CONFIG_SATA_SX4 is not set | ||
558 | CONFIG_SATA_SIL=y | ||
559 | # CONFIG_SATA_SIS is not set | ||
560 | # CONFIG_SATA_ULI is not set | ||
561 | # CONFIG_SATA_VIA is not set | ||
562 | # CONFIG_SATA_VITESSE is not set | ||
563 | # CONFIG_SATA_INIC162X is not set | ||
564 | # CONFIG_PATA_ALI is not set | ||
565 | # CONFIG_PATA_AMD is not set | ||
566 | # CONFIG_PATA_ARTOP is not set | ||
567 | # CONFIG_PATA_ATIIXP is not set | ||
568 | # CONFIG_PATA_CMD640_PCI is not set | ||
569 | # CONFIG_PATA_CMD64X is not set | ||
570 | # CONFIG_PATA_CS5520 is not set | ||
571 | # CONFIG_PATA_CS5530 is not set | ||
572 | # CONFIG_PATA_CYPRESS is not set | ||
573 | # CONFIG_PATA_EFAR is not set | ||
574 | # CONFIG_ATA_GENERIC is not set | ||
575 | # CONFIG_PATA_HPT366 is not set | ||
576 | # CONFIG_PATA_HPT37X is not set | ||
577 | # CONFIG_PATA_HPT3X2N is not set | ||
578 | # CONFIG_PATA_HPT3X3 is not set | ||
579 | # CONFIG_PATA_IT821X is not set | ||
580 | # CONFIG_PATA_IT8213 is not set | ||
581 | # CONFIG_PATA_JMICRON is not set | ||
582 | # CONFIG_PATA_TRIFLEX is not set | ||
583 | # CONFIG_PATA_MARVELL is not set | ||
584 | # CONFIG_PATA_MPIIX is not set | ||
585 | # CONFIG_PATA_OLDPIIX is not set | ||
586 | # CONFIG_PATA_NETCELL is not set | ||
587 | # CONFIG_PATA_NINJA32 is not set | ||
588 | # CONFIG_PATA_NS87410 is not set | ||
589 | # CONFIG_PATA_NS87415 is not set | ||
590 | # CONFIG_PATA_OPTI is not set | ||
591 | # CONFIG_PATA_OPTIDMA is not set | ||
592 | # CONFIG_PATA_PDC_OLD is not set | ||
593 | # CONFIG_PATA_RADISYS is not set | ||
594 | # CONFIG_PATA_RZ1000 is not set | ||
595 | # CONFIG_PATA_SC1200 is not set | ||
596 | # CONFIG_PATA_SERVERWORKS is not set | ||
597 | # CONFIG_PATA_PDC2027X is not set | ||
598 | # CONFIG_PATA_SIL680 is not set | ||
599 | # CONFIG_PATA_SIS is not set | ||
600 | # CONFIG_PATA_VIA is not set | ||
601 | # CONFIG_PATA_WINBOND is not set | ||
602 | # CONFIG_PATA_PLATFORM is not set | ||
603 | # CONFIG_PATA_SCH is not set | ||
604 | # CONFIG_MD is not set | ||
605 | # CONFIG_FUSION is not set | ||
606 | |||
607 | # | ||
608 | # IEEE 1394 (FireWire) support | ||
609 | # | ||
610 | |||
611 | # | ||
612 | # Enable only one of the two stacks, unless you know what you are doing | ||
613 | # | ||
614 | # CONFIG_FIREWIRE is not set | ||
615 | # CONFIG_IEEE1394 is not set | ||
616 | # CONFIG_I2O is not set | ||
617 | CONFIG_NETDEVICES=y | ||
618 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
619 | # CONFIG_DUMMY is not set | ||
620 | # CONFIG_BONDING is not set | ||
621 | # CONFIG_MACVLAN is not set | ||
622 | # CONFIG_EQUALIZER is not set | ||
623 | # CONFIG_TUN is not set | ||
624 | # CONFIG_VETH is not set | ||
625 | # CONFIG_ARCNET is not set | ||
626 | # CONFIG_NET_ETHERNET is not set | ||
627 | CONFIG_NETDEV_1000=y | ||
628 | # CONFIG_ACENIC is not set | ||
629 | # CONFIG_DL2K is not set | ||
630 | # CONFIG_E1000 is not set | ||
631 | # CONFIG_E1000E is not set | ||
632 | # CONFIG_E1000E_ENABLED is not set | ||
633 | # CONFIG_IP1000 is not set | ||
634 | # CONFIG_IGB is not set | ||
635 | # CONFIG_NS83820 is not set | ||
636 | # CONFIG_HAMACHI is not set | ||
637 | # CONFIG_YELLOWFIN is not set | ||
638 | CONFIG_R8169=y | ||
639 | # CONFIG_R8169_NAPI is not set | ||
640 | # CONFIG_SIS190 is not set | ||
641 | # CONFIG_SKGE is not set | ||
642 | # CONFIG_SKY2 is not set | ||
643 | # CONFIG_VIA_VELOCITY is not set | ||
644 | # CONFIG_TIGON3 is not set | ||
645 | # CONFIG_BNX2 is not set | ||
646 | # CONFIG_QLA3XXX is not set | ||
647 | # CONFIG_ATL1 is not set | ||
648 | # CONFIG_NETDEV_10000 is not set | ||
649 | # CONFIG_TR is not set | ||
650 | |||
651 | # | ||
652 | # Wireless LAN | ||
653 | # | ||
654 | # CONFIG_WLAN_PRE80211 is not set | ||
655 | # CONFIG_WLAN_80211 is not set | ||
656 | # CONFIG_IWLWIFI_LEDS is not set | ||
657 | |||
658 | # | ||
659 | # USB Network Adapters | ||
660 | # | ||
661 | # CONFIG_USB_CATC is not set | ||
662 | # CONFIG_USB_KAWETH is not set | ||
663 | # CONFIG_USB_PEGASUS is not set | ||
664 | # CONFIG_USB_RTL8150 is not set | ||
665 | # CONFIG_USB_USBNET is not set | ||
666 | # CONFIG_WAN is not set | ||
667 | # CONFIG_FDDI is not set | ||
668 | # CONFIG_HIPPI is not set | ||
669 | # CONFIG_PPP is not set | ||
670 | # CONFIG_SLIP is not set | ||
671 | # CONFIG_NET_FC is not set | ||
672 | # CONFIG_NETCONSOLE is not set | ||
673 | # CONFIG_NETPOLL is not set | ||
674 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
675 | # CONFIG_ISDN is not set | ||
676 | # CONFIG_PHONE is not set | ||
677 | |||
678 | # | ||
679 | # Input device support | ||
680 | # | ||
681 | CONFIG_INPUT=y | ||
682 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
683 | # CONFIG_INPUT_POLLDEV is not set | ||
684 | |||
685 | # | ||
686 | # Userland interfaces | ||
687 | # | ||
688 | CONFIG_INPUT_MOUSEDEV=y | ||
689 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
690 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
691 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
692 | # CONFIG_INPUT_JOYDEV is not set | ||
693 | # CONFIG_INPUT_EVDEV is not set | ||
694 | # CONFIG_INPUT_EVBUG is not set | ||
695 | |||
696 | # | ||
697 | # Input Device Drivers | ||
698 | # | ||
699 | CONFIG_INPUT_KEYBOARD=y | ||
700 | # CONFIG_KEYBOARD_ATKBD is not set | ||
701 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
702 | # CONFIG_KEYBOARD_LKKBD is not set | ||
703 | # CONFIG_KEYBOARD_XTKBD is not set | ||
704 | # CONFIG_KEYBOARD_NEWTON is not set | ||
705 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
706 | # CONFIG_KEYBOARD_SH_KEYSC is not set | ||
707 | # CONFIG_INPUT_MOUSE is not set | ||
708 | # CONFIG_INPUT_JOYSTICK is not set | ||
709 | # CONFIG_INPUT_TABLET is not set | ||
710 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
711 | # CONFIG_INPUT_MISC is not set | ||
712 | |||
713 | # | ||
714 | # Hardware I/O ports | ||
715 | # | ||
716 | # CONFIG_SERIO is not set | ||
717 | # CONFIG_GAMEPORT is not set | ||
718 | |||
719 | # | ||
720 | # Character devices | ||
721 | # | ||
722 | CONFIG_VT=y | ||
723 | CONFIG_VT_CONSOLE=y | ||
724 | CONFIG_HW_CONSOLE=y | ||
725 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
726 | CONFIG_DEVKMEM=y | ||
727 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
728 | # CONFIG_NOZOMI is not set | ||
729 | |||
730 | # | ||
731 | # Serial drivers | ||
732 | # | ||
733 | # CONFIG_SERIAL_8250 is not set | ||
734 | |||
735 | # | ||
736 | # Non-8250 serial port support | ||
737 | # | ||
738 | CONFIG_SERIAL_SH_SCI=y | ||
739 | CONFIG_SERIAL_SH_SCI_NR_UARTS=6 | ||
740 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
741 | CONFIG_SERIAL_CORE=y | ||
742 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
743 | # CONFIG_SERIAL_JSM is not set | ||
744 | CONFIG_UNIX98_PTYS=y | ||
745 | CONFIG_LEGACY_PTYS=y | ||
746 | CONFIG_LEGACY_PTY_COUNT=256 | ||
747 | # CONFIG_IPMI_HANDLER is not set | ||
748 | CONFIG_HW_RANDOM=y | ||
749 | # CONFIG_R3964 is not set | ||
750 | # CONFIG_APPLICOM is not set | ||
751 | # CONFIG_RAW_DRIVER is not set | ||
752 | # CONFIG_TCG_TPM is not set | ||
753 | CONFIG_DEVPORT=y | ||
754 | CONFIG_I2C=y | ||
755 | CONFIG_I2C_BOARDINFO=y | ||
756 | # CONFIG_I2C_CHARDEV is not set | ||
757 | CONFIG_I2C_ALGOPCA=y | ||
758 | |||
759 | # | ||
760 | # I2C Hardware Bus support | ||
761 | # | ||
762 | # CONFIG_I2C_ALI1535 is not set | ||
763 | # CONFIG_I2C_ALI1563 is not set | ||
764 | # CONFIG_I2C_ALI15X3 is not set | ||
765 | # CONFIG_I2C_AMD756 is not set | ||
766 | # CONFIG_I2C_AMD8111 is not set | ||
767 | # CONFIG_I2C_I801 is not set | ||
768 | # CONFIG_I2C_I810 is not set | ||
769 | # CONFIG_I2C_PIIX4 is not set | ||
770 | # CONFIG_I2C_NFORCE2 is not set | ||
771 | # CONFIG_I2C_OCORES is not set | ||
772 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
773 | # CONFIG_I2C_PROSAVAGE is not set | ||
774 | # CONFIG_I2C_SAVAGE4 is not set | ||
775 | # CONFIG_I2C_SIMTEC is not set | ||
776 | # CONFIG_I2C_SIS5595 is not set | ||
777 | # CONFIG_I2C_SIS630 is not set | ||
778 | # CONFIG_I2C_SIS96X is not set | ||
779 | # CONFIG_I2C_TAOS_EVM is not set | ||
780 | # CONFIG_I2C_STUB is not set | ||
781 | # CONFIG_I2C_TINY_USB is not set | ||
782 | # CONFIG_I2C_VIA is not set | ||
783 | # CONFIG_I2C_VIAPRO is not set | ||
784 | # CONFIG_I2C_VOODOO3 is not set | ||
785 | CONFIG_I2C_PCA_PLATFORM=y | ||
786 | # CONFIG_I2C_SH_MOBILE is not set | ||
787 | |||
788 | # | ||
789 | # Miscellaneous I2C Chip support | ||
790 | # | ||
791 | # CONFIG_DS1682 is not set | ||
792 | # CONFIG_SENSORS_EEPROM is not set | ||
793 | # CONFIG_SENSORS_PCF8574 is not set | ||
794 | # CONFIG_PCF8575 is not set | ||
795 | # CONFIG_SENSORS_PCF8591 is not set | ||
796 | # CONFIG_SENSORS_MAX6875 is not set | ||
797 | # CONFIG_SENSORS_TSL2550 is not set | ||
798 | # CONFIG_I2C_DEBUG_CORE is not set | ||
799 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
800 | # CONFIG_I2C_DEBUG_BUS is not set | ||
801 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
802 | # CONFIG_SPI is not set | ||
803 | # CONFIG_W1 is not set | ||
804 | # CONFIG_POWER_SUPPLY is not set | ||
805 | # CONFIG_HWMON is not set | ||
806 | # CONFIG_THERMAL is not set | ||
807 | # CONFIG_THERMAL_HWMON is not set | ||
808 | # CONFIG_WATCHDOG is not set | ||
809 | |||
810 | # | ||
811 | # Sonics Silicon Backplane | ||
812 | # | ||
813 | CONFIG_SSB_POSSIBLE=y | ||
814 | # CONFIG_SSB is not set | ||
815 | |||
816 | # | ||
817 | # Multifunction device drivers | ||
818 | # | ||
819 | CONFIG_MFD_SM501=y | ||
820 | # CONFIG_HTC_PASIC3 is not set | ||
821 | |||
822 | # | ||
823 | # Multimedia devices | ||
824 | # | ||
825 | |||
826 | # | ||
827 | # Multimedia core support | ||
828 | # | ||
829 | # CONFIG_VIDEO_DEV is not set | ||
830 | # CONFIG_DVB_CORE is not set | ||
831 | # CONFIG_VIDEO_MEDIA is not set | ||
832 | |||
833 | # | ||
834 | # Multimedia drivers | ||
835 | # | ||
836 | # CONFIG_DAB is not set | ||
837 | |||
838 | # | ||
839 | # Graphics support | ||
840 | # | ||
841 | # CONFIG_DRM is not set | ||
842 | # CONFIG_VGASTATE is not set | ||
843 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
844 | CONFIG_FB=y | ||
845 | # CONFIG_FIRMWARE_EDID is not set | ||
846 | # CONFIG_FB_DDC is not set | ||
847 | CONFIG_FB_CFB_FILLRECT=y | ||
848 | CONFIG_FB_CFB_COPYAREA=y | ||
849 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
850 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
851 | # CONFIG_FB_SYS_FILLRECT is not set | ||
852 | # CONFIG_FB_SYS_COPYAREA is not set | ||
853 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
854 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
855 | # CONFIG_FB_SYS_FOPS is not set | ||
856 | # CONFIG_FB_SVGALIB is not set | ||
857 | # CONFIG_FB_MACMODES is not set | ||
858 | # CONFIG_FB_BACKLIGHT is not set | ||
859 | # CONFIG_FB_MODE_HELPERS is not set | ||
860 | # CONFIG_FB_TILEBLITTING is not set | ||
861 | |||
862 | # | ||
863 | # Frame buffer hardware drivers | ||
864 | # | ||
865 | # CONFIG_FB_CIRRUS is not set | ||
866 | # CONFIG_FB_PM2 is not set | ||
867 | # CONFIG_FB_CYBER2000 is not set | ||
868 | # CONFIG_FB_ASILIANT is not set | ||
869 | # CONFIG_FB_IMSTT is not set | ||
870 | # CONFIG_FB_S1D13XXX is not set | ||
871 | # CONFIG_FB_NVIDIA is not set | ||
872 | # CONFIG_FB_RIVA is not set | ||
873 | # CONFIG_FB_MATROX is not set | ||
874 | # CONFIG_FB_RADEON is not set | ||
875 | # CONFIG_FB_ATY128 is not set | ||
876 | # CONFIG_FB_ATY is not set | ||
877 | # CONFIG_FB_S3 is not set | ||
878 | # CONFIG_FB_SAVAGE is not set | ||
879 | # CONFIG_FB_SIS is not set | ||
880 | # CONFIG_FB_NEOMAGIC is not set | ||
881 | # CONFIG_FB_KYRO is not set | ||
882 | # CONFIG_FB_3DFX is not set | ||
883 | # CONFIG_FB_VOODOO1 is not set | ||
884 | # CONFIG_FB_VT8623 is not set | ||
885 | # CONFIG_FB_TRIDENT is not set | ||
886 | # CONFIG_FB_ARK is not set | ||
887 | # CONFIG_FB_PM3 is not set | ||
888 | CONFIG_FB_SM501=y | ||
889 | # CONFIG_FB_VIRTUAL is not set | ||
890 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
891 | |||
892 | # | ||
893 | # Display device support | ||
894 | # | ||
895 | # CONFIG_DISPLAY_SUPPORT is not set | ||
896 | |||
897 | # | ||
898 | # Console display driver support | ||
899 | # | ||
900 | CONFIG_DUMMY_CONSOLE=y | ||
901 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
902 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
903 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
904 | # CONFIG_FONTS is not set | ||
905 | CONFIG_FONT_8x8=y | ||
906 | CONFIG_FONT_8x16=y | ||
907 | CONFIG_LOGO=y | ||
908 | # CONFIG_LOGO_LINUX_MONO is not set | ||
909 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
910 | CONFIG_LOGO_LINUX_CLUT224=y | ||
911 | # CONFIG_LOGO_SUPERH_MONO is not set | ||
912 | # CONFIG_LOGO_SUPERH_VGA16 is not set | ||
913 | # CONFIG_LOGO_SUPERH_CLUT224 is not set | ||
914 | |||
915 | # | ||
916 | # Sound | ||
917 | # | ||
918 | # CONFIG_SOUND is not set | ||
919 | CONFIG_HID_SUPPORT=y | ||
920 | CONFIG_HID=y | ||
921 | # CONFIG_HID_DEBUG is not set | ||
922 | # CONFIG_HIDRAW is not set | ||
923 | |||
924 | # | ||
925 | # USB Input Devices | ||
926 | # | ||
927 | CONFIG_USB_HID=y | ||
928 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
929 | # CONFIG_HID_FF is not set | ||
930 | # CONFIG_USB_HIDDEV is not set | ||
931 | CONFIG_USB_SUPPORT=y | ||
932 | CONFIG_USB_ARCH_HAS_HCD=y | ||
933 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
934 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
935 | CONFIG_USB=y | ||
936 | # CONFIG_USB_DEBUG is not set | ||
937 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
938 | |||
939 | # | ||
940 | # Miscellaneous USB options | ||
941 | # | ||
942 | CONFIG_USB_DEVICEFS=y | ||
943 | CONFIG_USB_DEVICE_CLASS=y | ||
944 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
945 | # CONFIG_USB_OTG is not set | ||
946 | # CONFIG_USB_OTG_WHITELIST is not set | ||
947 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
948 | |||
949 | # | ||
950 | # USB Host Controller Drivers | ||
951 | # | ||
952 | # CONFIG_USB_C67X00_HCD is not set | ||
953 | CONFIG_USB_EHCI_HCD=m | ||
954 | # CONFIG_USB_EHCI_ROOT_HUB_TT is not set | ||
955 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
956 | # CONFIG_USB_ISP116X_HCD is not set | ||
957 | # CONFIG_USB_ISP1760_HCD is not set | ||
958 | CONFIG_USB_OHCI_HCD=m | ||
959 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
960 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
961 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
962 | # CONFIG_USB_UHCI_HCD is not set | ||
963 | # CONFIG_USB_SL811_HCD is not set | ||
964 | CONFIG_USB_R8A66597_HCD=y | ||
965 | |||
966 | # | ||
967 | # USB Device Class drivers | ||
968 | # | ||
969 | # CONFIG_USB_ACM is not set | ||
970 | # CONFIG_USB_PRINTER is not set | ||
971 | # CONFIG_USB_WDM is not set | ||
972 | |||
973 | # | ||
974 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
975 | # | ||
976 | |||
977 | # | ||
978 | # may also be needed; see USB_STORAGE Help for more information | ||
979 | # | ||
980 | CONFIG_USB_STORAGE=y | ||
981 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
982 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
983 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
984 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
985 | # CONFIG_USB_STORAGE_DPCM is not set | ||
986 | # CONFIG_USB_STORAGE_USBAT is not set | ||
987 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
988 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
989 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
990 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
991 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
992 | # CONFIG_USB_STORAGE_KARMA is not set | ||
993 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
994 | # CONFIG_USB_LIBUSUAL is not set | ||
995 | |||
996 | # | ||
997 | # USB Imaging devices | ||
998 | # | ||
999 | # CONFIG_USB_MDC800 is not set | ||
1000 | # CONFIG_USB_MICROTEK is not set | ||
1001 | CONFIG_USB_MON=y | ||
1002 | |||
1003 | # | ||
1004 | # USB port drivers | ||
1005 | # | ||
1006 | # CONFIG_USB_SERIAL is not set | ||
1007 | |||
1008 | # | ||
1009 | # USB Miscellaneous drivers | ||
1010 | # | ||
1011 | # CONFIG_USB_EMI62 is not set | ||
1012 | # CONFIG_USB_EMI26 is not set | ||
1013 | # CONFIG_USB_ADUTUX is not set | ||
1014 | # CONFIG_USB_AUERSWALD is not set | ||
1015 | # CONFIG_USB_RIO500 is not set | ||
1016 | # CONFIG_USB_LEGOTOWER is not set | ||
1017 | # CONFIG_USB_LCD is not set | ||
1018 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1019 | # CONFIG_USB_LED is not set | ||
1020 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1021 | # CONFIG_USB_CYTHERM is not set | ||
1022 | # CONFIG_USB_PHIDGET is not set | ||
1023 | # CONFIG_USB_IDMOUSE is not set | ||
1024 | # CONFIG_USB_FTDI_ELAN is not set | ||
1025 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1026 | # CONFIG_USB_SISUSBVGA is not set | ||
1027 | # CONFIG_USB_LD is not set | ||
1028 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1029 | # CONFIG_USB_IOWARRIOR is not set | ||
1030 | CONFIG_USB_TEST=m | ||
1031 | # CONFIG_USB_ISIGHTFW is not set | ||
1032 | # CONFIG_USB_GADGET is not set | ||
1033 | # CONFIG_MMC is not set | ||
1034 | # CONFIG_MEMSTICK is not set | ||
1035 | # CONFIG_NEW_LEDS is not set | ||
1036 | # CONFIG_ACCESSIBILITY is not set | ||
1037 | # CONFIG_INFINIBAND is not set | ||
1038 | CONFIG_RTC_LIB=y | ||
1039 | CONFIG_RTC_CLASS=y | ||
1040 | CONFIG_RTC_HCTOSYS=y | ||
1041 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1042 | # CONFIG_RTC_DEBUG is not set | ||
1043 | |||
1044 | # | ||
1045 | # RTC interfaces | ||
1046 | # | ||
1047 | CONFIG_RTC_INTF_SYSFS=y | ||
1048 | CONFIG_RTC_INTF_PROC=y | ||
1049 | CONFIG_RTC_INTF_DEV=y | ||
1050 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1051 | # CONFIG_RTC_DRV_TEST is not set | ||
1052 | |||
1053 | # | ||
1054 | # I2C RTC drivers | ||
1055 | # | ||
1056 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1057 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1058 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1059 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1060 | CONFIG_RTC_DRV_RS5C372=y | ||
1061 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1062 | # CONFIG_RTC_DRV_X1205 is not set | ||
1063 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1064 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1065 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1066 | # CONFIG_RTC_DRV_S35390A is not set | ||
1067 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1068 | |||
1069 | # | ||
1070 | # SPI RTC drivers | ||
1071 | # | ||
1072 | |||
1073 | # | ||
1074 | # Platform RTC drivers | ||
1075 | # | ||
1076 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1077 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1078 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1079 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1080 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1081 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1082 | # CONFIG_RTC_DRV_V3020 is not set | ||
1083 | |||
1084 | # | ||
1085 | # on-CPU RTC drivers | ||
1086 | # | ||
1087 | # CONFIG_RTC_DRV_SH is not set | ||
1088 | # CONFIG_UIO is not set | ||
1089 | |||
1090 | # | ||
1091 | # File systems | ||
1092 | # | ||
1093 | CONFIG_EXT2_FS=y | ||
1094 | # CONFIG_EXT2_FS_XATTR is not set | ||
1095 | # CONFIG_EXT2_FS_XIP is not set | ||
1096 | CONFIG_EXT3_FS=y | ||
1097 | CONFIG_EXT3_FS_XATTR=y | ||
1098 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
1099 | # CONFIG_EXT3_FS_SECURITY is not set | ||
1100 | # CONFIG_EXT4DEV_FS is not set | ||
1101 | CONFIG_JBD=y | ||
1102 | CONFIG_FS_MBCACHE=y | ||
1103 | # CONFIG_REISERFS_FS is not set | ||
1104 | # CONFIG_JFS_FS is not set | ||
1105 | CONFIG_FS_POSIX_ACL=y | ||
1106 | # CONFIG_XFS_FS is not set | ||
1107 | # CONFIG_OCFS2_FS is not set | ||
1108 | CONFIG_DNOTIFY=y | ||
1109 | CONFIG_INOTIFY=y | ||
1110 | CONFIG_INOTIFY_USER=y | ||
1111 | # CONFIG_QUOTA is not set | ||
1112 | # CONFIG_AUTOFS_FS is not set | ||
1113 | # CONFIG_AUTOFS4_FS is not set | ||
1114 | # CONFIG_FUSE_FS is not set | ||
1115 | |||
1116 | # | ||
1117 | # CD-ROM/DVD Filesystems | ||
1118 | # | ||
1119 | # CONFIG_ISO9660_FS is not set | ||
1120 | # CONFIG_UDF_FS is not set | ||
1121 | |||
1122 | # | ||
1123 | # DOS/FAT/NT Filesystems | ||
1124 | # | ||
1125 | CONFIG_FAT_FS=y | ||
1126 | CONFIG_MSDOS_FS=y | ||
1127 | CONFIG_VFAT_FS=y | ||
1128 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1129 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1130 | CONFIG_NTFS_FS=y | ||
1131 | # CONFIG_NTFS_DEBUG is not set | ||
1132 | CONFIG_NTFS_RW=y | ||
1133 | |||
1134 | # | ||
1135 | # Pseudo filesystems | ||
1136 | # | ||
1137 | CONFIG_PROC_FS=y | ||
1138 | CONFIG_PROC_KCORE=y | ||
1139 | CONFIG_PROC_SYSCTL=y | ||
1140 | CONFIG_SYSFS=y | ||
1141 | CONFIG_TMPFS=y | ||
1142 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1143 | # CONFIG_HUGETLBFS is not set | ||
1144 | # CONFIG_HUGETLB_PAGE is not set | ||
1145 | # CONFIG_CONFIGFS_FS is not set | ||
1146 | |||
1147 | # | ||
1148 | # Miscellaneous filesystems | ||
1149 | # | ||
1150 | # CONFIG_ADFS_FS is not set | ||
1151 | # CONFIG_AFFS_FS is not set | ||
1152 | # CONFIG_HFS_FS is not set | ||
1153 | # CONFIG_HFSPLUS_FS is not set | ||
1154 | # CONFIG_BEFS_FS is not set | ||
1155 | # CONFIG_BFS_FS is not set | ||
1156 | # CONFIG_EFS_FS is not set | ||
1157 | # CONFIG_JFFS2_FS is not set | ||
1158 | # CONFIG_CRAMFS is not set | ||
1159 | # CONFIG_VXFS_FS is not set | ||
1160 | CONFIG_MINIX_FS=y | ||
1161 | # CONFIG_HPFS_FS is not set | ||
1162 | # CONFIG_QNX4FS_FS is not set | ||
1163 | # CONFIG_ROMFS_FS is not set | ||
1164 | # CONFIG_SYSV_FS is not set | ||
1165 | # CONFIG_UFS_FS is not set | ||
1166 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1167 | CONFIG_NFS_FS=y | ||
1168 | CONFIG_NFS_V3=y | ||
1169 | # CONFIG_NFS_V3_ACL is not set | ||
1170 | CONFIG_NFS_V4=y | ||
1171 | CONFIG_NFSD=y | ||
1172 | CONFIG_NFSD_V3=y | ||
1173 | # CONFIG_NFSD_V3_ACL is not set | ||
1174 | CONFIG_NFSD_V4=y | ||
1175 | CONFIG_ROOT_NFS=y | ||
1176 | CONFIG_LOCKD=y | ||
1177 | CONFIG_LOCKD_V4=y | ||
1178 | CONFIG_EXPORTFS=y | ||
1179 | CONFIG_NFS_COMMON=y | ||
1180 | CONFIG_SUNRPC=y | ||
1181 | CONFIG_SUNRPC_GSS=y | ||
1182 | # CONFIG_SUNRPC_BIND34 is not set | ||
1183 | CONFIG_RPCSEC_GSS_KRB5=y | ||
1184 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1185 | # CONFIG_SMB_FS is not set | ||
1186 | # CONFIG_CIFS is not set | ||
1187 | # CONFIG_NCP_FS is not set | ||
1188 | # CONFIG_CODA_FS is not set | ||
1189 | # CONFIG_AFS_FS is not set | ||
1190 | |||
1191 | # | ||
1192 | # Partition Types | ||
1193 | # | ||
1194 | # CONFIG_PARTITION_ADVANCED is not set | ||
1195 | CONFIG_MSDOS_PARTITION=y | ||
1196 | CONFIG_NLS=y | ||
1197 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1198 | CONFIG_NLS_CODEPAGE_437=y | ||
1199 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1200 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1201 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1202 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1203 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1204 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1205 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1206 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1207 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1208 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1209 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1210 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1211 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1212 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1213 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1214 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1215 | CONFIG_NLS_CODEPAGE_932=y | ||
1216 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1217 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1218 | # CONFIG_NLS_ISO8859_8 is not set | ||
1219 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1220 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1221 | # CONFIG_NLS_ASCII is not set | ||
1222 | CONFIG_NLS_ISO8859_1=y | ||
1223 | # CONFIG_NLS_ISO8859_2 is not set | ||
1224 | # CONFIG_NLS_ISO8859_3 is not set | ||
1225 | # CONFIG_NLS_ISO8859_4 is not set | ||
1226 | # CONFIG_NLS_ISO8859_5 is not set | ||
1227 | # CONFIG_NLS_ISO8859_6 is not set | ||
1228 | # CONFIG_NLS_ISO8859_7 is not set | ||
1229 | # CONFIG_NLS_ISO8859_9 is not set | ||
1230 | # CONFIG_NLS_ISO8859_13 is not set | ||
1231 | # CONFIG_NLS_ISO8859_14 is not set | ||
1232 | # CONFIG_NLS_ISO8859_15 is not set | ||
1233 | # CONFIG_NLS_KOI8_R is not set | ||
1234 | # CONFIG_NLS_KOI8_U is not set | ||
1235 | # CONFIG_NLS_UTF8 is not set | ||
1236 | # CONFIG_DLM is not set | ||
1237 | |||
1238 | # | ||
1239 | # Kernel hacking | ||
1240 | # | ||
1241 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
1242 | # CONFIG_PRINTK_TIME is not set | ||
1243 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
1244 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
1245 | CONFIG_FRAME_WARN=1024 | ||
1246 | # CONFIG_MAGIC_SYSRQ is not set | ||
1247 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1248 | # CONFIG_DEBUG_FS is not set | ||
1249 | # CONFIG_HEADERS_CHECK is not set | ||
1250 | CONFIG_DEBUG_KERNEL=y | ||
1251 | # CONFIG_DEBUG_SHIRQ is not set | ||
1252 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1253 | CONFIG_SCHED_DEBUG=y | ||
1254 | # CONFIG_SCHEDSTATS is not set | ||
1255 | # CONFIG_TIMER_STATS is not set | ||
1256 | # CONFIG_DEBUG_OBJECTS is not set | ||
1257 | # CONFIG_DEBUG_SLAB is not set | ||
1258 | CONFIG_DEBUG_PREEMPT=y | ||
1259 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
1260 | # CONFIG_RT_MUTEX_TESTER is not set | ||
1261 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1262 | # CONFIG_DEBUG_MUTEXES is not set | ||
1263 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1264 | # CONFIG_PROVE_LOCKING is not set | ||
1265 | # CONFIG_LOCK_STAT is not set | ||
1266 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1267 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1268 | # CONFIG_DEBUG_KOBJECT is not set | ||
1269 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1270 | # CONFIG_DEBUG_INFO is not set | ||
1271 | # CONFIG_DEBUG_VM is not set | ||
1272 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1273 | # CONFIG_DEBUG_LIST is not set | ||
1274 | # CONFIG_DEBUG_SG is not set | ||
1275 | # CONFIG_FRAME_POINTER is not set | ||
1276 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
1277 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1278 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
1279 | # CONFIG_FAULT_INJECTION is not set | ||
1280 | # CONFIG_SAMPLES is not set | ||
1281 | # CONFIG_SH_STANDARD_BIOS is not set | ||
1282 | # CONFIG_EARLY_SCIF_CONSOLE is not set | ||
1283 | # CONFIG_DEBUG_BOOTMEM is not set | ||
1284 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
1285 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
1286 | # CONFIG_4KSTACKS is not set | ||
1287 | # CONFIG_IRQSTACKS is not set | ||
1288 | # CONFIG_SH_KGDB is not set | ||
1289 | |||
1290 | # | ||
1291 | # Security options | ||
1292 | # | ||
1293 | # CONFIG_KEYS is not set | ||
1294 | # CONFIG_SECURITY is not set | ||
1295 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
1296 | CONFIG_CRYPTO=y | ||
1297 | |||
1298 | # | ||
1299 | # Crypto core or helper | ||
1300 | # | ||
1301 | CONFIG_CRYPTO_ALGAPI=y | ||
1302 | CONFIG_CRYPTO_BLKCIPHER=y | ||
1303 | CONFIG_CRYPTO_HASH=y | ||
1304 | CONFIG_CRYPTO_MANAGER=y | ||
1305 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1306 | # CONFIG_CRYPTO_NULL is not set | ||
1307 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1308 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1309 | # CONFIG_CRYPTO_TEST is not set | ||
1310 | |||
1311 | # | ||
1312 | # Authenticated Encryption with Associated Data | ||
1313 | # | ||
1314 | # CONFIG_CRYPTO_CCM is not set | ||
1315 | # CONFIG_CRYPTO_GCM is not set | ||
1316 | # CONFIG_CRYPTO_SEQIV is not set | ||
1317 | |||
1318 | # | ||
1319 | # Block modes | ||
1320 | # | ||
1321 | CONFIG_CRYPTO_CBC=y | ||
1322 | # CONFIG_CRYPTO_CTR is not set | ||
1323 | # CONFIG_CRYPTO_CTS is not set | ||
1324 | # CONFIG_CRYPTO_ECB is not set | ||
1325 | # CONFIG_CRYPTO_LRW is not set | ||
1326 | # CONFIG_CRYPTO_PCBC is not set | ||
1327 | # CONFIG_CRYPTO_XTS is not set | ||
1328 | |||
1329 | # | ||
1330 | # Hash modes | ||
1331 | # | ||
1332 | CONFIG_CRYPTO_HMAC=y | ||
1333 | # CONFIG_CRYPTO_XCBC is not set | ||
1334 | |||
1335 | # | ||
1336 | # Digest | ||
1337 | # | ||
1338 | # CONFIG_CRYPTO_CRC32C is not set | ||
1339 | # CONFIG_CRYPTO_MD4 is not set | ||
1340 | CONFIG_CRYPTO_MD5=y | ||
1341 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1342 | # CONFIG_CRYPTO_SHA1 is not set | ||
1343 | # CONFIG_CRYPTO_SHA256 is not set | ||
1344 | # CONFIG_CRYPTO_SHA512 is not set | ||
1345 | # CONFIG_CRYPTO_TGR192 is not set | ||
1346 | # CONFIG_CRYPTO_WP512 is not set | ||
1347 | |||
1348 | # | ||
1349 | # Ciphers | ||
1350 | # | ||
1351 | # CONFIG_CRYPTO_AES is not set | ||
1352 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1353 | # CONFIG_CRYPTO_ARC4 is not set | ||
1354 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1355 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1356 | # CONFIG_CRYPTO_CAST5 is not set | ||
1357 | # CONFIG_CRYPTO_CAST6 is not set | ||
1358 | CONFIG_CRYPTO_DES=y | ||
1359 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1360 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1361 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1362 | # CONFIG_CRYPTO_SEED is not set | ||
1363 | # CONFIG_CRYPTO_SERPENT is not set | ||
1364 | # CONFIG_CRYPTO_TEA is not set | ||
1365 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1366 | |||
1367 | # | ||
1368 | # Compression | ||
1369 | # | ||
1370 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1371 | # CONFIG_CRYPTO_LZO is not set | ||
1372 | # CONFIG_CRYPTO_HW is not set | ||
1373 | |||
1374 | # | ||
1375 | # Library routines | ||
1376 | # | ||
1377 | CONFIG_BITREVERSE=y | ||
1378 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1379 | # CONFIG_CRC_CCITT is not set | ||
1380 | # CONFIG_CRC16 is not set | ||
1381 | # CONFIG_CRC_ITU_T is not set | ||
1382 | CONFIG_CRC32=y | ||
1383 | # CONFIG_CRC7 is not set | ||
1384 | # CONFIG_LIBCRC32C is not set | ||
1385 | CONFIG_PLIST=y | ||
1386 | CONFIG_HAS_IOMEM=y | ||
1387 | CONFIG_HAS_IOPORT=y | ||
1388 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/sh/drivers/pci/Makefile b/arch/sh/drivers/pci/Makefile index 0718805774e8..847e90894d1b 100644 --- a/arch/sh/drivers/pci/Makefile +++ b/arch/sh/drivers/pci/Makefile | |||
@@ -23,3 +23,4 @@ obj-$(CONFIG_SH_LANDISK) += ops-landisk.o | |||
23 | obj-$(CONFIG_SH_LBOX_RE2) += ops-lboxre2.o fixups-lboxre2.o | 23 | obj-$(CONFIG_SH_LBOX_RE2) += ops-lboxre2.o fixups-lboxre2.o |
24 | obj-$(CONFIG_SH_7780_SOLUTION_ENGINE) += ops-se7780.o fixups-se7780.o | 24 | obj-$(CONFIG_SH_7780_SOLUTION_ENGINE) += ops-se7780.o fixups-se7780.o |
25 | obj-$(CONFIG_SH_CAYMAN) += ops-cayman.o | 25 | obj-$(CONFIG_SH_CAYMAN) += ops-cayman.o |
26 | obj-$(CONFIG_SH_SH7785LCR) += ops-sh7785lcr.o fixups-sh7785lcr.o | ||
diff --git a/arch/sh/drivers/pci/fixups-sh7785lcr.c b/arch/sh/drivers/pci/fixups-sh7785lcr.c new file mode 100644 index 000000000000..4949e601387a --- /dev/null +++ b/arch/sh/drivers/pci/fixups-sh7785lcr.c | |||
@@ -0,0 +1,46 @@ | |||
1 | /* | ||
2 | * arch/sh/drivers/pci/fixups-sh7785lcr.c | ||
3 | * | ||
4 | * R0P7785LC0011RL PCI fixups | ||
5 | * Copyright (C) 2008 Yoshihiro Shimoda | ||
6 | * | ||
7 | * Based on arch/sh/drivers/pci/fixups-r7780rp.c | ||
8 | * Copyright (C) 2003 Lineo uSolutions, Inc. | ||
9 | * Copyright (C) 2004 - 2006 Paul Mundt | ||
10 | * | ||
11 | * This file is subject to the terms and conditions of the GNU General Public | ||
12 | * License. See the file "COPYING" in the main directory of this archive | ||
13 | * for more details. | ||
14 | */ | ||
15 | #include <linux/pci.h> | ||
16 | #include "pci-sh4.h" | ||
17 | |||
18 | int pci_fixup_pcic(void) | ||
19 | { | ||
20 | pci_write_reg(0x000043ff, SH4_PCIINTM); | ||
21 | pci_write_reg(0x0000380f, SH4_PCIAINTM); | ||
22 | |||
23 | pci_write_reg(0xfbb00047, SH7780_PCICMD); | ||
24 | pci_write_reg(0x00000000, SH7780_PCIIBAR); | ||
25 | |||
26 | pci_write_reg(0x00011912, SH7780_PCISVID); | ||
27 | pci_write_reg(0x08000000, SH7780_PCICSCR0); | ||
28 | pci_write_reg(0x0000001b, SH7780_PCICSAR0); | ||
29 | pci_write_reg(0xfd000000, SH7780_PCICSCR1); | ||
30 | pci_write_reg(0x0000000f, SH7780_PCICSAR1); | ||
31 | |||
32 | pci_write_reg(0xfd000000, SH7780_PCIMBR0); | ||
33 | pci_write_reg(0x00fc0000, SH7780_PCIMBMR0); | ||
34 | |||
35 | #ifdef CONFIG_32BIT | ||
36 | pci_write_reg(0xc0000000, SH7780_PCIMBR2); | ||
37 | pci_write_reg(0x20000000 - SH7780_PCI_IO_SIZE, SH7780_PCIMBMR2); | ||
38 | #endif | ||
39 | |||
40 | /* Set IOBR for windows containing area specified in pci.h */ | ||
41 | pci_write_reg((PCIBIOS_MIN_IO & ~(SH7780_PCI_IO_SIZE - 1)), | ||
42 | SH7780_PCIIOBR); | ||
43 | pci_write_reg(((SH7780_PCI_IO_SIZE - 1) & (7 << 18)), SH7780_PCIIOBMR); | ||
44 | |||
45 | return 0; | ||
46 | } | ||
diff --git a/arch/sh/drivers/pci/ops-dreamcast.c b/arch/sh/drivers/pci/ops-dreamcast.c index e1284fc69361..f54c291db37b 100644 --- a/arch/sh/drivers/pci/ops-dreamcast.c +++ b/arch/sh/drivers/pci/ops-dreamcast.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |
25 | #include <linux/module.h> | ||
25 | 26 | ||
26 | #include <asm/io.h> | 27 | #include <asm/io.h> |
27 | #include <asm/irq.h> | 28 | #include <asm/irq.h> |
@@ -48,6 +49,7 @@ struct pci_channel board_pci_channels[] = { | |||
48 | &gapspci_mem_resource, 0, 1 }, | 49 | &gapspci_mem_resource, 0, 1 }, |
49 | { 0, } | 50 | { 0, } |
50 | }; | 51 | }; |
52 | EXPORT_SYMBOL(board_pci_channels); | ||
51 | 53 | ||
52 | /* | 54 | /* |
53 | * The !gapspci_config_access case really shouldn't happen, ever, unless | 55 | * The !gapspci_config_access case really shouldn't happen, ever, unless |
diff --git a/arch/sh/drivers/pci/ops-sh7785lcr.c b/arch/sh/drivers/pci/ops-sh7785lcr.c new file mode 100644 index 000000000000..b3bd68702059 --- /dev/null +++ b/arch/sh/drivers/pci/ops-sh7785lcr.c | |||
@@ -0,0 +1,66 @@ | |||
1 | /* | ||
2 | * Author: Ian DaSilva (idasilva@mvista.com) | ||
3 | * | ||
4 | * Highly leveraged from pci-bigsur.c, written by Dustin McIntire. | ||
5 | * | ||
6 | * May be copied or modified under the terms of the GNU General Public | ||
7 | * License. See linux/COPYING for more information. | ||
8 | * | ||
9 | * PCI initialization for the Renesas R0P7785LC0011RL board | ||
10 | * Based on arch/sh/drivers/pci/ops-r7780rp.c | ||
11 | * | ||
12 | */ | ||
13 | #include <linux/kernel.h> | ||
14 | #include <linux/types.h> | ||
15 | #include <linux/init.h> | ||
16 | #include <linux/delay.h> | ||
17 | #include <linux/pci.h> | ||
18 | #include "pci-sh4.h" | ||
19 | |||
20 | static char irq_tab[] __initdata = { | ||
21 | 65, 66, 67, 68, | ||
22 | }; | ||
23 | |||
24 | int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) | ||
25 | { | ||
26 | return irq_tab[slot]; | ||
27 | } | ||
28 | |||
29 | static struct resource sh7785_io_resource = { | ||
30 | .name = "SH7785_IO", | ||
31 | .start = SH7780_PCI_IO_BASE, | ||
32 | .end = SH7780_PCI_IO_BASE + SH7780_PCI_IO_SIZE - 1, | ||
33 | .flags = IORESOURCE_IO | ||
34 | }; | ||
35 | |||
36 | static struct resource sh7785_mem_resource = { | ||
37 | .name = "SH7785_mem", | ||
38 | .start = SH7780_PCI_MEMORY_BASE, | ||
39 | .end = SH7780_PCI_MEMORY_BASE + SH7780_PCI_MEM_SIZE - 1, | ||
40 | .flags = IORESOURCE_MEM | ||
41 | }; | ||
42 | |||
43 | struct pci_channel board_pci_channels[] = { | ||
44 | { &sh4_pci_ops, &sh7785_io_resource, &sh7785_mem_resource, 0, 0xff }, | ||
45 | { NULL, NULL, NULL, 0, 0 }, | ||
46 | }; | ||
47 | EXPORT_SYMBOL(board_pci_channels); | ||
48 | |||
49 | static struct sh4_pci_address_map sh7785_pci_map = { | ||
50 | .window0 = { | ||
51 | .base = SH7780_CS2_BASE_ADDR, | ||
52 | .size = 0x04000000, | ||
53 | }, | ||
54 | |||
55 | .window1 = { | ||
56 | .base = SH7780_CS3_BASE_ADDR, | ||
57 | .size = 0x04000000, | ||
58 | }, | ||
59 | |||
60 | .flags = SH4_PCIC_NO_RESET, | ||
61 | }; | ||
62 | |||
63 | int __init pcibios_init_platform(void) | ||
64 | { | ||
65 | return sh7780_pcic_init(&sh7785_pci_map); | ||
66 | } | ||
diff --git a/arch/sh/drivers/pci/pci-auto.c b/arch/sh/drivers/pci/pci-auto.c index ea404704ace8..cf48b12ee58c 100644 --- a/arch/sh/drivers/pci/pci-auto.c +++ b/arch/sh/drivers/pci/pci-auto.c | |||
@@ -78,7 +78,7 @@ static struct pci_dev *fake_pci_dev(struct pci_channel *hose, | |||
78 | } | 78 | } |
79 | 79 | ||
80 | #define EARLY_PCI_OP(rw, size, type) \ | 80 | #define EARLY_PCI_OP(rw, size, type) \ |
81 | int early_##rw##_config_##size(struct pci_channel *hose, \ | 81 | static int early_##rw##_config_##size(struct pci_channel *hose, \ |
82 | int top_bus, int bus, int devfn, int offset, type value) \ | 82 | int top_bus, int bus, int devfn, int offset, type value) \ |
83 | { \ | 83 | { \ |
84 | return pci_##rw##_config_##size( \ | 84 | return pci_##rw##_config_##size( \ |
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c index f57095a2617c..d3839e609aac 100644 --- a/arch/sh/drivers/pci/pci.c +++ b/arch/sh/drivers/pci/pci.c | |||
@@ -135,7 +135,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
135 | * If we set up a device for bus mastering, we need to check and set | 135 | * If we set up a device for bus mastering, we need to check and set |
136 | * the latency timer as it may not be properly set. | 136 | * the latency timer as it may not be properly set. |
137 | */ | 137 | */ |
138 | unsigned int pcibios_max_latency = 255; | 138 | static unsigned int pcibios_max_latency = 255; |
139 | 139 | ||
140 | void pcibios_set_master(struct pci_dev *dev) | 140 | void pcibios_set_master(struct pci_dev *dev) |
141 | { | 141 | { |
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32 index 4bbdce36b92b..0e6905fe9fec 100644 --- a/arch/sh/kernel/Makefile_32 +++ b/arch/sh/kernel/Makefile_32 | |||
@@ -21,7 +21,7 @@ obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | |||
21 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 21 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
22 | obj-$(CONFIG_PM) += pm.o | 22 | obj-$(CONFIG_PM) += pm.o |
23 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 23 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
24 | obj-$(CONFIG_BINFMT_ELF) += dump_task.o | 24 | obj-$(CONFIG_ELF_CORE) += dump_task.o |
25 | obj-$(CONFIG_IO_TRAPPED) += io_trapped.o | 25 | obj-$(CONFIG_IO_TRAPPED) += io_trapped.o |
26 | 26 | ||
27 | EXTRA_CFLAGS += -Werror | 27 | EXTRA_CFLAGS += -Werror |
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c index 01ff4d05aab0..d3d9f3204230 100644 --- a/arch/sh/kernel/cf-enabler.c +++ b/arch/sh/kernel/cf-enabler.c | |||
@@ -157,7 +157,7 @@ static int __init cf_init_se(void) | |||
157 | } | 157 | } |
158 | #endif | 158 | #endif |
159 | 159 | ||
160 | int __init cf_init(void) | 160 | static int __init cf_init(void) |
161 | { | 161 | { |
162 | if (mach_is_se() || mach_is_7722se() || mach_is_7721se()) | 162 | if (mach_is_se() || mach_is_7722se() || mach_is_7721se()) |
163 | return cf_init_se(); | 163 | return cf_init_se(); |
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index b5f1e23ed57c..f5eb56e6bc59 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c | |||
@@ -88,7 +88,7 @@ static void propagate_rate(struct clk *clk) | |||
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | int __clk_enable(struct clk *clk) | 91 | static int __clk_enable(struct clk *clk) |
92 | { | 92 | { |
93 | /* | 93 | /* |
94 | * See if this is the first time we're enabling the clock, some | 94 | * See if this is the first time we're enabling the clock, some |
@@ -111,7 +111,6 @@ int __clk_enable(struct clk *clk) | |||
111 | 111 | ||
112 | return 0; | 112 | return 0; |
113 | } | 113 | } |
114 | EXPORT_SYMBOL_GPL(__clk_enable); | ||
115 | 114 | ||
116 | int clk_enable(struct clk *clk) | 115 | int clk_enable(struct clk *clk) |
117 | { | 116 | { |
@@ -131,7 +130,7 @@ static void clk_kref_release(struct kref *kref) | |||
131 | /* Nothing to do */ | 130 | /* Nothing to do */ |
132 | } | 131 | } |
133 | 132 | ||
134 | void __clk_disable(struct clk *clk) | 133 | static void __clk_disable(struct clk *clk) |
135 | { | 134 | { |
136 | int count = kref_put(&clk->kref, clk_kref_release); | 135 | int count = kref_put(&clk->kref, clk_kref_release); |
137 | 136 | ||
@@ -143,7 +142,6 @@ void __clk_disable(struct clk *clk) | |||
143 | clk->ops->disable(clk); | 142 | clk->ops->disable(clk); |
144 | } | 143 | } |
145 | } | 144 | } |
146 | EXPORT_SYMBOL_GPL(__clk_disable); | ||
147 | 145 | ||
148 | void clk_disable(struct clk *clk) | 146 | void clk_disable(struct clk *clk) |
149 | { | 147 | { |
@@ -310,15 +308,11 @@ static int show_clocks(char *buf, char **start, off_t off, | |||
310 | list_for_each_entry_reverse(clk, &clock_list, node) { | 308 | list_for_each_entry_reverse(clk, &clock_list, node) { |
311 | unsigned long rate = clk_get_rate(clk); | 309 | unsigned long rate = clk_get_rate(clk); |
312 | 310 | ||
313 | /* | 311 | p += sprintf(p, "%-12s\t: %ld.%02ldMHz\t%s\n", clk->name, |
314 | * Don't bother listing dummy clocks with no ancestry | 312 | rate / 1000000, (rate % 1000000) / 10000, |
315 | * that only support enable and disable ops. | 313 | ((clk->flags & CLK_ALWAYS_ENABLED) || |
316 | */ | 314 | (atomic_read(&clk->kref.refcount) != 1)) ? |
317 | if (unlikely(!rate && !clk->parent)) | 315 | "enabled" : "disabled"); |
318 | continue; | ||
319 | |||
320 | p += sprintf(p, "%-12s\t: %ld.%02ldMHz\n", clk->name, | ||
321 | rate / 1000000, (rate % 1000000) / 10000); | ||
322 | } | 316 | } |
323 | 317 | ||
324 | return p - buf; | 318 | return p - buf; |
diff --git a/arch/sh/kernel/cpu/irq/intc.c b/arch/sh/kernel/cpu/irq/intc.c index da5dae787888..8c70e201bde0 100644 --- a/arch/sh/kernel/cpu/irq/intc.c +++ b/arch/sh/kernel/cpu/irq/intc.c | |||
@@ -62,7 +62,7 @@ struct intc_desc_int { | |||
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | static unsigned int intc_prio_level[NR_IRQS]; /* for now */ | 64 | static unsigned int intc_prio_level[NR_IRQS]; /* for now */ |
65 | #ifdef CONFIG_CPU_SH3 | 65 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
66 | static unsigned long ack_handle[NR_IRQS]; | 66 | static unsigned long ack_handle[NR_IRQS]; |
67 | #endif | 67 | #endif |
68 | 68 | ||
@@ -231,7 +231,7 @@ static void intc_disable(unsigned int irq) | |||
231 | } | 231 | } |
232 | } | 232 | } |
233 | 233 | ||
234 | #ifdef CONFIG_CPU_SH3 | 234 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
235 | static void intc_mask_ack(unsigned int irq) | 235 | static void intc_mask_ack(unsigned int irq) |
236 | { | 236 | { |
237 | struct intc_desc_int *d = get_intc_desc(irq); | 237 | struct intc_desc_int *d = get_intc_desc(irq); |
@@ -244,8 +244,23 @@ static void intc_mask_ack(unsigned int irq) | |||
244 | 244 | ||
245 | if (handle) { | 245 | if (handle) { |
246 | addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); | 246 | addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); |
247 | ctrl_inb(addr); | 247 | switch (_INTC_FN(handle)) { |
248 | ctrl_outb(0x3f ^ set_field(0, 1, handle), addr); | 248 | case REG_FN_MODIFY_BASE + 0: /* 8bit */ |
249 | ctrl_inb(addr); | ||
250 | ctrl_outb(0xff ^ set_field(0, 1, handle), addr); | ||
251 | break; | ||
252 | case REG_FN_MODIFY_BASE + 1: /* 16bit */ | ||
253 | ctrl_inw(addr); | ||
254 | ctrl_outw(0xffff ^ set_field(0, 1, handle), addr); | ||
255 | break; | ||
256 | case REG_FN_MODIFY_BASE + 3: /* 32bit */ | ||
257 | ctrl_inl(addr); | ||
258 | ctrl_outl(0xffffffff ^ set_field(0, 1, handle), addr); | ||
259 | break; | ||
260 | default: | ||
261 | BUG(); | ||
262 | break; | ||
263 | } | ||
249 | } | 264 | } |
250 | } | 265 | } |
251 | #endif | 266 | #endif |
@@ -466,7 +481,7 @@ static unsigned int __init intc_prio_data(struct intc_desc *desc, | |||
466 | return 0; | 481 | return 0; |
467 | } | 482 | } |
468 | 483 | ||
469 | #ifdef CONFIG_CPU_SH3 | 484 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
470 | static unsigned int __init intc_ack_data(struct intc_desc *desc, | 485 | static unsigned int __init intc_ack_data(struct intc_desc *desc, |
471 | struct intc_desc_int *d, | 486 | struct intc_desc_int *d, |
472 | intc_enum enum_id) | 487 | intc_enum enum_id) |
@@ -601,7 +616,7 @@ static void __init intc_register_irq(struct intc_desc *desc, | |||
601 | /* irq should be disabled by default */ | 616 | /* irq should be disabled by default */ |
602 | d->chip.mask(irq); | 617 | d->chip.mask(irq); |
603 | 618 | ||
604 | #ifdef CONFIG_CPU_SH3 | 619 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
605 | if (desc->ack_regs) | 620 | if (desc->ack_regs) |
606 | ack_handle[irq] = intc_ack_data(desc, d, enum_id); | 621 | ack_handle[irq] = intc_ack_data(desc, d, enum_id); |
607 | #endif | 622 | #endif |
@@ -635,7 +650,7 @@ void __init register_intc_controller(struct intc_desc *desc) | |||
635 | d->nr_reg += desc->prio_regs ? desc->nr_prio_regs * 2 : 0; | 650 | d->nr_reg += desc->prio_regs ? desc->nr_prio_regs * 2 : 0; |
636 | d->nr_reg += desc->sense_regs ? desc->nr_sense_regs : 0; | 651 | d->nr_reg += desc->sense_regs ? desc->nr_sense_regs : 0; |
637 | 652 | ||
638 | #ifdef CONFIG_CPU_SH3 | 653 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
639 | d->nr_reg += desc->ack_regs ? desc->nr_ack_regs : 0; | 654 | d->nr_reg += desc->ack_regs ? desc->nr_ack_regs : 0; |
640 | #endif | 655 | #endif |
641 | d->reg = alloc_bootmem(d->nr_reg * sizeof(*d->reg)); | 656 | d->reg = alloc_bootmem(d->nr_reg * sizeof(*d->reg)); |
@@ -676,7 +691,7 @@ void __init register_intc_controller(struct intc_desc *desc) | |||
676 | d->chip.mask_ack = intc_disable; | 691 | d->chip.mask_ack = intc_disable; |
677 | d->chip.set_type = intc_set_sense; | 692 | d->chip.set_type = intc_set_sense; |
678 | 693 | ||
679 | #ifdef CONFIG_CPU_SH3 | 694 | #if defined(CONFIG_CPU_SH3) || defined(CONFIG_CPU_SH4A) |
680 | if (desc->ack_regs) { | 695 | if (desc->ack_regs) { |
681 | for (i = 0; i < desc->nr_ack_regs; i++) | 696 | for (i = 0; i < desc->nr_ack_regs; i++) |
682 | k += save_reg(d, k, desc->ack_regs[i].set_reg, 0); | 697 | k += save_reg(d, k, desc->ack_regs[i].set_reg, 0); |
diff --git a/arch/sh/kernel/cpu/sh2/entry.S b/arch/sh/kernel/cpu/sh2/entry.S index 0fc89069d8c7..ee894e5a45e7 100644 --- a/arch/sh/kernel/cpu/sh2/entry.S +++ b/arch/sh/kernel/cpu/sh2/entry.S | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * The SH-2 exception entry | 4 | * The SH-2 exception entry |
5 | * | 5 | * |
6 | * Copyright (C) 2005,2006 Yoshinori Sato | 6 | * Copyright (C) 2005-2008 Yoshinori Sato |
7 | * Copyright (C) 2005 AXE,Inc. | 7 | * Copyright (C) 2005 AXE,Inc. |
8 | * | 8 | * |
9 | * This file is subject to the terms and conditions of the GNU General Public | 9 | * This file is subject to the terms and conditions of the GNU General Public |
@@ -36,43 +36,41 @@ OFF_TRA = (16*4+6*4) | |||
36 | #include <asm/entry-macros.S> | 36 | #include <asm/entry-macros.S> |
37 | 37 | ||
38 | ENTRY(exception_handler) | 38 | ENTRY(exception_handler) |
39 | ! already saved r0/r1 | 39 | ! stack |
40 | ! r0 <- point sp | ||
41 | ! r1 | ||
42 | ! pc | ||
43 | ! sr | ||
44 | ! r0 = temporary | ||
45 | ! r1 = vector (pseudo EXPEVT / INTEVT / TRA) | ||
40 | mov.l r2,@-sp | 46 | mov.l r2,@-sp |
41 | mov.l r3,@-sp | 47 | mov.l r3,@-sp |
42 | mov r0,r1 | ||
43 | cli | 48 | cli |
44 | mov.l $cpu_mode,r2 | 49 | mov.l $cpu_mode,r2 |
45 | mov.l @r2,r0 | 50 | mov.l @r2,r0 |
46 | mov.l @(5*4,r15),r3 ! previous SR | 51 | mov.l @(5*4,r15),r3 ! previous SR |
47 | shll2 r3 ! set "S" flag | 52 | or r0,r3 ! set MD |
48 | rotl r0 ! T <- "S" flag | 53 | tst r0,r0 |
49 | rotl r0 ! "S" flag is LSB | 54 | bf/s 1f ! previous mode check |
50 | rotcr r3 ! T -> r3:b30 | 55 | mov.l r3,@(5*4,r15) ! update SR |
51 | shlr r3 | ||
52 | shlr r0 | ||
53 | bt/s 1f | ||
54 | mov.l r3,@(5*4,r15) ! copy cpu mode to SR | ||
55 | ! switch to kernel mode | 56 | ! switch to kernel mode |
56 | mov #1,r0 | 57 | mov.l __md_bit,r0 |
57 | rotr r0 | ||
58 | rotr r0 | ||
59 | mov.l r0,@r2 ! enter kernel mode | 58 | mov.l r0,@r2 ! enter kernel mode |
60 | mov.l $current_thread_info,r2 | 59 | mov.l $current_thread_info,r2 |
61 | mov.l @r2,r2 | 60 | mov.l @r2,r2 |
62 | mov #0x20,r0 | 61 | mov #(THREAD_SIZE >> 8),r0 |
63 | shll8 r0 | 62 | shll8 r0 |
64 | add r2,r0 | 63 | add r2,r0 |
65 | mov r15,r2 ! r2 = user stack top | 64 | mov r15,r2 ! r2 = user stack top |
66 | mov r0,r15 ! switch kernel stack | 65 | mov r0,r15 ! switch kernel stack |
67 | add #-4,r15 ! dummy | ||
68 | mov.l r1,@-r15 ! TRA | 66 | mov.l r1,@-r15 ! TRA |
69 | sts.l macl, @-r15 | 67 | sts.l macl, @-r15 |
70 | sts.l mach, @-r15 | 68 | sts.l mach, @-r15 |
71 | stc.l gbr, @-r15 | 69 | stc.l gbr, @-r15 |
72 | mov.l @(4*4,r2),r0 | 70 | mov.l @(5*4,r2),r0 |
73 | mov.l @(5*4,r2),r1 | 71 | mov.l r0,@-r15 ! original SR |
74 | mov.l r1,@-r15 ! original SR | ||
75 | sts.l pr,@-r15 | 72 | sts.l pr,@-r15 |
73 | mov.l @(4*4,r2),r0 | ||
76 | mov.l r0,@-r15 ! original PC | 74 | mov.l r0,@-r15 ! original PC |
77 | mov r2,r3 | 75 | mov r2,r3 |
78 | add #(4+2)*4,r3 ! rewind r0 - r3 + exception frame | 76 | add #(4+2)*4,r3 ! rewind r0 - r3 + exception frame |
@@ -88,14 +86,15 @@ ENTRY(exception_handler) | |||
88 | mov.l r6,@-r15 | 86 | mov.l r6,@-r15 |
89 | mov.l r5,@-r15 | 87 | mov.l r5,@-r15 |
90 | mov.l r4,@-r15 | 88 | mov.l r4,@-r15 |
89 | mov r1,r9 ! save TRA | ||
91 | mov r2,r8 ! copy user -> kernel stack | 90 | mov r2,r8 ! copy user -> kernel stack |
92 | mov.l @r8+,r3 | 91 | mov.l @(0,r8),r3 |
93 | mov.l r3,@-r15 | 92 | mov.l r3,@-r15 |
94 | mov.l @r8+,r2 | 93 | mov.l @(4,r8),r2 |
95 | mov.l r2,@-r15 | 94 | mov.l r2,@-r15 |
96 | mov.l @r8+,r1 | 95 | mov.l @(12,r8),r1 |
97 | mov.l r1,@-r15 | 96 | mov.l r1,@-r15 |
98 | mov.l @r8+,r0 | 97 | mov.l @(8,r8),r0 |
99 | bra 2f | 98 | bra 2f |
100 | mov.l r0,@-r15 | 99 | mov.l r0,@-r15 |
101 | 1: | 100 | 1: |
@@ -107,10 +106,11 @@ ENTRY(exception_handler) | |||
107 | mov.l r0,@-r15 | 106 | mov.l r0,@-r15 |
108 | mov.l @r2+,r0 ! old R2 | 107 | mov.l @r2+,r0 ! old R2 |
109 | mov.l r0,@-r15 | 108 | mov.l r0,@-r15 |
110 | mov.l @r2+,r0 ! old R1 | 109 | mov.l @(4,r2),r0 ! old R1 |
111 | mov.l r0,@-r15 | ||
112 | mov.l @r2+,r0 ! old R0 | ||
113 | mov.l r0,@-r15 | 110 | mov.l r0,@-r15 |
111 | mov.l @r2,r0 ! old R0 | ||
112 | mov.l r0,@-r15 | ||
113 | add #8,r2 | ||
114 | mov.l @r2+,r3 ! old PC | 114 | mov.l @r2+,r3 ! old PC |
115 | mov.l @r2+,r0 ! old SR | 115 | mov.l @r2+,r0 ! old SR |
116 | add #-4,r2 ! exception frame stub (sr) | 116 | add #-4,r2 ! exception frame stub (sr) |
@@ -135,14 +135,12 @@ ENTRY(exception_handler) | |||
135 | mov.l r6,@-r2 | 135 | mov.l r6,@-r2 |
136 | mov.l r5,@-r2 | 136 | mov.l r5,@-r2 |
137 | mov.l r4,@-r2 | 137 | mov.l r4,@-r2 |
138 | mov r1,r9 | ||
138 | mov.l @(OFF_R0,r15),r0 | 139 | mov.l @(OFF_R0,r15),r0 |
139 | mov.l @(OFF_R1,r15),r1 | 140 | mov.l @(OFF_R1,r15),r1 |
140 | mov.l @(OFF_R2,r15),r2 | 141 | mov.l @(OFF_R2,r15),r2 |
141 | mov.l @(OFF_R3,r15),r3 | 142 | mov.l @(OFF_R3,r15),r3 |
142 | 2: | 143 | 2: |
143 | mov #OFF_TRA,r8 | ||
144 | add r15,r8 | ||
145 | mov.l @r8,r9 | ||
146 | mov #64,r8 | 144 | mov #64,r8 |
147 | cmp/hs r8,r9 | 145 | cmp/hs r8,r9 |
148 | bt interrupt_entry ! vec >= 64 is interrupt | 146 | bt interrupt_entry ! vec >= 64 is interrupt |
@@ -150,26 +148,14 @@ ENTRY(exception_handler) | |||
150 | cmp/hs r8,r9 | 148 | cmp/hs r8,r9 |
151 | bt trap_entry ! 64 > vec >= 32 is trap | 149 | bt trap_entry ! 64 > vec >= 32 is trap |
152 | 150 | ||
153 | #if defined(CONFIG_SH_FPU) | ||
154 | mov #13,r8 | ||
155 | cmp/eq r8,r9 | ||
156 | bt 10f ! fpu | ||
157 | nop | ||
158 | #endif | ||
159 | |||
160 | mov.l 4f,r8 | 151 | mov.l 4f,r8 |
161 | mov r9,r4 | 152 | mov r9,r4 |
162 | shll2 r9 | 153 | shll2 r9 |
163 | add r9,r8 | 154 | add r9,r8 |
164 | mov.l @r8,r8 | 155 | mov.l @r8,r8 ! exception handler address |
165 | mov #0,r9 | 156 | tst r8,r8 |
166 | cmp/eq r9,r8 | ||
167 | bf 3f | 157 | bf 3f |
168 | mov.l 8f,r8 ! unhandled exception | 158 | mov.l 8f,r8 ! unhandled exception |
169 | #if defined(CONFIG_SH_FPU) | ||
170 | 10: | ||
171 | mov.l 9f, r8 ! unhandled exception | ||
172 | #endif | ||
173 | 3: | 159 | 3: |
174 | mov.l 5f,r10 | 160 | mov.l 5f,r10 |
175 | jmp @r8 | 161 | jmp @r8 |
@@ -188,10 +174,7 @@ interrupt_entry: | |||
188 | 5: .long ret_from_exception | 174 | 5: .long ret_from_exception |
189 | 6: .long ret_from_irq | 175 | 6: .long ret_from_irq |
190 | 7: .long do_IRQ | 176 | 7: .long do_IRQ |
191 | 8: .long do_exception_error | 177 | 8: .long exception_error |
192 | #ifdef CONFIG_SH_FPU | ||
193 | 9: .long fpu_error_trap_handler | ||
194 | #endif | ||
195 | 178 | ||
196 | trap_entry: | 179 | trap_entry: |
197 | mov #0x30,r8 | 180 | mov #0x30,r8 |
@@ -200,24 +183,9 @@ trap_entry: | |||
200 | add #-0x10,r9 ! convert SH2 to SH3/4 ABI | 183 | add #-0x10,r9 ! convert SH2 to SH3/4 ABI |
201 | 1: | 184 | 1: |
202 | shll2 r9 ! TRA | 185 | shll2 r9 ! TRA |
203 | mov #OFF_TRA,r8 | 186 | bra system_call ! jump common systemcall entry |
204 | add r15,r8 | 187 | mov r9,r8 |
205 | mov.l r9,@r8 | ||
206 | mov r9,r8 | ||
207 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
208 | mov.l 2f, r9 | ||
209 | jsr @r9 | ||
210 | nop | ||
211 | #endif | ||
212 | sti | ||
213 | bra system_call | ||
214 | nop | ||
215 | 188 | ||
216 | .align 2 | ||
217 | #ifdef CONFIG_TRACE_IRQFLAGS | ||
218 | 2: .long trace_hardirqs_on | ||
219 | #endif | ||
220 | |||
221 | #if defined(CONFIG_SH_STANDARD_BIOS) | 189 | #if defined(CONFIG_SH_STANDARD_BIOS) |
222 | /* Unwind the stack and jmp to the debug entry */ | 190 | /* Unwind the stack and jmp to the debug entry */ |
223 | ENTRY(sh_bios_handler) | 191 | ENTRY(sh_bios_handler) |
@@ -240,7 +208,7 @@ ENTRY(sh_bios_handler) | |||
240 | mov.l @r2,r2 | 208 | mov.l @r2,r2 |
241 | stc sr,r3 | 209 | stc sr,r3 |
242 | mov.l r2,@r0 | 210 | mov.l r2,@r0 |
243 | mov.l r3,@r0 | 211 | mov.l r3,@(4,r0) |
244 | mov.l r1,@(8,r0) | 212 | mov.l r1,@(8,r0) |
245 | mov.l @r15+, r0 | 213 | mov.l @r15+, r0 |
246 | mov.l @r15+, r1 | 214 | mov.l @r15+, r1 |
@@ -272,22 +240,30 @@ ENTRY(address_error_trap_handler) | |||
272 | mov.l 1f,r0 | 240 | mov.l 1f,r0 |
273 | jmp @r0 | 241 | jmp @r0 |
274 | mov #0,r5 ! writeaccess is unknown | 242 | mov #0,r5 ! writeaccess is unknown |
275 | .align 2 | ||
276 | 243 | ||
244 | .align 2 | ||
277 | 1: .long do_address_error | 245 | 1: .long do_address_error |
278 | 246 | ||
279 | restore_all: | 247 | restore_all: |
280 | cli | 248 | stc sr,r0 |
281 | #ifdef CONFIG_TRACE_IRQFLAGS | 249 | or #0xf0,r0 |
282 | mov.l 1f, r0 | 250 | ldc r0,sr ! all interrupt block (same BL = 1) |
283 | jsr @r0 | 251 | ! restore special register |
284 | nop | 252 | ! overlap exception frame |
285 | #endif | 253 | mov r15,r0 |
254 | add #17*4,r0 | ||
255 | lds.l @r0+,pr | ||
256 | add #4,r0 | ||
257 | ldc.l @r0+,gbr | ||
258 | lds.l @r0+,mach | ||
259 | lds.l @r0+,macl | ||
286 | mov r15,r0 | 260 | mov r15,r0 |
287 | mov.l $cpu_mode,r2 | 261 | mov.l $cpu_mode,r2 |
288 | mov #OFF_SR,r3 | 262 | mov #OFF_SR,r3 |
289 | mov.l @(r0,r3),r1 | 263 | mov.l @(r0,r3),r1 |
290 | mov.l r1,@r2 | 264 | mov.l __md_bit,r3 |
265 | and r1,r3 ! copy MD bit | ||
266 | mov.l r3,@r2 | ||
291 | shll2 r1 ! clear MD bit | 267 | shll2 r1 ! clear MD bit |
292 | shlr2 r1 | 268 | shlr2 r1 |
293 | mov.l @(OFF_SP,r0),r2 | 269 | mov.l @(OFF_SP,r0),r2 |
@@ -297,12 +273,6 @@ restore_all: | |||
297 | mov #OFF_PC,r3 | 273 | mov #OFF_PC,r3 |
298 | mov.l @(r0,r3),r1 | 274 | mov.l @(r0,r3),r1 |
299 | mov.l r1,@r2 ! set pc | 275 | mov.l r1,@r2 ! set pc |
300 | add #4*16+4,r0 | ||
301 | lds.l @r0+,pr | ||
302 | add #4,r0 ! skip sr | ||
303 | ldc.l @r0+,gbr | ||
304 | lds.l @r0+,mach | ||
305 | lds.l @r0+,macl | ||
306 | get_current_thread_info r0, r1 | 276 | get_current_thread_info r0, r1 |
307 | mov.l $current_thread_info,r1 | 277 | mov.l $current_thread_info,r1 |
308 | mov.l r0,@r1 | 278 | mov.l r0,@r1 |
@@ -326,9 +296,8 @@ restore_all: | |||
326 | nop | 296 | nop |
327 | 297 | ||
328 | .align 2 | 298 | .align 2 |
329 | #ifdef CONFIG_TRACE_IRQFLAGS | 299 | __md_bit: |
330 | 1: .long trace_hardirqs_off | 300 | .long 0x40000000 |
331 | #endif | ||
332 | $current_thread_info: | 301 | $current_thread_info: |
333 | .long __current_thread_info | 302 | .long __current_thread_info |
334 | $cpu_mode: | 303 | $cpu_mode: |
diff --git a/arch/sh/kernel/cpu/sh2/ex.S b/arch/sh/kernel/cpu/sh2/ex.S index 6d285af7846c..85b0bf81fc1d 100644 --- a/arch/sh/kernel/cpu/sh2/ex.S +++ b/arch/sh/kernel/cpu/sh2/ex.S | |||
@@ -18,16 +18,17 @@ | |||
18 | exception_entry: | 18 | exception_entry: |
19 | no = 0 | 19 | no = 0 |
20 | .rept 256 | 20 | .rept 256 |
21 | mov.l r0,@-sp | 21 | mov.l r1,@-sp |
22 | mov #no,r0 | ||
23 | bra exception_trampoline | 22 | bra exception_trampoline |
24 | and #0xff,r0 | 23 | mov #no,r1 |
25 | no = no + 1 | 24 | no = no + 1 |
26 | .endr | 25 | .endr |
27 | exception_trampoline: | 26 | exception_trampoline: |
28 | mov.l r1,@-sp | 27 | mov.l r0,@-sp |
29 | mov.l $exception_handler,r1 | 28 | mov.l $exception_handler,r0 |
30 | jmp @r1 | 29 | extu.b r1,r1 |
30 | jmp @r0 | ||
31 | extu.w r1,r1 | ||
31 | 32 | ||
32 | .align 2 | 33 | .align 2 |
33 | $exception_entry: | 34 | $exception_entry: |
@@ -41,6 +42,6 @@ $exception_handler: | |||
41 | ENTRY(vbr_base) | 42 | ENTRY(vbr_base) |
42 | vector = 0 | 43 | vector = 0 |
43 | .rept 256 | 44 | .rept 256 |
44 | .long exception_entry + vector * 8 | 45 | .long exception_entry + vector * 6 |
45 | vector = vector + 1 | 46 | vector = vector + 1 |
46 | .endr | 47 | .endr |
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index cc530f4d84d6..56e5878e5516 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
@@ -96,8 +96,32 @@ static struct platform_device sci_device = { | |||
96 | }, | 96 | }, |
97 | }; | 97 | }; |
98 | 98 | ||
99 | static struct resource eth_resources[] = { | ||
100 | [0] = { | ||
101 | .start = 0xfb000000, | ||
102 | .end = 0xfb0001c8, | ||
103 | .flags = IORESOURCE_MEM, | ||
104 | }, | ||
105 | [1] = { | ||
106 | .start = 85, | ||
107 | .end = 85, | ||
108 | .flags = IORESOURCE_IRQ, | ||
109 | }, | ||
110 | }; | ||
111 | |||
112 | static struct platform_device eth_device = { | ||
113 | .name = "sh-eth", | ||
114 | .id = -1, | ||
115 | .dev = { | ||
116 | .platform_data = (void *)1, | ||
117 | }, | ||
118 | .num_resources = ARRAY_SIZE(eth_resources), | ||
119 | .resource = eth_resources, | ||
120 | }; | ||
121 | |||
99 | static struct platform_device *sh7619_devices[] __initdata = { | 122 | static struct platform_device *sh7619_devices[] __initdata = { |
100 | &sci_device, | 123 | &sci_device, |
124 | ð_device, | ||
101 | }; | 125 | }; |
102 | 126 | ||
103 | static int __init sh7619_devices_setup(void) | 127 | static int __init sh7619_devices_setup(void) |
diff --git a/arch/sh/kernel/cpu/sh2a/Makefile b/arch/sh/kernel/cpu/sh2a/Makefile index 7e2b90cfa7bf..1ab1ecf4c768 100644 --- a/arch/sh/kernel/cpu/sh2a/Makefile +++ b/arch/sh/kernel/cpu/sh2a/Makefile | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | obj-y := common.o probe.o opcode_helper.o | 5 | obj-y := common.o probe.o opcode_helper.o |
6 | 6 | ||
7 | common-y += $(addprefix ../sh2/, ex.o entry.o) | 7 | common-y += ex.o entry.o |
8 | 8 | ||
9 | obj-$(CONFIG_SH_FPU) += fpu.o | 9 | obj-$(CONFIG_SH_FPU) += fpu.o |
10 | 10 | ||
diff --git a/arch/sh/kernel/cpu/sh2a/entry.S b/arch/sh/kernel/cpu/sh2a/entry.S new file mode 100644 index 000000000000..47096dc3d206 --- /dev/null +++ b/arch/sh/kernel/cpu/sh2a/entry.S | |||
@@ -0,0 +1,249 @@ | |||
1 | /* | ||
2 | * arch/sh/kernel/cpu/sh2a/entry.S | ||
3 | * | ||
4 | * The SH-2A exception entry | ||
5 | * | ||
6 | * Copyright (C) 2008 Yoshinori Sato | ||
7 | * Based on arch/sh/kernel/cpu/sh2/entry.S | ||
8 | * | ||
9 | * This file is subject to the terms and conditions of the GNU General Public | ||
10 | * License. See the file "COPYING" in the main directory of this archive | ||
11 | * for more details. | ||
12 | */ | ||
13 | |||
14 | #include <linux/linkage.h> | ||
15 | #include <asm/asm-offsets.h> | ||
16 | #include <asm/thread_info.h> | ||
17 | #include <asm/cpu/mmu_context.h> | ||
18 | #include <asm/unistd.h> | ||
19 | #include <asm/errno.h> | ||
20 | #include <asm/page.h> | ||
21 | |||
22 | /* Offsets to the stack */ | ||
23 | OFF_R0 = 0 /* Return value. New ABI also arg4 */ | ||
24 | OFF_R1 = 4 /* New ABI: arg5 */ | ||
25 | OFF_R2 = 8 /* New ABI: arg6 */ | ||
26 | OFF_R3 = 12 /* New ABI: syscall_nr */ | ||
27 | OFF_R4 = 16 /* New ABI: arg0 */ | ||
28 | OFF_R5 = 20 /* New ABI: arg1 */ | ||
29 | OFF_R6 = 24 /* New ABI: arg2 */ | ||
30 | OFF_R7 = 28 /* New ABI: arg3 */ | ||
31 | OFF_SP = (15*4) | ||
32 | OFF_PC = (16*4) | ||
33 | OFF_SR = (16*4+2*4) | ||
34 | OFF_TRA = (16*4+6*4) | ||
35 | |||
36 | #include <asm/entry-macros.S> | ||
37 | |||
38 | ENTRY(exception_handler) | ||
39 | ! stack | ||
40 | ! r0 <- point sp | ||
41 | ! r1 | ||
42 | ! pc | ||
43 | ! sr | ||
44 | ! r0 = temporary | ||
45 | ! r1 = vector (pseudo EXPEVT / INTEVT / TRA) | ||
46 | mov.l r2,@-sp | ||
47 | cli | ||
48 | mov.l $cpu_mode,r2 | ||
49 | bld.b #6,@(0,r2) !previus SR.MD | ||
50 | bst.b #6,@(4*4,r15) !set cpu mode to SR.MD | ||
51 | bt 1f | ||
52 | ! switch to kernel mode | ||
53 | bset.b #6,@(0,r2) !set SR.MD | ||
54 | mov.l $current_thread_info,r2 | ||
55 | mov.l @r2,r2 | ||
56 | mov #(THREAD_SIZE >> 8),r0 | ||
57 | shll8 r0 | ||
58 | add r2,r0 ! r0 = kernel stack tail | ||
59 | mov r15,r2 ! r2 = user stack top | ||
60 | mov r0,r15 ! switch kernel stack | ||
61 | mov.l r1,@-r15 ! TRA | ||
62 | sts.l macl, @-r15 | ||
63 | sts.l mach, @-r15 | ||
64 | stc.l gbr, @-r15 | ||
65 | mov.l @(4*4,r2),r0 | ||
66 | mov.l r0,@-r15 ! original SR | ||
67 | sts.l pr,@-r15 | ||
68 | mov.l @(3*4,r2),r0 | ||
69 | mov.l r0,@-r15 ! original PC | ||
70 | mov r2,r0 | ||
71 | add #(3+2)*4,r0 ! rewind r0 - r3 + exception frame | ||
72 | lds r0,pr ! pr = original SP | ||
73 | movmu.l r3,@-r15 ! save regs | ||
74 | mov r2,r8 ! r8 = previus stack top | ||
75 | mov r1,r9 ! r9 = interrupt vector | ||
76 | ! restore previous stack | ||
77 | mov.l @r8+,r2 | ||
78 | mov.l @r8+,r0 | ||
79 | mov.l @r8+,r1 | ||
80 | bra 2f | ||
81 | movml.l r2,@-r15 | ||
82 | 1: | ||
83 | ! in kernel exception | ||
84 | mov r15,r2 | ||
85 | add #-((OFF_TRA + 4) - OFF_PC) + 5*4,r15 | ||
86 | movmu.l r3,@-r15 | ||
87 | mov r2,r8 ! r8 = previous stack top | ||
88 | mov r1,r9 ! r9 = interrupt vector | ||
89 | ! restore exception frame & regs | ||
90 | mov.l @r8+,r2 ! old R2 | ||
91 | mov.l @r8+,r0 ! old R0 | ||
92 | mov.l @r8+,r1 ! old R1 | ||
93 | mov.l @r8+,r10 ! old PC | ||
94 | mov.l @r8+,r11 ! old SR | ||
95 | movml.l r2,@-r15 | ||
96 | mov.l r10,@(OFF_PC,r15) | ||
97 | mov.l r11,@(OFF_SR,r15) | ||
98 | mov.l r8,@(OFF_SP,r15) ! save old sp | ||
99 | mov r15,r8 | ||
100 | add #OFF_TRA + 4,r8 | ||
101 | mov.l r9,@-r8 | ||
102 | sts.l macl,@-r8 | ||
103 | sts.l mach,@-r8 | ||
104 | stc.l gbr,@-r8 | ||
105 | add #-4,r8 | ||
106 | sts.l pr,@-r8 | ||
107 | 2: | ||
108 | ! dispatch exception / interrupt | ||
109 | mov #64,r8 | ||
110 | cmp/hs r8,r9 | ||
111 | bt interrupt_entry ! vec >= 64 is interrupt | ||
112 | mov #32,r8 | ||
113 | cmp/hs r8,r9 | ||
114 | bt trap_entry ! 64 > vec >= 32 is trap | ||
115 | |||
116 | mov.l 4f,r8 | ||
117 | mov r9,r4 | ||
118 | shll2 r9 | ||
119 | add r9,r8 | ||
120 | mov.l @r8,r8 ! exception handler address | ||
121 | tst r8,r8 | ||
122 | bf 3f | ||
123 | mov.l 8f,r8 ! unhandled exception | ||
124 | 3: | ||
125 | mov.l 5f,r10 | ||
126 | jmp @r8 | ||
127 | lds r10,pr | ||
128 | |||
129 | interrupt_entry: | ||
130 | mov r9,r4 | ||
131 | mov r15,r5 | ||
132 | mov.l 7f,r8 | ||
133 | mov.l 6f,r9 | ||
134 | jmp @r8 | ||
135 | lds r9,pr | ||
136 | |||
137 | .align 2 | ||
138 | 4: .long exception_handling_table | ||
139 | 5: .long ret_from_exception | ||
140 | 6: .long ret_from_irq | ||
141 | 7: .long do_IRQ | ||
142 | 8: .long exception_error | ||
143 | |||
144 | trap_entry: | ||
145 | mov #0x30,r8 | ||
146 | cmp/ge r8,r9 ! vector 0x20-0x2f is systemcall | ||
147 | bt 1f | ||
148 | add #-0x10,r9 ! convert SH2 to SH3/4 ABI | ||
149 | 1: | ||
150 | shll2 r9 ! TRA | ||
151 | bra system_call ! jump common systemcall entry | ||
152 | mov r9,r8 | ||
153 | |||
154 | #if defined(CONFIG_SH_STANDARD_BIOS) | ||
155 | /* Unwind the stack and jmp to the debug entry */ | ||
156 | ENTRY(sh_bios_handler) | ||
157 | mov r15,r0 | ||
158 | add #(22-4)*4-4,r0 | ||
159 | ldc.l @r0+,gbr | ||
160 | lds.l @r0+,mach | ||
161 | lds.l @r0+,macl | ||
162 | mov r15,r0 | ||
163 | mov.l @(OFF_SP,r0),r1 | ||
164 | mov.l @(OFF_SR,r2),r3 | ||
165 | mov.l r3,@-r1 | ||
166 | mov.l @(OFF_SP,r2),r3 | ||
167 | mov.l r3,@-r1 | ||
168 | mov r15,r0 | ||
169 | add #(22-4)*4-8,r0 | ||
170 | mov.l 1f,r2 | ||
171 | mov.l @r2,r2 | ||
172 | stc sr,r3 | ||
173 | mov.l r2,@r0 | ||
174 | mov.l r3,@(4,r0) | ||
175 | mov.l r1,@(8,r0) | ||
176 | movml.l @r15+,r14 | ||
177 | add #8,r15 | ||
178 | lds.l @r15+, pr | ||
179 | rte | ||
180 | mov.l @r15+,r15 | ||
181 | .align 2 | ||
182 | 1: .long gdb_vbr_vector | ||
183 | #endif /* CONFIG_SH_STANDARD_BIOS */ | ||
184 | |||
185 | ENTRY(address_error_trap_handler) | ||
186 | mov r15,r4 ! regs | ||
187 | mov.l @(OFF_PC,r15),r6 ! pc | ||
188 | mov.l 1f,r0 | ||
189 | jmp @r0 | ||
190 | mov #0,r5 ! writeaccess is unknown | ||
191 | |||
192 | .align 2 | ||
193 | 1: .long do_address_error | ||
194 | |||
195 | restore_all: | ||
196 | stc sr,r0 | ||
197 | or #0xf0,r0 | ||
198 | ldc r0,sr ! all interrupt block (same BL = 1) | ||
199 | ! restore special register | ||
200 | ! overlap exception frame | ||
201 | mov r15,r0 | ||
202 | add #17*4,r0 | ||
203 | lds.l @r0+,pr | ||
204 | add #4,r0 | ||
205 | ldc.l @r0+,gbr | ||
206 | lds.l @r0+,mach | ||
207 | lds.l @r0+,macl | ||
208 | mov r15,r0 | ||
209 | mov.l $cpu_mode,r2 | ||
210 | bld.b #6,@(OFF_SR,r15) | ||
211 | bst.b #6,@(0,r2) ! save CPU mode | ||
212 | mov.l @(OFF_SR,r0),r1 | ||
213 | shll2 r1 | ||
214 | shlr2 r1 ! clear MD bit | ||
215 | mov.l @(OFF_SP,r0),r2 | ||
216 | add #-8,r2 | ||
217 | mov.l r2,@(OFF_SP,r0) ! point exception frame top | ||
218 | mov.l r1,@(4,r2) ! set sr | ||
219 | mov.l @(OFF_PC,r0),r1 | ||
220 | mov.l r1,@r2 ! set pc | ||
221 | get_current_thread_info r0, r1 | ||
222 | mov.l $current_thread_info,r1 | ||
223 | mov.l r0,@r1 | ||
224 | movml.l @r15+,r14 | ||
225 | mov.l @r15,r15 | ||
226 | rte | ||
227 | nop | ||
228 | |||
229 | .align 2 | ||
230 | $current_thread_info: | ||
231 | .long __current_thread_info | ||
232 | $cpu_mode: | ||
233 | .long __cpu_mode | ||
234 | |||
235 | ! common exception handler | ||
236 | #include "../../entry-common.S" | ||
237 | |||
238 | .data | ||
239 | ! cpu operation mode | ||
240 | ! bit30 = MD (compatible SH3/4) | ||
241 | __cpu_mode: | ||
242 | .long 0x40000000 | ||
243 | |||
244 | .section .bss | ||
245 | __current_thread_info: | ||
246 | .long 0 | ||
247 | |||
248 | ENTRY(exception_handling_table) | ||
249 | .space 4*32 | ||
diff --git a/arch/sh/kernel/cpu/sh2a/ex.S b/arch/sh/kernel/cpu/sh2a/ex.S new file mode 100644 index 000000000000..3ead9e63965a --- /dev/null +++ b/arch/sh/kernel/cpu/sh2a/ex.S | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | * arch/sh/kernel/cpu/sh2a/ex.S | ||
3 | * | ||
4 | * The SH-2A exception vector table | ||
5 | * | ||
6 | * Copyright (C) 2008 Yoshinori Sato | ||
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/linkage.h> | ||
14 | |||
15 | ! | ||
16 | ! convert Exception Vector to Exception Number | ||
17 | ! | ||
18 | |||
19 | ! exception no 0 to 255 | ||
20 | exception_entry0: | ||
21 | no = 0 | ||
22 | .rept 256 | ||
23 | mov.l r1,@-sp | ||
24 | bra exception_trampoline0 | ||
25 | mov #no,r1 | ||
26 | no = no + 1 | ||
27 | .endr | ||
28 | exception_trampoline0: | ||
29 | mov.l r0,@-sp | ||
30 | mov.l 1f,r0 | ||
31 | extu.b r1,r1 | ||
32 | jmp @r0 | ||
33 | extu.w r1,r1 | ||
34 | |||
35 | .align 2 | ||
36 | 1: .long exception_handler | ||
37 | |||
38 | ! exception no 256 to 511 | ||
39 | exception_entry1: | ||
40 | no = 0 | ||
41 | .rept 256 | ||
42 | mov.l r1,@-sp | ||
43 | bra exception_trampoline1 | ||
44 | mov #no,r1 | ||
45 | no = no + 1 | ||
46 | .endr | ||
47 | exception_trampoline1: | ||
48 | mov.l r0,@-sp | ||
49 | extu.b r1,r1 | ||
50 | movi20 #0x100,r0 | ||
51 | add r0,r1 | ||
52 | mov.l 1f,r0 | ||
53 | jmp @r0 | ||
54 | extu.w r1,r1 | ||
55 | |||
56 | .align 2 | ||
57 | 1: .long exception_handler | ||
58 | |||
59 | ! | ||
60 | ! Exception Vector Base | ||
61 | ! | ||
62 | .align 2 | ||
63 | ENTRY(vbr_base) | ||
64 | vector = 0 | ||
65 | .rept 256 | ||
66 | .long exception_entry0 + vector * 6 | ||
67 | vector = vector + 1 | ||
68 | .endr | ||
69 | .rept 256 | ||
70 | .long exception_entry1 + vector * 6 | ||
71 | vector = vector + 1 | ||
72 | .endr | ||
diff --git a/arch/sh/kernel/cpu/sh3/ex.S b/arch/sh/kernel/cpu/sh3/ex.S index 11b6d9c6edae..dac429726899 100644 --- a/arch/sh/kernel/cpu/sh3/ex.S +++ b/arch/sh/kernel/cpu/sh3/ex.S | |||
@@ -4,7 +4,7 @@ | |||
4 | * The SH-3 and SH-4 exception vector table. | 4 | * The SH-3 and SH-4 exception vector table. |
5 | 5 | ||
6 | * Copyright (C) 1999, 2000, 2002 Niibe Yutaka | 6 | * Copyright (C) 1999, 2000, 2002 Niibe Yutaka |
7 | * Copyright (C) 2003 - 2006 Paul Mundt | 7 | * Copyright (C) 2003 - 2008 Paul Mundt |
8 | * | 8 | * |
9 | * This file is subject to the terms and conditions of the GNU General Public | 9 | * This file is subject to the terms and conditions of the GNU General Public |
10 | * License. See the file "COPYING" in the main directory of this archive | 10 | * License. See the file "COPYING" in the main directory of this archive |
@@ -12,13 +12,30 @@ | |||
12 | */ | 12 | */ |
13 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
14 | 14 | ||
15 | #if !defined(CONFIG_MMU) | ||
16 | #define tlb_miss_load exception_error | ||
17 | #define tlb_miss_store exception_error | ||
18 | #define initial_page_write exception_error | ||
19 | #define tlb_protection_violation_load exception_error | ||
20 | #define tlb_protection_violation_store exception_error | ||
21 | #define address_error_load exception_error | ||
22 | #define address_error_store exception_error | ||
23 | #endif | ||
24 | |||
25 | #if !defined(CONFIG_SH_FPU) | ||
26 | #define fpu_error_trap_handler exception_error | ||
27 | #endif | ||
28 | |||
29 | #if !defined(CONFIG_KGDB_NMI) | ||
30 | #define kgdb_handle_exception exception_error | ||
31 | #endif | ||
32 | |||
15 | .align 2 | 33 | .align 2 |
16 | .data | 34 | .data |
17 | 35 | ||
18 | ENTRY(exception_handling_table) | 36 | ENTRY(exception_handling_table) |
19 | .long exception_error /* 000 */ | 37 | .long exception_error /* 000 */ |
20 | .long exception_error | 38 | .long exception_error |
21 | #if defined(CONFIG_MMU) | ||
22 | .long tlb_miss_load /* 040 */ | 39 | .long tlb_miss_load /* 040 */ |
23 | .long tlb_miss_store | 40 | .long tlb_miss_store |
24 | .long initial_page_write | 41 | .long initial_page_write |
@@ -26,30 +43,13 @@ ENTRY(exception_handling_table) | |||
26 | .long tlb_protection_violation_store | 43 | .long tlb_protection_violation_store |
27 | .long address_error_load | 44 | .long address_error_load |
28 | .long address_error_store /* 100 */ | 45 | .long address_error_store /* 100 */ |
29 | #else | ||
30 | .long exception_error ! tlb miss load /* 040 */ | ||
31 | .long exception_error ! tlb miss store | ||
32 | .long exception_error ! initial page write | ||
33 | .long exception_error ! tlb prot violation load | ||
34 | .long exception_error ! tlb prot violation store | ||
35 | .long exception_error ! address error load | ||
36 | .long exception_error ! address error store /* 100 */ | ||
37 | #endif | ||
38 | #if defined(CONFIG_SH_FPU) | ||
39 | .long fpu_error_trap_handler /* 120 */ | 46 | .long fpu_error_trap_handler /* 120 */ |
40 | #else | ||
41 | .long exception_error /* 120 */ | ||
42 | #endif | ||
43 | .long exception_error /* 140 */ | 47 | .long exception_error /* 140 */ |
44 | .long system_call ! Unconditional Trap /* 160 */ | 48 | .long system_call ! Unconditional Trap /* 160 */ |
45 | .long exception_error ! reserved_instruction (filled by trap_init) /* 180 */ | 49 | .long exception_error ! reserved_instruction (filled by trap_init) /* 180 */ |
46 | .long exception_error ! illegal_slot_instruction (filled by trap_init) /*1A0*/ | 50 | .long exception_error ! illegal_slot_instruction (filled by trap_init) /*1A0*/ |
47 | ENTRY(nmi_slot) | 51 | ENTRY(nmi_slot) |
48 | #if defined (CONFIG_KGDB_NMI) | ||
49 | .long kgdb_handle_exception /* 1C0 */ ! Allow trap to debugger | 52 | .long kgdb_handle_exception /* 1C0 */ ! Allow trap to debugger |
50 | #else | ||
51 | .long exception_none /* 1C0 */ ! Not implemented yet | ||
52 | #endif | ||
53 | ENTRY(user_break_point_trap) | 53 | ENTRY(user_break_point_trap) |
54 | .long break_point_trap /* 1E0 */ | 54 | .long break_point_trap /* 1E0 */ |
55 | 55 | ||
diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index be4926969181..2e42572b1b11 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c | |||
@@ -50,14 +50,18 @@ int __init detect_cpu_and_cache_system(void) | |||
50 | boot_cpu_data.dcache.ways = 1; | 50 | boot_cpu_data.dcache.ways = 1; |
51 | boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; | 51 | boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; |
52 | 52 | ||
53 | /* We don't know the chip cut */ | ||
54 | boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1; | ||
55 | |||
53 | /* | 56 | /* |
54 | * Setup some generic flags we can probe on SH-4A parts | 57 | * Setup some generic flags we can probe on SH-4A parts |
55 | */ | 58 | */ |
56 | if (((pvr >> 24) & 0xff) == 0x10) { | 59 | if (((pvr >> 16) & 0xff) == 0x10) { |
57 | if ((cvr & 0x10000000) == 0) | 60 | if ((cvr & 0x10000000) == 0) |
58 | boot_cpu_data.flags |= CPU_HAS_DSP; | 61 | boot_cpu_data.flags |= CPU_HAS_DSP; |
59 | 62 | ||
60 | boot_cpu_data.flags |= CPU_HAS_LLSC; | 63 | boot_cpu_data.flags |= CPU_HAS_LLSC; |
64 | boot_cpu_data.cut_major = pvr & 0x7f; | ||
61 | } | 65 | } |
62 | 66 | ||
63 | /* FPU detection works for everyone */ | 67 | /* FPU detection works for everyone */ |
diff --git a/arch/sh/kernel/cpu/sh4a/Makefile b/arch/sh/kernel/cpu/sh4a/Makefile index a880e7968750..9381ad8da263 100644 --- a/arch/sh/kernel/cpu/sh4a/Makefile +++ b/arch/sh/kernel/cpu/sh4a/Makefile | |||
@@ -21,7 +21,7 @@ clock-$(CONFIG_CPU_SUBTYPE_SH7763) := clock-sh7763.o | |||
21 | clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o | 21 | clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o |
22 | clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o | 22 | clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o |
23 | clock-$(CONFIG_CPU_SUBTYPE_SH7785) := clock-sh7785.o | 23 | clock-$(CONFIG_CPU_SUBTYPE_SH7785) := clock-sh7785.o |
24 | clock-$(CONFIG_CPU_SUBTYPE_SH7343) := clock-sh7343.o | 24 | clock-$(CONFIG_CPU_SUBTYPE_SH7343) := clock-sh7722.o |
25 | clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o | 25 | clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o |
26 | clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7722.o | 26 | clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7722.o |
27 | clock-$(CONFIG_CPU_SUBTYPE_SH7366) := clock-sh7722.o | 27 | clock-$(CONFIG_CPU_SUBTYPE_SH7366) := clock-sh7722.o |
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7343.c b/arch/sh/kernel/cpu/sh4a/clock-sh7343.c deleted file mode 100644 index 7adc4f16e95a..000000000000 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7343.c +++ /dev/null | |||
@@ -1,99 +0,0 @@ | |||
1 | /* | ||
2 | * arch/sh/kernel/cpu/sh4a/clock-sh7343.c | ||
3 | * | ||
4 | * SH7343/SH7722 support for the clock framework | ||
5 | * | ||
6 | * Copyright (C) 2006 Paul Mundt | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/kernel.h> | ||
14 | #include <linux/io.h> | ||
15 | #include <asm/clock.h> | ||
16 | #include <asm/freq.h> | ||
17 | |||
18 | /* | ||
19 | * SH7343/SH7722 uses a common set of multipliers and divisors, so this | ||
20 | * is quite simple.. | ||
21 | */ | ||
22 | static int multipliers[] = { 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; | ||
23 | static int divisors[] = { 1, 3, 2, 5, 3, 4, 5, 6, 8, 10, 12, 16, 20 }; | ||
24 | |||
25 | #define pll_calc() (((ctrl_inl(FRQCR) >> 24) & 0x1f) + 1) | ||
26 | |||
27 | static void master_clk_init(struct clk *clk) | ||
28 | { | ||
29 | clk->parent = clk_get(NULL, "cpu_clk"); | ||
30 | } | ||
31 | |||
32 | static void master_clk_recalc(struct clk *clk) | ||
33 | { | ||
34 | int idx = (ctrl_inl(FRQCR) & 0x000f); | ||
35 | clk->rate *= clk->parent->rate * multipliers[idx] / divisors[idx]; | ||
36 | } | ||
37 | |||
38 | static struct clk_ops sh7343_master_clk_ops = { | ||
39 | .init = master_clk_init, | ||
40 | .recalc = master_clk_recalc, | ||
41 | }; | ||
42 | |||
43 | static void module_clk_init(struct clk *clk) | ||
44 | { | ||
45 | clk->parent = NULL; | ||
46 | clk->rate = CONFIG_SH_PCLK_FREQ; | ||
47 | } | ||
48 | |||
49 | static struct clk_ops sh7343_module_clk_ops = { | ||
50 | .init = module_clk_init, | ||
51 | }; | ||
52 | |||
53 | static void bus_clk_init(struct clk *clk) | ||
54 | { | ||
55 | clk->parent = clk_get(NULL, "cpu_clk"); | ||
56 | } | ||
57 | |||
58 | static void bus_clk_recalc(struct clk *clk) | ||
59 | { | ||
60 | int idx = (ctrl_inl(FRQCR) >> 8) & 0x000f; | ||
61 | clk->rate = clk->parent->rate * multipliers[idx] / divisors[idx]; | ||
62 | } | ||
63 | |||
64 | static struct clk_ops sh7343_bus_clk_ops = { | ||
65 | .init = bus_clk_init, | ||
66 | .recalc = bus_clk_recalc, | ||
67 | }; | ||
68 | |||
69 | static void cpu_clk_init(struct clk *clk) | ||
70 | { | ||
71 | clk->parent = clk_get(NULL, "module_clk"); | ||
72 | clk->flags |= CLK_RATE_PROPAGATES; | ||
73 | clk_set_rate(clk, clk_get_rate(clk)); | ||
74 | } | ||
75 | |||
76 | static void cpu_clk_recalc(struct clk *clk) | ||
77 | { | ||
78 | int idx = (ctrl_inl(FRQCR) >> 20) & 0x000f; | ||
79 | clk->rate = clk->parent->rate * pll_calc() * | ||
80 | multipliers[idx] / divisors[idx]; | ||
81 | } | ||
82 | |||
83 | static struct clk_ops sh7343_cpu_clk_ops = { | ||
84 | .init = cpu_clk_init, | ||
85 | .recalc = cpu_clk_recalc, | ||
86 | }; | ||
87 | |||
88 | static struct clk_ops *sh7343_clk_ops[] = { | ||
89 | &sh7343_master_clk_ops, | ||
90 | &sh7343_module_clk_ops, | ||
91 | &sh7343_bus_clk_ops, | ||
92 | &sh7343_cpu_clk_ops, | ||
93 | }; | ||
94 | |||
95 | void __init arch_init_clk_ops(struct clk_ops **ops, int idx) | ||
96 | { | ||
97 | if (idx < ARRAY_SIZE(sh7343_clk_ops)) | ||
98 | *ops = sh7343_clk_ops[idx]; | ||
99 | } | ||
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c index 299138ebe160..db913855c2fd 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 | * arch/sh/kernel/cpu/sh4a/clock-sh7722.c |
3 | * | 3 | * |
4 | * SH7722 & SH7366 support for the clock framework | 4 | * SH7343, SH7722, SH7723 & SH7366 support for the clock framework |
5 | * | 5 | * |
6 | * Copyright (c) 2006-2007 Nomad Global Solutions Inc | 6 | * Copyright (c) 2006-2007 Nomad Global Solutions Inc |
7 | * Based on code for sh7343 by Paul Mundt | 7 | * Based on code for sh7343 by Paul Mundt |
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/stringify.h> | ||
17 | #include <asm/clock.h> | 18 | #include <asm/clock.h> |
18 | #include <asm/freq.h> | 19 | #include <asm/freq.h> |
19 | 20 | ||
@@ -411,40 +412,40 @@ static struct clk_ops sh7722_frqcr_clk_ops = { | |||
411 | * clock ops methods for SIU A/B and IrDA clock | 412 | * clock ops methods for SIU A/B and IrDA clock |
412 | * | 413 | * |
413 | */ | 414 | */ |
414 | static int sh7722_siu_which(struct clk *clk) | 415 | |
416 | #ifndef CONFIG_CPU_SUBTYPE_SH7343 | ||
417 | |||
418 | static int sh7722_siu_set_rate(struct clk *clk, unsigned long rate, int algo_id) | ||
415 | { | 419 | { |
416 | if (!strcmp(clk->name, "siu_a_clk")) | 420 | unsigned long r; |
417 | return 0; | 421 | int div; |
418 | if (!strcmp(clk->name, "siu_b_clk")) | 422 | |
419 | return 1; | 423 | r = ctrl_inl(clk->arch_flags); |
420 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | 424 | div = sh7722_find_divisors(clk->parent->rate, rate); |
421 | if (!strcmp(clk->name, "irda_clk")) | 425 | if (div < 0) |
422 | return 2; | 426 | return div; |
423 | #endif | 427 | r = (r & ~0xF) | div; |
424 | return -EINVAL; | 428 | ctrl_outl(r, clk->arch_flags); |
429 | return 0; | ||
425 | } | 430 | } |
426 | 431 | ||
427 | static unsigned long sh7722_siu_regs[] = { | 432 | static void sh7722_siu_recalc(struct clk *clk) |
428 | [0] = SCLKACR, | 433 | { |
429 | [1] = SCLKBCR, | 434 | unsigned long r; |
430 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | 435 | |
431 | [2] = IrDACLKCR, | 436 | r = ctrl_inl(clk->arch_flags); |
432 | #endif | 437 | clk->rate = clk->parent->rate * 2 / divisors2[r & 0xF]; |
433 | }; | 438 | } |
434 | 439 | ||
435 | static int sh7722_siu_start_stop(struct clk *clk, int enable) | 440 | static int sh7722_siu_start_stop(struct clk *clk, int enable) |
436 | { | 441 | { |
437 | int siu = sh7722_siu_which(clk); | ||
438 | unsigned long r; | 442 | unsigned long r; |
439 | 443 | ||
440 | if (siu < 0) | 444 | r = ctrl_inl(clk->arch_flags); |
441 | return siu; | ||
442 | BUG_ON(siu > 2); | ||
443 | r = ctrl_inl(sh7722_siu_regs[siu]); | ||
444 | if (enable) | 445 | if (enable) |
445 | ctrl_outl(r & ~(1 << 8), sh7722_siu_regs[siu]); | 446 | ctrl_outl(r & ~(1 << 8), clk->arch_flags); |
446 | else | 447 | else |
447 | ctrl_outl(r | (1 << 8), sh7722_siu_regs[siu]); | 448 | ctrl_outl(r | (1 << 8), clk->arch_flags); |
448 | return 0; | 449 | return 0; |
449 | } | 450 | } |
450 | 451 | ||
@@ -458,6 +459,15 @@ static void sh7722_siu_disable(struct clk *clk) | |||
458 | sh7722_siu_start_stop(clk, 0); | 459 | sh7722_siu_start_stop(clk, 0); |
459 | } | 460 | } |
460 | 461 | ||
462 | static struct clk_ops sh7722_siu_clk_ops = { | ||
463 | .recalc = sh7722_siu_recalc, | ||
464 | .set_rate = sh7722_siu_set_rate, | ||
465 | .enable = sh7722_siu_enable, | ||
466 | .disable = sh7722_siu_disable, | ||
467 | }; | ||
468 | |||
469 | #endif /* CONFIG_CPU_SUBTYPE_SH7343 */ | ||
470 | |||
461 | static void sh7722_video_enable(struct clk *clk) | 471 | static void sh7722_video_enable(struct clk *clk) |
462 | { | 472 | { |
463 | unsigned long r; | 473 | unsigned long r; |
@@ -494,43 +504,6 @@ static void sh7722_video_recalc(struct clk *clk) | |||
494 | clk->rate = clk->parent->rate / ((r & 0x3F) + 1); | 504 | clk->rate = clk->parent->rate / ((r & 0x3F) + 1); |
495 | } | 505 | } |
496 | 506 | ||
497 | static int sh7722_siu_set_rate(struct clk *clk, unsigned long rate, int algo_id) | ||
498 | { | ||
499 | int siu = sh7722_siu_which(clk); | ||
500 | unsigned long r; | ||
501 | int div; | ||
502 | |||
503 | if (siu < 0) | ||
504 | return siu; | ||
505 | BUG_ON(siu > 2); | ||
506 | r = ctrl_inl(sh7722_siu_regs[siu]); | ||
507 | div = sh7722_find_divisors(clk->parent->rate, rate); | ||
508 | if (div < 0) | ||
509 | return div; | ||
510 | r = (r & ~0xF) | div; | ||
511 | ctrl_outl(r, sh7722_siu_regs[siu]); | ||
512 | return 0; | ||
513 | } | ||
514 | |||
515 | static void sh7722_siu_recalc(struct clk *clk) | ||
516 | { | ||
517 | int siu = sh7722_siu_which(clk); | ||
518 | unsigned long r; | ||
519 | |||
520 | if (siu < 0) | ||
521 | return /* siu */ ; | ||
522 | BUG_ON(siu > 2); | ||
523 | r = ctrl_inl(sh7722_siu_regs[siu]); | ||
524 | clk->rate = clk->parent->rate * 2 / divisors2[r & 0xF]; | ||
525 | } | ||
526 | |||
527 | static struct clk_ops sh7722_siu_clk_ops = { | ||
528 | .recalc = sh7722_siu_recalc, | ||
529 | .set_rate = sh7722_siu_set_rate, | ||
530 | .enable = sh7722_siu_enable, | ||
531 | .disable = sh7722_siu_disable, | ||
532 | }; | ||
533 | |||
534 | static struct clk_ops sh7722_video_clk_ops = { | 507 | static struct clk_ops sh7722_video_clk_ops = { |
535 | .recalc = sh7722_video_recalc, | 508 | .recalc = sh7722_video_recalc, |
536 | .set_rate = sh7722_video_set_rate, | 509 | .set_rate = sh7722_video_set_rate, |
@@ -560,6 +533,9 @@ static struct clk sh7722_sdram_clock = { | |||
560 | .ops = &sh7722_frqcr_clk_ops, | 533 | .ops = &sh7722_frqcr_clk_ops, |
561 | }; | 534 | }; |
562 | 535 | ||
536 | |||
537 | #ifndef CONFIG_CPU_SUBTYPE_SH7343 | ||
538 | |||
563 | /* | 539 | /* |
564 | * these three clocks - SIU A, SIU B, IrDA - share the same clk_ops | 540 | * these three clocks - SIU A, SIU B, IrDA - share the same clk_ops |
565 | * methods of clk_ops determine which register they should access by | 541 | * methods of clk_ops determine which register they should access by |
@@ -567,36 +543,151 @@ static struct clk sh7722_sdram_clock = { | |||
567 | */ | 543 | */ |
568 | static struct clk sh7722_siu_a_clock = { | 544 | static struct clk sh7722_siu_a_clock = { |
569 | .name = "siu_a_clk", | 545 | .name = "siu_a_clk", |
546 | .arch_flags = SCLKACR, | ||
570 | .ops = &sh7722_siu_clk_ops, | 547 | .ops = &sh7722_siu_clk_ops, |
571 | }; | 548 | }; |
572 | 549 | ||
573 | static struct clk sh7722_siu_b_clock = { | 550 | static struct clk sh7722_siu_b_clock = { |
574 | .name = "siu_b_clk", | 551 | .name = "siu_b_clk", |
552 | .arch_flags = SCLKBCR, | ||
575 | .ops = &sh7722_siu_clk_ops, | 553 | .ops = &sh7722_siu_clk_ops, |
576 | }; | 554 | }; |
577 | 555 | ||
578 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | 556 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) |
579 | static struct clk sh7722_irda_clock = { | 557 | static struct clk sh7722_irda_clock = { |
580 | .name = "irda_clk", | 558 | .name = "irda_clk", |
559 | .arch_flags = IrDACLKCR, | ||
581 | .ops = &sh7722_siu_clk_ops, | 560 | .ops = &sh7722_siu_clk_ops, |
582 | }; | 561 | }; |
583 | #endif | 562 | #endif |
563 | #endif /* CONFIG_CPU_SUBTYPE_SH7343 */ | ||
584 | 564 | ||
585 | static struct clk sh7722_video_clock = { | 565 | static struct clk sh7722_video_clock = { |
586 | .name = "video_clk", | 566 | .name = "video_clk", |
587 | .ops = &sh7722_video_clk_ops, | 567 | .ops = &sh7722_video_clk_ops, |
588 | }; | 568 | }; |
589 | 569 | ||
570 | static int sh7722_mstpcr_start_stop(struct clk *clk, unsigned long reg, | ||
571 | int enable) | ||
572 | { | ||
573 | unsigned long bit = clk->arch_flags; | ||
574 | unsigned long r; | ||
575 | |||
576 | r = ctrl_inl(reg); | ||
577 | |||
578 | if (enable) | ||
579 | r &= ~(1 << bit); | ||
580 | else | ||
581 | r |= (1 << bit); | ||
582 | |||
583 | ctrl_outl(r, reg); | ||
584 | return 0; | ||
585 | } | ||
586 | |||
587 | static void sh7722_mstpcr0_enable(struct clk *clk) | ||
588 | { | ||
589 | sh7722_mstpcr_start_stop(clk, MSTPCR0, 1); | ||
590 | } | ||
591 | |||
592 | static void sh7722_mstpcr0_disable(struct clk *clk) | ||
593 | { | ||
594 | sh7722_mstpcr_start_stop(clk, MSTPCR0, 0); | ||
595 | } | ||
596 | |||
597 | static void sh7722_mstpcr1_enable(struct clk *clk) | ||
598 | { | ||
599 | sh7722_mstpcr_start_stop(clk, MSTPCR1, 1); | ||
600 | } | ||
601 | |||
602 | static void sh7722_mstpcr1_disable(struct clk *clk) | ||
603 | { | ||
604 | sh7722_mstpcr_start_stop(clk, MSTPCR1, 0); | ||
605 | } | ||
606 | |||
607 | static void sh7722_mstpcr2_enable(struct clk *clk) | ||
608 | { | ||
609 | sh7722_mstpcr_start_stop(clk, MSTPCR2, 1); | ||
610 | } | ||
611 | |||
612 | static void sh7722_mstpcr2_disable(struct clk *clk) | ||
613 | { | ||
614 | sh7722_mstpcr_start_stop(clk, MSTPCR2, 0); | ||
615 | } | ||
616 | |||
617 | static struct clk_ops sh7722_mstpcr0_clk_ops = { | ||
618 | .enable = sh7722_mstpcr0_enable, | ||
619 | .disable = sh7722_mstpcr0_disable, | ||
620 | }; | ||
621 | |||
622 | static struct clk_ops sh7722_mstpcr1_clk_ops = { | ||
623 | .enable = sh7722_mstpcr1_enable, | ||
624 | .disable = sh7722_mstpcr1_disable, | ||
625 | }; | ||
626 | |||
627 | static struct clk_ops sh7722_mstpcr2_clk_ops = { | ||
628 | .enable = sh7722_mstpcr2_enable, | ||
629 | .disable = sh7722_mstpcr2_disable, | ||
630 | }; | ||
631 | |||
632 | #define DECLARE_MSTPCRN(regnr, bitnr, bitstr) \ | ||
633 | { \ | ||
634 | .name = "mstp" __stringify(regnr) bitstr, \ | ||
635 | .arch_flags = bitnr, \ | ||
636 | .ops = &sh7722_mstpcr ## regnr ## _clk_ops, \ | ||
637 | } | ||
638 | |||
639 | #define DECLARE_MSTPCR(regnr) \ | ||
640 | DECLARE_MSTPCRN(regnr, 31, "31"), \ | ||
641 | DECLARE_MSTPCRN(regnr, 30, "30"), \ | ||
642 | DECLARE_MSTPCRN(regnr, 29, "29"), \ | ||
643 | DECLARE_MSTPCRN(regnr, 28, "28"), \ | ||
644 | DECLARE_MSTPCRN(regnr, 27, "27"), \ | ||
645 | DECLARE_MSTPCRN(regnr, 26, "26"), \ | ||
646 | DECLARE_MSTPCRN(regnr, 25, "25"), \ | ||
647 | DECLARE_MSTPCRN(regnr, 24, "24"), \ | ||
648 | DECLARE_MSTPCRN(regnr, 23, "23"), \ | ||
649 | DECLARE_MSTPCRN(regnr, 22, "22"), \ | ||
650 | DECLARE_MSTPCRN(regnr, 21, "21"), \ | ||
651 | DECLARE_MSTPCRN(regnr, 20, "20"), \ | ||
652 | DECLARE_MSTPCRN(regnr, 19, "19"), \ | ||
653 | DECLARE_MSTPCRN(regnr, 18, "18"), \ | ||
654 | DECLARE_MSTPCRN(regnr, 17, "17"), \ | ||
655 | DECLARE_MSTPCRN(regnr, 16, "16"), \ | ||
656 | DECLARE_MSTPCRN(regnr, 15, "15"), \ | ||
657 | DECLARE_MSTPCRN(regnr, 14, "14"), \ | ||
658 | DECLARE_MSTPCRN(regnr, 13, "13"), \ | ||
659 | DECLARE_MSTPCRN(regnr, 12, "12"), \ | ||
660 | DECLARE_MSTPCRN(regnr, 11, "11"), \ | ||
661 | DECLARE_MSTPCRN(regnr, 10, "10"), \ | ||
662 | DECLARE_MSTPCRN(regnr, 9, "09"), \ | ||
663 | DECLARE_MSTPCRN(regnr, 8, "08"), \ | ||
664 | DECLARE_MSTPCRN(regnr, 7, "07"), \ | ||
665 | DECLARE_MSTPCRN(regnr, 6, "06"), \ | ||
666 | DECLARE_MSTPCRN(regnr, 5, "05"), \ | ||
667 | DECLARE_MSTPCRN(regnr, 4, "04"), \ | ||
668 | DECLARE_MSTPCRN(regnr, 3, "03"), \ | ||
669 | DECLARE_MSTPCRN(regnr, 2, "02"), \ | ||
670 | DECLARE_MSTPCRN(regnr, 1, "01"), \ | ||
671 | DECLARE_MSTPCRN(regnr, 0, "00") | ||
672 | |||
673 | static struct clk sh7722_mstpcr[] = { | ||
674 | DECLARE_MSTPCR(0), | ||
675 | DECLARE_MSTPCR(1), | ||
676 | DECLARE_MSTPCR(2), | ||
677 | }; | ||
678 | |||
590 | static struct clk *sh7722_clocks[] = { | 679 | static struct clk *sh7722_clocks[] = { |
591 | &sh7722_umem_clock, | 680 | &sh7722_umem_clock, |
592 | &sh7722_sh_clock, | 681 | &sh7722_sh_clock, |
593 | &sh7722_peripheral_clock, | 682 | &sh7722_peripheral_clock, |
594 | &sh7722_sdram_clock, | 683 | &sh7722_sdram_clock, |
684 | #ifndef CONFIG_CPU_SUBTYPE_SH7343 | ||
595 | &sh7722_siu_a_clock, | 685 | &sh7722_siu_a_clock, |
596 | &sh7722_siu_b_clock, | 686 | &sh7722_siu_b_clock, |
597 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | 687 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) |
598 | &sh7722_irda_clock, | 688 | &sh7722_irda_clock, |
599 | #endif | 689 | #endif |
690 | #endif | ||
600 | &sh7722_video_clock, | 691 | &sh7722_video_clock, |
601 | }; | 692 | }; |
602 | 693 | ||
@@ -629,5 +720,11 @@ int __init arch_clk_init(void) | |||
629 | clk_register(sh7722_clocks[i]); | 720 | clk_register(sh7722_clocks[i]); |
630 | } | 721 | } |
631 | clk_put(master); | 722 | clk_put(master); |
723 | |||
724 | for (i = 0; i < ARRAY_SIZE(sh7722_mstpcr); i++) { | ||
725 | pr_debug( "Registering mstpcr '%s'\n", sh7722_mstpcr[i].name); | ||
726 | clk_register(&sh7722_mstpcr[i]); | ||
727 | } | ||
728 | |||
632 | return 0; | 729 | return 0; |
633 | } | 730 | } |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c index 6d4f50cd4aaf..78881b4214da 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c | |||
@@ -11,6 +11,104 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/uio_driver.h> | ||
15 | #include <asm/clock.h> | ||
16 | |||
17 | static struct resource iic0_resources[] = { | ||
18 | [0] = { | ||
19 | .name = "IIC0", | ||
20 | .start = 0x04470000, | ||
21 | .end = 0x04470017, | ||
22 | .flags = IORESOURCE_MEM, | ||
23 | }, | ||
24 | [1] = { | ||
25 | .start = 96, | ||
26 | .end = 99, | ||
27 | .flags = IORESOURCE_IRQ, | ||
28 | }, | ||
29 | }; | ||
30 | |||
31 | static struct platform_device iic0_device = { | ||
32 | .name = "i2c-sh_mobile", | ||
33 | .num_resources = ARRAY_SIZE(iic0_resources), | ||
34 | .resource = iic0_resources, | ||
35 | }; | ||
36 | |||
37 | static struct resource iic1_resources[] = { | ||
38 | [0] = { | ||
39 | .name = "IIC1", | ||
40 | .start = 0x04750000, | ||
41 | .end = 0x04750017, | ||
42 | .flags = IORESOURCE_MEM, | ||
43 | }, | ||
44 | [1] = { | ||
45 | .start = 44, | ||
46 | .end = 47, | ||
47 | .flags = IORESOURCE_IRQ, | ||
48 | }, | ||
49 | }; | ||
50 | |||
51 | static struct platform_device iic1_device = { | ||
52 | .name = "i2c-sh_mobile", | ||
53 | .num_resources = ARRAY_SIZE(iic1_resources), | ||
54 | .resource = iic1_resources, | ||
55 | }; | ||
56 | |||
57 | static struct uio_info vpu_platform_data = { | ||
58 | .name = "VPU4", | ||
59 | .version = "0", | ||
60 | .irq = 60, | ||
61 | }; | ||
62 | |||
63 | static struct resource vpu_resources[] = { | ||
64 | [0] = { | ||
65 | .name = "VPU", | ||
66 | .start = 0xfe900000, | ||
67 | .end = 0xfe9022eb, | ||
68 | .flags = IORESOURCE_MEM, | ||
69 | }, | ||
70 | [1] = { | ||
71 | /* place holder for contiguous memory */ | ||
72 | }, | ||
73 | }; | ||
74 | |||
75 | static struct platform_device vpu_device = { | ||
76 | .name = "uio_pdrv_genirq", | ||
77 | .id = 0, | ||
78 | .dev = { | ||
79 | .platform_data = &vpu_platform_data, | ||
80 | }, | ||
81 | .resource = vpu_resources, | ||
82 | .num_resources = ARRAY_SIZE(vpu_resources), | ||
83 | }; | ||
84 | |||
85 | static struct uio_info veu_platform_data = { | ||
86 | .name = "VEU", | ||
87 | .version = "0", | ||
88 | .irq = 54, | ||
89 | }; | ||
90 | |||
91 | static struct resource veu_resources[] = { | ||
92 | [0] = { | ||
93 | .name = "VEU", | ||
94 | .start = 0xfe920000, | ||
95 | .end = 0xfe9200b7, | ||
96 | .flags = IORESOURCE_MEM, | ||
97 | }, | ||
98 | [1] = { | ||
99 | /* place holder for contiguous memory */ | ||
100 | }, | ||
101 | }; | ||
102 | |||
103 | static struct platform_device veu_device = { | ||
104 | .name = "uio_pdrv_genirq", | ||
105 | .id = 1, | ||
106 | .dev = { | ||
107 | .platform_data = &veu_platform_data, | ||
108 | }, | ||
109 | .resource = veu_resources, | ||
110 | .num_resources = ARRAY_SIZE(veu_resources), | ||
111 | }; | ||
14 | 112 | ||
15 | static struct plat_sci_port sci_platform_data[] = { | 113 | static struct plat_sci_port sci_platform_data[] = { |
16 | { | 114 | { |
@@ -32,16 +130,171 @@ static struct platform_device sci_device = { | |||
32 | }; | 130 | }; |
33 | 131 | ||
34 | static struct platform_device *sh7343_devices[] __initdata = { | 132 | static struct platform_device *sh7343_devices[] __initdata = { |
133 | &iic0_device, | ||
134 | &iic1_device, | ||
35 | &sci_device, | 135 | &sci_device, |
136 | &vpu_device, | ||
137 | &veu_device, | ||
36 | }; | 138 | }; |
37 | 139 | ||
38 | static int __init sh7343_devices_setup(void) | 140 | static int __init sh7343_devices_setup(void) |
39 | { | 141 | { |
142 | clk_always_enable("mstp031"); /* TLB */ | ||
143 | clk_always_enable("mstp030"); /* IC */ | ||
144 | clk_always_enable("mstp029"); /* OC */ | ||
145 | clk_always_enable("mstp028"); /* URAM */ | ||
146 | clk_always_enable("mstp026"); /* XYMEM */ | ||
147 | clk_always_enable("mstp023"); /* INTC3 */ | ||
148 | clk_always_enable("mstp022"); /* INTC */ | ||
149 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
150 | clk_always_enable("mstp109"); /* I2C0 */ | ||
151 | clk_always_enable("mstp108"); /* I2C1 */ | ||
152 | clk_always_enable("mstp202"); /* VEU */ | ||
153 | clk_always_enable("mstp201"); /* VPU */ | ||
154 | |||
155 | platform_resource_setup_memory(&vpu_device, "vpu", 1 << 20); | ||
156 | platform_resource_setup_memory(&veu_device, "veu", 2 << 20); | ||
157 | |||
40 | return platform_add_devices(sh7343_devices, | 158 | return platform_add_devices(sh7343_devices, |
41 | ARRAY_SIZE(sh7343_devices)); | 159 | ARRAY_SIZE(sh7343_devices)); |
42 | } | 160 | } |
43 | __initcall(sh7343_devices_setup); | 161 | __initcall(sh7343_devices_setup); |
44 | 162 | ||
163 | enum { | ||
164 | UNUSED = 0, | ||
165 | |||
166 | /* interrupt sources */ | ||
167 | IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, | ||
168 | DMAC0, DMAC1, DMAC2, DMAC3, | ||
169 | VIO_CEUI, VIO_BEUI, VIO_VEUI, VOU, | ||
170 | MFI, VPU, TPU, Z3D4, USBI0, USBI1, | ||
171 | MMC_ERR, MMC_TRAN, MMC_FSTAT, MMC_FRDY, | ||
172 | DMAC4, DMAC5, DMAC_DADERR, | ||
173 | KEYSC, | ||
174 | SCIF, SCIF1, SCIF2, SCIF3, SCIF4, | ||
175 | SIOF0, SIOF1, SIO, | ||
176 | FLCTL_FLSTEI, FLCTL_FLENDI, FLCTL_FLTREQ0I, FLCTL_FLTREQ1I, | ||
177 | I2C0_ALI, I2C0_TACKI, I2C0_WAITI, I2C0_DTEI, | ||
178 | I2C1_ALI, I2C1_TACKI, I2C1_WAITI, I2C1_DTEI, | ||
179 | SIM_TEI, SIM_TXI, SIM_RXI, SIM_ERI, | ||
180 | IRDA, | ||
181 | SDHI0, SDHI1, SDHI2, SDHI3, | ||
182 | CMT, TSIF, SIU, | ||
183 | TMU0, TMU1, TMU2, | ||
184 | JPU, LCDC, | ||
185 | |||
186 | /* interrupt groups */ | ||
187 | |||
188 | DMAC0123, VIOVOU, MMC, DMAC45, FLCTL, I2C0, I2C1, SIM, SDHI, USB, | ||
189 | }; | ||
190 | |||
191 | static struct intc_vect vectors[] __initdata = { | ||
192 | INTC_VECT(IRQ0, 0x600), INTC_VECT(IRQ1, 0x620), | ||
193 | INTC_VECT(IRQ2, 0x640), INTC_VECT(IRQ3, 0x660), | ||
194 | INTC_VECT(IRQ4, 0x680), INTC_VECT(IRQ5, 0x6a0), | ||
195 | INTC_VECT(IRQ6, 0x6c0), INTC_VECT(IRQ7, 0x6e0), | ||
196 | INTC_VECT(I2C1_ALI, 0x780), INTC_VECT(I2C1_TACKI, 0x7a0), | ||
197 | INTC_VECT(I2C1_WAITI, 0x7c0), INTC_VECT(I2C1_DTEI, 0x7e0), | ||
198 | INTC_VECT(DMAC0, 0x800), INTC_VECT(DMAC1, 0x820), | ||
199 | INTC_VECT(DMAC2, 0x840), INTC_VECT(DMAC3, 0x860), | ||
200 | INTC_VECT(VIO_CEUI, 0x880), INTC_VECT(VIO_BEUI, 0x8a0), | ||
201 | INTC_VECT(VIO_VEUI, 0x8c0), INTC_VECT(VOU, 0x8e0), | ||
202 | INTC_VECT(MFI, 0x900), INTC_VECT(VPU, 0x980), | ||
203 | INTC_VECT(TPU, 0x9a0), INTC_VECT(Z3D4, 0x9e0), | ||
204 | INTC_VECT(USBI0, 0xa20), INTC_VECT(USBI1, 0xa40), | ||
205 | INTC_VECT(MMC_ERR, 0xb00), INTC_VECT(MMC_TRAN, 0xb20), | ||
206 | INTC_VECT(MMC_FSTAT, 0xb40), INTC_VECT(MMC_FRDY, 0xb60), | ||
207 | INTC_VECT(DMAC4, 0xb80), INTC_VECT(DMAC5, 0xba0), | ||
208 | INTC_VECT(DMAC_DADERR, 0xbc0), INTC_VECT(KEYSC, 0xbe0), | ||
209 | INTC_VECT(SCIF, 0xc00), INTC_VECT(SCIF1, 0xc20), | ||
210 | INTC_VECT(SCIF2, 0xc40), INTC_VECT(SCIF3, 0xc60), | ||
211 | INTC_VECT(SIOF0, 0xc80), INTC_VECT(SIOF1, 0xca0), | ||
212 | INTC_VECT(SIO, 0xd00), | ||
213 | INTC_VECT(FLCTL_FLSTEI, 0xd80), INTC_VECT(FLCTL_FLENDI, 0xda0), | ||
214 | INTC_VECT(FLCTL_FLTREQ0I, 0xdc0), INTC_VECT(FLCTL_FLTREQ1I, 0xde0), | ||
215 | INTC_VECT(I2C0_ALI, 0xe00), INTC_VECT(I2C0_TACKI, 0xe20), | ||
216 | INTC_VECT(I2C0_WAITI, 0xe40), INTC_VECT(I2C0_DTEI, 0xe60), | ||
217 | INTC_VECT(SDHI0, 0xe80), INTC_VECT(SDHI1, 0xea0), | ||
218 | INTC_VECT(SDHI2, 0xec0), INTC_VECT(SDHI3, 0xee0), | ||
219 | INTC_VECT(CMT, 0xf00), INTC_VECT(TSIF, 0xf20), | ||
220 | INTC_VECT(SIU, 0xf80), | ||
221 | INTC_VECT(TMU0, 0x400), INTC_VECT(TMU1, 0x420), | ||
222 | INTC_VECT(TMU2, 0x440), | ||
223 | INTC_VECT(JPU, 0x560), INTC_VECT(LCDC, 0x580), | ||
224 | }; | ||
225 | |||
226 | static struct intc_group groups[] __initdata = { | ||
227 | INTC_GROUP(DMAC0123, DMAC0, DMAC1, DMAC2, DMAC3), | ||
228 | INTC_GROUP(VIOVOU, VIO_CEUI, VIO_BEUI, VIO_VEUI, VOU), | ||
229 | INTC_GROUP(MMC, MMC_FRDY, MMC_FSTAT, MMC_TRAN, MMC_ERR), | ||
230 | INTC_GROUP(DMAC45, DMAC4, DMAC5, DMAC_DADERR), | ||
231 | INTC_GROUP(FLCTL, FLCTL_FLSTEI, FLCTL_FLENDI, | ||
232 | FLCTL_FLTREQ0I, FLCTL_FLTREQ1I), | ||
233 | INTC_GROUP(I2C0, I2C0_ALI, I2C0_TACKI, I2C0_WAITI, I2C0_DTEI), | ||
234 | INTC_GROUP(I2C1, I2C1_ALI, I2C1_TACKI, I2C1_WAITI, I2C1_DTEI), | ||
235 | INTC_GROUP(SIM, SIM_TEI, SIM_TXI, SIM_RXI, SIM_ERI), | ||
236 | INTC_GROUP(SDHI, SDHI0, SDHI1, SDHI2, SDHI3), | ||
237 | INTC_GROUP(USB, USBI0, USBI1), | ||
238 | }; | ||
239 | |||
240 | static struct intc_mask_reg mask_registers[] __initdata = { | ||
241 | { 0xa4080084, 0xa40800c4, 8, /* IMR1 / IMCR1 */ | ||
242 | { VOU, VIO_VEUI, VIO_BEUI, VIO_CEUI, DMAC3, DMAC2, DMAC1, DMAC0 } }, | ||
243 | { 0xa4080088, 0xa40800c8, 8, /* IMR2 / IMCR2 */ | ||
244 | { 0, 0, 0, VPU, 0, 0, 0, MFI } }, | ||
245 | { 0xa408008c, 0xa40800cc, 8, /* IMR3 / IMCR3 */ | ||
246 | { SIM_TEI, SIM_TXI, SIM_RXI, SIM_ERI, 0, 0, 0, IRDA } }, | ||
247 | { 0xa4080090, 0xa40800d0, 8, /* IMR4 / IMCR4 */ | ||
248 | { 0, TMU2, TMU1, TMU0, JPU, 0, 0, LCDC } }, | ||
249 | { 0xa4080094, 0xa40800d4, 8, /* IMR5 / IMCR5 */ | ||
250 | { KEYSC, DMAC_DADERR, DMAC5, DMAC4, SCIF3, SCIF2, SCIF1, SCIF } }, | ||
251 | { 0xa4080098, 0xa40800d8, 8, /* IMR6 / IMCR6 */ | ||
252 | { 0, 0, 0, SIO, Z3D4, 0, SIOF1, SIOF0 } }, | ||
253 | { 0xa408009c, 0xa40800dc, 8, /* IMR7 / IMCR7 */ | ||
254 | { I2C0_DTEI, I2C0_WAITI, I2C0_TACKI, I2C0_ALI, | ||
255 | FLCTL_FLTREQ1I, FLCTL_FLTREQ0I, FLCTL_FLENDI, FLCTL_FLSTEI } }, | ||
256 | { 0xa40800a0, 0xa40800e0, 8, /* IMR8 / IMCR8 */ | ||
257 | { SDHI3, SDHI2, SDHI1, SDHI0, 0, 0, 0, SIU } }, | ||
258 | { 0xa40800a4, 0xa40800e4, 8, /* IMR9 / IMCR9 */ | ||
259 | { 0, 0, 0, CMT, 0, USBI1, USBI0 } }, | ||
260 | { 0xa40800a8, 0xa40800e8, 8, /* IMR10 / IMCR10 */ | ||
261 | { MMC_FRDY, MMC_FSTAT, MMC_TRAN, MMC_ERR } }, | ||
262 | { 0xa40800ac, 0xa40800ec, 8, /* IMR11 / IMCR11 */ | ||
263 | { I2C1_DTEI, I2C1_WAITI, I2C1_TACKI, I2C1_ALI, TPU, 0, 0, TSIF } }, | ||
264 | { 0xa4140044, 0xa4140064, 8, /* INTMSK00 / INTMSKCLR00 */ | ||
265 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
266 | }; | ||
267 | |||
268 | static struct intc_prio_reg prio_registers[] __initdata = { | ||
269 | { 0xa4080000, 0, 16, 4, /* IPRA */ { TMU0, TMU1, TMU2 } }, | ||
270 | { 0xa4080004, 0, 16, 4, /* IPRB */ { JPU, LCDC, SIM } }, | ||
271 | { 0xa4080010, 0, 16, 4, /* IPRE */ { DMAC0123, VIOVOU, MFI, VPU } }, | ||
272 | { 0xa4080014, 0, 16, 4, /* IPRF */ { KEYSC, DMAC45, USB, CMT } }, | ||
273 | { 0xa4080018, 0, 16, 4, /* IPRG */ { SCIF, SCIF1, SCIF2, SCIF3 } }, | ||
274 | { 0xa408001c, 0, 16, 4, /* IPRH */ { SIOF0, SIOF1, FLCTL, I2C0 } }, | ||
275 | { 0xa4080020, 0, 16, 4, /* IPRI */ { SIO, 0, TSIF, I2C1 } }, | ||
276 | { 0xa4080024, 0, 16, 4, /* IPRJ */ { Z3D4, 0, SIU } }, | ||
277 | { 0xa4080028, 0, 16, 4, /* IPRK */ { 0, MMC, 0, SDHI } }, | ||
278 | { 0xa408002c, 0, 16, 4, /* IPRL */ { 0, 0, TPU } }, | ||
279 | { 0xa4140010, 0, 32, 4, /* INTPRI00 */ | ||
280 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
281 | }; | ||
282 | |||
283 | static struct intc_sense_reg sense_registers[] __initdata = { | ||
284 | { 0xa414001c, 16, 2, /* ICR1 */ | ||
285 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
286 | }; | ||
287 | |||
288 | static struct intc_mask_reg ack_registers[] __initdata = { | ||
289 | { 0xa4140024, 0, 8, /* INTREQ00 */ | ||
290 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
291 | }; | ||
292 | |||
293 | static DECLARE_INTC_DESC_ACK(intc_desc, "sh7343", vectors, groups, | ||
294 | mask_registers, prio_registers, sense_registers, | ||
295 | ack_registers); | ||
296 | |||
45 | void __init plat_irq_setup(void) | 297 | void __init plat_irq_setup(void) |
46 | { | 298 | { |
299 | register_intc_controller(&intc_desc); | ||
47 | } | 300 | } |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index f26b5cdad0d1..6851dba02f31 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -13,6 +13,112 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/serial.h> | 14 | #include <linux/serial.h> |
15 | #include <linux/serial_sci.h> | 15 | #include <linux/serial_sci.h> |
16 | #include <linux/uio_driver.h> | ||
17 | #include <asm/clock.h> | ||
18 | |||
19 | static struct resource iic_resources[] = { | ||
20 | [0] = { | ||
21 | .name = "IIC", | ||
22 | .start = 0x04470000, | ||
23 | .end = 0x04470017, | ||
24 | .flags = IORESOURCE_MEM, | ||
25 | }, | ||
26 | [1] = { | ||
27 | .start = 96, | ||
28 | .end = 99, | ||
29 | .flags = IORESOURCE_IRQ, | ||
30 | }, | ||
31 | }; | ||
32 | |||
33 | static struct platform_device iic_device = { | ||
34 | .name = "i2c-sh_mobile", | ||
35 | .num_resources = ARRAY_SIZE(iic_resources), | ||
36 | .resource = iic_resources, | ||
37 | }; | ||
38 | |||
39 | static struct uio_info vpu_platform_data = { | ||
40 | .name = "VPU5", | ||
41 | .version = "0", | ||
42 | .irq = 60, | ||
43 | }; | ||
44 | |||
45 | static struct resource vpu_resources[] = { | ||
46 | [0] = { | ||
47 | .name = "VPU", | ||
48 | .start = 0xfe900000, | ||
49 | .end = 0xfe902807, | ||
50 | .flags = IORESOURCE_MEM, | ||
51 | }, | ||
52 | [1] = { | ||
53 | /* place holder for contiguous memory */ | ||
54 | }, | ||
55 | }; | ||
56 | |||
57 | static struct platform_device vpu_device = { | ||
58 | .name = "uio_pdrv_genirq", | ||
59 | .id = 0, | ||
60 | .dev = { | ||
61 | .platform_data = &vpu_platform_data, | ||
62 | }, | ||
63 | .resource = vpu_resources, | ||
64 | .num_resources = ARRAY_SIZE(vpu_resources), | ||
65 | }; | ||
66 | |||
67 | static struct uio_info veu0_platform_data = { | ||
68 | .name = "VEU", | ||
69 | .version = "0", | ||
70 | .irq = 54, | ||
71 | }; | ||
72 | |||
73 | static struct resource veu0_resources[] = { | ||
74 | [0] = { | ||
75 | .name = "VEU(1)", | ||
76 | .start = 0xfe920000, | ||
77 | .end = 0xfe9200b7, | ||
78 | .flags = IORESOURCE_MEM, | ||
79 | }, | ||
80 | [1] = { | ||
81 | /* place holder for contiguous memory */ | ||
82 | }, | ||
83 | }; | ||
84 | |||
85 | static struct platform_device veu0_device = { | ||
86 | .name = "uio_pdrv_genirq", | ||
87 | .id = 1, | ||
88 | .dev = { | ||
89 | .platform_data = &veu0_platform_data, | ||
90 | }, | ||
91 | .resource = veu0_resources, | ||
92 | .num_resources = ARRAY_SIZE(veu0_resources), | ||
93 | }; | ||
94 | |||
95 | static struct uio_info veu1_platform_data = { | ||
96 | .name = "VEU", | ||
97 | .version = "0", | ||
98 | .irq = 27, | ||
99 | }; | ||
100 | |||
101 | static struct resource veu1_resources[] = { | ||
102 | [0] = { | ||
103 | .name = "VEU(2)", | ||
104 | .start = 0xfe924000, | ||
105 | .end = 0xfe9240b7, | ||
106 | .flags = IORESOURCE_MEM, | ||
107 | }, | ||
108 | [1] = { | ||
109 | /* place holder for contiguous memory */ | ||
110 | }, | ||
111 | }; | ||
112 | |||
113 | static struct platform_device veu1_device = { | ||
114 | .name = "uio_pdrv_genirq", | ||
115 | .id = 2, | ||
116 | .dev = { | ||
117 | .platform_data = &veu1_platform_data, | ||
118 | }, | ||
119 | .resource = veu1_resources, | ||
120 | .num_resources = ARRAY_SIZE(veu1_resources), | ||
121 | }; | ||
16 | 122 | ||
17 | static struct plat_sci_port sci_platform_data[] = { | 123 | static struct plat_sci_port sci_platform_data[] = { |
18 | { | 124 | { |
@@ -34,11 +140,32 @@ static struct platform_device sci_device = { | |||
34 | }; | 140 | }; |
35 | 141 | ||
36 | static struct platform_device *sh7366_devices[] __initdata = { | 142 | static struct platform_device *sh7366_devices[] __initdata = { |
143 | &iic_device, | ||
37 | &sci_device, | 144 | &sci_device, |
145 | &vpu_device, | ||
146 | &veu0_device, | ||
147 | &veu1_device, | ||
38 | }; | 148 | }; |
39 | 149 | ||
40 | static int __init sh7366_devices_setup(void) | 150 | static int __init sh7366_devices_setup(void) |
41 | { | 151 | { |
152 | clk_always_enable("mstp031"); /* TLB */ | ||
153 | clk_always_enable("mstp030"); /* IC */ | ||
154 | clk_always_enable("mstp029"); /* OC */ | ||
155 | clk_always_enable("mstp028"); /* RSMEM */ | ||
156 | clk_always_enable("mstp026"); /* XYMEM */ | ||
157 | clk_always_enable("mstp023"); /* INTC3 */ | ||
158 | clk_always_enable("mstp022"); /* INTC */ | ||
159 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
160 | clk_always_enable("mstp109"); /* I2C */ | ||
161 | clk_always_enable("mstp207"); /* VEU-2 */ | ||
162 | clk_always_enable("mstp202"); /* VEU-1 */ | ||
163 | clk_always_enable("mstp201"); /* VPU */ | ||
164 | |||
165 | platform_resource_setup_memory(&vpu_device, "vpu", 2 << 20); | ||
166 | platform_resource_setup_memory(&veu0_device, "veu0", 2 << 20); | ||
167 | platform_resource_setup_memory(&veu1_device, "veu1", 2 << 20); | ||
168 | |||
42 | return platform_add_devices(sh7366_devices, | 169 | return platform_add_devices(sh7366_devices, |
43 | ARRAY_SIZE(sh7366_devices)); | 170 | ARRAY_SIZE(sh7366_devices)); |
44 | } | 171 | } |
@@ -97,7 +224,7 @@ static struct intc_vect vectors[] __initdata = { | |||
97 | INTC_VECT(SIU, 0xf80), | 224 | INTC_VECT(SIU, 0xf80), |
98 | INTC_VECT(TMU0, 0x400), INTC_VECT(TMU1, 0x420), | 225 | INTC_VECT(TMU0, 0x400), INTC_VECT(TMU1, 0x420), |
99 | INTC_VECT(TMU2, 0x440), | 226 | INTC_VECT(TMU2, 0x440), |
100 | INTC_VECT(VEU2, 0x580), INTC_VECT(LCDC, 0x580), | 227 | INTC_VECT(VEU2, 0x560), INTC_VECT(LCDC, 0x580), |
101 | }; | 228 | }; |
102 | 229 | ||
103 | static struct intc_group groups[] __initdata = { | 230 | static struct intc_group groups[] __initdata = { |
@@ -163,8 +290,14 @@ static struct intc_sense_reg sense_registers[] __initdata = { | |||
163 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | 290 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
164 | }; | 291 | }; |
165 | 292 | ||
166 | static DECLARE_INTC_DESC(intc_desc, "sh7366", vectors, groups, | 293 | static struct intc_mask_reg ack_registers[] __initdata = { |
167 | mask_registers, prio_registers, sense_registers); | 294 | { 0xa4140024, 0, 8, /* INTREQ00 */ |
295 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
296 | }; | ||
297 | |||
298 | static DECLARE_INTC_DESC_ACK(intc_desc, "sh7366", vectors, groups, | ||
299 | mask_registers, prio_registers, sense_registers, | ||
300 | ack_registers); | ||
168 | 301 | ||
169 | void __init plat_irq_setup(void) | 302 | void __init plat_irq_setup(void) |
170 | { | 303 | { |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 62ebccf18b3c..de1ede92176e 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -12,6 +12,8 @@ | |||
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
15 | #include <linux/uio_driver.h> | ||
16 | #include <asm/clock.h> | ||
15 | #include <asm/mmzone.h> | 17 | #include <asm/mmzone.h> |
16 | 18 | ||
17 | static struct resource usbf_resources[] = { | 19 | static struct resource usbf_resources[] = { |
@@ -59,6 +61,62 @@ static struct platform_device iic_device = { | |||
59 | .resource = iic_resources, | 61 | .resource = iic_resources, |
60 | }; | 62 | }; |
61 | 63 | ||
64 | static struct uio_info vpu_platform_data = { | ||
65 | .name = "VPU4", | ||
66 | .version = "0", | ||
67 | .irq = 60, | ||
68 | }; | ||
69 | |||
70 | static struct resource vpu_resources[] = { | ||
71 | [0] = { | ||
72 | .name = "VPU", | ||
73 | .start = 0xfe900000, | ||
74 | .end = 0xfe9022eb, | ||
75 | .flags = IORESOURCE_MEM, | ||
76 | }, | ||
77 | [1] = { | ||
78 | /* place holder for contiguous memory */ | ||
79 | }, | ||
80 | }; | ||
81 | |||
82 | static struct platform_device vpu_device = { | ||
83 | .name = "uio_pdrv_genirq", | ||
84 | .id = 0, | ||
85 | .dev = { | ||
86 | .platform_data = &vpu_platform_data, | ||
87 | }, | ||
88 | .resource = vpu_resources, | ||
89 | .num_resources = ARRAY_SIZE(vpu_resources), | ||
90 | }; | ||
91 | |||
92 | static struct uio_info veu_platform_data = { | ||
93 | .name = "VEU", | ||
94 | .version = "0", | ||
95 | .irq = 54, | ||
96 | }; | ||
97 | |||
98 | static struct resource veu_resources[] = { | ||
99 | [0] = { | ||
100 | .name = "VEU", | ||
101 | .start = 0xfe920000, | ||
102 | .end = 0xfe9200b7, | ||
103 | .flags = IORESOURCE_MEM, | ||
104 | }, | ||
105 | [1] = { | ||
106 | /* place holder for contiguous memory */ | ||
107 | }, | ||
108 | }; | ||
109 | |||
110 | static struct platform_device veu_device = { | ||
111 | .name = "uio_pdrv_genirq", | ||
112 | .id = 1, | ||
113 | .dev = { | ||
114 | .platform_data = &veu_platform_data, | ||
115 | }, | ||
116 | .resource = veu_resources, | ||
117 | .num_resources = ARRAY_SIZE(veu_resources), | ||
118 | }; | ||
119 | |||
62 | static struct plat_sci_port sci_platform_data[] = { | 120 | static struct plat_sci_port sci_platform_data[] = { |
63 | { | 121 | { |
64 | .mapbase = 0xffe00000, | 122 | .mapbase = 0xffe00000, |
@@ -95,10 +153,27 @@ static struct platform_device *sh7722_devices[] __initdata = { | |||
95 | &usbf_device, | 153 | &usbf_device, |
96 | &iic_device, | 154 | &iic_device, |
97 | &sci_device, | 155 | &sci_device, |
156 | &vpu_device, | ||
157 | &veu_device, | ||
98 | }; | 158 | }; |
99 | 159 | ||
100 | static int __init sh7722_devices_setup(void) | 160 | static int __init sh7722_devices_setup(void) |
101 | { | 161 | { |
162 | clk_always_enable("mstp031"); /* TLB */ | ||
163 | clk_always_enable("mstp030"); /* IC */ | ||
164 | clk_always_enable("mstp029"); /* OC */ | ||
165 | clk_always_enable("mstp028"); /* URAM */ | ||
166 | clk_always_enable("mstp026"); /* XYMEM */ | ||
167 | clk_always_enable("mstp022"); /* INTC */ | ||
168 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
169 | clk_always_enable("mstp109"); /* I2C */ | ||
170 | clk_always_enable("mstp211"); /* USB */ | ||
171 | clk_always_enable("mstp202"); /* VEU */ | ||
172 | clk_always_enable("mstp201"); /* VPU */ | ||
173 | |||
174 | platform_resource_setup_memory(&vpu_device, "vpu", 1 << 20); | ||
175 | platform_resource_setup_memory(&veu_device, "veu", 2 << 20); | ||
176 | |||
102 | return platform_add_devices(sh7722_devices, | 177 | return platform_add_devices(sh7722_devices, |
103 | ARRAY_SIZE(sh7722_devices)); | 178 | ARRAY_SIZE(sh7722_devices)); |
104 | } | 179 | } |
@@ -229,8 +304,14 @@ static struct intc_sense_reg sense_registers[] __initdata = { | |||
229 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | 304 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
230 | }; | 305 | }; |
231 | 306 | ||
232 | static DECLARE_INTC_DESC(intc_desc, "sh7722", vectors, groups, | 307 | static struct intc_mask_reg ack_registers[] __initdata = { |
233 | mask_registers, prio_registers, sense_registers); | 308 | { 0xa4140024, 0, 8, /* INTREQ00 */ |
309 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
310 | }; | ||
311 | |||
312 | static DECLARE_INTC_DESC_ACK(intc_desc, "sh7722", vectors, groups, | ||
313 | mask_registers, prio_registers, sense_registers, | ||
314 | ack_registers); | ||
234 | 315 | ||
235 | void __init plat_irq_setup(void) | 316 | void __init plat_irq_setup(void) |
236 | { | 317 | { |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index a0470f2f5479..cd6baffdc896 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -12,8 +12,94 @@ | |||
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <linux/serial_sci.h> | 14 | #include <linux/serial_sci.h> |
15 | #include <linux/uio_driver.h> | ||
16 | #include <asm/clock.h> | ||
15 | #include <asm/mmzone.h> | 17 | #include <asm/mmzone.h> |
16 | 18 | ||
19 | static struct uio_info vpu_platform_data = { | ||
20 | .name = "VPU5", | ||
21 | .version = "0", | ||
22 | .irq = 60, | ||
23 | }; | ||
24 | |||
25 | static struct resource vpu_resources[] = { | ||
26 | [0] = { | ||
27 | .name = "VPU", | ||
28 | .start = 0xfe900000, | ||
29 | .end = 0xfe902807, | ||
30 | .flags = IORESOURCE_MEM, | ||
31 | }, | ||
32 | [1] = { | ||
33 | /* place holder for contiguous memory */ | ||
34 | }, | ||
35 | }; | ||
36 | |||
37 | static struct platform_device vpu_device = { | ||
38 | .name = "uio_pdrv_genirq", | ||
39 | .id = 0, | ||
40 | .dev = { | ||
41 | .platform_data = &vpu_platform_data, | ||
42 | }, | ||
43 | .resource = vpu_resources, | ||
44 | .num_resources = ARRAY_SIZE(vpu_resources), | ||
45 | }; | ||
46 | |||
47 | static struct uio_info veu0_platform_data = { | ||
48 | .name = "VEU", | ||
49 | .version = "0", | ||
50 | .irq = 54, | ||
51 | }; | ||
52 | |||
53 | static struct resource veu0_resources[] = { | ||
54 | [0] = { | ||
55 | .name = "VEU2H0", | ||
56 | .start = 0xfe920000, | ||
57 | .end = 0xfe92027b, | ||
58 | .flags = IORESOURCE_MEM, | ||
59 | }, | ||
60 | [1] = { | ||
61 | /* place holder for contiguous memory */ | ||
62 | }, | ||
63 | }; | ||
64 | |||
65 | static struct platform_device veu0_device = { | ||
66 | .name = "uio_pdrv_genirq", | ||
67 | .id = 1, | ||
68 | .dev = { | ||
69 | .platform_data = &veu0_platform_data, | ||
70 | }, | ||
71 | .resource = veu0_resources, | ||
72 | .num_resources = ARRAY_SIZE(veu0_resources), | ||
73 | }; | ||
74 | |||
75 | static struct uio_info veu1_platform_data = { | ||
76 | .name = "VEU", | ||
77 | .version = "0", | ||
78 | .irq = 27, | ||
79 | }; | ||
80 | |||
81 | static struct resource veu1_resources[] = { | ||
82 | [0] = { | ||
83 | .name = "VEU2H1", | ||
84 | .start = 0xfe924000, | ||
85 | .end = 0xfe92427b, | ||
86 | .flags = IORESOURCE_MEM, | ||
87 | }, | ||
88 | [1] = { | ||
89 | /* place holder for contiguous memory */ | ||
90 | }, | ||
91 | }; | ||
92 | |||
93 | static struct platform_device veu1_device = { | ||
94 | .name = "uio_pdrv_genirq", | ||
95 | .id = 2, | ||
96 | .dev = { | ||
97 | .platform_data = &veu1_platform_data, | ||
98 | }, | ||
99 | .resource = veu1_resources, | ||
100 | .num_resources = ARRAY_SIZE(veu1_resources), | ||
101 | }; | ||
102 | |||
17 | static struct plat_sci_port sci_platform_data[] = { | 103 | static struct plat_sci_port sci_platform_data[] = { |
18 | { | 104 | { |
19 | .mapbase = 0xffe00000, | 105 | .mapbase = 0xffe00000, |
@@ -113,14 +199,56 @@ static struct platform_device sh7723_usb_host_device = { | |||
113 | .resource = sh7723_usb_host_resources, | 199 | .resource = sh7723_usb_host_resources, |
114 | }; | 200 | }; |
115 | 201 | ||
202 | static struct resource iic_resources[] = { | ||
203 | [0] = { | ||
204 | .name = "IIC", | ||
205 | .start = 0x04470000, | ||
206 | .end = 0x04470017, | ||
207 | .flags = IORESOURCE_MEM, | ||
208 | }, | ||
209 | [1] = { | ||
210 | .start = 96, | ||
211 | .end = 99, | ||
212 | .flags = IORESOURCE_IRQ, | ||
213 | }, | ||
214 | }; | ||
215 | |||
216 | static struct platform_device iic_device = { | ||
217 | .name = "i2c-sh_mobile", | ||
218 | .num_resources = ARRAY_SIZE(iic_resources), | ||
219 | .resource = iic_resources, | ||
220 | }; | ||
221 | |||
116 | static struct platform_device *sh7723_devices[] __initdata = { | 222 | static struct platform_device *sh7723_devices[] __initdata = { |
117 | &sci_device, | 223 | &sci_device, |
118 | &rtc_device, | 224 | &rtc_device, |
225 | &iic_device, | ||
119 | &sh7723_usb_host_device, | 226 | &sh7723_usb_host_device, |
227 | &vpu_device, | ||
228 | &veu0_device, | ||
229 | &veu1_device, | ||
120 | }; | 230 | }; |
121 | 231 | ||
122 | static int __init sh7723_devices_setup(void) | 232 | static int __init sh7723_devices_setup(void) |
123 | { | 233 | { |
234 | clk_always_enable("mstp031"); /* TLB */ | ||
235 | clk_always_enable("mstp030"); /* IC */ | ||
236 | clk_always_enable("mstp029"); /* OC */ | ||
237 | clk_always_enable("mstp024"); /* FPU */ | ||
238 | clk_always_enable("mstp022"); /* INTC */ | ||
239 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
240 | clk_always_enable("mstp000"); /* MERAM */ | ||
241 | clk_always_enable("mstp109"); /* I2C */ | ||
242 | clk_always_enable("mstp108"); /* RTC */ | ||
243 | clk_always_enable("mstp211"); /* USB */ | ||
244 | clk_always_enable("mstp206"); /* VEU2H1 */ | ||
245 | clk_always_enable("mstp202"); /* VEU2H0 */ | ||
246 | clk_always_enable("mstp201"); /* VPU */ | ||
247 | |||
248 | platform_resource_setup_memory(&vpu_device, "vpu", 2 << 20); | ||
249 | platform_resource_setup_memory(&veu0_device, "veu0", 2 << 20); | ||
250 | platform_resource_setup_memory(&veu1_device, "veu1", 2 << 20); | ||
251 | |||
124 | return platform_add_devices(sh7723_devices, | 252 | return platform_add_devices(sh7723_devices, |
125 | ARRAY_SIZE(sh7723_devices)); | 253 | ARRAY_SIZE(sh7723_devices)); |
126 | } | 254 | } |
@@ -326,8 +454,14 @@ static struct intc_sense_reg sense_registers[] __initdata = { | |||
326 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | 454 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
327 | }; | 455 | }; |
328 | 456 | ||
329 | static DECLARE_INTC_DESC(intc_desc, "sh7723", vectors, groups, | 457 | static struct intc_mask_reg ack_registers[] __initdata = { |
330 | mask_registers, prio_registers, sense_registers); | 458 | { 0xa4140024, 0, 8, /* INTREQ00 */ |
459 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
460 | }; | ||
461 | |||
462 | static DECLARE_INTC_DESC_ACK(intc_desc, "sh7723", vectors, groups, | ||
463 | mask_registers, prio_registers, sense_registers, | ||
464 | ack_registers); | ||
331 | 465 | ||
332 | void __init plat_irq_setup(void) | 466 | void __init plat_irq_setup(void) |
333 | { | 467 | { |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c index f189a559462b..3c5b629887a8 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2006 Paul Mundt | 4 | * Copyright (C) 2006 Paul Mundt |
5 | * Copyright (C) 2007 Yoshihiro Shimoda | 5 | * Copyright (C) 2007 Yoshihiro Shimoda |
6 | * Copyright (C) 2008 Nobuhiro Iwamatsu | ||
6 | * | 7 | * |
7 | * This file is subject to the terms and conditions of the GNU General Public | 8 | * This file is subject to the terms and conditions of the GNU General Public |
8 | * License. See the file "COPYING" in the main directory of this archive | 9 | * License. See the file "COPYING" in the main directory of this archive |
@@ -56,6 +57,11 @@ static struct plat_sci_port sci_platform_data[] = { | |||
56 | .type = PORT_SCIF, | 57 | .type = PORT_SCIF, |
57 | .irqs = { 76, 77, 79, 78 }, | 58 | .irqs = { 76, 77, 79, 78 }, |
58 | }, { | 59 | }, { |
60 | .mapbase = 0xffe10000, | ||
61 | .flags = UPF_BOOT_AUTOCONF, | ||
62 | .type = PORT_SCIF, | ||
63 | .irqs = { 104, 105, 107, 106 }, | ||
64 | }, { | ||
59 | .flags = 0, | 65 | .flags = 0, |
60 | } | 66 | } |
61 | }; | 67 | }; |
@@ -208,8 +214,8 @@ static struct intc_vect vectors[] __initdata = { | |||
208 | INTC_VECT(TMU5, 0xe40), INTC_VECT(ADC, 0xe60), | 214 | INTC_VECT(TMU5, 0xe40), INTC_VECT(ADC, 0xe60), |
209 | INTC_VECT(SSI0, 0xe80), INTC_VECT(SSI1, 0xea0), | 215 | INTC_VECT(SSI0, 0xe80), INTC_VECT(SSI1, 0xea0), |
210 | INTC_VECT(SSI2, 0xec0), INTC_VECT(SSI3, 0xee0), | 216 | INTC_VECT(SSI2, 0xec0), INTC_VECT(SSI3, 0xee0), |
211 | INTC_VECT(SCIF1_ERI, 0xf00), INTC_VECT(SCIF1_RXI, 0xf20), | 217 | INTC_VECT(SCIF2_ERI, 0xf00), INTC_VECT(SCIF2_RXI, 0xf20), |
212 | INTC_VECT(SCIF1_BRI, 0xf40), INTC_VECT(SCIF1_TXI, 0xf60), | 218 | INTC_VECT(SCIF2_BRI, 0xf40), INTC_VECT(SCIF2_TXI, 0xf60), |
213 | INTC_VECT(GPIO_CH0, 0xf80), INTC_VECT(GPIO_CH1, 0xfa0), | 219 | INTC_VECT(GPIO_CH0, 0xf80), INTC_VECT(GPIO_CH1, 0xfa0), |
214 | INTC_VECT(GPIO_CH2, 0xfc0), INTC_VECT(GPIO_CH3, 0xfe0), | 220 | INTC_VECT(GPIO_CH2, 0xfc0), INTC_VECT(GPIO_CH3, 0xfe0), |
215 | }; | 221 | }; |
@@ -290,9 +296,14 @@ static struct intc_sense_reg irq_sense_registers[] __initdata = { | |||
290 | IRQ4, IRQ5, IRQ6, IRQ7 } }, | 296 | IRQ4, IRQ5, IRQ6, IRQ7 } }, |
291 | }; | 297 | }; |
292 | 298 | ||
293 | static DECLARE_INTC_DESC(intc_irq_desc, "sh7763-irq", irq_vectors, | 299 | static struct intc_mask_reg irq_ack_registers[] __initdata = { |
294 | NULL, irq_mask_registers, irq_prio_registers, | 300 | { 0xffd00024, 0, 32, /* INTREQ */ |
295 | irq_sense_registers); | 301 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
302 | }; | ||
303 | |||
304 | static DECLARE_INTC_DESC_ACK(intc_irq_desc, "sh7763-irq", irq_vectors, | ||
305 | NULL, irq_mask_registers, irq_prio_registers, | ||
306 | irq_sense_registers, irq_ack_registers); | ||
296 | 307 | ||
297 | 308 | ||
298 | /* External interrupt pins in IRL mode */ | 309 | /* External interrupt pins in IRL mode */ |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c index 18dbbe23fea1..fb8200cc7440 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c | |||
@@ -217,9 +217,14 @@ static struct intc_sense_reg irq_sense_registers[] __initdata = { | |||
217 | IRQ4, IRQ5, IRQ6, IRQ7 } }, | 217 | IRQ4, IRQ5, IRQ6, IRQ7 } }, |
218 | }; | 218 | }; |
219 | 219 | ||
220 | static DECLARE_INTC_DESC(intc_irq_desc, "sh7780-irq", irq_vectors, | 220 | static struct intc_mask_reg irq_ack_registers[] __initdata = { |
221 | NULL, irq_mask_registers, irq_prio_registers, | 221 | { 0xffd00024, 0, 32, /* INTREQ */ |
222 | irq_sense_registers); | 222 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
223 | }; | ||
224 | |||
225 | static DECLARE_INTC_DESC_ACK(intc_irq_desc, "sh7780-irq", irq_vectors, | ||
226 | NULL, irq_mask_registers, irq_prio_registers, | ||
227 | irq_sense_registers, irq_ack_registers); | ||
223 | 228 | ||
224 | /* External interrupt pins in IRL mode */ | 229 | /* External interrupt pins in IRL mode */ |
225 | 230 | ||
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 621e7329ec63..30baa63b24c8 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c | |||
@@ -238,13 +238,18 @@ static struct intc_sense_reg sense_registers[] __initdata = { | |||
238 | IRQ4, IRQ5, IRQ6, IRQ7 } }, | 238 | IRQ4, IRQ5, IRQ6, IRQ7 } }, |
239 | }; | 239 | }; |
240 | 240 | ||
241 | static DECLARE_INTC_DESC(intc_desc_irq0123, "sh7785-irq0123", vectors_irq0123, | 241 | static struct intc_mask_reg ack_registers[] __initdata = { |
242 | NULL, mask_registers, prio_registers, | 242 | { 0xffd00024, 0, 32, /* INTREQ */ |
243 | sense_registers); | 243 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
244 | }; | ||
245 | |||
246 | static DECLARE_INTC_DESC_ACK(intc_desc_irq0123, "sh7785-irq0123", | ||
247 | vectors_irq0123, NULL, mask_registers, | ||
248 | prio_registers, sense_registers, ack_registers); | ||
244 | 249 | ||
245 | static DECLARE_INTC_DESC(intc_desc_irq4567, "sh7785-irq4567", vectors_irq4567, | 250 | static DECLARE_INTC_DESC_ACK(intc_desc_irq4567, "sh7785-irq4567", |
246 | NULL, mask_registers, prio_registers, | 251 | vectors_irq4567, NULL, mask_registers, |
247 | sense_registers); | 252 | prio_registers, sense_registers, ack_registers); |
248 | 253 | ||
249 | /* External interrupt pins in IRL mode */ | 254 | /* External interrupt pins in IRL mode */ |
250 | 255 | ||
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 718bd2356b34..5e0dd1933847 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S | |||
@@ -192,7 +192,7 @@ work_resched: | |||
192 | .align 2 | 192 | .align 2 |
193 | 1: .long schedule | 193 | 1: .long schedule |
194 | 2: .long do_notify_resume | 194 | 2: .long do_notify_resume |
195 | 3: .long restore_all | 195 | 3: .long resume_userspace |
196 | #ifdef CONFIG_TRACE_IRQFLAGS | 196 | #ifdef CONFIG_TRACE_IRQFLAGS |
197 | 4: .long trace_hardirqs_on | 197 | 4: .long trace_hardirqs_on |
198 | 5: .long trace_hardirqs_off | 198 | 5: .long trace_hardirqs_off |
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 921892c351da..3326a45749d9 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -34,18 +34,6 @@ void (*pm_idle)(void); | |||
34 | void (*pm_power_off)(void); | 34 | void (*pm_power_off)(void); |
35 | EXPORT_SYMBOL(pm_power_off); | 35 | EXPORT_SYMBOL(pm_power_off); |
36 | 36 | ||
37 | void disable_hlt(void) | ||
38 | { | ||
39 | hlt_counter++; | ||
40 | } | ||
41 | EXPORT_SYMBOL(disable_hlt); | ||
42 | |||
43 | void enable_hlt(void) | ||
44 | { | ||
45 | hlt_counter--; | ||
46 | } | ||
47 | EXPORT_SYMBOL(enable_hlt); | ||
48 | |||
49 | static int __init nohlt_setup(char *__unused) | 37 | static int __init nohlt_setup(char *__unused) |
50 | { | 38 | { |
51 | hlt_counter = 1; | 39 | hlt_counter = 1; |
@@ -60,7 +48,7 @@ static int __init hlt_setup(char *__unused) | |||
60 | } | 48 | } |
61 | __setup("hlt", hlt_setup); | 49 | __setup("hlt", hlt_setup); |
62 | 50 | ||
63 | void default_idle(void) | 51 | static void default_idle(void) |
64 | { | 52 | { |
65 | if (!hlt_counter) { | 53 | if (!hlt_counter) { |
66 | clear_thread_flag(TIF_POLLING_NRFLAG); | 54 | clear_thread_flag(TIF_POLLING_NRFLAG); |
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index 0283d8133075..b9dbd2d3b4a5 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c | |||
@@ -36,16 +36,6 @@ static int hlt_counter = 1; | |||
36 | 36 | ||
37 | #define HARD_IDLE_TIMEOUT (HZ / 3) | 37 | #define HARD_IDLE_TIMEOUT (HZ / 3) |
38 | 38 | ||
39 | void disable_hlt(void) | ||
40 | { | ||
41 | hlt_counter++; | ||
42 | } | ||
43 | |||
44 | void enable_hlt(void) | ||
45 | { | ||
46 | hlt_counter--; | ||
47 | } | ||
48 | |||
49 | static int __init nohlt_setup(char *__unused) | 39 | static int __init nohlt_setup(char *__unused) |
50 | { | 40 | { |
51 | hlt_counter = 1; | 41 | hlt_counter = 1; |
diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index fddb547f3c2b..2bc72def5cf8 100644 --- a/arch/sh/kernel/ptrace_32.c +++ b/arch/sh/kernel/ptrace_32.c | |||
@@ -241,6 +241,29 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
241 | break; | 241 | break; |
242 | } | 242 | } |
243 | #endif | 243 | #endif |
244 | #ifdef CONFIG_BINFMT_ELF_FDPIC | ||
245 | case PTRACE_GETFDPIC: { | ||
246 | unsigned long tmp = 0; | ||
247 | |||
248 | switch (addr) { | ||
249 | case PTRACE_GETFDPIC_EXEC: | ||
250 | tmp = child->mm->context.exec_fdpic_loadmap; | ||
251 | break; | ||
252 | case PTRACE_GETFDPIC_INTERP: | ||
253 | tmp = child->mm->context.interp_fdpic_loadmap; | ||
254 | break; | ||
255 | default: | ||
256 | break; | ||
257 | } | ||
258 | |||
259 | ret = 0; | ||
260 | if (put_user(tmp, (unsigned long *) data)) { | ||
261 | ret = -EFAULT; | ||
262 | break; | ||
263 | } | ||
264 | break; | ||
265 | } | ||
266 | #endif | ||
244 | default: | 267 | default: |
245 | ret = ptrace_request(child, request, addr, data); | 268 | ret = ptrace_request(child, request, addr, data); |
246 | break; | 269 | break; |
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index bca2bbc575db..6339d0c95715 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -398,6 +398,7 @@ const char *get_cpu_subtype(struct sh_cpuinfo *c) | |||
398 | { | 398 | { |
399 | return cpu_name[c->type]; | 399 | return cpu_name[c->type]; |
400 | } | 400 | } |
401 | EXPORT_SYMBOL(get_cpu_subtype); | ||
401 | 402 | ||
402 | #ifdef CONFIG_PROC_FS | 403 | #ifdef CONFIG_PROC_FS |
403 | /* Symbolic CPU flags, keep in sync with asm/cpu-features.h */ | 404 | /* Symbolic CPU flags, keep in sync with asm/cpu-features.h */ |
@@ -452,6 +453,12 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
452 | seq_printf(m, "processor\t: %d\n", cpu); | 453 | seq_printf(m, "processor\t: %d\n", cpu); |
453 | seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine); | 454 | seq_printf(m, "cpu family\t: %s\n", init_utsname()->machine); |
454 | seq_printf(m, "cpu type\t: %s\n", get_cpu_subtype(c)); | 455 | seq_printf(m, "cpu type\t: %s\n", get_cpu_subtype(c)); |
456 | if (c->cut_major == -1) | ||
457 | seq_printf(m, "cut\t\t: unknown\n"); | ||
458 | else if (c->cut_minor == -1) | ||
459 | seq_printf(m, "cut\t\t: %d.x\n", c->cut_major); | ||
460 | else | ||
461 | seq_printf(m, "cut\t\t: %d.%d\n", c->cut_major, c->cut_minor); | ||
455 | 462 | ||
456 | show_cpuflags(m, c); | 463 | show_cpuflags(m, c); |
457 | 464 | ||
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c index f311551d9a05..4bbbde895a53 100644 --- a/arch/sh/kernel/signal_32.c +++ b/arch/sh/kernel/signal_32.c | |||
@@ -33,6 +33,11 @@ | |||
33 | 33 | ||
34 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | 34 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) |
35 | 35 | ||
36 | struct fdpic_func_descriptor { | ||
37 | unsigned long text; | ||
38 | unsigned long GOT; | ||
39 | }; | ||
40 | |||
36 | /* | 41 | /* |
37 | * Atomically swap in the new signal mask, and wait for a signal. | 42 | * Atomically swap in the new signal mask, and wait for a signal. |
38 | */ | 43 | */ |
@@ -368,6 +373,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, | |||
368 | err |= __put_user(OR_R0_R0, &frame->retcode[6]); | 373 | err |= __put_user(OR_R0_R0, &frame->retcode[6]); |
369 | err |= __put_user((__NR_sigreturn), &frame->retcode[7]); | 374 | err |= __put_user((__NR_sigreturn), &frame->retcode[7]); |
370 | regs->pr = (unsigned long) frame->retcode; | 375 | regs->pr = (unsigned long) frame->retcode; |
376 | flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); | ||
371 | } | 377 | } |
372 | 378 | ||
373 | if (err) | 379 | if (err) |
@@ -378,18 +384,21 @@ static int setup_frame(int sig, struct k_sigaction *ka, | |||
378 | regs->regs[4] = signal; /* Arg for signal handler */ | 384 | regs->regs[4] = signal; /* Arg for signal handler */ |
379 | regs->regs[5] = 0; | 385 | regs->regs[5] = 0; |
380 | regs->regs[6] = (unsigned long) &frame->sc; | 386 | regs->regs[6] = (unsigned long) &frame->sc; |
381 | regs->pc = (unsigned long) ka->sa.sa_handler; | 387 | |
388 | if (current->personality & FDPIC_FUNCPTRS) { | ||
389 | struct fdpic_func_descriptor __user *funcptr = | ||
390 | (struct fdpic_func_descriptor __user *)ka->sa.sa_handler; | ||
391 | |||
392 | __get_user(regs->pc, &funcptr->text); | ||
393 | __get_user(regs->regs[12], &funcptr->GOT); | ||
394 | } else | ||
395 | regs->pc = (unsigned long)ka->sa.sa_handler; | ||
382 | 396 | ||
383 | set_fs(USER_DS); | 397 | set_fs(USER_DS); |
384 | 398 | ||
385 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", | 399 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", |
386 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); | 400 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); |
387 | 401 | ||
388 | flush_cache_sigtramp(regs->pr); | ||
389 | |||
390 | if ((-regs->pr & (L1_CACHE_BYTES-1)) < sizeof(frame->retcode)) | ||
391 | flush_cache_sigtramp(regs->pr + L1_CACHE_BYTES); | ||
392 | |||
393 | return 0; | 402 | return 0; |
394 | 403 | ||
395 | give_sigsegv: | 404 | give_sigsegv: |
@@ -458,17 +467,22 @@ static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
458 | regs->regs[4] = signal; /* Arg for signal handler */ | 467 | regs->regs[4] = signal; /* Arg for signal handler */ |
459 | regs->regs[5] = (unsigned long) &frame->info; | 468 | regs->regs[5] = (unsigned long) &frame->info; |
460 | regs->regs[6] = (unsigned long) &frame->uc; | 469 | regs->regs[6] = (unsigned long) &frame->uc; |
461 | regs->pc = (unsigned long) ka->sa.sa_handler; | 470 | |
471 | if (current->personality & FDPIC_FUNCPTRS) { | ||
472 | struct fdpic_func_descriptor __user *funcptr = | ||
473 | (struct fdpic_func_descriptor __user *)ka->sa.sa_handler; | ||
474 | |||
475 | __get_user(regs->pc, &funcptr->text); | ||
476 | __get_user(regs->regs[12], &funcptr->GOT); | ||
477 | } else | ||
478 | regs->pc = (unsigned long)ka->sa.sa_handler; | ||
462 | 479 | ||
463 | set_fs(USER_DS); | 480 | set_fs(USER_DS); |
464 | 481 | ||
465 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", | 482 | pr_debug("SIG deliver (%s:%d): sp=%p pc=%08lx pr=%08lx\n", |
466 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); | 483 | current->comm, task_pid_nr(current), frame, regs->pc, regs->pr); |
467 | 484 | ||
468 | flush_cache_sigtramp(regs->pr); | 485 | flush_icache_range(regs->pr, regs->pr + sizeof(frame->retcode)); |
469 | |||
470 | if ((-regs->pr & (L1_CACHE_BYTES-1)) < sizeof(frame->retcode)) | ||
471 | flush_cache_sigtramp(regs->pr + L1_CACHE_BYTES); | ||
472 | 486 | ||
473 | return 0; | 487 | return 0; |
474 | 488 | ||
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index a46cc3a41148..0af693e65764 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
@@ -343,3 +343,9 @@ ENTRY(sys_call_table) | |||
343 | .long sys_fallocate | 343 | .long sys_fallocate |
344 | .long sys_timerfd_settime /* 325 */ | 344 | .long sys_timerfd_settime /* 325 */ |
345 | .long sys_timerfd_gettime | 345 | .long sys_timerfd_gettime |
346 | .long sys_signalfd4 | ||
347 | .long sys_eventfd2 | ||
348 | .long sys_epoll_create1 | ||
349 | .long sys_dup3 /* 330 */ | ||
350 | .long sys_pipe2 | ||
351 | .long sys_inotify_init1 | ||
diff --git a/arch/sh/kernel/syscalls_64.S b/arch/sh/kernel/syscalls_64.S index d5d7843aad94..0b436aa3cad7 100644 --- a/arch/sh/kernel/syscalls_64.S +++ b/arch/sh/kernel/syscalls_64.S | |||
@@ -381,3 +381,9 @@ sys_call_table: | |||
381 | .long sys_fallocate | 381 | .long sys_fallocate |
382 | .long sys_timerfd_settime | 382 | .long sys_timerfd_settime |
383 | .long sys_timerfd_gettime | 383 | .long sys_timerfd_gettime |
384 | .long sys_signalfd4 /* 355 */ | ||
385 | .long sys_eventfd2 | ||
386 | .long sys_epoll_create1 | ||
387 | .long sys_dup3 | ||
388 | .long sys_pipe2 | ||
389 | .long sys_inotify_init1 /* 360 */ | ||
diff --git a/arch/sh/kernel/time_32.c b/arch/sh/kernel/time_32.c index 7281342c044d..0758b5ee8180 100644 --- a/arch/sh/kernel/time_32.c +++ b/arch/sh/kernel/time_32.c | |||
@@ -211,7 +211,7 @@ unsigned long sh_hpt_frequency = 0; | |||
211 | 211 | ||
212 | #define NSEC_PER_CYC_SHIFT 10 | 212 | #define NSEC_PER_CYC_SHIFT 10 |
213 | 213 | ||
214 | struct clocksource clocksource_sh = { | 214 | static struct clocksource clocksource_sh = { |
215 | .name = "SuperH", | 215 | .name = "SuperH", |
216 | .rating = 200, | 216 | .rating = 200, |
217 | .mask = CLOCKSOURCE_MASK(32), | 217 | .mask = CLOCKSOURCE_MASK(32), |
diff --git a/arch/sh/kernel/timers/timer-tmu.c b/arch/sh/kernel/timers/timer-tmu.c index 8935570008d2..1ca9ad49b541 100644 --- a/arch/sh/kernel/timers/timer-tmu.c +++ b/arch/sh/kernel/timers/timer-tmu.c | |||
@@ -209,7 +209,7 @@ static int tmu_timer_init(void) | |||
209 | return 0; | 209 | return 0; |
210 | } | 210 | } |
211 | 211 | ||
212 | struct sys_timer_ops tmu_timer_ops = { | 212 | static struct sys_timer_ops tmu_timer_ops = { |
213 | .init = tmu_timer_init, | 213 | .init = tmu_timer_init, |
214 | .start = tmu_timer_start, | 214 | .start = tmu_timer_start, |
215 | .stop = tmu_timer_stop, | 215 | .stop = tmu_timer_stop, |
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index e08b3bfeb656..511a9426cec5 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -43,6 +43,7 @@ | |||
43 | # define TRAP_ILLEGAL_SLOT_INST 6 | 43 | # define TRAP_ILLEGAL_SLOT_INST 6 |
44 | # define TRAP_ADDRESS_ERROR 9 | 44 | # define TRAP_ADDRESS_ERROR 9 |
45 | # ifdef CONFIG_CPU_SH2A | 45 | # ifdef CONFIG_CPU_SH2A |
46 | # define TRAP_FPU_ERROR 13 | ||
46 | # define TRAP_DIVZERO_ERROR 17 | 47 | # define TRAP_DIVZERO_ERROR 17 |
47 | # define TRAP_DIVOVF_ERROR 18 | 48 | # define TRAP_DIVOVF_ERROR 18 |
48 | # endif | 49 | # endif |
@@ -851,6 +852,9 @@ void __init trap_init(void) | |||
851 | #ifdef CONFIG_CPU_SH2A | 852 | #ifdef CONFIG_CPU_SH2A |
852 | set_exception_table_vec(TRAP_DIVZERO_ERROR, do_divide_error); | 853 | set_exception_table_vec(TRAP_DIVZERO_ERROR, do_divide_error); |
853 | set_exception_table_vec(TRAP_DIVOVF_ERROR, do_divide_error); | 854 | set_exception_table_vec(TRAP_DIVOVF_ERROR, do_divide_error); |
855 | #ifdef CONFIG_SH_FPU | ||
856 | set_exception_table_vec(TRAP_FPU_ERROR, fpu_error_trap_handler); | ||
857 | #endif | ||
854 | #endif | 858 | #endif |
855 | 859 | ||
856 | /* Setup VBR for boot cpu */ | 860 | /* Setup VBR for boot cpu */ |
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index ebb55d1149f5..8596cc78e18d 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile | |||
@@ -2,9 +2,11 @@ | |||
2 | # Makefile for SuperH-specific library files.. | 2 | # Makefile for SuperH-specific library files.. |
3 | # | 3 | # |
4 | 4 | ||
5 | lib-y = delay.o io.o memset.o memmove.o memchr.o \ | 5 | lib-y = delay.o memset.o memmove.o memchr.o \ |
6 | checksum.o strlen.o div64.o div64-generic.o | 6 | checksum.o strlen.o div64.o div64-generic.o |
7 | 7 | ||
8 | obj-y += io.o | ||
9 | |||
8 | memcpy-y := memcpy.o | 10 | memcpy-y := memcpy.o |
9 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o | 11 | memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o |
10 | 12 | ||
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 5fd218430b19..56d0a7daa34b 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -145,25 +145,39 @@ choice | |||
145 | 145 | ||
146 | config PAGE_SIZE_4KB | 146 | config PAGE_SIZE_4KB |
147 | bool "4kB" | 147 | bool "4kB" |
148 | depends on !X2TLB | 148 | depends on !MMU || !X2TLB |
149 | help | 149 | help |
150 | This is the default page size used by all SuperH CPUs. | 150 | This is the default page size used by all SuperH CPUs. |
151 | 151 | ||
152 | config PAGE_SIZE_8KB | 152 | config PAGE_SIZE_8KB |
153 | bool "8kB" | 153 | bool "8kB" |
154 | depends on X2TLB | 154 | depends on !MMU || X2TLB |
155 | help | 155 | help |
156 | This enables 8kB pages as supported by SH-X2 and later MMUs. | 156 | This enables 8kB pages as supported by SH-X2 and later MMUs. |
157 | 157 | ||
158 | config PAGE_SIZE_16KB | ||
159 | bool "16kB" | ||
160 | depends on !MMU | ||
161 | help | ||
162 | This enables 16kB pages on MMU-less SH systems. | ||
163 | |||
158 | config PAGE_SIZE_64KB | 164 | config PAGE_SIZE_64KB |
159 | bool "64kB" | 165 | bool "64kB" |
160 | depends on CPU_SH4 || CPU_SH5 | 166 | depends on !MMU || CPU_SH4 || CPU_SH5 |
161 | help | 167 | help |
162 | This enables support for 64kB pages, possible on all SH-4 | 168 | This enables support for 64kB pages, possible on all SH-4 |
163 | CPUs and later. | 169 | CPUs and later. |
164 | 170 | ||
165 | endchoice | 171 | endchoice |
166 | 172 | ||
173 | config ENTRY_OFFSET | ||
174 | hex | ||
175 | default "0x00001000" if PAGE_SIZE_4KB | ||
176 | default "0x00002000" if PAGE_SIZE_8KB | ||
177 | default "0x00004000" if PAGE_SIZE_16KB | ||
178 | default "0x00010000" if PAGE_SIZE_64KB | ||
179 | default "0x00000000" | ||
180 | |||
167 | choice | 181 | choice |
168 | prompt "HugeTLB page size" | 182 | prompt "HugeTLB page size" |
169 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU | 183 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU |
diff --git a/arch/sh/mm/cache-debugfs.c b/arch/sh/mm/cache-debugfs.c index c5b56d52b7d2..0e189ccd4a77 100644 --- a/arch/sh/mm/cache-debugfs.c +++ b/arch/sh/mm/cache-debugfs.c | |||
@@ -120,7 +120,7 @@ static const struct file_operations cache_debugfs_fops = { | |||
120 | .open = cache_debugfs_open, | 120 | .open = cache_debugfs_open, |
121 | .read = seq_read, | 121 | .read = seq_read, |
122 | .llseek = seq_lseek, | 122 | .llseek = seq_lseek, |
123 | .release = seq_release, | 123 | .release = single_release, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static int __init cache_debugfs_init(void) | 126 | static int __init cache_debugfs_init(void) |
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index 43d7ff6b6ec7..1fdc8d90254a 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -4,6 +4,7 @@ | |||
4 | * Copyright (C) 1999, 2000, 2002 Niibe Yutaka | 4 | * Copyright (C) 1999, 2000, 2002 Niibe Yutaka |
5 | * Copyright (C) 2001 - 2007 Paul Mundt | 5 | * Copyright (C) 2001 - 2007 Paul Mundt |
6 | * Copyright (C) 2003 Richard Curnow | 6 | * Copyright (C) 2003 Richard Curnow |
7 | * Copyright (c) 2007 STMicroelectronics (R&D) Ltd. | ||
7 | * | 8 | * |
8 | * This file is subject to the terms and conditions of the GNU General Public | 9 | * 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 | * License. See the file "COPYING" in the main directory of this archive |
@@ -22,6 +23,7 @@ | |||
22 | * entirety. | 23 | * entirety. |
23 | */ | 24 | */ |
24 | #define MAX_DCACHE_PAGES 64 /* XXX: Tune for ways */ | 25 | #define MAX_DCACHE_PAGES 64 /* XXX: Tune for ways */ |
26 | #define MAX_ICACHE_PAGES 32 | ||
25 | 27 | ||
26 | static void __flush_dcache_segment_1way(unsigned long start, | 28 | static void __flush_dcache_segment_1way(unsigned long start, |
27 | unsigned long extent); | 29 | unsigned long extent); |
@@ -178,42 +180,45 @@ void __flush_invalidate_region(void *start, int size) | |||
178 | /* | 180 | /* |
179 | * Write back the range of D-cache, and purge the I-cache. | 181 | * Write back the range of D-cache, and purge the I-cache. |
180 | * | 182 | * |
181 | * Called from kernel/module.c:sys_init_module and routine for a.out format. | 183 | * Called from kernel/module.c:sys_init_module and routine for a.out format, |
184 | * signal handler code and kprobes code | ||
182 | */ | 185 | */ |
183 | void flush_icache_range(unsigned long start, unsigned long end) | 186 | void flush_icache_range(unsigned long start, unsigned long end) |
184 | { | 187 | { |
185 | flush_cache_all(); | 188 | int icacheaddr; |
186 | } | 189 | unsigned long flags, v; |
187 | |||
188 | /* | ||
189 | * Write back the D-cache and purge the I-cache for signal trampoline. | ||
190 | * .. which happens to be the same behavior as flush_icache_range(). | ||
191 | * So, we simply flush out a line. | ||
192 | */ | ||
193 | void __uses_jump_to_uncached flush_cache_sigtramp(unsigned long addr) | ||
194 | { | ||
195 | unsigned long v, index; | ||
196 | unsigned long flags; | ||
197 | int i; | 190 | int i; |
198 | 191 | ||
199 | v = addr & ~(L1_CACHE_BYTES-1); | 192 | /* If there are too many pages then just blow the caches */ |
200 | asm volatile("ocbwb %0" | 193 | if (((end - start) >> PAGE_SHIFT) >= MAX_ICACHE_PAGES) { |
201 | : /* no output */ | 194 | flush_cache_all(); |
202 | : "m" (__m(v))); | 195 | } else { |
203 | 196 | /* selectively flush d-cache then invalidate the i-cache */ | |
204 | index = CACHE_IC_ADDRESS_ARRAY | | 197 | /* this is inefficient, so only use for small ranges */ |
205 | (v & boot_cpu_data.icache.entry_mask); | 198 | start &= ~(L1_CACHE_BYTES-1); |
206 | 199 | end += L1_CACHE_BYTES-1; | |
207 | local_irq_save(flags); | 200 | end &= ~(L1_CACHE_BYTES-1); |
208 | jump_to_uncached(); | 201 | |
209 | 202 | local_irq_save(flags); | |
210 | for (i = 0; i < boot_cpu_data.icache.ways; | 203 | jump_to_uncached(); |
211 | i++, index += boot_cpu_data.icache.way_incr) | 204 | |
212 | ctrl_outl(0, index); /* Clear out Valid-bit */ | 205 | for (v = start; v < end; v+=L1_CACHE_BYTES) { |
213 | 206 | asm volatile("ocbwb %0" | |
214 | back_to_cached(); | 207 | : /* no output */ |
215 | wmb(); | 208 | : "m" (__m(v))); |
216 | local_irq_restore(flags); | 209 | |
210 | icacheaddr = CACHE_IC_ADDRESS_ARRAY | ( | ||
211 | v & cpu_data->icache.entry_mask); | ||
212 | |||
213 | for (i = 0; i < cpu_data->icache.ways; | ||
214 | i++, icacheaddr += cpu_data->icache.way_incr) | ||
215 | /* Clear i-cache line valid-bit */ | ||
216 | ctrl_outl(0, icacheaddr); | ||
217 | } | ||
218 | |||
219 | back_to_cached(); | ||
220 | local_irq_restore(flags); | ||
221 | } | ||
217 | } | 222 | } |
218 | 223 | ||
219 | static inline void flush_cache_4096(unsigned long start, | 224 | static inline void flush_cache_4096(unsigned long start, |
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index d3c33fc5b1c2..8277982d0938 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c | |||
@@ -10,6 +10,7 @@ | |||
10 | * for more details. | 10 | * for more details. |
11 | */ | 11 | */ |
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <linux/platform_device.h> | ||
13 | #include <linux/dma-mapping.h> | 14 | #include <linux/dma-mapping.h> |
14 | #include <asm/cacheflush.h> | 15 | #include <asm/cacheflush.h> |
15 | #include <asm/addrspace.h> | 16 | #include <asm/addrspace.h> |
@@ -185,3 +186,32 @@ void dma_cache_sync(struct device *dev, void *vaddr, size_t size, | |||
185 | } | 186 | } |
186 | } | 187 | } |
187 | EXPORT_SYMBOL(dma_cache_sync); | 188 | EXPORT_SYMBOL(dma_cache_sync); |
189 | |||
190 | int platform_resource_setup_memory(struct platform_device *pdev, | ||
191 | char *name, unsigned long memsize) | ||
192 | { | ||
193 | struct resource *r; | ||
194 | dma_addr_t dma_handle; | ||
195 | void *buf; | ||
196 | |||
197 | r = pdev->resource + pdev->num_resources - 1; | ||
198 | if (r->flags) { | ||
199 | pr_warning("%s: unable to find empty space for resource\n", | ||
200 | name); | ||
201 | return -EINVAL; | ||
202 | } | ||
203 | |||
204 | buf = dma_alloc_coherent(NULL, memsize, &dma_handle, GFP_KERNEL); | ||
205 | if (!buf) { | ||
206 | pr_warning("%s: unable to allocate memory\n", name); | ||
207 | return -ENOMEM; | ||
208 | } | ||
209 | |||
210 | memset(buf, 0, memsize); | ||
211 | |||
212 | r->flags = IORESOURCE_MEM; | ||
213 | r->start = dma_handle; | ||
214 | r->end = r->start + memsize - 1; | ||
215 | r->name = name; | ||
216 | return 0; | ||
217 | } | ||
diff --git a/arch/sh/mm/fault_32.c b/arch/sh/mm/fault_32.c index d1fa27594c6e..0c776fdfbdda 100644 --- a/arch/sh/mm/fault_32.c +++ b/arch/sh/mm/fault_32.c | |||
@@ -37,16 +37,12 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, | |||
37 | int fault; | 37 | int fault; |
38 | siginfo_t info; | 38 | siginfo_t info; |
39 | 39 | ||
40 | trace_hardirqs_on(); | ||
41 | local_irq_enable(); | ||
42 | |||
43 | #ifdef CONFIG_SH_KGDB | 40 | #ifdef CONFIG_SH_KGDB |
44 | if (kgdb_nofault && kgdb_bus_err_hook) | 41 | if (kgdb_nofault && kgdb_bus_err_hook) |
45 | kgdb_bus_err_hook(); | 42 | kgdb_bus_err_hook(); |
46 | #endif | 43 | #endif |
47 | 44 | ||
48 | tsk = current; | 45 | tsk = current; |
49 | mm = tsk->mm; | ||
50 | si_code = SEGV_MAPERR; | 46 | si_code = SEGV_MAPERR; |
51 | 47 | ||
52 | if (unlikely(address >= TASK_SIZE)) { | 48 | if (unlikely(address >= TASK_SIZE)) { |
@@ -88,6 +84,14 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, | |||
88 | return; | 84 | return; |
89 | } | 85 | } |
90 | 86 | ||
87 | /* Only enable interrupts if they were on before the fault */ | ||
88 | if ((regs->sr & SR_IMASK) != SR_IMASK) { | ||
89 | trace_hardirqs_on(); | ||
90 | local_irq_enable(); | ||
91 | } | ||
92 | |||
93 | mm = tsk->mm; | ||
94 | |||
91 | /* | 95 | /* |
92 | * If we're in an interrupt or have no user | 96 | * If we're in an interrupt or have no user |
93 | * context, we must not take the fault.. | 97 | * context, we must not take the fault.. |
diff --git a/arch/sh/mm/pg-sh4.c b/arch/sh/mm/pg-sh4.c index 8c7a9ca79879..38870e0fc182 100644 --- a/arch/sh/mm/pg-sh4.c +++ b/arch/sh/mm/pg-sh4.c | |||
@@ -111,7 +111,7 @@ EXPORT_SYMBOL(copy_user_highpage); | |||
111 | /* | 111 | /* |
112 | * For SH-4, we have our own implementation for ptep_get_and_clear | 112 | * For SH-4, we have our own implementation for ptep_get_and_clear |
113 | */ | 113 | */ |
114 | inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | 114 | pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
115 | { | 115 | { |
116 | pte_t pte = *ptep; | 116 | pte_t pte = *ptep; |
117 | 117 | ||
diff --git a/arch/sh/mm/pg-sh7705.c b/arch/sh/mm/pg-sh7705.c index 7f885b7f8aff..eaf25147194c 100644 --- a/arch/sh/mm/pg-sh7705.c +++ b/arch/sh/mm/pg-sh7705.c | |||
@@ -118,7 +118,7 @@ void copy_user_page(void *to, void *from, unsigned long address, struct page *pg | |||
118 | * For SH7705, we have our own implementation for ptep_get_and_clear | 118 | * For SH7705, we have our own implementation for ptep_get_and_clear |
119 | * Copied from pg-sh4.c | 119 | * Copied from pg-sh4.c |
120 | */ | 120 | */ |
121 | inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) | 121 | pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) |
122 | { | 122 | { |
123 | pte_t pte = *ptep; | 123 | pte_t pte = *ptep; |
124 | 124 | ||
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 46911bcbf17b..cef727669c87 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -385,7 +385,7 @@ static const struct file_operations pmb_debugfs_fops = { | |||
385 | .open = pmb_debugfs_open, | 385 | .open = pmb_debugfs_open, |
386 | .read = seq_read, | 386 | .read = seq_read, |
387 | .llseek = seq_lseek, | 387 | .llseek = seq_lseek, |
388 | .release = seq_release, | 388 | .release = single_release, |
389 | }; | 389 | }; |
390 | 390 | ||
391 | static int __init pmb_debugfs_init(void) | 391 | static int __init pmb_debugfs_init(void) |
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types index 1bba7d36be90..0a11cc08f0a5 100644 --- a/arch/sh/tools/mach-types +++ b/arch/sh/tools/mach-types | |||
@@ -46,3 +46,7 @@ R2D_1 RTS7751R2D_1 | |||
46 | CAYMAN SH_CAYMAN | 46 | CAYMAN SH_CAYMAN |
47 | SDK7780 SH_SDK7780 | 47 | SDK7780 SH_SDK7780 |
48 | MIGOR SH_MIGOR | 48 | MIGOR SH_MIGOR |
49 | RSK7203 SH_RSK7203 | ||
50 | AP325RXA SH_AP325RXA | ||
51 | SH7763RDP SH_SH7763RDP | ||
52 | SH7785LCR SH_SH7785LCR | ||