diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-20 22:14:22 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-20 22:14:22 -0400 |
commit | dfe218b7ef0c1d561a0d5ce294c173f1551985ff (patch) | |
tree | 10b9f4bfa92a1fe236df0af128aa2c12932faf07 /arch/powerpc | |
parent | 34318c253b861f82bd4a2956e6c8ae8ee2c3aae7 (diff) | |
parent | 1ff0fcfcb1a6d0a4c4d065ed230be7beae087b83 (diff) |
Merge commit 'jwb/jwb-next'
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/Makefile | 4 | ||||
-rw-r--r-- | arch/powerpc/boot/cuboot-acadia.c | 174 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/acadia.dts | 224 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/hcu4.dts | 168 | ||||
-rw-r--r-- | arch/powerpc/configs/40x/acadia_defconfig | 921 | ||||
-rw-r--r-- | arch/powerpc/configs/40x/hcu4_defconfig | 929 | ||||
-rw-r--r-- | arch/powerpc/kernel/cputable.c | 13 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/Kconfig | 38 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/hcu4.c | 61 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/ppc40x_simple.c | 80 | ||||
-rw-r--r-- | arch/powerpc/platforms/44x/Kconfig | 8 | ||||
-rw-r--r-- | arch/powerpc/sysdev/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/ppc4xx_gpio.c | 217 |
14 files changed, 2839 insertions, 1 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index aac1406ccba5..47603652e7f1 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -68,7 +68,8 @@ src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c | |||
68 | fixed-head.S ep88xc.c ep405.c cuboot-c2k.c \ | 68 | fixed-head.S ep88xc.c ep405.c cuboot-c2k.c \ |
69 | cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \ | 69 | cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \ |
70 | cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ | 70 | cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ |
71 | virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c | 71 | virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ |
72 | cuboot-acadia.c | ||
72 | src-boot := $(src-wlib) $(src-plat) empty.c | 73 | src-boot := $(src-wlib) $(src-plat) empty.c |
73 | 74 | ||
74 | src-boot := $(addprefix $(obj)/, $(src-boot)) | 75 | src-boot := $(addprefix $(obj)/, $(src-boot)) |
@@ -211,6 +212,7 @@ image-$(CONFIG_DEFAULT_UIMAGE) += uImage | |||
211 | # Board ports in arch/powerpc/platform/40x/Kconfig | 212 | # Board ports in arch/powerpc/platform/40x/Kconfig |
212 | image-$(CONFIG_EP405) += dtbImage.ep405 | 213 | image-$(CONFIG_EP405) += dtbImage.ep405 |
213 | image-$(CONFIG_WALNUT) += treeImage.walnut | 214 | image-$(CONFIG_WALNUT) += treeImage.walnut |
215 | image-$(CONFIG_ACADIA) += cuImage.acadia | ||
214 | 216 | ||
215 | # Board ports in arch/powerpc/platform/44x/Kconfig | 217 | # Board ports in arch/powerpc/platform/44x/Kconfig |
216 | image-$(CONFIG_EBONY) += treeImage.ebony cuImage.ebony | 218 | image-$(CONFIG_EBONY) += treeImage.ebony cuImage.ebony |
diff --git a/arch/powerpc/boot/cuboot-acadia.c b/arch/powerpc/boot/cuboot-acadia.c new file mode 100644 index 000000000000..0634aba6348a --- /dev/null +++ b/arch/powerpc/boot/cuboot-acadia.c | |||
@@ -0,0 +1,174 @@ | |||
1 | /* | ||
2 | * Old U-boot compatibility for Acadia | ||
3 | * | ||
4 | * Author: Josh Boyer <jwboyer@linux.vnet.ibm.com> | ||
5 | * | ||
6 | * Copyright 2008 IBM Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License version 2 as published | ||
10 | * by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #include "ops.h" | ||
14 | #include "io.h" | ||
15 | #include "dcr.h" | ||
16 | #include "stdio.h" | ||
17 | #include "4xx.h" | ||
18 | #include "44x.h" | ||
19 | #include "cuboot.h" | ||
20 | |||
21 | #define TARGET_4xx | ||
22 | #include "ppcboot.h" | ||
23 | |||
24 | static bd_t bd; | ||
25 | |||
26 | #define CPR_PERD0_SPIDV_MASK 0x000F0000 /* SPI Clock Divider */ | ||
27 | |||
28 | #define PLLC_SRC_MASK 0x20000000 /* PLL feedback source */ | ||
29 | |||
30 | #define PLLD_FBDV_MASK 0x1F000000 /* PLL feedback divider value */ | ||
31 | #define PLLD_FWDVA_MASK 0x000F0000 /* PLL forward divider A value */ | ||
32 | #define PLLD_FWDVB_MASK 0x00000700 /* PLL forward divider B value */ | ||
33 | |||
34 | #define PRIMAD_CPUDV_MASK 0x0F000000 /* CPU Clock Divisor Mask */ | ||
35 | #define PRIMAD_PLBDV_MASK 0x000F0000 /* PLB Clock Divisor Mask */ | ||
36 | #define PRIMAD_OPBDV_MASK 0x00000F00 /* OPB Clock Divisor Mask */ | ||
37 | #define PRIMAD_EBCDV_MASK 0x0000000F /* EBC Clock Divisor Mask */ | ||
38 | |||
39 | #define PERD0_PWMDV_MASK 0xFF000000 /* PWM Divider Mask */ | ||
40 | #define PERD0_SPIDV_MASK 0x000F0000 /* SPI Divider Mask */ | ||
41 | #define PERD0_U0DV_MASK 0x0000FF00 /* UART 0 Divider Mask */ | ||
42 | #define PERD0_U1DV_MASK 0x000000FF /* UART 1 Divider Mask */ | ||
43 | |||
44 | static void get_clocks(void) | ||
45 | { | ||
46 | unsigned long sysclk, cpr_plld, cpr_pllc, cpr_primad, plloutb, i; | ||
47 | unsigned long pllFwdDiv, pllFwdDivB, pllFbkDiv, pllPlbDiv, pllExtBusDiv; | ||
48 | unsigned long pllOpbDiv, freqEBC, freqUART, freqOPB; | ||
49 | unsigned long div; /* total divisor udiv * bdiv */ | ||
50 | unsigned long umin; /* minimum udiv */ | ||
51 | unsigned short diff; /* smallest diff */ | ||
52 | unsigned long udiv; /* best udiv */ | ||
53 | unsigned short idiff; /* current diff */ | ||
54 | unsigned short ibdiv; /* current bdiv */ | ||
55 | unsigned long est; /* current estimate */ | ||
56 | unsigned long baud; | ||
57 | void *np; | ||
58 | |||
59 | /* read the sysclk value from the CPLD */ | ||
60 | sysclk = (in_8((unsigned char *)0x80000000) == 0xc) ? 66666666 : 33333000; | ||
61 | |||
62 | /* | ||
63 | * Read PLL Mode registers | ||
64 | */ | ||
65 | cpr_plld = CPR0_READ(DCRN_CPR0_PLLD); | ||
66 | cpr_pllc = CPR0_READ(DCRN_CPR0_PLLC); | ||
67 | |||
68 | /* | ||
69 | * Determine forward divider A | ||
70 | */ | ||
71 | pllFwdDiv = ((cpr_plld & PLLD_FWDVA_MASK) >> 16); | ||
72 | |||
73 | /* | ||
74 | * Determine forward divider B | ||
75 | */ | ||
76 | pllFwdDivB = ((cpr_plld & PLLD_FWDVB_MASK) >> 8); | ||
77 | if (pllFwdDivB == 0) | ||
78 | pllFwdDivB = 8; | ||
79 | |||
80 | /* | ||
81 | * Determine FBK_DIV. | ||
82 | */ | ||
83 | pllFbkDiv = ((cpr_plld & PLLD_FBDV_MASK) >> 24); | ||
84 | if (pllFbkDiv == 0) | ||
85 | pllFbkDiv = 256; | ||
86 | |||
87 | /* | ||
88 | * Read CPR_PRIMAD register | ||
89 | */ | ||
90 | cpr_primad = CPR0_READ(DCRN_CPR0_PRIMAD); | ||
91 | |||
92 | /* | ||
93 | * Determine PLB_DIV. | ||
94 | */ | ||
95 | pllPlbDiv = ((cpr_primad & PRIMAD_PLBDV_MASK) >> 16); | ||
96 | if (pllPlbDiv == 0) | ||
97 | pllPlbDiv = 16; | ||
98 | |||
99 | /* | ||
100 | * Determine EXTBUS_DIV. | ||
101 | */ | ||
102 | pllExtBusDiv = (cpr_primad & PRIMAD_EBCDV_MASK); | ||
103 | if (pllExtBusDiv == 0) | ||
104 | pllExtBusDiv = 16; | ||
105 | |||
106 | /* | ||
107 | * Determine OPB_DIV. | ||
108 | */ | ||
109 | pllOpbDiv = ((cpr_primad & PRIMAD_OPBDV_MASK) >> 8); | ||
110 | if (pllOpbDiv == 0) | ||
111 | pllOpbDiv = 16; | ||
112 | |||
113 | /* There is a bug in U-Boot that prevents us from using | ||
114 | * bd.bi_opbfreq because U-Boot doesn't populate it for | ||
115 | * 405EZ. We get to calculate it, yay! | ||
116 | */ | ||
117 | freqOPB = (sysclk *pllFbkDiv) /pllOpbDiv; | ||
118 | |||
119 | freqEBC = (sysclk * pllFbkDiv) / pllExtBusDiv; | ||
120 | |||
121 | plloutb = ((sysclk * ((cpr_pllc & PLLC_SRC_MASK) ? | ||
122 | pllFwdDivB : pllFwdDiv) * | ||
123 | pllFbkDiv) / pllFwdDivB); | ||
124 | |||
125 | np = find_node_by_alias("serial0"); | ||
126 | if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud)) | ||
127 | fatal("no current-speed property\n\r"); | ||
128 | |||
129 | udiv = 256; /* Assume lowest possible serial clk */ | ||
130 | div = plloutb / (16 * baud); /* total divisor */ | ||
131 | umin = (plloutb / freqOPB) << 1; /* 2 x OPB divisor */ | ||
132 | diff = 256; /* highest possible */ | ||
133 | |||
134 | /* i is the test udiv value -- start with the largest | ||
135 | * possible (256) to minimize serial clock and constrain | ||
136 | * search to umin. | ||
137 | */ | ||
138 | for (i = 256; i > umin; i--) { | ||
139 | ibdiv = div / i; | ||
140 | est = i * ibdiv; | ||
141 | idiff = (est > div) ? (est-div) : (div-est); | ||
142 | if (idiff == 0) { | ||
143 | udiv = i; | ||
144 | break; /* can't do better */ | ||
145 | } else if (idiff < diff) { | ||
146 | udiv = i; /* best so far */ | ||
147 | diff = idiff; /* update lowest diff*/ | ||
148 | } | ||
149 | } | ||
150 | freqUART = plloutb / udiv; | ||
151 | |||
152 | dt_fixup_cpu_clocks(bd.bi_procfreq, bd.bi_intfreq, bd.bi_plb_busfreq); | ||
153 | dt_fixup_clock("/plb/ebc", freqEBC); | ||
154 | dt_fixup_clock("/plb/opb", freqOPB); | ||
155 | dt_fixup_clock("/plb/opb/serial@ef600300", freqUART); | ||
156 | dt_fixup_clock("/plb/opb/serial@ef600400", freqUART); | ||
157 | } | ||
158 | |||
159 | static void acadia_fixups(void) | ||
160 | { | ||
161 | dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); | ||
162 | get_clocks(); | ||
163 | dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); | ||
164 | } | ||
165 | |||
166 | void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | ||
167 | unsigned long r6, unsigned long r7) | ||
168 | { | ||
169 | CUBOOT_INIT(); | ||
170 | platform_ops.fixups = acadia_fixups; | ||
171 | platform_ops.exit = ibm40x_dbcr_reset; | ||
172 | fdt_init(_dtb_start); | ||
173 | serial_console_init(); | ||
174 | } | ||
diff --git a/arch/powerpc/boot/dts/acadia.dts b/arch/powerpc/boot/dts/acadia.dts new file mode 100644 index 000000000000..57291f61ffe7 --- /dev/null +++ b/arch/powerpc/boot/dts/acadia.dts | |||
@@ -0,0 +1,224 @@ | |||
1 | /* | ||
2 | * Device Tree Source for AMCC Acadia (405EZ) | ||
3 | * | ||
4 | * Copyright IBM Corp. 2008 | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | /dts-v1/; | ||
12 | |||
13 | / { | ||
14 | #address-cells = <1>; | ||
15 | #size-cells = <1>; | ||
16 | model = "amcc,acadia"; | ||
17 | compatible = "amcc,acadia"; | ||
18 | dcr-parent = <&{/cpus/cpu@0}>; | ||
19 | |||
20 | aliases { | ||
21 | ethernet0 = &EMAC0; | ||
22 | serial0 = &UART0; | ||
23 | serial1 = &UART1; | ||
24 | }; | ||
25 | |||
26 | cpus { | ||
27 | #address-cells = <1>; | ||
28 | #size-cells = <0>; | ||
29 | |||
30 | cpu@0 { | ||
31 | device_type = "cpu"; | ||
32 | model = "PowerPC,405EZ"; | ||
33 | reg = <0x0>; | ||
34 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
35 | timebase-frequency = <0>; /* Filled in by wrapper */ | ||
36 | i-cache-line-size = <32>; | ||
37 | d-cache-line-size = <32>; | ||
38 | i-cache-size = <16384>; | ||
39 | d-cache-size = <16384>; | ||
40 | dcr-controller; | ||
41 | dcr-access-method = "native"; | ||
42 | }; | ||
43 | }; | ||
44 | |||
45 | memory { | ||
46 | device_type = "memory"; | ||
47 | reg = <0x0 0x0>; /* Filled in by wrapper */ | ||
48 | }; | ||
49 | |||
50 | UIC0: interrupt-controller { | ||
51 | compatible = "ibm,uic-405ez", "ibm,uic"; | ||
52 | interrupt-controller; | ||
53 | dcr-reg = <0x0c0 0x009>; | ||
54 | cell-index = <0>; | ||
55 | #address-cells = <0>; | ||
56 | #size-cells = <0>; | ||
57 | #interrupt-cells = <2>; | ||
58 | }; | ||
59 | |||
60 | plb { | ||
61 | compatible = "ibm,plb-405ez", "ibm,plb3"; | ||
62 | #address-cells = <1>; | ||
63 | #size-cells = <1>; | ||
64 | ranges; | ||
65 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
66 | |||
67 | MAL0: mcmal { | ||
68 | compatible = "ibm,mcmal-405ez", "ibm,mcmal"; | ||
69 | dcr-reg = <0x380 0x62>; | ||
70 | num-tx-chans = <1>; | ||
71 | num-rx-chans = <1>; | ||
72 | interrupt-parent = <&UIC0>; | ||
73 | /* 405EZ has only 3 interrupts to the UIC, as | ||
74 | * SERR, TXDE, and RXDE are or'd together into | ||
75 | * one UIC bit | ||
76 | */ | ||
77 | interrupts = < | ||
78 | 0x13 0x4 /* TXEOB */ | ||
79 | 0x15 0x4 /* RXEOB */ | ||
80 | 0x12 0x4 /* SERR, TXDE, RXDE */>; | ||
81 | }; | ||
82 | |||
83 | POB0: opb { | ||
84 | compatible = "ibm,opb-405ez", "ibm,opb"; | ||
85 | #address-cells = <1>; | ||
86 | #size-cells = <1>; | ||
87 | ranges; | ||
88 | dcr-reg = <0x0a 0x05>; | ||
89 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
90 | |||
91 | UART0: serial@ef600300 { | ||
92 | device_type = "serial"; | ||
93 | compatible = "ns16550"; | ||
94 | reg = <0xef600300 0x8>; | ||
95 | virtual-reg = <0xef600300>; | ||
96 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
97 | current-speed = <115200>; | ||
98 | interrupt-parent = <&UIC0>; | ||
99 | interrupts = <0x5 0x4>; | ||
100 | }; | ||
101 | |||
102 | UART1: serial@ef600400 { | ||
103 | device_type = "serial"; | ||
104 | compatible = "ns16550"; | ||
105 | reg = <0xef600400 0x8>; | ||
106 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
107 | current-speed = <115200>; | ||
108 | interrupt-parent = <&UIC0>; | ||
109 | interrupts = <0x6 0x4>; | ||
110 | }; | ||
111 | |||
112 | IIC: i2c@ef600500 { | ||
113 | compatible = "ibm,iic-405ez", "ibm,iic"; | ||
114 | reg = <0xef600500 0x11>; | ||
115 | interrupt-parent = <&UIC0>; | ||
116 | interrupts = <0xa 0x4>; | ||
117 | }; | ||
118 | |||
119 | GPIO0: gpio@ef600700 { | ||
120 | compatible = "ibm,gpio-405ez"; | ||
121 | reg = <0xef600700 0x20>; | ||
122 | }; | ||
123 | |||
124 | GPIO1: gpio@ef600800 { | ||
125 | compatible = "ibm,gpio-405ez"; | ||
126 | reg = <0xef600800 0x20>; | ||
127 | }; | ||
128 | |||
129 | EMAC0: ethernet@ef600900 { | ||
130 | device_type = "network"; | ||
131 | compatible = "ibm,emac-405ez", "ibm,emac"; | ||
132 | interrupt-parent = <&UIC0>; | ||
133 | interrupts = < | ||
134 | 0x10 0x4 /* Ethernet */ | ||
135 | 0x11 0x4 /* Ethernet Wake up */>; | ||
136 | local-mac-address = [000000000000]; /* Filled in by wrapper */ | ||
137 | reg = <0xef600900 0x70>; | ||
138 | mal-device = <&MAL0>; | ||
139 | mal-tx-channel = <0>; | ||
140 | mal-rx-channel = <0>; | ||
141 | cell-index = <0>; | ||
142 | max-frame-size = <1500>; | ||
143 | rx-fifo-size = <4096>; | ||
144 | tx-fifo-size = <2048>; | ||
145 | phy-mode = "mii"; | ||
146 | phy-map = <0x0>; | ||
147 | }; | ||
148 | |||
149 | CAN0: can@ef601000 { | ||
150 | compatible = "amcc,can-405ez"; | ||
151 | reg = <0xef601000 0x620>; | ||
152 | interrupt-parent = <&UIC0>; | ||
153 | interrupts = <0x7 0x4>; | ||
154 | }; | ||
155 | |||
156 | CAN1: can@ef601800 { | ||
157 | compatible = "amcc,can-405ez"; | ||
158 | reg = <0xef601800 0x620>; | ||
159 | interrupt-parent = <&UIC0>; | ||
160 | interrupts = <0x8 0x4>; | ||
161 | }; | ||
162 | |||
163 | cameleon@ef602000 { | ||
164 | compatible = "amcc,cameleon-405ez"; | ||
165 | reg = <0xef602000 0x800>; | ||
166 | interrupt-parent = <&UIC0>; | ||
167 | interrupts = <0xb 0x4 0xc 0x4>; | ||
168 | }; | ||
169 | |||
170 | ieee1588@ef602800 { | ||
171 | compatible = "amcc,ieee1588-405ez"; | ||
172 | reg = <0xef602800 0x60>; | ||
173 | interrupt-parent = <&UIC0>; | ||
174 | interrupts = <0x4 0x4>; | ||
175 | /* This thing is a bit weird. It has it's own UIC | ||
176 | * that it uses to generate snapshot triggers. We | ||
177 | * don't really support this device yet, and it needs | ||
178 | * work to figure this out. | ||
179 | */ | ||
180 | dcr-reg = <0xe0 0x9>; | ||
181 | }; | ||
182 | |||
183 | usb@ef603000 { | ||
184 | compatible = "ohci-be"; | ||
185 | reg = <0xef603000 0x80>; | ||
186 | interrupts-parent = <&UIC0>; | ||
187 | interrupts = <0xd 0x4 0xe 0x4>; | ||
188 | }; | ||
189 | |||
190 | dac@ef603300 { | ||
191 | compatible = "amcc,dac-405ez"; | ||
192 | reg = <0xef603300 0x40>; | ||
193 | interrupt-parent = <&UIC0>; | ||
194 | interrupts = <0x18 0x4>; | ||
195 | }; | ||
196 | |||
197 | adc@ef603400 { | ||
198 | compatible = "amcc,adc-405ez"; | ||
199 | reg = <0xef603400 0x40>; | ||
200 | interrupt-parent = <&UIC0>; | ||
201 | interrupts = <0x17 0x4>; | ||
202 | }; | ||
203 | |||
204 | spi@ef603500 { | ||
205 | compatible = "amcc,spi-405ez"; | ||
206 | reg = <0xef603500 0x100>; | ||
207 | interrupt-parent = <&UIC0>; | ||
208 | interrupts = <0x9 0x4>; | ||
209 | }; | ||
210 | }; | ||
211 | |||
212 | EBC0: ebc { | ||
213 | compatible = "ibm,ebc-405ez", "ibm,ebc"; | ||
214 | dcr-reg = <0x12 0x2>; | ||
215 | #address-cells = <2>; | ||
216 | #size-cells = <1>; | ||
217 | clock-frequency = <0>; /* Filled in by wrapper */ | ||
218 | }; | ||
219 | }; | ||
220 | |||
221 | chosen { | ||
222 | linux,stdout-path = "/plb/opb/serial@ef600300"; | ||
223 | }; | ||
224 | }; | ||
diff --git a/arch/powerpc/boot/dts/hcu4.dts b/arch/powerpc/boot/dts/hcu4.dts new file mode 100644 index 000000000000..7988598da4c9 --- /dev/null +++ b/arch/powerpc/boot/dts/hcu4.dts | |||
@@ -0,0 +1,168 @@ | |||
1 | /* | ||
2 | * Device Tree Source for Netstal Maschinen HCU4 | ||
3 | * based on the IBM Walnut | ||
4 | * | ||
5 | * Copyright 2008 | ||
6 | * Niklaus Giger <niklaus.giger@member.fsf.org> | ||
7 | * | ||
8 | * Copyright 2007 IBM Corp. | ||
9 | * Josh Boyer <jwboyer@linux.vnet.ibm.com> | ||
10 | * | ||
11 | * This file is licensed under the terms of the GNU General Public | ||
12 | * License version 2. This program is licensed "as is" without | ||
13 | * any warranty of any kind, whether express or implied. | ||
14 | */ | ||
15 | |||
16 | /dts-v1/; | ||
17 | |||
18 | / { | ||
19 | #address-cells = <0x1>; | ||
20 | #size-cells = <0x1>; | ||
21 | model = "netstal,hcu4"; | ||
22 | compatible = "netstal,hcu4"; | ||
23 | dcr-parent = <0x1>; | ||
24 | |||
25 | aliases { | ||
26 | ethernet0 = "/plb/opb/ethernet@ef600800"; | ||
27 | serial0 = "/plb/opb/serial@ef600300"; | ||
28 | }; | ||
29 | |||
30 | cpus { | ||
31 | #address-cells = <0x1>; | ||
32 | #size-cells = <0x0>; | ||
33 | |||
34 | cpu@0 { | ||
35 | device_type = "cpu"; | ||
36 | model = "PowerPC,405GPr"; | ||
37 | reg = <0x0>; | ||
38 | clock-frequency = <0>; /* Filled in by U-Boot */ | ||
39 | timebase-frequency = <0x0>; /* Filled in by U-Boot */ | ||
40 | i-cache-line-size = <0x20>; | ||
41 | d-cache-line-size = <0x20>; | ||
42 | i-cache-size = <0x4000>; | ||
43 | d-cache-size = <0x4000>; | ||
44 | dcr-controller; | ||
45 | dcr-access-method = "native"; | ||
46 | linux,phandle = <0x1>; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | memory { | ||
51 | device_type = "memory"; | ||
52 | reg = <0x0 0x0>; /* Filled in by U-Boot */ | ||
53 | }; | ||
54 | |||
55 | UIC0: interrupt-controller { | ||
56 | compatible = "ibm,uic"; | ||
57 | interrupt-controller; | ||
58 | cell-index = <0x0>; | ||
59 | dcr-reg = <0xc0 0x9>; | ||
60 | #address-cells = <0x0>; | ||
61 | #size-cells = <0x0>; | ||
62 | #interrupt-cells = <0x2>; | ||
63 | linux,phandle = <0x2>; | ||
64 | }; | ||
65 | |||
66 | plb { | ||
67 | compatible = "ibm,plb3"; | ||
68 | #address-cells = <0x1>; | ||
69 | #size-cells = <0x1>; | ||
70 | ranges; | ||
71 | clock-frequency = <0x0>; /* Filled in by U-Boot */ | ||
72 | |||
73 | SDRAM0: memory-controller { | ||
74 | compatible = "ibm,sdram-405gp"; | ||
75 | dcr-reg = <0x10 0x2>; | ||
76 | }; | ||
77 | |||
78 | MAL: mcmal { | ||
79 | compatible = "ibm,mcmal-405gp", "ibm,mcmal"; | ||
80 | dcr-reg = <0x180 0x62>; | ||
81 | num-tx-chans = <0x1>; | ||
82 | num-rx-chans = <0x1>; | ||
83 | interrupt-parent = <0x2>; | ||
84 | interrupts = <0xb 0x4 0xc 0x4 0xa 0x4 0xd 0x4 0xe 0x4>; | ||
85 | linux,phandle = <0x3>; | ||
86 | }; | ||
87 | |||
88 | POB0: opb { | ||
89 | compatible = "ibm,opb-405gp", "ibm,opb"; | ||
90 | #address-cells = <0x1>; | ||
91 | #size-cells = <0x1>; | ||
92 | ranges = <0xef600000 0xef600000 0xa00000>; | ||
93 | dcr-reg = <0xa0 0x5>; | ||
94 | clock-frequency = <0x0>; /* Filled in by U-Boot */ | ||
95 | |||
96 | UART0: serial@ef600300 { | ||
97 | device_type = "serial"; | ||
98 | compatible = "ns16550"; | ||
99 | reg = <0xef600300 0x8>; | ||
100 | virtual-reg = <0xef600300>; | ||
101 | clock-frequency = <0x0>;/* Filled in by U-Boot */ | ||
102 | current-speed = <0>; /* Filled in by U-Boot */ | ||
103 | interrupt-parent = <0x2>; | ||
104 | interrupts = <0x0 0x4>; | ||
105 | }; | ||
106 | |||
107 | IIC: i2c@ef600500 { | ||
108 | compatible = "ibm,iic-405gp", "ibm,iic"; | ||
109 | reg = <0xef600500 0x11>; | ||
110 | interrupt-parent = <0x2>; | ||
111 | interrupts = <0x2 0x4>; | ||
112 | }; | ||
113 | |||
114 | GPIO: gpio@ef600700 { | ||
115 | compatible = "ibm,gpio-405gp"; | ||
116 | reg = <0xef600700 0x20>; | ||
117 | }; | ||
118 | |||
119 | EMAC: ethernet@ef600800 { | ||
120 | device_type = "network"; | ||
121 | compatible = "ibm,emac-405gp", "ibm,emac"; | ||
122 | interrupt-parent = <0x2>; | ||
123 | interrupts = <0xf 0x4 0x9 0x4>; | ||
124 | local-mac-address = [00 00 00 00 00 00]; | ||
125 | reg = <0xef600800 0x70>; | ||
126 | mal-device = <0x3>; | ||
127 | mal-tx-channel = <0x0>; | ||
128 | mal-rx-channel = <0x0>; | ||
129 | cell-index = <0x0>; | ||
130 | max-frame-size = <0x5dc>; | ||
131 | rx-fifo-size = <0x1000>; | ||
132 | tx-fifo-size = <0x800>; | ||
133 | phy-mode = "rmii"; | ||
134 | phy-map = <0x1>; | ||
135 | }; | ||
136 | }; | ||
137 | |||
138 | EBC0: ebc { | ||
139 | compatible = "ibm,ebc-405gp", "ibm,ebc"; | ||
140 | dcr-reg = <0x12 0x2>; | ||
141 | #address-cells = <0x2>; | ||
142 | #size-cells = <0x1>; | ||
143 | clock-frequency = <0x0>; /* Filled in by U-Boot */ | ||
144 | |||
145 | sram@0,0 { | ||
146 | reg = <0x0 0x0 0x80000>; | ||
147 | }; | ||
148 | |||
149 | flash@0,80000 { | ||
150 | compatible = "jedec-flash"; | ||
151 | bank-width = <0x1>; | ||
152 | reg = <0x0 0x80000 0x80000>; | ||
153 | #address-cells = <0x1>; | ||
154 | #size-cells = <0x1>; | ||
155 | |||
156 | partition@0 { | ||
157 | label = "OpenBIOS"; | ||
158 | reg = <0x0 0x80000>; | ||
159 | read-only; | ||
160 | }; | ||
161 | }; | ||
162 | }; | ||
163 | }; | ||
164 | |||
165 | chosen { | ||
166 | linux,stdout-path = "/plb/opb/serial@ef600300"; | ||
167 | }; | ||
168 | }; | ||
diff --git a/arch/powerpc/configs/40x/acadia_defconfig b/arch/powerpc/configs/40x/acadia_defconfig new file mode 100644 index 000000000000..39bd9eb453f0 --- /dev/null +++ b/arch/powerpc/configs/40x/acadia_defconfig | |||
@@ -0,0 +1,921 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.27-rc5 | ||
4 | # Mon Oct 13 13:47:16 2008 | ||
5 | # | ||
6 | # CONFIG_PPC64 is not set | ||
7 | |||
8 | # | ||
9 | # Processor support | ||
10 | # | ||
11 | # CONFIG_6xx is not set | ||
12 | # CONFIG_PPC_85xx is not set | ||
13 | # CONFIG_PPC_8xx is not set | ||
14 | CONFIG_40x=y | ||
15 | # CONFIG_44x is not set | ||
16 | # CONFIG_E200 is not set | ||
17 | CONFIG_4xx=y | ||
18 | # CONFIG_PPC_MM_SLICES is not set | ||
19 | CONFIG_NOT_COHERENT_CACHE=y | ||
20 | CONFIG_PPC32=y | ||
21 | CONFIG_WORD_SIZE=32 | ||
22 | CONFIG_PPC_MERGE=y | ||
23 | CONFIG_MMU=y | ||
24 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
25 | CONFIG_GENERIC_TIME=y | ||
26 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
27 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
28 | CONFIG_GENERIC_HARDIRQS=y | ||
29 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
30 | CONFIG_IRQ_PER_CPU=y | ||
31 | CONFIG_STACKTRACE_SUPPORT=y | ||
32 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
33 | CONFIG_LOCKDEP_SUPPORT=y | ||
34 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
35 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
36 | CONFIG_GENERIC_HWEIGHT=y | ||
37 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
38 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
39 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
40 | CONFIG_PPC=y | ||
41 | CONFIG_EARLY_PRINTK=y | ||
42 | CONFIG_GENERIC_NVRAM=y | ||
43 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
44 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
45 | CONFIG_PPC_OF=y | ||
46 | CONFIG_OF=y | ||
47 | CONFIG_PPC_UDBG_16550=y | ||
48 | # CONFIG_GENERIC_TBSYNC is not set | ||
49 | CONFIG_AUDIT_ARCH=y | ||
50 | CONFIG_GENERIC_BUG=y | ||
51 | # CONFIG_DEFAULT_UIMAGE is not set | ||
52 | CONFIG_PPC_DCR_NATIVE=y | ||
53 | # CONFIG_PPC_DCR_MMIO is not set | ||
54 | CONFIG_PPC_DCR=y | ||
55 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
56 | |||
57 | # | ||
58 | # General setup | ||
59 | # | ||
60 | CONFIG_EXPERIMENTAL=y | ||
61 | CONFIG_BROKEN_ON_SMP=y | ||
62 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
63 | CONFIG_LOCALVERSION="" | ||
64 | CONFIG_LOCALVERSION_AUTO=y | ||
65 | CONFIG_SWAP=y | ||
66 | CONFIG_SYSVIPC=y | ||
67 | CONFIG_SYSVIPC_SYSCTL=y | ||
68 | CONFIG_POSIX_MQUEUE=y | ||
69 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
70 | # CONFIG_TASKSTATS is not set | ||
71 | # CONFIG_AUDIT is not set | ||
72 | # CONFIG_IKCONFIG is not set | ||
73 | CONFIG_LOG_BUF_SHIFT=14 | ||
74 | # CONFIG_CGROUPS is not set | ||
75 | CONFIG_GROUP_SCHED=y | ||
76 | # CONFIG_FAIR_GROUP_SCHED is not set | ||
77 | # CONFIG_RT_GROUP_SCHED is not set | ||
78 | CONFIG_USER_SCHED=y | ||
79 | # CONFIG_CGROUP_SCHED is not set | ||
80 | CONFIG_SYSFS_DEPRECATED=y | ||
81 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
82 | # CONFIG_RELAY is not set | ||
83 | # CONFIG_NAMESPACES is not set | ||
84 | CONFIG_BLK_DEV_INITRD=y | ||
85 | CONFIG_INITRAMFS_SOURCE="" | ||
86 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
87 | CONFIG_SYSCTL=y | ||
88 | CONFIG_EMBEDDED=y | ||
89 | CONFIG_SYSCTL_SYSCALL=y | ||
90 | CONFIG_KALLSYMS=y | ||
91 | CONFIG_KALLSYMS_ALL=y | ||
92 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
93 | CONFIG_HOTPLUG=y | ||
94 | CONFIG_PRINTK=y | ||
95 | CONFIG_BUG=y | ||
96 | CONFIG_ELF_CORE=y | ||
97 | CONFIG_COMPAT_BRK=y | ||
98 | CONFIG_BASE_FULL=y | ||
99 | CONFIG_FUTEX=y | ||
100 | CONFIG_ANON_INODES=y | ||
101 | CONFIG_EPOLL=y | ||
102 | CONFIG_SIGNALFD=y | ||
103 | CONFIG_TIMERFD=y | ||
104 | CONFIG_EVENTFD=y | ||
105 | CONFIG_SHMEM=y | ||
106 | CONFIG_VM_EVENT_COUNTERS=y | ||
107 | CONFIG_SLUB_DEBUG=y | ||
108 | # CONFIG_SLAB is not set | ||
109 | CONFIG_SLUB=y | ||
110 | # CONFIG_SLOB is not set | ||
111 | # CONFIG_PROFILING is not set | ||
112 | # CONFIG_MARKERS is not set | ||
113 | CONFIG_HAVE_OPROFILE=y | ||
114 | # CONFIG_KPROBES is not set | ||
115 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y | ||
116 | CONFIG_HAVE_IOREMAP_PROT=y | ||
117 | CONFIG_HAVE_KPROBES=y | ||
118 | CONFIG_HAVE_KRETPROBES=y | ||
119 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
120 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
121 | # CONFIG_USE_GENERIC_SMP_HELPERS is not set | ||
122 | # CONFIG_HAVE_CLK is not set | ||
123 | CONFIG_PROC_PAGE_MONITOR=y | ||
124 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
125 | CONFIG_SLABINFO=y | ||
126 | CONFIG_RT_MUTEXES=y | ||
127 | # CONFIG_TINY_SHMEM is not set | ||
128 | CONFIG_BASE_SMALL=0 | ||
129 | CONFIG_MODULES=y | ||
130 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
131 | CONFIG_MODULE_UNLOAD=y | ||
132 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
133 | # CONFIG_MODVERSIONS is not set | ||
134 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
135 | CONFIG_KMOD=y | ||
136 | CONFIG_BLOCK=y | ||
137 | CONFIG_LBD=y | ||
138 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
139 | # CONFIG_LSF is not set | ||
140 | # CONFIG_BLK_DEV_BSG is not set | ||
141 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
142 | |||
143 | # | ||
144 | # IO Schedulers | ||
145 | # | ||
146 | CONFIG_IOSCHED_NOOP=y | ||
147 | CONFIG_IOSCHED_AS=y | ||
148 | CONFIG_IOSCHED_DEADLINE=y | ||
149 | CONFIG_IOSCHED_CFQ=y | ||
150 | CONFIG_DEFAULT_AS=y | ||
151 | # CONFIG_DEFAULT_DEADLINE is not set | ||
152 | # CONFIG_DEFAULT_CFQ is not set | ||
153 | # CONFIG_DEFAULT_NOOP is not set | ||
154 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
155 | CONFIG_CLASSIC_RCU=y | ||
156 | # CONFIG_PPC4xx_PCI_EXPRESS is not set | ||
157 | |||
158 | # | ||
159 | # Platform support | ||
160 | # | ||
161 | # CONFIG_PPC_CELL is not set | ||
162 | # CONFIG_PPC_CELL_NATIVE is not set | ||
163 | # CONFIG_PQ2ADS is not set | ||
164 | CONFIG_ACADIA=y | ||
165 | # CONFIG_EP405 is not set | ||
166 | # CONFIG_KILAUEA is not set | ||
167 | # CONFIG_MAKALU is not set | ||
168 | # CONFIG_WALNUT is not set | ||
169 | # CONFIG_XILINX_VIRTEX_GENERIC_BOARD is not set | ||
170 | CONFIG_PPC40x_SIMPLE=y | ||
171 | CONFIG_405EZ=y | ||
172 | # CONFIG_IPIC is not set | ||
173 | # CONFIG_MPIC is not set | ||
174 | # CONFIG_MPIC_WEIRD is not set | ||
175 | # CONFIG_PPC_I8259 is not set | ||
176 | # CONFIG_PPC_RTAS is not set | ||
177 | # CONFIG_MMIO_NVRAM is not set | ||
178 | # CONFIG_PPC_MPC106 is not set | ||
179 | # CONFIG_PPC_970_NAP is not set | ||
180 | # CONFIG_PPC_INDIRECT_IO is not set | ||
181 | # CONFIG_GENERIC_IOMAP is not set | ||
182 | # CONFIG_CPU_FREQ is not set | ||
183 | # CONFIG_FSL_ULI1575 is not set | ||
184 | |||
185 | # | ||
186 | # Kernel options | ||
187 | # | ||
188 | # CONFIG_HIGHMEM is not set | ||
189 | # CONFIG_TICK_ONESHOT is not set | ||
190 | # CONFIG_NO_HZ is not set | ||
191 | # CONFIG_HIGH_RES_TIMERS is not set | ||
192 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
193 | # CONFIG_HZ_100 is not set | ||
194 | CONFIG_HZ_250=y | ||
195 | # CONFIG_HZ_300 is not set | ||
196 | # CONFIG_HZ_1000 is not set | ||
197 | CONFIG_HZ=250 | ||
198 | # CONFIG_SCHED_HRTICK is not set | ||
199 | CONFIG_PREEMPT_NONE=y | ||
200 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
201 | # CONFIG_PREEMPT is not set | ||
202 | CONFIG_BINFMT_ELF=y | ||
203 | # CONFIG_BINFMT_MISC is not set | ||
204 | # CONFIG_MATH_EMULATION is not set | ||
205 | # CONFIG_IOMMU_HELPER is not set | ||
206 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
207 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
208 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
209 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
210 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
211 | CONFIG_SELECT_MEMORY_MODEL=y | ||
212 | CONFIG_FLATMEM_MANUAL=y | ||
213 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
214 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
215 | CONFIG_FLATMEM=y | ||
216 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
217 | # CONFIG_SPARSEMEM_STATIC is not set | ||
218 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
219 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
220 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
221 | CONFIG_MIGRATION=y | ||
222 | # CONFIG_RESOURCES_64BIT is not set | ||
223 | CONFIG_ZONE_DMA_FLAG=1 | ||
224 | CONFIG_BOUNCE=y | ||
225 | CONFIG_VIRT_TO_BUS=y | ||
226 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
227 | CONFIG_PROC_DEVICETREE=y | ||
228 | # CONFIG_CMDLINE_BOOL is not set | ||
229 | CONFIG_EXTRA_TARGETS="" | ||
230 | # CONFIG_PM is not set | ||
231 | CONFIG_SECCOMP=y | ||
232 | CONFIG_ISA_DMA_API=y | ||
233 | |||
234 | # | ||
235 | # Bus options | ||
236 | # | ||
237 | CONFIG_ZONE_DMA=y | ||
238 | CONFIG_PPC_INDIRECT_PCI=y | ||
239 | CONFIG_4xx_SOC=y | ||
240 | CONFIG_PPC_PCI_CHOICE=y | ||
241 | CONFIG_PCI=y | ||
242 | CONFIG_PCI_DOMAINS=y | ||
243 | CONFIG_PCI_SYSCALL=y | ||
244 | # CONFIG_PCIEPORTBUS is not set | ||
245 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
246 | # CONFIG_PCI_MSI is not set | ||
247 | CONFIG_PCI_LEGACY=y | ||
248 | # CONFIG_PCI_DEBUG is not set | ||
249 | # CONFIG_PCCARD is not set | ||
250 | # CONFIG_HOTPLUG_PCI is not set | ||
251 | # CONFIG_HAS_RAPIDIO is not set | ||
252 | |||
253 | # | ||
254 | # Advanced setup | ||
255 | # | ||
256 | # CONFIG_ADVANCED_OPTIONS is not set | ||
257 | |||
258 | # | ||
259 | # Default settings for advanced configuration options are used | ||
260 | # | ||
261 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
262 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
263 | CONFIG_KERNEL_START=0xc0000000 | ||
264 | CONFIG_PHYSICAL_START=0x00000000 | ||
265 | CONFIG_TASK_SIZE=0xc0000000 | ||
266 | CONFIG_CONSISTENT_START=0xff100000 | ||
267 | CONFIG_CONSISTENT_SIZE=0x00200000 | ||
268 | CONFIG_NET=y | ||
269 | |||
270 | # | ||
271 | # Networking options | ||
272 | # | ||
273 | CONFIG_PACKET=y | ||
274 | # CONFIG_PACKET_MMAP is not set | ||
275 | CONFIG_UNIX=y | ||
276 | # CONFIG_NET_KEY is not set | ||
277 | CONFIG_INET=y | ||
278 | # CONFIG_IP_MULTICAST is not set | ||
279 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
280 | CONFIG_IP_FIB_HASH=y | ||
281 | CONFIG_IP_PNP=y | ||
282 | CONFIG_IP_PNP_DHCP=y | ||
283 | CONFIG_IP_PNP_BOOTP=y | ||
284 | # CONFIG_IP_PNP_RARP is not set | ||
285 | # CONFIG_NET_IPIP is not set | ||
286 | # CONFIG_NET_IPGRE is not set | ||
287 | # CONFIG_ARPD is not set | ||
288 | # CONFIG_SYN_COOKIES is not set | ||
289 | # CONFIG_INET_AH is not set | ||
290 | # CONFIG_INET_ESP is not set | ||
291 | # CONFIG_INET_IPCOMP is not set | ||
292 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
293 | # CONFIG_INET_TUNNEL is not set | ||
294 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
295 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
296 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
297 | # CONFIG_INET_LRO is not set | ||
298 | CONFIG_INET_DIAG=y | ||
299 | CONFIG_INET_TCP_DIAG=y | ||
300 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
301 | CONFIG_TCP_CONG_CUBIC=y | ||
302 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
303 | # CONFIG_TCP_MD5SIG is not set | ||
304 | # CONFIG_IPV6 is not set | ||
305 | # CONFIG_NETWORK_SECMARK is not set | ||
306 | # CONFIG_NETFILTER is not set | ||
307 | # CONFIG_IP_DCCP is not set | ||
308 | # CONFIG_IP_SCTP is not set | ||
309 | # CONFIG_TIPC is not set | ||
310 | # CONFIG_ATM is not set | ||
311 | # CONFIG_BRIDGE is not set | ||
312 | # CONFIG_VLAN_8021Q is not set | ||
313 | # CONFIG_DECNET is not set | ||
314 | # CONFIG_LLC2 is not set | ||
315 | # CONFIG_IPX is not set | ||
316 | # CONFIG_ATALK is not set | ||
317 | # CONFIG_X25 is not set | ||
318 | # CONFIG_LAPB is not set | ||
319 | # CONFIG_ECONET is not set | ||
320 | # CONFIG_WAN_ROUTER is not set | ||
321 | # CONFIG_NET_SCHED is not set | ||
322 | |||
323 | # | ||
324 | # Network testing | ||
325 | # | ||
326 | # CONFIG_NET_PKTGEN is not set | ||
327 | # CONFIG_HAMRADIO is not set | ||
328 | # CONFIG_CAN is not set | ||
329 | # CONFIG_IRDA is not set | ||
330 | # CONFIG_BT is not set | ||
331 | # CONFIG_AF_RXRPC is not set | ||
332 | |||
333 | # | ||
334 | # Wireless | ||
335 | # | ||
336 | # CONFIG_CFG80211 is not set | ||
337 | # CONFIG_WIRELESS_EXT is not set | ||
338 | # CONFIG_MAC80211 is not set | ||
339 | # CONFIG_IEEE80211 is not set | ||
340 | # CONFIG_RFKILL is not set | ||
341 | # CONFIG_NET_9P is not set | ||
342 | |||
343 | # | ||
344 | # Device Drivers | ||
345 | # | ||
346 | |||
347 | # | ||
348 | # Generic Driver Options | ||
349 | # | ||
350 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
351 | CONFIG_STANDALONE=y | ||
352 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
353 | CONFIG_FW_LOADER=y | ||
354 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
355 | CONFIG_EXTRA_FIRMWARE="" | ||
356 | # CONFIG_DEBUG_DRIVER is not set | ||
357 | # CONFIG_DEBUG_DEVRES is not set | ||
358 | # CONFIG_SYS_HYPERVISOR is not set | ||
359 | CONFIG_CONNECTOR=y | ||
360 | CONFIG_PROC_EVENTS=y | ||
361 | CONFIG_MTD=y | ||
362 | # CONFIG_MTD_DEBUG is not set | ||
363 | # CONFIG_MTD_CONCAT is not set | ||
364 | CONFIG_MTD_PARTITIONS=y | ||
365 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
366 | CONFIG_MTD_CMDLINE_PARTS=y | ||
367 | CONFIG_MTD_OF_PARTS=y | ||
368 | # CONFIG_MTD_AR7_PARTS is not set | ||
369 | |||
370 | # | ||
371 | # User Modules And Translation Layers | ||
372 | # | ||
373 | CONFIG_MTD_CHAR=y | ||
374 | CONFIG_MTD_BLKDEVS=m | ||
375 | CONFIG_MTD_BLOCK=m | ||
376 | # CONFIG_MTD_BLOCK_RO is not set | ||
377 | # CONFIG_FTL is not set | ||
378 | # CONFIG_NFTL is not set | ||
379 | # CONFIG_INFTL is not set | ||
380 | # CONFIG_RFD_FTL is not set | ||
381 | # CONFIG_SSFDC is not set | ||
382 | # CONFIG_MTD_OOPS is not set | ||
383 | |||
384 | # | ||
385 | # RAM/ROM/Flash chip drivers | ||
386 | # | ||
387 | CONFIG_MTD_CFI=y | ||
388 | CONFIG_MTD_JEDECPROBE=y | ||
389 | CONFIG_MTD_GEN_PROBE=y | ||
390 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
391 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
392 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
393 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
394 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
395 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
396 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
397 | CONFIG_MTD_CFI_I1=y | ||
398 | CONFIG_MTD_CFI_I2=y | ||
399 | # CONFIG_MTD_CFI_I4 is not set | ||
400 | # CONFIG_MTD_CFI_I8 is not set | ||
401 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
402 | CONFIG_MTD_CFI_AMDSTD=y | ||
403 | # CONFIG_MTD_CFI_STAA is not set | ||
404 | CONFIG_MTD_CFI_UTIL=y | ||
405 | # CONFIG_MTD_RAM is not set | ||
406 | # CONFIG_MTD_ROM is not set | ||
407 | # CONFIG_MTD_ABSENT is not set | ||
408 | |||
409 | # | ||
410 | # Mapping drivers for chip access | ||
411 | # | ||
412 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
413 | # CONFIG_MTD_PHYSMAP is not set | ||
414 | CONFIG_MTD_PHYSMAP_OF=y | ||
415 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
416 | # CONFIG_MTD_PLATRAM is not set | ||
417 | |||
418 | # | ||
419 | # Self-contained MTD device drivers | ||
420 | # | ||
421 | # CONFIG_MTD_PMC551 is not set | ||
422 | # CONFIG_MTD_SLRAM is not set | ||
423 | # CONFIG_MTD_PHRAM is not set | ||
424 | # CONFIG_MTD_MTDRAM is not set | ||
425 | # CONFIG_MTD_BLOCK2MTD is not set | ||
426 | |||
427 | # | ||
428 | # Disk-On-Chip Device Drivers | ||
429 | # | ||
430 | # CONFIG_MTD_DOC2000 is not set | ||
431 | # CONFIG_MTD_DOC2001 is not set | ||
432 | # CONFIG_MTD_DOC2001PLUS is not set | ||
433 | # CONFIG_MTD_NAND is not set | ||
434 | # CONFIG_MTD_ONENAND is not set | ||
435 | |||
436 | # | ||
437 | # UBI - Unsorted block images | ||
438 | # | ||
439 | # CONFIG_MTD_UBI is not set | ||
440 | CONFIG_OF_DEVICE=y | ||
441 | # CONFIG_PARPORT is not set | ||
442 | CONFIG_BLK_DEV=y | ||
443 | # CONFIG_BLK_DEV_FD is not set | ||
444 | # CONFIG_BLK_CPQ_DA is not set | ||
445 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
446 | # CONFIG_BLK_DEV_DAC960 is not set | ||
447 | # CONFIG_BLK_DEV_UMEM is not set | ||
448 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
449 | # CONFIG_BLK_DEV_LOOP is not set | ||
450 | # CONFIG_BLK_DEV_NBD is not set | ||
451 | # CONFIG_BLK_DEV_SX8 is not set | ||
452 | CONFIG_BLK_DEV_RAM=y | ||
453 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
454 | CONFIG_BLK_DEV_RAM_SIZE=35000 | ||
455 | # CONFIG_BLK_DEV_XIP is not set | ||
456 | # CONFIG_CDROM_PKTCDVD is not set | ||
457 | # CONFIG_ATA_OVER_ETH is not set | ||
458 | # CONFIG_XILINX_SYSACE is not set | ||
459 | # CONFIG_BLK_DEV_HD is not set | ||
460 | # CONFIG_MISC_DEVICES is not set | ||
461 | CONFIG_HAVE_IDE=y | ||
462 | # CONFIG_IDE is not set | ||
463 | |||
464 | # | ||
465 | # SCSI device support | ||
466 | # | ||
467 | # CONFIG_RAID_ATTRS is not set | ||
468 | # CONFIG_SCSI is not set | ||
469 | # CONFIG_SCSI_DMA is not set | ||
470 | # CONFIG_SCSI_NETLINK is not set | ||
471 | # CONFIG_ATA is not set | ||
472 | # CONFIG_MD is not set | ||
473 | # CONFIG_FUSION is not set | ||
474 | |||
475 | # | ||
476 | # IEEE 1394 (FireWire) support | ||
477 | # | ||
478 | |||
479 | # | ||
480 | # Enable only one of the two stacks, unless you know what you are doing | ||
481 | # | ||
482 | # CONFIG_FIREWIRE is not set | ||
483 | # CONFIG_IEEE1394 is not set | ||
484 | # CONFIG_I2O is not set | ||
485 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
486 | CONFIG_NETDEVICES=y | ||
487 | # CONFIG_DUMMY is not set | ||
488 | # CONFIG_BONDING is not set | ||
489 | # CONFIG_MACVLAN is not set | ||
490 | # CONFIG_EQUALIZER is not set | ||
491 | # CONFIG_TUN is not set | ||
492 | # CONFIG_VETH is not set | ||
493 | # CONFIG_ARCNET is not set | ||
494 | # CONFIG_PHYLIB is not set | ||
495 | CONFIG_NET_ETHERNET=y | ||
496 | CONFIG_MII=y | ||
497 | # CONFIG_HAPPYMEAL is not set | ||
498 | # CONFIG_SUNGEM is not set | ||
499 | # CONFIG_CASSINI is not set | ||
500 | # CONFIG_NET_VENDOR_3COM is not set | ||
501 | # CONFIG_NET_TULIP is not set | ||
502 | # CONFIG_HP100 is not set | ||
503 | CONFIG_IBM_NEW_EMAC=y | ||
504 | CONFIG_IBM_NEW_EMAC_RXB=256 | ||
505 | CONFIG_IBM_NEW_EMAC_TXB=256 | ||
506 | CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32 | ||
507 | CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256 | ||
508 | CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0 | ||
509 | CONFIG_IBM_NEW_EMAC_DEBUG=y | ||
510 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
511 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
512 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
513 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
514 | CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL=y | ||
515 | CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT=y | ||
516 | CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR=y | ||
517 | # CONFIG_NET_PCI is not set | ||
518 | # CONFIG_B44 is not set | ||
519 | # CONFIG_NETDEV_1000 is not set | ||
520 | # CONFIG_NETDEV_10000 is not set | ||
521 | # CONFIG_TR is not set | ||
522 | |||
523 | # | ||
524 | # Wireless LAN | ||
525 | # | ||
526 | # CONFIG_WLAN_PRE80211 is not set | ||
527 | # CONFIG_WLAN_80211 is not set | ||
528 | # CONFIG_IWLWIFI_LEDS is not set | ||
529 | # CONFIG_WAN is not set | ||
530 | # CONFIG_FDDI is not set | ||
531 | # CONFIG_HIPPI is not set | ||
532 | # CONFIG_PPP is not set | ||
533 | # CONFIG_SLIP is not set | ||
534 | # CONFIG_NETCONSOLE is not set | ||
535 | # CONFIG_NETPOLL is not set | ||
536 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
537 | # CONFIG_ISDN is not set | ||
538 | # CONFIG_PHONE is not set | ||
539 | |||
540 | # | ||
541 | # Input device support | ||
542 | # | ||
543 | # CONFIG_INPUT is not set | ||
544 | |||
545 | # | ||
546 | # Hardware I/O ports | ||
547 | # | ||
548 | # CONFIG_SERIO is not set | ||
549 | # CONFIG_GAMEPORT is not set | ||
550 | |||
551 | # | ||
552 | # Character devices | ||
553 | # | ||
554 | # CONFIG_VT is not set | ||
555 | CONFIG_DEVKMEM=y | ||
556 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
557 | # CONFIG_NOZOMI is not set | ||
558 | |||
559 | # | ||
560 | # Serial drivers | ||
561 | # | ||
562 | CONFIG_SERIAL_8250=y | ||
563 | CONFIG_SERIAL_8250_CONSOLE=y | ||
564 | CONFIG_SERIAL_8250_PCI=y | ||
565 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
566 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
567 | CONFIG_SERIAL_8250_EXTENDED=y | ||
568 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
569 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
570 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
571 | # CONFIG_SERIAL_8250_RSA is not set | ||
572 | |||
573 | # | ||
574 | # Non-8250 serial port support | ||
575 | # | ||
576 | # CONFIG_SERIAL_UARTLITE is not set | ||
577 | CONFIG_SERIAL_CORE=y | ||
578 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
579 | # CONFIG_SERIAL_JSM is not set | ||
580 | CONFIG_SERIAL_OF_PLATFORM=y | ||
581 | CONFIG_UNIX98_PTYS=y | ||
582 | CONFIG_LEGACY_PTYS=y | ||
583 | CONFIG_LEGACY_PTY_COUNT=256 | ||
584 | # CONFIG_IPMI_HANDLER is not set | ||
585 | # CONFIG_HW_RANDOM is not set | ||
586 | # CONFIG_NVRAM is not set | ||
587 | # CONFIG_GEN_RTC is not set | ||
588 | # CONFIG_R3964 is not set | ||
589 | # CONFIG_APPLICOM is not set | ||
590 | # CONFIG_RAW_DRIVER is not set | ||
591 | # CONFIG_TCG_TPM is not set | ||
592 | CONFIG_DEVPORT=y | ||
593 | # CONFIG_I2C is not set | ||
594 | # CONFIG_SPI is not set | ||
595 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
596 | # CONFIG_GPIOLIB is not set | ||
597 | # CONFIG_W1 is not set | ||
598 | # CONFIG_POWER_SUPPLY is not set | ||
599 | # CONFIG_HWMON is not set | ||
600 | CONFIG_THERMAL=y | ||
601 | # CONFIG_WATCHDOG is not set | ||
602 | |||
603 | # | ||
604 | # Sonics Silicon Backplane | ||
605 | # | ||
606 | CONFIG_SSB_POSSIBLE=y | ||
607 | # CONFIG_SSB is not set | ||
608 | |||
609 | # | ||
610 | # Multifunction device drivers | ||
611 | # | ||
612 | # CONFIG_MFD_CORE is not set | ||
613 | # CONFIG_MFD_SM501 is not set | ||
614 | # CONFIG_HTC_PASIC3 is not set | ||
615 | # CONFIG_MFD_TMIO is not set | ||
616 | |||
617 | # | ||
618 | # Multimedia devices | ||
619 | # | ||
620 | |||
621 | # | ||
622 | # Multimedia core support | ||
623 | # | ||
624 | # CONFIG_VIDEO_DEV is not set | ||
625 | # CONFIG_DVB_CORE is not set | ||
626 | # CONFIG_VIDEO_MEDIA is not set | ||
627 | |||
628 | # | ||
629 | # Multimedia drivers | ||
630 | # | ||
631 | # CONFIG_DAB is not set | ||
632 | |||
633 | # | ||
634 | # Graphics support | ||
635 | # | ||
636 | # CONFIG_AGP is not set | ||
637 | # CONFIG_DRM is not set | ||
638 | # CONFIG_VGASTATE is not set | ||
639 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
640 | # CONFIG_FB is not set | ||
641 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
642 | |||
643 | # | ||
644 | # Display device support | ||
645 | # | ||
646 | # CONFIG_DISPLAY_SUPPORT is not set | ||
647 | # CONFIG_SOUND is not set | ||
648 | # CONFIG_USB_SUPPORT is not set | ||
649 | # CONFIG_MMC is not set | ||
650 | # CONFIG_MEMSTICK is not set | ||
651 | # CONFIG_NEW_LEDS is not set | ||
652 | # CONFIG_ACCESSIBILITY is not set | ||
653 | # CONFIG_INFINIBAND is not set | ||
654 | # CONFIG_EDAC is not set | ||
655 | # CONFIG_RTC_CLASS is not set | ||
656 | # CONFIG_DMADEVICES is not set | ||
657 | # CONFIG_UIO is not set | ||
658 | |||
659 | # | ||
660 | # File systems | ||
661 | # | ||
662 | CONFIG_EXT2_FS=y | ||
663 | # CONFIG_EXT2_FS_XATTR is not set | ||
664 | # CONFIG_EXT2_FS_XIP is not set | ||
665 | # CONFIG_EXT3_FS is not set | ||
666 | # CONFIG_EXT4DEV_FS is not set | ||
667 | # CONFIG_REISERFS_FS is not set | ||
668 | # CONFIG_JFS_FS is not set | ||
669 | # CONFIG_FS_POSIX_ACL is not set | ||
670 | # CONFIG_XFS_FS is not set | ||
671 | # CONFIG_OCFS2_FS is not set | ||
672 | CONFIG_DNOTIFY=y | ||
673 | CONFIG_INOTIFY=y | ||
674 | CONFIG_INOTIFY_USER=y | ||
675 | # CONFIG_QUOTA is not set | ||
676 | # CONFIG_AUTOFS_FS is not set | ||
677 | # CONFIG_AUTOFS4_FS is not set | ||
678 | # CONFIG_FUSE_FS is not set | ||
679 | |||
680 | # | ||
681 | # CD-ROM/DVD Filesystems | ||
682 | # | ||
683 | # CONFIG_ISO9660_FS is not set | ||
684 | # CONFIG_UDF_FS is not set | ||
685 | |||
686 | # | ||
687 | # DOS/FAT/NT Filesystems | ||
688 | # | ||
689 | # CONFIG_MSDOS_FS is not set | ||
690 | # CONFIG_VFAT_FS is not set | ||
691 | # CONFIG_NTFS_FS is not set | ||
692 | |||
693 | # | ||
694 | # Pseudo filesystems | ||
695 | # | ||
696 | CONFIG_PROC_FS=y | ||
697 | CONFIG_PROC_KCORE=y | ||
698 | CONFIG_PROC_SYSCTL=y | ||
699 | CONFIG_SYSFS=y | ||
700 | CONFIG_TMPFS=y | ||
701 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
702 | # CONFIG_HUGETLB_PAGE is not set | ||
703 | # CONFIG_CONFIGFS_FS is not set | ||
704 | |||
705 | # | ||
706 | # Miscellaneous filesystems | ||
707 | # | ||
708 | # CONFIG_ADFS_FS is not set | ||
709 | # CONFIG_AFFS_FS is not set | ||
710 | # CONFIG_HFS_FS is not set | ||
711 | # CONFIG_HFSPLUS_FS is not set | ||
712 | # CONFIG_BEFS_FS is not set | ||
713 | # CONFIG_BFS_FS is not set | ||
714 | # CONFIG_EFS_FS is not set | ||
715 | # CONFIG_JFFS2_FS is not set | ||
716 | CONFIG_CRAMFS=y | ||
717 | # CONFIG_VXFS_FS is not set | ||
718 | # CONFIG_MINIX_FS is not set | ||
719 | # CONFIG_OMFS_FS is not set | ||
720 | # CONFIG_HPFS_FS is not set | ||
721 | # CONFIG_QNX4FS_FS is not set | ||
722 | # CONFIG_ROMFS_FS is not set | ||
723 | # CONFIG_SYSV_FS is not set | ||
724 | # CONFIG_UFS_FS is not set | ||
725 | CONFIG_NETWORK_FILESYSTEMS=y | ||
726 | CONFIG_NFS_FS=y | ||
727 | CONFIG_NFS_V3=y | ||
728 | # CONFIG_NFS_V3_ACL is not set | ||
729 | # CONFIG_NFS_V4 is not set | ||
730 | CONFIG_ROOT_NFS=y | ||
731 | # CONFIG_NFSD is not set | ||
732 | CONFIG_LOCKD=y | ||
733 | CONFIG_LOCKD_V4=y | ||
734 | CONFIG_NFS_COMMON=y | ||
735 | CONFIG_SUNRPC=y | ||
736 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
737 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
738 | # CONFIG_SMB_FS is not set | ||
739 | # CONFIG_CIFS is not set | ||
740 | # CONFIG_NCP_FS is not set | ||
741 | # CONFIG_CODA_FS is not set | ||
742 | # CONFIG_AFS_FS is not set | ||
743 | |||
744 | # | ||
745 | # Partition Types | ||
746 | # | ||
747 | # CONFIG_PARTITION_ADVANCED is not set | ||
748 | CONFIG_MSDOS_PARTITION=y | ||
749 | # CONFIG_NLS is not set | ||
750 | # CONFIG_DLM is not set | ||
751 | |||
752 | # | ||
753 | # Library routines | ||
754 | # | ||
755 | CONFIG_BITREVERSE=y | ||
756 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
757 | # CONFIG_CRC_CCITT is not set | ||
758 | # CONFIG_CRC16 is not set | ||
759 | # CONFIG_CRC_T10DIF is not set | ||
760 | # CONFIG_CRC_ITU_T is not set | ||
761 | CONFIG_CRC32=y | ||
762 | # CONFIG_CRC7 is not set | ||
763 | # CONFIG_LIBCRC32C is not set | ||
764 | CONFIG_ZLIB_INFLATE=y | ||
765 | CONFIG_PLIST=y | ||
766 | CONFIG_HAS_IOMEM=y | ||
767 | CONFIG_HAS_IOPORT=y | ||
768 | CONFIG_HAS_DMA=y | ||
769 | CONFIG_HAVE_LMB=y | ||
770 | |||
771 | # | ||
772 | # Kernel hacking | ||
773 | # | ||
774 | # CONFIG_PRINTK_TIME is not set | ||
775 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
776 | CONFIG_ENABLE_MUST_CHECK=y | ||
777 | CONFIG_FRAME_WARN=1024 | ||
778 | CONFIG_MAGIC_SYSRQ=y | ||
779 | # CONFIG_UNUSED_SYMBOLS is not set | ||
780 | CONFIG_DEBUG_FS=y | ||
781 | # CONFIG_HEADERS_CHECK is not set | ||
782 | CONFIG_DEBUG_KERNEL=y | ||
783 | # CONFIG_DEBUG_SHIRQ is not set | ||
784 | CONFIG_DETECT_SOFTLOCKUP=y | ||
785 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
786 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
787 | CONFIG_SCHED_DEBUG=y | ||
788 | # CONFIG_SCHEDSTATS is not set | ||
789 | # CONFIG_TIMER_STATS is not set | ||
790 | # CONFIG_DEBUG_OBJECTS is not set | ||
791 | # CONFIG_SLUB_DEBUG_ON is not set | ||
792 | # CONFIG_SLUB_STATS is not set | ||
793 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
794 | # CONFIG_RT_MUTEX_TESTER is not set | ||
795 | # CONFIG_DEBUG_SPINLOCK is not set | ||
796 | # CONFIG_DEBUG_MUTEXES is not set | ||
797 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
798 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
799 | # CONFIG_DEBUG_KOBJECT is not set | ||
800 | CONFIG_DEBUG_BUGVERBOSE=y | ||
801 | # CONFIG_DEBUG_INFO is not set | ||
802 | # CONFIG_DEBUG_VM is not set | ||
803 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
804 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
805 | # CONFIG_DEBUG_LIST is not set | ||
806 | # CONFIG_DEBUG_SG is not set | ||
807 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
808 | # CONFIG_RCU_TORTURE_TEST is not set | ||
809 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
810 | # CONFIG_FAULT_INJECTION is not set | ||
811 | # CONFIG_LATENCYTOP is not set | ||
812 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
813 | CONFIG_HAVE_FTRACE=y | ||
814 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
815 | # CONFIG_FTRACE is not set | ||
816 | # CONFIG_SCHED_TRACER is not set | ||
817 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
818 | # CONFIG_SAMPLES is not set | ||
819 | CONFIG_HAVE_ARCH_KGDB=y | ||
820 | # CONFIG_KGDB is not set | ||
821 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
822 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
823 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
824 | # CONFIG_CODE_PATCHING_SELFTEST is not set | ||
825 | # CONFIG_FTR_FIXUP_SELFTEST is not set | ||
826 | # CONFIG_MSI_BITMAP_SELFTEST is not set | ||
827 | # CONFIG_XMON is not set | ||
828 | # CONFIG_IRQSTACKS is not set | ||
829 | # CONFIG_VIRQ_DEBUG is not set | ||
830 | # CONFIG_BDI_SWITCH is not set | ||
831 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
832 | |||
833 | # | ||
834 | # Security options | ||
835 | # | ||
836 | # CONFIG_KEYS is not set | ||
837 | # CONFIG_SECURITY is not set | ||
838 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
839 | CONFIG_CRYPTO=y | ||
840 | |||
841 | # | ||
842 | # Crypto core or helper | ||
843 | # | ||
844 | CONFIG_CRYPTO_ALGAPI=y | ||
845 | CONFIG_CRYPTO_BLKCIPHER=y | ||
846 | CONFIG_CRYPTO_MANAGER=y | ||
847 | # CONFIG_CRYPTO_GF128MUL is not set | ||
848 | # CONFIG_CRYPTO_NULL is not set | ||
849 | # CONFIG_CRYPTO_CRYPTD is not set | ||
850 | # CONFIG_CRYPTO_AUTHENC is not set | ||
851 | # CONFIG_CRYPTO_TEST is not set | ||
852 | |||
853 | # | ||
854 | # Authenticated Encryption with Associated Data | ||
855 | # | ||
856 | # CONFIG_CRYPTO_CCM is not set | ||
857 | # CONFIG_CRYPTO_GCM is not set | ||
858 | # CONFIG_CRYPTO_SEQIV is not set | ||
859 | |||
860 | # | ||
861 | # Block modes | ||
862 | # | ||
863 | CONFIG_CRYPTO_CBC=y | ||
864 | # CONFIG_CRYPTO_CTR is not set | ||
865 | # CONFIG_CRYPTO_CTS is not set | ||
866 | CONFIG_CRYPTO_ECB=y | ||
867 | # CONFIG_CRYPTO_LRW is not set | ||
868 | CONFIG_CRYPTO_PCBC=y | ||
869 | # CONFIG_CRYPTO_XTS is not set | ||
870 | |||
871 | # | ||
872 | # Hash modes | ||
873 | # | ||
874 | # CONFIG_CRYPTO_HMAC is not set | ||
875 | # CONFIG_CRYPTO_XCBC is not set | ||
876 | |||
877 | # | ||
878 | # Digest | ||
879 | # | ||
880 | # CONFIG_CRYPTO_CRC32C is not set | ||
881 | # CONFIG_CRYPTO_MD4 is not set | ||
882 | CONFIG_CRYPTO_MD5=y | ||
883 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
884 | # CONFIG_CRYPTO_RMD128 is not set | ||
885 | # CONFIG_CRYPTO_RMD160 is not set | ||
886 | # CONFIG_CRYPTO_RMD256 is not set | ||
887 | # CONFIG_CRYPTO_RMD320 is not set | ||
888 | # CONFIG_CRYPTO_SHA1 is not set | ||
889 | # CONFIG_CRYPTO_SHA256 is not set | ||
890 | # CONFIG_CRYPTO_SHA512 is not set | ||
891 | # CONFIG_CRYPTO_TGR192 is not set | ||
892 | # CONFIG_CRYPTO_WP512 is not set | ||
893 | |||
894 | # | ||
895 | # Ciphers | ||
896 | # | ||
897 | # CONFIG_CRYPTO_AES is not set | ||
898 | # CONFIG_CRYPTO_ANUBIS is not set | ||
899 | # CONFIG_CRYPTO_ARC4 is not set | ||
900 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
901 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
902 | # CONFIG_CRYPTO_CAST5 is not set | ||
903 | # CONFIG_CRYPTO_CAST6 is not set | ||
904 | CONFIG_CRYPTO_DES=y | ||
905 | # CONFIG_CRYPTO_FCRYPT is not set | ||
906 | # CONFIG_CRYPTO_KHAZAD is not set | ||
907 | # CONFIG_CRYPTO_SALSA20 is not set | ||
908 | # CONFIG_CRYPTO_SEED is not set | ||
909 | # CONFIG_CRYPTO_SERPENT is not set | ||
910 | # CONFIG_CRYPTO_TEA is not set | ||
911 | # CONFIG_CRYPTO_TWOFISH is not set | ||
912 | |||
913 | # | ||
914 | # Compression | ||
915 | # | ||
916 | # CONFIG_CRYPTO_DEFLATE is not set | ||
917 | # CONFIG_CRYPTO_LZO is not set | ||
918 | CONFIG_CRYPTO_HW=y | ||
919 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
920 | # CONFIG_PPC_CLOCK is not set | ||
921 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/configs/40x/hcu4_defconfig b/arch/powerpc/configs/40x/hcu4_defconfig new file mode 100644 index 000000000000..682fce02c73a --- /dev/null +++ b/arch/powerpc/configs/40x/hcu4_defconfig | |||
@@ -0,0 +1,929 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26.5 | ||
4 | # Tue Sep 16 00:44:33 2008 | ||
5 | # | ||
6 | # CONFIG_PPC64 is not set | ||
7 | |||
8 | # | ||
9 | # Processor support | ||
10 | # | ||
11 | # CONFIG_6xx is not set | ||
12 | # CONFIG_PPC_85xx is not set | ||
13 | # CONFIG_PPC_8xx is not set | ||
14 | CONFIG_40x=y | ||
15 | # CONFIG_44x is not set | ||
16 | # CONFIG_E200 is not set | ||
17 | CONFIG_4xx=y | ||
18 | # CONFIG_PPC_MM_SLICES is not set | ||
19 | CONFIG_NOT_COHERENT_CACHE=y | ||
20 | CONFIG_PPC32=y | ||
21 | CONFIG_WORD_SIZE=32 | ||
22 | CONFIG_PPC_MERGE=y | ||
23 | CONFIG_MMU=y | ||
24 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
25 | CONFIG_GENERIC_TIME=y | ||
26 | CONFIG_GENERIC_TIME_VSYSCALL=y | ||
27 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
28 | CONFIG_GENERIC_HARDIRQS=y | ||
29 | # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set | ||
30 | CONFIG_IRQ_PER_CPU=y | ||
31 | CONFIG_STACKTRACE_SUPPORT=y | ||
32 | CONFIG_LOCKDEP_SUPPORT=y | ||
33 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y | ||
34 | CONFIG_ARCH_HAS_ILOG2_U32=y | ||
35 | CONFIG_GENERIC_HWEIGHT=y | ||
36 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
37 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
38 | # CONFIG_ARCH_NO_VIRT_TO_BUS is not set | ||
39 | CONFIG_PPC=y | ||
40 | CONFIG_EARLY_PRINTK=y | ||
41 | CONFIG_GENERIC_NVRAM=y | ||
42 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | ||
43 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | ||
44 | CONFIG_PPC_OF=y | ||
45 | CONFIG_OF=y | ||
46 | CONFIG_PPC_UDBG_16550=y | ||
47 | # CONFIG_GENERIC_TBSYNC is not set | ||
48 | CONFIG_AUDIT_ARCH=y | ||
49 | CONFIG_GENERIC_BUG=y | ||
50 | # CONFIG_DEFAULT_UIMAGE is not set | ||
51 | CONFIG_PPC_DCR_NATIVE=y | ||
52 | # CONFIG_PPC_DCR_MMIO is not set | ||
53 | CONFIG_PPC_DCR=y | ||
54 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
55 | |||
56 | # | ||
57 | # General setup | ||
58 | # | ||
59 | CONFIG_EXPERIMENTAL=y | ||
60 | CONFIG_BROKEN_ON_SMP=y | ||
61 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
62 | CONFIG_LOCALVERSION="" | ||
63 | CONFIG_LOCALVERSION_AUTO=y | ||
64 | CONFIG_SWAP=y | ||
65 | CONFIG_SYSVIPC=y | ||
66 | CONFIG_SYSVIPC_SYSCTL=y | ||
67 | CONFIG_POSIX_MQUEUE=y | ||
68 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
69 | # CONFIG_TASKSTATS is not set | ||
70 | # CONFIG_AUDIT is not set | ||
71 | # CONFIG_IKCONFIG is not set | ||
72 | CONFIG_LOG_BUF_SHIFT=14 | ||
73 | # CONFIG_CGROUPS is not set | ||
74 | CONFIG_GROUP_SCHED=y | ||
75 | CONFIG_FAIR_GROUP_SCHED=y | ||
76 | # CONFIG_RT_GROUP_SCHED is not set | ||
77 | CONFIG_USER_SCHED=y | ||
78 | # CONFIG_CGROUP_SCHED is not set | ||
79 | CONFIG_SYSFS_DEPRECATED=y | ||
80 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
81 | # CONFIG_RELAY is not set | ||
82 | # CONFIG_NAMESPACES is not set | ||
83 | CONFIG_BLK_DEV_INITRD=y | ||
84 | CONFIG_INITRAMFS_SOURCE="" | ||
85 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
86 | CONFIG_SYSCTL=y | ||
87 | CONFIG_EMBEDDED=y | ||
88 | CONFIG_SYSCTL_SYSCALL=y | ||
89 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
90 | CONFIG_KALLSYMS=y | ||
91 | CONFIG_KALLSYMS_ALL=y | ||
92 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
93 | CONFIG_HOTPLUG=y | ||
94 | CONFIG_PRINTK=y | ||
95 | # CONFIG_LOGBUFFER is not set | ||
96 | CONFIG_BUG=y | ||
97 | CONFIG_ELF_CORE=y | ||
98 | CONFIG_COMPAT_BRK=y | ||
99 | CONFIG_BASE_FULL=y | ||
100 | CONFIG_FUTEX=y | ||
101 | CONFIG_ANON_INODES=y | ||
102 | CONFIG_EPOLL=y | ||
103 | CONFIG_SIGNALFD=y | ||
104 | CONFIG_TIMERFD=y | ||
105 | CONFIG_EVENTFD=y | ||
106 | CONFIG_SHMEM=y | ||
107 | CONFIG_VM_EVENT_COUNTERS=y | ||
108 | CONFIG_SLUB_DEBUG=y | ||
109 | # CONFIG_SLAB is not set | ||
110 | CONFIG_SLUB=y | ||
111 | # CONFIG_SLOB is not set | ||
112 | # CONFIG_PROFILING is not set | ||
113 | # CONFIG_MARKERS is not set | ||
114 | CONFIG_HAVE_OPROFILE=y | ||
115 | # CONFIG_KPROBES is not set | ||
116 | CONFIG_HAVE_KPROBES=y | ||
117 | CONFIG_HAVE_KRETPROBES=y | ||
118 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
119 | CONFIG_PROC_PAGE_MONITOR=y | ||
120 | CONFIG_SLABINFO=y | ||
121 | CONFIG_RT_MUTEXES=y | ||
122 | # CONFIG_TINY_SHMEM is not set | ||
123 | CONFIG_BASE_SMALL=0 | ||
124 | CONFIG_MODULES=y | ||
125 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
126 | CONFIG_MODULE_UNLOAD=y | ||
127 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
128 | # CONFIG_MODVERSIONS is not set | ||
129 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
130 | CONFIG_KMOD=y | ||
131 | CONFIG_BLOCK=y | ||
132 | CONFIG_LBD=y | ||
133 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
134 | # CONFIG_LSF is not set | ||
135 | # CONFIG_BLK_DEV_BSG is not set | ||
136 | |||
137 | # | ||
138 | # IO Schedulers | ||
139 | # | ||
140 | CONFIG_IOSCHED_NOOP=y | ||
141 | CONFIG_IOSCHED_AS=y | ||
142 | CONFIG_IOSCHED_DEADLINE=y | ||
143 | CONFIG_IOSCHED_CFQ=y | ||
144 | CONFIG_DEFAULT_AS=y | ||
145 | # CONFIG_DEFAULT_DEADLINE is not set | ||
146 | # CONFIG_DEFAULT_CFQ is not set | ||
147 | # CONFIG_DEFAULT_NOOP is not set | ||
148 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
149 | CONFIG_CLASSIC_RCU=y | ||
150 | # CONFIG_PPC4xx_PCI_EXPRESS is not set | ||
151 | |||
152 | # | ||
153 | # Platform support | ||
154 | # | ||
155 | # CONFIG_PPC_MPC512x is not set | ||
156 | # CONFIG_PPC_MPC5121 is not set | ||
157 | # CONFIG_PPC_CELL is not set | ||
158 | # CONFIG_PPC_CELL_NATIVE is not set | ||
159 | # CONFIG_PQ2ADS is not set | ||
160 | # CONFIG_EP405 is not set | ||
161 | CONFIG_HCU4=y | ||
162 | # CONFIG_KILAUEA is not set | ||
163 | # CONFIG_MAKALU is not set | ||
164 | # CONFIG_WALNUT is not set | ||
165 | # CONFIG_XILINX_VIRTEX_GENERIC_BOARD is not set | ||
166 | # CONFIG_IPIC is not set | ||
167 | # CONFIG_MPIC is not set | ||
168 | # CONFIG_MPIC_WEIRD is not set | ||
169 | # CONFIG_PPC_I8259 is not set | ||
170 | # CONFIG_PPC_RTAS is not set | ||
171 | # CONFIG_MMIO_NVRAM is not set | ||
172 | # CONFIG_PPC_MPC106 is not set | ||
173 | # CONFIG_PPC_970_NAP is not set | ||
174 | # CONFIG_PPC_INDIRECT_IO is not set | ||
175 | # CONFIG_GENERIC_IOMAP is not set | ||
176 | # CONFIG_CPU_FREQ is not set | ||
177 | # CONFIG_FSL_ULI1575 is not set | ||
178 | |||
179 | # | ||
180 | # Kernel options | ||
181 | # | ||
182 | # CONFIG_HIGHMEM is not set | ||
183 | # CONFIG_TICK_ONESHOT is not set | ||
184 | # CONFIG_NO_HZ is not set | ||
185 | # CONFIG_HIGH_RES_TIMERS is not set | ||
186 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
187 | # CONFIG_HZ_100 is not set | ||
188 | CONFIG_HZ_250=y | ||
189 | # CONFIG_HZ_300 is not set | ||
190 | # CONFIG_HZ_1000 is not set | ||
191 | CONFIG_HZ=250 | ||
192 | # CONFIG_SCHED_HRTICK is not set | ||
193 | CONFIG_PREEMPT_NONE=y | ||
194 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
195 | # CONFIG_PREEMPT is not set | ||
196 | CONFIG_BINFMT_ELF=y | ||
197 | # CONFIG_BINFMT_MISC is not set | ||
198 | # CONFIG_MATH_EMULATION is not set | ||
199 | # CONFIG_IOMMU_HELPER is not set | ||
200 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y | ||
201 | CONFIG_ARCH_HAS_WALK_MEMORY=y | ||
202 | CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y | ||
203 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
204 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
205 | CONFIG_SELECT_MEMORY_MODEL=y | ||
206 | CONFIG_FLATMEM_MANUAL=y | ||
207 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
208 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
209 | CONFIG_FLATMEM=y | ||
210 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
211 | # CONFIG_SPARSEMEM_STATIC is not set | ||
212 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
213 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
214 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
215 | CONFIG_RESOURCES_64BIT=y | ||
216 | CONFIG_ZONE_DMA_FLAG=1 | ||
217 | CONFIG_BOUNCE=y | ||
218 | CONFIG_VIRT_TO_BUS=y | ||
219 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
220 | CONFIG_PROC_DEVICETREE=y | ||
221 | # CONFIG_CMDLINE_BOOL is not set | ||
222 | # CONFIG_PM is not set | ||
223 | CONFIG_SECCOMP=y | ||
224 | CONFIG_ISA_DMA_API=y | ||
225 | |||
226 | # | ||
227 | # Bus options | ||
228 | # | ||
229 | CONFIG_ZONE_DMA=y | ||
230 | CONFIG_PPC_INDIRECT_PCI=y | ||
231 | CONFIG_4xx_SOC=y | ||
232 | CONFIG_PCI=y | ||
233 | CONFIG_PCI_DOMAINS=y | ||
234 | CONFIG_PCI_SYSCALL=y | ||
235 | # CONFIG_PCIEPORTBUS is not set | ||
236 | CONFIG_ARCH_SUPPORTS_MSI=y | ||
237 | # CONFIG_PCI_MSI is not set | ||
238 | # CONFIG_PCI_LEGACY is not set | ||
239 | # CONFIG_PCI_DEBUG is not set | ||
240 | # CONFIG_PCCARD is not set | ||
241 | # CONFIG_HOTPLUG_PCI is not set | ||
242 | # CONFIG_HAS_RAPIDIO is not set | ||
243 | |||
244 | # | ||
245 | # Advanced setup | ||
246 | # | ||
247 | # CONFIG_ADVANCED_OPTIONS is not set | ||
248 | |||
249 | # | ||
250 | # Default settings for advanced configuration options are used | ||
251 | # | ||
252 | CONFIG_LOWMEM_SIZE=0x30000000 | ||
253 | CONFIG_PAGE_OFFSET=0xc0000000 | ||
254 | CONFIG_KERNEL_START=0xc0000000 | ||
255 | CONFIG_PHYSICAL_START=0x00000000 | ||
256 | CONFIG_TASK_SIZE=0xc0000000 | ||
257 | CONFIG_CONSISTENT_START=0xff100000 | ||
258 | CONFIG_CONSISTENT_SIZE=0x00200000 | ||
259 | |||
260 | # | ||
261 | # Networking | ||
262 | # | ||
263 | CONFIG_NET=y | ||
264 | |||
265 | # | ||
266 | # Networking options | ||
267 | # | ||
268 | CONFIG_PACKET=y | ||
269 | # CONFIG_PACKET_MMAP is not set | ||
270 | CONFIG_UNIX=y | ||
271 | # CONFIG_NET_KEY is not set | ||
272 | CONFIG_INET=y | ||
273 | # CONFIG_IP_MULTICAST is not set | ||
274 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
275 | CONFIG_IP_FIB_HASH=y | ||
276 | CONFIG_IP_PNP=y | ||
277 | CONFIG_IP_PNP_DHCP=y | ||
278 | CONFIG_IP_PNP_BOOTP=y | ||
279 | # CONFIG_IP_PNP_RARP is not set | ||
280 | # CONFIG_NET_IPIP is not set | ||
281 | # CONFIG_NET_IPGRE is not set | ||
282 | # CONFIG_ARPD is not set | ||
283 | # CONFIG_SYN_COOKIES is not set | ||
284 | # CONFIG_INET_AH is not set | ||
285 | # CONFIG_INET_ESP is not set | ||
286 | # CONFIG_INET_IPCOMP is not set | ||
287 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
288 | # CONFIG_INET_TUNNEL is not set | ||
289 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
290 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
291 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
292 | # CONFIG_INET_LRO is not set | ||
293 | CONFIG_INET_DIAG=y | ||
294 | CONFIG_INET_TCP_DIAG=y | ||
295 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
296 | CONFIG_TCP_CONG_CUBIC=y | ||
297 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
298 | # CONFIG_TCP_MD5SIG is not set | ||
299 | # CONFIG_IPV6 is not set | ||
300 | # CONFIG_NETWORK_SECMARK is not set | ||
301 | # CONFIG_NETFILTER is not set | ||
302 | # CONFIG_IP_DCCP is not set | ||
303 | # CONFIG_IP_SCTP is not set | ||
304 | # CONFIG_TIPC is not set | ||
305 | # CONFIG_ATM is not set | ||
306 | # CONFIG_BRIDGE is not set | ||
307 | # CONFIG_VLAN_8021Q is not set | ||
308 | # CONFIG_DECNET is not set | ||
309 | # CONFIG_LLC2 is not set | ||
310 | # CONFIG_IPX is not set | ||
311 | # CONFIG_ATALK is not set | ||
312 | # CONFIG_X25 is not set | ||
313 | # CONFIG_LAPB is not set | ||
314 | # CONFIG_ECONET is not set | ||
315 | # CONFIG_WAN_ROUTER is not set | ||
316 | # CONFIG_NET_SCHED is not set | ||
317 | |||
318 | # | ||
319 | # Network testing | ||
320 | # | ||
321 | # CONFIG_NET_PKTGEN is not set | ||
322 | # CONFIG_HAMRADIO is not set | ||
323 | # CONFIG_CAN is not set | ||
324 | # CONFIG_IRDA is not set | ||
325 | # CONFIG_BT is not set | ||
326 | # CONFIG_AF_RXRPC is not set | ||
327 | |||
328 | # | ||
329 | # Wireless | ||
330 | # | ||
331 | # CONFIG_CFG80211 is not set | ||
332 | # CONFIG_WIRELESS_EXT is not set | ||
333 | # CONFIG_MAC80211 is not set | ||
334 | # CONFIG_IEEE80211 is not set | ||
335 | # CONFIG_RFKILL is not set | ||
336 | # CONFIG_NET_9P is not set | ||
337 | |||
338 | # | ||
339 | # Device Drivers | ||
340 | # | ||
341 | |||
342 | # | ||
343 | # Generic Driver Options | ||
344 | # | ||
345 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
346 | CONFIG_STANDALONE=y | ||
347 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
348 | CONFIG_FW_LOADER=y | ||
349 | # CONFIG_DEBUG_DRIVER is not set | ||
350 | # CONFIG_DEBUG_DEVRES is not set | ||
351 | # CONFIG_SYS_HYPERVISOR is not set | ||
352 | CONFIG_CONNECTOR=y | ||
353 | CONFIG_PROC_EVENTS=y | ||
354 | CONFIG_MTD=y | ||
355 | # CONFIG_MTD_DEBUG is not set | ||
356 | # CONFIG_MTD_CONCAT is not set | ||
357 | CONFIG_MTD_PARTITIONS=y | ||
358 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
359 | CONFIG_MTD_CMDLINE_PARTS=y | ||
360 | CONFIG_MTD_OF_PARTS=y | ||
361 | # CONFIG_MTD_AR7_PARTS is not set | ||
362 | |||
363 | # | ||
364 | # User Modules And Translation Layers | ||
365 | # | ||
366 | CONFIG_MTD_CHAR=y | ||
367 | CONFIG_MTD_BLKDEVS=m | ||
368 | CONFIG_MTD_BLOCK=m | ||
369 | # CONFIG_MTD_BLOCK_RO is not set | ||
370 | # CONFIG_FTL is not set | ||
371 | # CONFIG_NFTL is not set | ||
372 | # CONFIG_INFTL is not set | ||
373 | # CONFIG_RFD_FTL is not set | ||
374 | # CONFIG_SSFDC is not set | ||
375 | # CONFIG_MTD_OOPS is not set | ||
376 | |||
377 | # | ||
378 | # RAM/ROM/Flash chip drivers | ||
379 | # | ||
380 | CONFIG_MTD_CFI=y | ||
381 | CONFIG_MTD_JEDECPROBE=y | ||
382 | CONFIG_MTD_GEN_PROBE=y | ||
383 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
384 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
385 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
386 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
387 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
388 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
389 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
390 | CONFIG_MTD_CFI_I1=y | ||
391 | CONFIG_MTD_CFI_I2=y | ||
392 | # CONFIG_MTD_CFI_I4 is not set | ||
393 | # CONFIG_MTD_CFI_I8 is not set | ||
394 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
395 | CONFIG_MTD_CFI_AMDSTD=y | ||
396 | # CONFIG_MTD_CFI_STAA is not set | ||
397 | CONFIG_MTD_CFI_UTIL=y | ||
398 | # CONFIG_MTD_RAM is not set | ||
399 | # CONFIG_MTD_ROM is not set | ||
400 | # CONFIG_MTD_ABSENT is not set | ||
401 | |||
402 | # | ||
403 | # Mapping drivers for chip access | ||
404 | # | ||
405 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
406 | # CONFIG_MTD_PHYSMAP is not set | ||
407 | CONFIG_MTD_PHYSMAP_OF=y | ||
408 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
409 | # CONFIG_MTD_PLATRAM is not set | ||
410 | |||
411 | # | ||
412 | # Self-contained MTD device drivers | ||
413 | # | ||
414 | # CONFIG_MTD_PMC551 is not set | ||
415 | # CONFIG_MTD_SLRAM is not set | ||
416 | # CONFIG_MTD_PHRAM is not set | ||
417 | # CONFIG_MTD_MTDRAM is not set | ||
418 | # CONFIG_MTD_BLOCK2MTD is not set | ||
419 | |||
420 | # | ||
421 | # Disk-On-Chip Device Drivers | ||
422 | # | ||
423 | # CONFIG_MTD_DOC2000 is not set | ||
424 | # CONFIG_MTD_DOC2001 is not set | ||
425 | # CONFIG_MTD_DOC2001PLUS is not set | ||
426 | # CONFIG_MTD_NAND is not set | ||
427 | # CONFIG_MTD_ONENAND is not set | ||
428 | |||
429 | # | ||
430 | # UBI - Unsorted block images | ||
431 | # | ||
432 | # CONFIG_MTD_UBI is not set | ||
433 | CONFIG_OF_DEVICE=y | ||
434 | # CONFIG_PARPORT is not set | ||
435 | CONFIG_BLK_DEV=y | ||
436 | # CONFIG_BLK_DEV_FD is not set | ||
437 | # CONFIG_BLK_CPQ_DA is not set | ||
438 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
439 | # CONFIG_BLK_DEV_DAC960 is not set | ||
440 | # CONFIG_BLK_DEV_UMEM is not set | ||
441 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
442 | # CONFIG_BLK_DEV_LOOP is not set | ||
443 | # CONFIG_BLK_DEV_NBD is not set | ||
444 | # CONFIG_BLK_DEV_SX8 is not set | ||
445 | CONFIG_BLK_DEV_RAM=y | ||
446 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
447 | CONFIG_BLK_DEV_RAM_SIZE=35000 | ||
448 | # CONFIG_BLK_DEV_XIP is not set | ||
449 | # CONFIG_CDROM_PKTCDVD is not set | ||
450 | # CONFIG_ATA_OVER_ETH is not set | ||
451 | # CONFIG_XILINX_SYSACE is not set | ||
452 | CONFIG_MISC_DEVICES=y | ||
453 | # CONFIG_PHANTOM is not set | ||
454 | # CONFIG_EEPROM_93CX6 is not set | ||
455 | # CONFIG_SGI_IOC4 is not set | ||
456 | # CONFIG_TIFM_CORE is not set | ||
457 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
458 | CONFIG_HAVE_IDE=y | ||
459 | # CONFIG_IDE is not set | ||
460 | |||
461 | # | ||
462 | # SCSI device support | ||
463 | # | ||
464 | # CONFIG_RAID_ATTRS is not set | ||
465 | # CONFIG_SCSI is not set | ||
466 | # CONFIG_SCSI_DMA is not set | ||
467 | # CONFIG_SCSI_NETLINK is not set | ||
468 | # CONFIG_ATA is not set | ||
469 | # CONFIG_MD is not set | ||
470 | # CONFIG_FUSION is not set | ||
471 | |||
472 | # | ||
473 | # IEEE 1394 (FireWire) support | ||
474 | # | ||
475 | |||
476 | # | ||
477 | # Enable only one of the two stacks, unless you know what you are doing | ||
478 | # | ||
479 | # CONFIG_FIREWIRE is not set | ||
480 | # CONFIG_IEEE1394 is not set | ||
481 | # CONFIG_I2O is not set | ||
482 | # CONFIG_MACINTOSH_DRIVERS is not set | ||
483 | CONFIG_NETDEVICES=y | ||
484 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
485 | # CONFIG_DUMMY is not set | ||
486 | # CONFIG_BONDING is not set | ||
487 | # CONFIG_MACVLAN is not set | ||
488 | # CONFIG_EQUALIZER is not set | ||
489 | # CONFIG_TUN is not set | ||
490 | # CONFIG_VETH is not set | ||
491 | # CONFIG_ARCNET is not set | ||
492 | # CONFIG_PHYLIB is not set | ||
493 | CONFIG_NET_ETHERNET=y | ||
494 | # CONFIG_MII is not set | ||
495 | # CONFIG_HAPPYMEAL is not set | ||
496 | # CONFIG_SUNGEM is not set | ||
497 | # CONFIG_CASSINI is not set | ||
498 | # CONFIG_NET_VENDOR_3COM is not set | ||
499 | # CONFIG_NET_TULIP is not set | ||
500 | # CONFIG_HP100 is not set | ||
501 | CONFIG_IBM_NEW_EMAC=y | ||
502 | CONFIG_IBM_NEW_EMAC_RXB=128 | ||
503 | CONFIG_IBM_NEW_EMAC_TXB=64 | ||
504 | CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32 | ||
505 | CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256 | ||
506 | CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0 | ||
507 | # CONFIG_IBM_NEW_EMAC_DEBUG is not set | ||
508 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
509 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
510 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
511 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
512 | # CONFIG_NET_PCI is not set | ||
513 | # CONFIG_B44 is not set | ||
514 | CONFIG_NETDEV_1000=y | ||
515 | # CONFIG_ACENIC is not set | ||
516 | # CONFIG_DL2K is not set | ||
517 | # CONFIG_E1000 is not set | ||
518 | # CONFIG_E1000E is not set | ||
519 | # CONFIG_E1000E_ENABLED is not set | ||
520 | # CONFIG_IP1000 is not set | ||
521 | # CONFIG_IGB is not set | ||
522 | # CONFIG_NS83820 is not set | ||
523 | # CONFIG_HAMACHI is not set | ||
524 | # CONFIG_YELLOWFIN is not set | ||
525 | # CONFIG_R8169 is not set | ||
526 | # CONFIG_SIS190 is not set | ||
527 | # CONFIG_SKGE is not set | ||
528 | # CONFIG_SKY2 is not set | ||
529 | # CONFIG_VIA_VELOCITY is not set | ||
530 | # CONFIG_TIGON3 is not set | ||
531 | # CONFIG_BNX2 is not set | ||
532 | # CONFIG_QLA3XXX is not set | ||
533 | # CONFIG_ATL1 is not set | ||
534 | CONFIG_NETDEV_10000=y | ||
535 | # CONFIG_CHELSIO_T1 is not set | ||
536 | # CONFIG_CHELSIO_T3 is not set | ||
537 | # CONFIG_IXGBE is not set | ||
538 | # CONFIG_IXGB is not set | ||
539 | # CONFIG_S2IO is not set | ||
540 | # CONFIG_MYRI10GE is not set | ||
541 | # CONFIG_NETXEN_NIC is not set | ||
542 | # CONFIG_NIU is not set | ||
543 | # CONFIG_MLX4_CORE is not set | ||
544 | # CONFIG_TEHUTI is not set | ||
545 | # CONFIG_BNX2X is not set | ||
546 | # CONFIG_SFC is not set | ||
547 | # CONFIG_TR is not set | ||
548 | |||
549 | # | ||
550 | # Wireless LAN | ||
551 | # | ||
552 | # CONFIG_WLAN_PRE80211 is not set | ||
553 | # CONFIG_WLAN_80211 is not set | ||
554 | # CONFIG_IWLWIFI_LEDS is not set | ||
555 | # CONFIG_WAN is not set | ||
556 | # CONFIG_FDDI is not set | ||
557 | # CONFIG_HIPPI is not set | ||
558 | # CONFIG_PPP is not set | ||
559 | # CONFIG_SLIP is not set | ||
560 | # CONFIG_NETCONSOLE is not set | ||
561 | # CONFIG_NETPOLL is not set | ||
562 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
563 | # CONFIG_ISDN is not set | ||
564 | # CONFIG_PHONE is not set | ||
565 | |||
566 | # | ||
567 | # Input device support | ||
568 | # | ||
569 | # CONFIG_INPUT is not set | ||
570 | |||
571 | # | ||
572 | # Hardware I/O ports | ||
573 | # | ||
574 | # CONFIG_SERIO is not set | ||
575 | # CONFIG_GAMEPORT is not set | ||
576 | |||
577 | # | ||
578 | # Character devices | ||
579 | # | ||
580 | # CONFIG_VT is not set | ||
581 | CONFIG_DEVKMEM=y | ||
582 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
583 | # CONFIG_NOZOMI is not set | ||
584 | |||
585 | # | ||
586 | # Serial drivers | ||
587 | # | ||
588 | CONFIG_SERIAL_8250=y | ||
589 | CONFIG_SERIAL_8250_CONSOLE=y | ||
590 | CONFIG_SERIAL_8250_PCI=y | ||
591 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
592 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
593 | CONFIG_SERIAL_8250_EXTENDED=y | ||
594 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
595 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
596 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
597 | # CONFIG_SERIAL_8250_RSA is not set | ||
598 | |||
599 | # | ||
600 | # Non-8250 serial port support | ||
601 | # | ||
602 | # CONFIG_SERIAL_UARTLITE is not set | ||
603 | CONFIG_SERIAL_CORE=y | ||
604 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
605 | # CONFIG_SERIAL_JSM is not set | ||
606 | CONFIG_SERIAL_OF_PLATFORM=y | ||
607 | CONFIG_UNIX98_PTYS=y | ||
608 | CONFIG_LEGACY_PTYS=y | ||
609 | CONFIG_LEGACY_PTY_COUNT=256 | ||
610 | # CONFIG_IPMI_HANDLER is not set | ||
611 | # CONFIG_HW_RANDOM is not set | ||
612 | # CONFIG_NVRAM is not set | ||
613 | # CONFIG_GEN_RTC is not set | ||
614 | # CONFIG_R3964 is not set | ||
615 | # CONFIG_APPLICOM is not set | ||
616 | # CONFIG_RAW_DRIVER is not set | ||
617 | # CONFIG_TCG_TPM is not set | ||
618 | CONFIG_DEVPORT=y | ||
619 | # CONFIG_I2C is not set | ||
620 | # CONFIG_SPI is not set | ||
621 | # CONFIG_W1 is not set | ||
622 | # CONFIG_POWER_SUPPLY is not set | ||
623 | # CONFIG_HWMON is not set | ||
624 | # CONFIG_THERMAL is not set | ||
625 | # CONFIG_THERMAL_HWMON is not set | ||
626 | # CONFIG_WATCHDOG is not set | ||
627 | |||
628 | # | ||
629 | # Sonics Silicon Backplane | ||
630 | # | ||
631 | CONFIG_SSB_POSSIBLE=y | ||
632 | # CONFIG_SSB is not set | ||
633 | |||
634 | # | ||
635 | # Multifunction device drivers | ||
636 | # | ||
637 | # CONFIG_MFD_SM501 is not set | ||
638 | # CONFIG_HTC_PASIC3 is not set | ||
639 | |||
640 | # | ||
641 | # Multimedia devices | ||
642 | # | ||
643 | |||
644 | # | ||
645 | # Multimedia core support | ||
646 | # | ||
647 | # CONFIG_VIDEO_DEV is not set | ||
648 | # CONFIG_DVB_CORE is not set | ||
649 | # CONFIG_VIDEO_MEDIA is not set | ||
650 | |||
651 | # | ||
652 | # Multimedia drivers | ||
653 | # | ||
654 | # CONFIG_DAB is not set | ||
655 | |||
656 | # | ||
657 | # Graphics support | ||
658 | # | ||
659 | # CONFIG_AGP is not set | ||
660 | # CONFIG_DRM is not set | ||
661 | # CONFIG_VGASTATE is not set | ||
662 | CONFIG_VIDEO_OUTPUT_CONTROL=m | ||
663 | # CONFIG_FB is not set | ||
664 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
665 | |||
666 | # | ||
667 | # Display device support | ||
668 | # | ||
669 | # CONFIG_DISPLAY_SUPPORT is not set | ||
670 | |||
671 | # | ||
672 | # Sound | ||
673 | # | ||
674 | # CONFIG_SOUND is not set | ||
675 | # CONFIG_USB_SUPPORT is not set | ||
676 | # CONFIG_MMC is not set | ||
677 | # CONFIG_MEMSTICK is not set | ||
678 | # CONFIG_NEW_LEDS is not set | ||
679 | # CONFIG_ACCESSIBILITY is not set | ||
680 | # CONFIG_INFINIBAND is not set | ||
681 | # CONFIG_EDAC is not set | ||
682 | # CONFIG_RTC_CLASS is not set | ||
683 | # CONFIG_DMADEVICES is not set | ||
684 | # CONFIG_UIO is not set | ||
685 | |||
686 | # | ||
687 | # File systems | ||
688 | # | ||
689 | CONFIG_EXT2_FS=y | ||
690 | # CONFIG_EXT2_FS_XATTR is not set | ||
691 | # CONFIG_EXT2_FS_XIP is not set | ||
692 | # CONFIG_EXT3_FS is not set | ||
693 | # CONFIG_EXT4DEV_FS is not set | ||
694 | # CONFIG_REISERFS_FS is not set | ||
695 | # CONFIG_JFS_FS is not set | ||
696 | # CONFIG_FS_POSIX_ACL is not set | ||
697 | # CONFIG_XFS_FS is not set | ||
698 | # CONFIG_OCFS2_FS is not set | ||
699 | CONFIG_DNOTIFY=y | ||
700 | CONFIG_INOTIFY=y | ||
701 | CONFIG_INOTIFY_USER=y | ||
702 | # CONFIG_QUOTA is not set | ||
703 | # CONFIG_AUTOFS_FS is not set | ||
704 | # CONFIG_AUTOFS4_FS is not set | ||
705 | # CONFIG_FUSE_FS is not set | ||
706 | |||
707 | # | ||
708 | # CD-ROM/DVD Filesystems | ||
709 | # | ||
710 | # CONFIG_ISO9660_FS is not set | ||
711 | # CONFIG_UDF_FS is not set | ||
712 | |||
713 | # | ||
714 | # DOS/FAT/NT Filesystems | ||
715 | # | ||
716 | # CONFIG_MSDOS_FS is not set | ||
717 | # CONFIG_VFAT_FS is not set | ||
718 | # CONFIG_NTFS_FS is not set | ||
719 | |||
720 | # | ||
721 | # Pseudo filesystems | ||
722 | # | ||
723 | CONFIG_PROC_FS=y | ||
724 | CONFIG_PROC_KCORE=y | ||
725 | CONFIG_PROC_SYSCTL=y | ||
726 | CONFIG_SYSFS=y | ||
727 | CONFIG_TMPFS=y | ||
728 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
729 | # CONFIG_HUGETLB_PAGE is not set | ||
730 | # CONFIG_CONFIGFS_FS is not set | ||
731 | |||
732 | # | ||
733 | # Miscellaneous filesystems | ||
734 | # | ||
735 | # CONFIG_ADFS_FS is not set | ||
736 | # CONFIG_AFFS_FS is not set | ||
737 | # CONFIG_HFS_FS is not set | ||
738 | # CONFIG_HFSPLUS_FS is not set | ||
739 | # CONFIG_BEFS_FS is not set | ||
740 | # CONFIG_BFS_FS is not set | ||
741 | # CONFIG_EFS_FS is not set | ||
742 | # CONFIG_YAFFS_FS is not set | ||
743 | # CONFIG_JFFS2_FS is not set | ||
744 | CONFIG_CRAMFS=y | ||
745 | # CONFIG_VXFS_FS is not set | ||
746 | # CONFIG_MINIX_FS is not set | ||
747 | # CONFIG_HPFS_FS is not set | ||
748 | # CONFIG_QNX4FS_FS is not set | ||
749 | # CONFIG_ROMFS_FS is not set | ||
750 | # CONFIG_SYSV_FS is not set | ||
751 | # CONFIG_UFS_FS is not set | ||
752 | CONFIG_NETWORK_FILESYSTEMS=y | ||
753 | CONFIG_NFS_FS=y | ||
754 | CONFIG_NFS_V3=y | ||
755 | # CONFIG_NFS_V3_ACL is not set | ||
756 | # CONFIG_NFS_V4 is not set | ||
757 | # CONFIG_NFSD is not set | ||
758 | CONFIG_ROOT_NFS=y | ||
759 | CONFIG_LOCKD=y | ||
760 | CONFIG_LOCKD_V4=y | ||
761 | CONFIG_NFS_COMMON=y | ||
762 | CONFIG_SUNRPC=y | ||
763 | # CONFIG_SUNRPC_BIND34 is not set | ||
764 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
765 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
766 | # CONFIG_SMB_FS is not set | ||
767 | # CONFIG_CIFS is not set | ||
768 | # CONFIG_NCP_FS is not set | ||
769 | # CONFIG_CODA_FS is not set | ||
770 | # CONFIG_AFS_FS is not set | ||
771 | |||
772 | # | ||
773 | # Partition Types | ||
774 | # | ||
775 | # CONFIG_PARTITION_ADVANCED is not set | ||
776 | CONFIG_MSDOS_PARTITION=y | ||
777 | # CONFIG_NLS is not set | ||
778 | # CONFIG_DLM is not set | ||
779 | |||
780 | # | ||
781 | # Library routines | ||
782 | # | ||
783 | CONFIG_BITREVERSE=y | ||
784 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
785 | # CONFIG_CRC_CCITT is not set | ||
786 | # CONFIG_CRC16 is not set | ||
787 | # CONFIG_CRC_ITU_T is not set | ||
788 | CONFIG_CRC32=y | ||
789 | # CONFIG_CRC7 is not set | ||
790 | # CONFIG_LIBCRC32C is not set | ||
791 | CONFIG_ZLIB_INFLATE=y | ||
792 | CONFIG_PLIST=y | ||
793 | CONFIG_HAS_IOMEM=y | ||
794 | CONFIG_HAS_IOPORT=y | ||
795 | CONFIG_HAS_DMA=y | ||
796 | CONFIG_HAVE_LMB=y | ||
797 | |||
798 | # | ||
799 | # Kernel hacking | ||
800 | # | ||
801 | # CONFIG_PRINTK_TIME is not set | ||
802 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
803 | CONFIG_ENABLE_MUST_CHECK=y | ||
804 | CONFIG_FRAME_WARN=1024 | ||
805 | CONFIG_MAGIC_SYSRQ=y | ||
806 | # CONFIG_UNUSED_SYMBOLS is not set | ||
807 | CONFIG_DEBUG_FS=y | ||
808 | # CONFIG_HEADERS_CHECK is not set | ||
809 | CONFIG_DEBUG_KERNEL=y | ||
810 | # CONFIG_DEBUG_SHIRQ is not set | ||
811 | CONFIG_DETECT_SOFTLOCKUP=y | ||
812 | CONFIG_SCHED_DEBUG=y | ||
813 | # CONFIG_SCHEDSTATS is not set | ||
814 | # CONFIG_TIMER_STATS is not set | ||
815 | # CONFIG_DEBUG_OBJECTS is not set | ||
816 | # CONFIG_SLUB_DEBUG_ON is not set | ||
817 | # CONFIG_SLUB_STATS is not set | ||
818 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
819 | # CONFIG_RT_MUTEX_TESTER is not set | ||
820 | # CONFIG_DEBUG_SPINLOCK is not set | ||
821 | # CONFIG_DEBUG_MUTEXES is not set | ||
822 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
823 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
824 | # CONFIG_DEBUG_KOBJECT is not set | ||
825 | CONFIG_DEBUG_BUGVERBOSE=y | ||
826 | # CONFIG_DEBUG_INFO is not set | ||
827 | # CONFIG_DEBUG_VM is not set | ||
828 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
829 | # CONFIG_DEBUG_LIST is not set | ||
830 | # CONFIG_DEBUG_SG is not set | ||
831 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
832 | # CONFIG_RCU_TORTURE_TEST is not set | ||
833 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
834 | # CONFIG_FAULT_INJECTION is not set | ||
835 | # CONFIG_SAMPLES is not set | ||
836 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
837 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
838 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
839 | # CONFIG_DEBUGGER is not set | ||
840 | # CONFIG_IRQSTACKS is not set | ||
841 | # CONFIG_VIRQ_DEBUG is not set | ||
842 | # CONFIG_BDI_SWITCH is not set | ||
843 | # CONFIG_PPC_EARLY_DEBUG is not set | ||
844 | |||
845 | # | ||
846 | # Security options | ||
847 | # | ||
848 | # CONFIG_KEYS is not set | ||
849 | # CONFIG_SECURITY is not set | ||
850 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
851 | CONFIG_CRYPTO=y | ||
852 | |||
853 | # | ||
854 | # Crypto core or helper | ||
855 | # | ||
856 | CONFIG_CRYPTO_ALGAPI=y | ||
857 | CONFIG_CRYPTO_BLKCIPHER=y | ||
858 | CONFIG_CRYPTO_MANAGER=y | ||
859 | # CONFIG_CRYPTO_GF128MUL is not set | ||
860 | # CONFIG_CRYPTO_NULL is not set | ||
861 | # CONFIG_CRYPTO_CRYPTD is not set | ||
862 | # CONFIG_CRYPTO_AUTHENC is not set | ||
863 | # CONFIG_CRYPTO_TEST is not set | ||
864 | |||
865 | # | ||
866 | # Authenticated Encryption with Associated Data | ||
867 | # | ||
868 | # CONFIG_CRYPTO_CCM is not set | ||
869 | # CONFIG_CRYPTO_GCM is not set | ||
870 | # CONFIG_CRYPTO_SEQIV is not set | ||
871 | |||
872 | # | ||
873 | # Block modes | ||
874 | # | ||
875 | CONFIG_CRYPTO_CBC=y | ||
876 | # CONFIG_CRYPTO_CTR is not set | ||
877 | # CONFIG_CRYPTO_CTS is not set | ||
878 | CONFIG_CRYPTO_ECB=y | ||
879 | # CONFIG_CRYPTO_LRW is not set | ||
880 | CONFIG_CRYPTO_PCBC=y | ||
881 | # CONFIG_CRYPTO_XTS is not set | ||
882 | |||
883 | # | ||
884 | # Hash modes | ||
885 | # | ||
886 | # CONFIG_CRYPTO_HMAC is not set | ||
887 | # CONFIG_CRYPTO_XCBC is not set | ||
888 | |||
889 | # | ||
890 | # Digest | ||
891 | # | ||
892 | # CONFIG_CRYPTO_CRC32C is not set | ||
893 | # CONFIG_CRYPTO_MD4 is not set | ||
894 | CONFIG_CRYPTO_MD5=y | ||
895 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
896 | # CONFIG_CRYPTO_SHA1 is not set | ||
897 | # CONFIG_CRYPTO_SHA256 is not set | ||
898 | # CONFIG_CRYPTO_SHA512 is not set | ||
899 | # CONFIG_CRYPTO_TGR192 is not set | ||
900 | # CONFIG_CRYPTO_WP512 is not set | ||
901 | |||
902 | # | ||
903 | # Ciphers | ||
904 | # | ||
905 | # CONFIG_CRYPTO_AES is not set | ||
906 | # CONFIG_CRYPTO_ANUBIS is not set | ||
907 | # CONFIG_CRYPTO_ARC4 is not set | ||
908 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
909 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
910 | # CONFIG_CRYPTO_CAST5 is not set | ||
911 | # CONFIG_CRYPTO_CAST6 is not set | ||
912 | CONFIG_CRYPTO_DES=y | ||
913 | # CONFIG_CRYPTO_FCRYPT is not set | ||
914 | # CONFIG_CRYPTO_KHAZAD is not set | ||
915 | # CONFIG_CRYPTO_SALSA20 is not set | ||
916 | # CONFIG_CRYPTO_SEED is not set | ||
917 | # CONFIG_CRYPTO_SERPENT is not set | ||
918 | # CONFIG_CRYPTO_TEA is not set | ||
919 | # CONFIG_CRYPTO_TWOFISH is not set | ||
920 | |||
921 | # | ||
922 | # Compression | ||
923 | # | ||
924 | # CONFIG_CRYPTO_DEFLATE is not set | ||
925 | # CONFIG_CRYPTO_LZO is not set | ||
926 | CONFIG_CRYPTO_HW=y | ||
927 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
928 | # CONFIG_PPC_CLOCK is not set | ||
929 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index e70d0483fb4e..b1eb834bc0fc 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -1277,6 +1277,19 @@ static struct cpu_spec __initdata cpu_specs[] = { | |||
1277 | .machine_check = machine_check_4xx, | 1277 | .machine_check = machine_check_4xx, |
1278 | .platform = "ppc405", | 1278 | .platform = "ppc405", |
1279 | }, | 1279 | }, |
1280 | { | ||
1281 | /* 405EZ */ | ||
1282 | .pvr_mask = 0xffff0000, | ||
1283 | .pvr_value = 0x41510000, | ||
1284 | .cpu_name = "405EZ", | ||
1285 | .cpu_features = CPU_FTRS_40X, | ||
1286 | .cpu_user_features = PPC_FEATURE_32 | | ||
1287 | PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC, | ||
1288 | .icache_bsize = 32, | ||
1289 | .dcache_bsize = 32, | ||
1290 | .machine_check = machine_check_4xx, | ||
1291 | .platform = "ppc405", | ||
1292 | }, | ||
1280 | { /* default match */ | 1293 | { /* default match */ |
1281 | .pvr_mask = 0x00000000, | 1294 | .pvr_mask = 0x00000000, |
1282 | .pvr_value = 0x00000000, | 1295 | .pvr_value = 0x00000000, |
diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig index a9260e21451e..65730275e012 100644 --- a/arch/powerpc/platforms/40x/Kconfig +++ b/arch/powerpc/platforms/40x/Kconfig | |||
@@ -14,6 +14,15 @@ | |||
14 | # help | 14 | # help |
15 | # This option enables support for the CPCI405 board. | 15 | # This option enables support for the CPCI405 board. |
16 | 16 | ||
17 | config ACADIA | ||
18 | bool "Acadia" | ||
19 | depends on 40x | ||
20 | default n | ||
21 | select PPC40x_SIMPLE | ||
22 | select 405EZ | ||
23 | help | ||
24 | This option enables support for the AMCC 405EZ Acadia evaluation board. | ||
25 | |||
17 | config EP405 | 26 | config EP405 |
18 | bool "EP405/EP405PC" | 27 | bool "EP405/EP405PC" |
19 | depends on 40x | 28 | depends on 40x |
@@ -23,6 +32,14 @@ config EP405 | |||
23 | help | 32 | help |
24 | This option enables support for the EP405/EP405PC boards. | 33 | This option enables support for the EP405/EP405PC boards. |
25 | 34 | ||
35 | config HCU4 | ||
36 | bool "Hcu4" | ||
37 | depends on 40x | ||
38 | default y | ||
39 | select 405GPR | ||
40 | help | ||
41 | This option enables support for the Nestal Maschinen HCU4 board. | ||
42 | |||
26 | config KILAUEA | 43 | config KILAUEA |
27 | bool "Kilauea" | 44 | bool "Kilauea" |
28 | depends on 40x | 45 | depends on 40x |
@@ -93,6 +110,13 @@ config XILINX_VIRTEX_GENERIC_BOARD | |||
93 | Most Virtex designs should use this unless it needs to do some | 110 | Most Virtex designs should use this unless it needs to do some |
94 | special configuration at board probe time. | 111 | special configuration at board probe time. |
95 | 112 | ||
113 | config PPC40x_SIMPLE | ||
114 | bool "Simple PowerPC 40x board support" | ||
115 | depends on 40x | ||
116 | default n | ||
117 | help | ||
118 | This option enables the simple PowerPC 40x platform support. | ||
119 | |||
96 | # 40x specific CPU modules, selected based on the board above. | 120 | # 40x specific CPU modules, selected based on the board above. |
97 | config NP405H | 121 | config NP405H |
98 | bool | 122 | bool |
@@ -118,6 +142,12 @@ config 405EX | |||
118 | select IBM_NEW_EMAC_EMAC4 | 142 | select IBM_NEW_EMAC_EMAC4 |
119 | select IBM_NEW_EMAC_RGMII | 143 | select IBM_NEW_EMAC_RGMII |
120 | 144 | ||
145 | config 405EZ | ||
146 | bool | ||
147 | select IBM_NEW_EMAC_NO_FLOW_CTRL | ||
148 | select IBM_NEW_EMAC_MAL_CLR_ICINTSTAT | ||
149 | select IBM_NEW_EMAC_MAL_COMMON_ERR | ||
150 | |||
121 | config 405GPR | 151 | config 405GPR |
122 | bool | 152 | bool |
123 | 153 | ||
@@ -139,6 +169,14 @@ config STB03xxx | |||
139 | select IBM405_ERR77 | 169 | select IBM405_ERR77 |
140 | select IBM405_ERR51 | 170 | select IBM405_ERR51 |
141 | 171 | ||
172 | config PPC4xx_GPIO | ||
173 | bool "PPC4xx GPIO support" | ||
174 | depends on 40x | ||
175 | select ARCH_REQUIRE_GPIOLIB | ||
176 | select GENERIC_GPIO | ||
177 | help | ||
178 | Enable gpiolib support for ppc40x based boards | ||
179 | |||
142 | # 40x errata/workaround config symbols, selected by the CPU models above | 180 | # 40x errata/workaround config symbols, selected by the CPU models above |
143 | 181 | ||
144 | # All 405-based cores up until the 405GPR and 405EP have this errata. | 182 | # All 405-based cores up until the 405GPR and 405EP have this errata. |
diff --git a/arch/powerpc/platforms/40x/Makefile b/arch/powerpc/platforms/40x/Makefile index 5533a5c8ce4e..9bab76a652a6 100644 --- a/arch/powerpc/platforms/40x/Makefile +++ b/arch/powerpc/platforms/40x/Makefile | |||
@@ -1,5 +1,7 @@ | |||
1 | obj-$(CONFIG_KILAUEA) += kilauea.o | 1 | obj-$(CONFIG_KILAUEA) += kilauea.o |
2 | obj-$(CONFIG_HCU4) += hcu4.o | ||
2 | obj-$(CONFIG_MAKALU) += makalu.o | 3 | obj-$(CONFIG_MAKALU) += makalu.o |
3 | obj-$(CONFIG_WALNUT) += walnut.o | 4 | obj-$(CONFIG_WALNUT) += walnut.o |
4 | obj-$(CONFIG_XILINX_VIRTEX_GENERIC_BOARD) += virtex.o | 5 | obj-$(CONFIG_XILINX_VIRTEX_GENERIC_BOARD) += virtex.o |
5 | obj-$(CONFIG_EP405) += ep405.o | 6 | obj-$(CONFIG_EP405) += ep405.o |
7 | obj-$(CONFIG_PPC40x_SIMPLE) += ppc40x_simple.o | ||
diff --git a/arch/powerpc/platforms/40x/hcu4.c b/arch/powerpc/platforms/40x/hcu4.c new file mode 100644 index 000000000000..60b2afecab75 --- /dev/null +++ b/arch/powerpc/platforms/40x/hcu4.c | |||
@@ -0,0 +1,61 @@ | |||
1 | /* | ||
2 | * Architecture- / platform-specific boot-time initialization code for | ||
3 | * IBM PowerPC 4xx based boards. Adapted from original | ||
4 | * code by Gary Thomas, Cort Dougan <cort@fsmlabs.com>, and Dan Malek | ||
5 | * <dan@net4x.com>. | ||
6 | * | ||
7 | * Copyright(c) 1999-2000 Grant Erickson <grant@lcse.umn.edu> | ||
8 | * | ||
9 | * Rewritten and ported to the merged powerpc tree: | ||
10 | * Copyright 2007 IBM Corporation | ||
11 | * Josh Boyer <jwboyer@linux.vnet.ibm.com> | ||
12 | * | ||
13 | * 2002 (c) MontaVista, Software, Inc. This file is licensed under | ||
14 | * the terms of the GNU General Public License version 2. This program | ||
15 | * is licensed "as is" without any warranty of any kind, whether express | ||
16 | * or implied. | ||
17 | */ | ||
18 | |||
19 | #include <linux/init.h> | ||
20 | #include <linux/of_platform.h> | ||
21 | |||
22 | #include <asm/machdep.h> | ||
23 | #include <asm/prom.h> | ||
24 | #include <asm/udbg.h> | ||
25 | #include <asm/time.h> | ||
26 | #include <asm/uic.h> | ||
27 | #include <asm/ppc4xx.h> | ||
28 | |||
29 | static __initdata struct of_device_id hcu4_of_bus[] = { | ||
30 | { .compatible = "ibm,plb3", }, | ||
31 | { .compatible = "ibm,opb", }, | ||
32 | { .compatible = "ibm,ebc", }, | ||
33 | {}, | ||
34 | }; | ||
35 | |||
36 | static int __init hcu4_device_probe(void) | ||
37 | { | ||
38 | of_platform_bus_probe(NULL, hcu4_of_bus, NULL); | ||
39 | return 0; | ||
40 | } | ||
41 | machine_device_initcall(hcu4, hcu4_device_probe); | ||
42 | |||
43 | static int __init hcu4_probe(void) | ||
44 | { | ||
45 | unsigned long root = of_get_flat_dt_root(); | ||
46 | |||
47 | if (!of_flat_dt_is_compatible(root, "netstal,hcu4")) | ||
48 | return 0; | ||
49 | |||
50 | return 1; | ||
51 | } | ||
52 | |||
53 | define_machine(hcu4) { | ||
54 | .name = "HCU4", | ||
55 | .probe = hcu4_probe, | ||
56 | .progress = udbg_progress, | ||
57 | .init_IRQ = uic_init_tree, | ||
58 | .get_irq = uic_get_irq, | ||
59 | .restart = ppc4xx_reset_system, | ||
60 | .calibrate_decr = generic_calibrate_decr, | ||
61 | }; | ||
diff --git a/arch/powerpc/platforms/40x/ppc40x_simple.c b/arch/powerpc/platforms/40x/ppc40x_simple.c new file mode 100644 index 000000000000..4498a86b46c3 --- /dev/null +++ b/arch/powerpc/platforms/40x/ppc40x_simple.c | |||
@@ -0,0 +1,80 @@ | |||
1 | /* | ||
2 | * Generic PowerPC 40x platform support | ||
3 | * | ||
4 | * Copyright 2008 IBM Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation; version 2 of the License. | ||
9 | * | ||
10 | * This implements simple platform support for PowerPC 44x chips. This is | ||
11 | * mostly used for eval boards or other simple and "generic" 44x boards. If | ||
12 | * your board has custom functions or hardware, then you will likely want to | ||
13 | * implement your own board.c file to accommodate it. | ||
14 | */ | ||
15 | |||
16 | #include <asm/machdep.h> | ||
17 | #include <asm/pci-bridge.h> | ||
18 | #include <asm/ppc4xx.h> | ||
19 | #include <asm/prom.h> | ||
20 | #include <asm/time.h> | ||
21 | #include <asm/udbg.h> | ||
22 | #include <asm/uic.h> | ||
23 | |||
24 | #include <linux/init.h> | ||
25 | #include <linux/of_platform.h> | ||
26 | |||
27 | static __initdata struct of_device_id ppc40x_of_bus[] = { | ||
28 | { .compatible = "ibm,plb3", }, | ||
29 | { .compatible = "ibm,plb4", }, | ||
30 | { .compatible = "ibm,opb", }, | ||
31 | { .compatible = "ibm,ebc", }, | ||
32 | { .compatible = "simple-bus", }, | ||
33 | {}, | ||
34 | }; | ||
35 | |||
36 | static int __init ppc40x_device_probe(void) | ||
37 | { | ||
38 | of_platform_bus_probe(NULL, ppc40x_of_bus, NULL); | ||
39 | |||
40 | return 0; | ||
41 | } | ||
42 | machine_device_initcall(ppc40x_simple, ppc40x_device_probe); | ||
43 | |||
44 | /* This is the list of boards that can be supported by this simple | ||
45 | * platform code. This does _not_ mean the boards are compatible, | ||
46 | * as they most certainly are not from a device tree perspective. | ||
47 | * However, their differences are handled by the device tree and the | ||
48 | * drivers and therefore they don't need custom board support files. | ||
49 | * | ||
50 | * Again, if your board needs to do things differently then create a | ||
51 | * board.c file for it rather than adding it to this list. | ||
52 | */ | ||
53 | static char *board[] __initdata = { | ||
54 | "amcc,acadia" | ||
55 | }; | ||
56 | |||
57 | static int __init ppc40x_probe(void) | ||
58 | { | ||
59 | unsigned long root = of_get_flat_dt_root(); | ||
60 | int i = 0; | ||
61 | |||
62 | for (i = 0; i < ARRAY_SIZE(board); i++) { | ||
63 | if (of_flat_dt_is_compatible(root, board[i])) { | ||
64 | ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC; | ||
65 | return 1; | ||
66 | } | ||
67 | } | ||
68 | |||
69 | return 0; | ||
70 | } | ||
71 | |||
72 | define_machine(ppc40x_simple) { | ||
73 | .name = "PowerPC 40x Platform", | ||
74 | .probe = ppc40x_probe, | ||
75 | .progress = udbg_progress, | ||
76 | .init_IRQ = uic_init_tree, | ||
77 | .get_irq = uic_get_irq, | ||
78 | .restart = ppc4xx_reset_system, | ||
79 | .calibrate_decr = generic_calibrate_decr, | ||
80 | }; | ||
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 79c1154f88d4..3496bc05058e 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig | |||
@@ -167,6 +167,14 @@ config PPC44x_SIMPLE | |||
167 | help | 167 | help |
168 | This option enables the simple PowerPC 44x platform support. | 168 | This option enables the simple PowerPC 44x platform support. |
169 | 169 | ||
170 | config PPC4xx_GPIO | ||
171 | bool "PPC4xx GPIO support" | ||
172 | depends on 44x | ||
173 | select ARCH_REQUIRE_GPIOLIB | ||
174 | select GENERIC_GPIO | ||
175 | help | ||
176 | Enable gpiolib support for ppc440 based boards | ||
177 | |||
170 | # 44x specific CPU modules, selected based on the board above. | 178 | # 44x specific CPU modules, selected based on the board above. |
171 | config 440EP | 179 | config 440EP |
172 | bool | 180 | bool |
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile index a44709a94f97..5afce115ab1f 100644 --- a/arch/powerpc/sysdev/Makefile +++ b/arch/powerpc/sysdev/Makefile | |||
@@ -37,6 +37,7 @@ obj-$(CONFIG_OF_RTC) += of_rtc.o | |||
37 | ifeq ($(CONFIG_PCI),y) | 37 | ifeq ($(CONFIG_PCI),y) |
38 | obj-$(CONFIG_4xx) += ppc4xx_pci.o | 38 | obj-$(CONFIG_4xx) += ppc4xx_pci.o |
39 | endif | 39 | endif |
40 | obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o | ||
40 | 41 | ||
41 | obj-$(CONFIG_CPM) += cpm_common.o | 42 | obj-$(CONFIG_CPM) += cpm_common.o |
42 | obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o | 43 | obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o |
diff --git a/arch/powerpc/sysdev/ppc4xx_gpio.c b/arch/powerpc/sysdev/ppc4xx_gpio.c new file mode 100644 index 000000000000..110efe2a54fc --- /dev/null +++ b/arch/powerpc/sysdev/ppc4xx_gpio.c | |||
@@ -0,0 +1,217 @@ | |||
1 | /* | ||
2 | * PPC4xx gpio driver | ||
3 | * | ||
4 | * Copyright (c) 2008 Harris Corporation | ||
5 | * Copyright (c) 2008 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix | ||
6 | * Copyright (c) MontaVista Software, Inc. 2008. | ||
7 | * | ||
8 | * Author: Steve Falco <sfalco@harris.com> | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 | ||
12 | * as published by the Free Software Foundation. | ||
13 | * | ||
14 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | ||
18 | * | ||
19 | * You should have received a copy of the GNU General Public License | ||
20 | * along with this program; if not, write to the Free Software | ||
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
22 | */ | ||
23 | |||
24 | #include <linux/kernel.h> | ||
25 | #include <linux/init.h> | ||
26 | #include <linux/spinlock.h> | ||
27 | #include <linux/io.h> | ||
28 | #include <linux/of.h> | ||
29 | #include <linux/of_gpio.h> | ||
30 | #include <linux/gpio.h> | ||
31 | #include <linux/types.h> | ||
32 | |||
33 | #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) | ||
34 | #define GPIO_MASK2(gpio) (0xc0000000 >> ((gpio) * 2)) | ||
35 | |||
36 | /* Physical GPIO register layout */ | ||
37 | struct ppc4xx_gpio { | ||
38 | __be32 or; | ||
39 | __be32 tcr; | ||
40 | __be32 osrl; | ||
41 | __be32 osrh; | ||
42 | __be32 tsrl; | ||
43 | __be32 tsrh; | ||
44 | __be32 odr; | ||
45 | __be32 ir; | ||
46 | __be32 rr1; | ||
47 | __be32 rr2; | ||
48 | __be32 rr3; | ||
49 | __be32 reserved1; | ||
50 | __be32 isr1l; | ||
51 | __be32 isr1h; | ||
52 | __be32 isr2l; | ||
53 | __be32 isr2h; | ||
54 | __be32 isr3l; | ||
55 | __be32 isr3h; | ||
56 | }; | ||
57 | |||
58 | struct ppc4xx_gpio_chip { | ||
59 | struct of_mm_gpio_chip mm_gc; | ||
60 | spinlock_t lock; | ||
61 | }; | ||
62 | |||
63 | /* | ||
64 | * GPIO LIB API implementation for GPIOs | ||
65 | * | ||
66 | * There are a maximum of 32 gpios in each gpio controller. | ||
67 | */ | ||
68 | |||
69 | static inline struct ppc4xx_gpio_chip * | ||
70 | to_ppc4xx_gpiochip(struct of_mm_gpio_chip *mm_gc) | ||
71 | { | ||
72 | return container_of(mm_gc, struct ppc4xx_gpio_chip, mm_gc); | ||
73 | } | ||
74 | |||
75 | static int ppc4xx_gpio_get(struct gpio_chip *gc, unsigned int gpio) | ||
76 | { | ||
77 | struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); | ||
78 | struct ppc4xx_gpio __iomem *regs = mm_gc->regs; | ||
79 | |||
80 | return in_be32(®s->ir) & GPIO_MASK(gpio); | ||
81 | } | ||
82 | |||
83 | static inline void | ||
84 | __ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) | ||
85 | { | ||
86 | struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); | ||
87 | struct ppc4xx_gpio __iomem *regs = mm_gc->regs; | ||
88 | |||
89 | if (val) | ||
90 | setbits32(®s->or, GPIO_MASK(gpio)); | ||
91 | else | ||
92 | clrbits32(®s->or, GPIO_MASK(gpio)); | ||
93 | } | ||
94 | |||
95 | static void | ||
96 | ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) | ||
97 | { | ||
98 | struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); | ||
99 | struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); | ||
100 | unsigned long flags; | ||
101 | |||
102 | spin_lock_irqsave(&chip->lock, flags); | ||
103 | |||
104 | __ppc4xx_gpio_set(gc, gpio, val); | ||
105 | |||
106 | spin_unlock_irqrestore(&chip->lock, flags); | ||
107 | |||
108 | pr_debug("%s: gpio: %d val: %d\n", __func__, gpio, val); | ||
109 | } | ||
110 | |||
111 | static int ppc4xx_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) | ||
112 | { | ||
113 | struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); | ||
114 | struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); | ||
115 | struct ppc4xx_gpio __iomem *regs = mm_gc->regs; | ||
116 | unsigned long flags; | ||
117 | |||
118 | spin_lock_irqsave(&chip->lock, flags); | ||
119 | |||
120 | /* Disable open-drain function */ | ||
121 | clrbits32(®s->odr, GPIO_MASK(gpio)); | ||
122 | |||
123 | /* Float the pin */ | ||
124 | clrbits32(®s->tcr, GPIO_MASK(gpio)); | ||
125 | |||
126 | /* Bits 0-15 use TSRL/OSRL, bits 16-31 use TSRH/OSRH */ | ||
127 | if (gpio < 16) { | ||
128 | clrbits32(®s->osrl, GPIO_MASK2(gpio)); | ||
129 | clrbits32(®s->tsrl, GPIO_MASK2(gpio)); | ||
130 | } else { | ||
131 | clrbits32(®s->osrh, GPIO_MASK2(gpio)); | ||
132 | clrbits32(®s->tsrh, GPIO_MASK2(gpio)); | ||
133 | } | ||
134 | |||
135 | spin_unlock_irqrestore(&chip->lock, flags); | ||
136 | |||
137 | return 0; | ||
138 | } | ||
139 | |||
140 | static int | ||
141 | ppc4xx_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) | ||
142 | { | ||
143 | struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); | ||
144 | struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); | ||
145 | struct ppc4xx_gpio __iomem *regs = mm_gc->regs; | ||
146 | unsigned long flags; | ||
147 | |||
148 | spin_lock_irqsave(&chip->lock, flags); | ||
149 | |||
150 | /* First set initial value */ | ||
151 | __ppc4xx_gpio_set(gc, gpio, val); | ||
152 | |||
153 | /* Disable open-drain function */ | ||
154 | clrbits32(®s->odr, GPIO_MASK(gpio)); | ||
155 | |||
156 | /* Drive the pin */ | ||
157 | setbits32(®s->tcr, GPIO_MASK(gpio)); | ||
158 | |||
159 | /* Bits 0-15 use TSRL, bits 16-31 use TSRH */ | ||
160 | if (gpio < 16) { | ||
161 | clrbits32(®s->osrl, GPIO_MASK2(gpio)); | ||
162 | clrbits32(®s->tsrl, GPIO_MASK2(gpio)); | ||
163 | } else { | ||
164 | clrbits32(®s->osrh, GPIO_MASK2(gpio)); | ||
165 | clrbits32(®s->tsrh, GPIO_MASK2(gpio)); | ||
166 | } | ||
167 | |||
168 | spin_unlock_irqrestore(&chip->lock, flags); | ||
169 | |||
170 | pr_debug("%s: gpio: %d val: %d\n", __func__, gpio, val); | ||
171 | |||
172 | return 0; | ||
173 | } | ||
174 | |||
175 | static int __init ppc4xx_add_gpiochips(void) | ||
176 | { | ||
177 | struct device_node *np; | ||
178 | |||
179 | for_each_compatible_node(np, NULL, "ibm,ppc4xx-gpio") { | ||
180 | int ret; | ||
181 | struct ppc4xx_gpio_chip *ppc4xx_gc; | ||
182 | struct of_mm_gpio_chip *mm_gc; | ||
183 | struct of_gpio_chip *of_gc; | ||
184 | struct gpio_chip *gc; | ||
185 | |||
186 | ppc4xx_gc = kzalloc(sizeof(*ppc4xx_gc), GFP_KERNEL); | ||
187 | if (!ppc4xx_gc) { | ||
188 | ret = -ENOMEM; | ||
189 | goto err; | ||
190 | } | ||
191 | |||
192 | spin_lock_init(&ppc4xx_gc->lock); | ||
193 | |||
194 | mm_gc = &ppc4xx_gc->mm_gc; | ||
195 | of_gc = &mm_gc->of_gc; | ||
196 | gc = &of_gc->gc; | ||
197 | |||
198 | of_gc->gpio_cells = 2; | ||
199 | gc->ngpio = 32; | ||
200 | gc->direction_input = ppc4xx_gpio_dir_in; | ||
201 | gc->direction_output = ppc4xx_gpio_dir_out; | ||
202 | gc->get = ppc4xx_gpio_get; | ||
203 | gc->set = ppc4xx_gpio_set; | ||
204 | |||
205 | ret = of_mm_gpiochip_add(np, mm_gc); | ||
206 | if (ret) | ||
207 | goto err; | ||
208 | continue; | ||
209 | err: | ||
210 | pr_err("%s: registration failed with status %d\n", | ||
211 | np->full_name, ret); | ||
212 | kfree(ppc4xx_gc); | ||
213 | /* try others anyway */ | ||
214 | } | ||
215 | return 0; | ||
216 | } | ||
217 | arch_initcall(ppc4xx_add_gpiochips); | ||