aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/kernel-parameters.txt5
-rw-r--r--arch/avr32/Kconfig47
-rw-r--r--arch/avr32/Kconfig.debug10
-rw-r--r--arch/avr32/Makefile3
-rw-r--r--arch/avr32/boards/atngw100/setup.c2
-rw-r--r--arch/avr32/boards/atstk1000/Kconfig58
-rw-r--r--arch/avr32/boards/atstk1000/Makefile2
-rw-r--r--arch/avr32/boards/atstk1000/atstk1000.h2
-rw-r--r--arch/avr32/boards/atstk1000/atstk1002.c106
-rw-r--r--arch/avr32/boards/atstk1000/atstk1003.c162
-rw-r--r--arch/avr32/boards/atstk1000/atstk1004.c147
-rw-r--r--arch/avr32/boards/atstk1000/setup.c64
-rw-r--r--arch/avr32/configs/atngw100_defconfig418
-rw-r--r--arch/avr32/configs/atstk1002_defconfig637
-rw-r--r--arch/avr32/configs/atstk1003_defconfig1015
-rw-r--r--arch/avr32/configs/atstk1004_defconfig621
-rw-r--r--arch/avr32/kernel/Makefile3
-rw-r--r--arch/avr32/kernel/cpu.c96
-rw-r--r--arch/avr32/kernel/irq.c11
-rw-r--r--arch/avr32/kernel/kprobes.c5
-rw-r--r--arch/avr32/kernel/nmi_debug.c82
-rw-r--r--arch/avr32/kernel/ocd.c163
-rw-r--r--arch/avr32/kernel/process.c5
-rw-r--r--arch/avr32/kernel/ptrace.c5
-rw-r--r--arch/avr32/kernel/signal.c7
-rw-r--r--arch/avr32/kernel/traps.c21
-rw-r--r--arch/avr32/mach-at32ap/Kconfig12
-rw-r--r--arch/avr32/mach-at32ap/Makefile4
-rw-r--r--arch/avr32/mach-at32ap/at32ap700x.c (renamed from arch/avr32/mach-at32ap/at32ap7000.c)15
-rw-r--r--arch/avr32/mach-at32ap/extint.c59
-rw-r--r--arch/avr32/mm/dma-coherent.c7
-rw-r--r--arch/avr32/mm/tlb.c2
-rw-r--r--arch/avr32/oprofile/Makefile8
-rw-r--r--arch/avr32/oprofile/op_model_avr32.c235
-rw-r--r--drivers/video/console/Kconfig2
-rw-r--r--drivers/watchdog/Kconfig2
-rw-r--r--include/asm-avr32/arch-at32ap/at32ap700x.h (renamed from include/asm-avr32/arch-at32ap/at32ap7000.h)6
-rw-r--r--include/asm-avr32/arch-at32ap/cpu.h2
-rw-r--r--include/asm-avr32/arch-at32ap/io.h4
-rw-r--r--include/asm-avr32/irq.h5
-rw-r--r--include/asm-avr32/kdebug.h1
-rw-r--r--include/asm-avr32/ocd.h5
-rw-r--r--include/asm-avr32/processor.h14
-rw-r--r--include/asm-avr32/ptrace.h13
-rw-r--r--include/asm-avr32/thread_info.h1
-rw-r--r--kernel/ptrace.c2
46 files changed, 3579 insertions, 517 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index c4178778e7fd..17fc60e32443 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -34,6 +34,7 @@ parameter is applicable:
34 ALSA ALSA sound support is enabled. 34 ALSA ALSA sound support is enabled.
35 APIC APIC support is enabled. 35 APIC APIC support is enabled.
36 APM Advanced Power Management support is enabled. 36 APM Advanced Power Management support is enabled.
37 AVR32 AVR32 architecture is enabled.
37 AX25 Appropriate AX.25 support is enabled. 38 AX25 Appropriate AX.25 support is enabled.
38 BLACKFIN Blackfin architecture is enabled. 39 BLACKFIN Blackfin architecture is enabled.
39 DRM Direct Rendering Management support is enabled. 40 DRM Direct Rendering Management support is enabled.
@@ -1123,6 +1124,10 @@ and is between 256 and 4096 characters. It is defined in the file
1123 of returning the full 64-bit number. 1124 of returning the full 64-bit number.
1124 The default is to return 64-bit inode numbers. 1125 The default is to return 64-bit inode numbers.
1125 1126
1127 nmi_debug= [KNL,AVR32] Specify one or more actions to take
1128 when a NMI is triggered.
1129 Format: [state][,regs][,debounce][,die]
1130
1126 nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels 1131 nmi_watchdog= [KNL,BUGS=X86-32] Debugging features for SMP kernels
1127 1132
1128 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths 1133 no387 [BUGS=X86-32] Tells the kernel to use the 387 maths
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index b77abce10c7a..e34e2c9c94cb 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -54,6 +54,9 @@ config ARCH_HAS_ILOG2_U32
54config ARCH_HAS_ILOG2_U64 54config ARCH_HAS_ILOG2_U64
55 def_bool n 55 def_bool n
56 56
57config ARCH_SUPPORTS_OPROFILE
58 def_bool y
59
57config GENERIC_HWEIGHT 60config GENERIC_HWEIGHT
58 def_bool y 61 def_bool y
59 62
@@ -81,19 +84,23 @@ config PLATFORM_AT32AP
81 select MMU 84 select MMU
82 select PERFORMANCE_COUNTERS 85 select PERFORMANCE_COUNTERS
83 86
84choice 87#
85 prompt "AVR32 CPU type" 88# CPU types
86 default CPU_AT32AP7000 89#
87 90
88config CPU_AT32AP7000 91# AP7000 derivatives
89 bool "AT32AP7000" 92config CPU_AT32AP700X
93 bool
90 select PLATFORM_AT32AP 94 select PLATFORM_AT32AP
91endchoice 95config CPU_AT32AP7000
92 96 bool
93# 97 select CPU_AT32AP700X
94# CPU Daughterboards for ATSTK1000 98config CPU_AT32AP7001
95config BOARD_ATSTK1002 99 bool
100 select CPU_AT32AP700X
101config CPU_AT32AP7002
96 bool 102 bool
103 select CPU_AT32AP700X
97 104
98choice 105choice
99 prompt "AVR32 board type" 106 prompt "AVR32 board type"
@@ -101,10 +108,10 @@ choice
101 108
102config BOARD_ATSTK1000 109config BOARD_ATSTK1000
103 bool "ATSTK1000 evaluation board" 110 bool "ATSTK1000 evaluation board"
104 select BOARD_ATSTK1002 if CPU_AT32AP7000
105 111
106config BOARD_ATNGW100 112config BOARD_ATNGW100
107 bool "ATNGW100 Network Gateway" 113 bool "ATNGW100 Network Gateway"
114 select CPU_AT32AP7000
108endchoice 115endchoice
109 116
110if BOARD_ATSTK1000 117if BOARD_ATSTK1000
@@ -123,15 +130,15 @@ source "arch/avr32/mach-at32ap/Kconfig"
123 130
124config LOAD_ADDRESS 131config LOAD_ADDRESS
125 hex 132 hex
126 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y 133 default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
127 134
128config ENTRY_ADDRESS 135config ENTRY_ADDRESS
129 hex 136 hex
130 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y 137 default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
131 138
132config PHYS_OFFSET 139config PHYS_OFFSET
133 hex 140 hex
134 default 0x10000000 if CPU_AT32AP7000=y 141 default 0x10000000 if CPU_AT32AP700X=y
135 142
136source "kernel/Kconfig.preempt" 143source "kernel/Kconfig.preempt"
137 144
@@ -163,6 +170,16 @@ config OWNERSHIP_TRACE
163 enabling Nexus-compliant debuggers to keep track of the PID of the 170 enabling Nexus-compliant debuggers to keep track of the PID of the
164 currently executing task. 171 currently executing task.
165 172
173config NMI_DEBUGGING
174 bool "NMI Debugging"
175 default n
176 help
177 Say Y here and pass the nmi_debug command-line parameter to
178 the kernel to turn on NMI debugging. Depending on the value
179 of the nmi_debug option, various pieces of information will
180 be dumped to the console when a Non-Maskable Interrupt
181 happens.
182
166# FPU emulation goes here 183# FPU emulation goes here
167 184
168source "kernel/Kconfig.hz" 185source "kernel/Kconfig.hz"
@@ -219,6 +236,8 @@ source "drivers/Kconfig"
219 236
220source "fs/Kconfig" 237source "fs/Kconfig"
221 238
239source "kernel/Kconfig.instrumentation"
240
222source "arch/avr32/Kconfig.debug" 241source "arch/avr32/Kconfig.debug"
223 242
224source "security/Kconfig" 243source "security/Kconfig"
diff --git a/arch/avr32/Kconfig.debug b/arch/avr32/Kconfig.debug
index 64ace00fe6cb..2283933a9a93 100644
--- a/arch/avr32/Kconfig.debug
+++ b/arch/avr32/Kconfig.debug
@@ -6,14 +6,4 @@ config TRACE_IRQFLAGS_SUPPORT
6 6
7source "lib/Kconfig.debug" 7source "lib/Kconfig.debug"
8 8
9config KPROBES
10 bool "Kprobes"
11 depends on DEBUG_KERNEL
12 help
13 Kprobes allows you to trap at almost any kernel address and
14 execute a callback function. register_kprobe() establishes
15 a probepoint and specifies the callback. Kprobes is useful
16 for kernel debugging, non-intrusive instrumentation and testing.
17 If in doubt, say "N".
18
19endmenu 9endmenu
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 87918647be6d..17a3529341dd 100644
--- a/arch/avr32/Makefile
+++ b/arch/avr32/Makefile
@@ -16,7 +16,7 @@ KBUILD_AFLAGS += -mrelax -mno-pic
16CFLAGS_MODULE += -mno-relax 16CFLAGS_MODULE += -mno-relax
17LDFLAGS_vmlinux += --relax 17LDFLAGS_vmlinux += --relax
18 18
19cpuflags-$(CONFIG_CPU_AT32AP7000) += -mcpu=ap7000 19cpuflags-$(CONFIG_PLATFORM_AT32AP) += -march=ap
20 20
21KBUILD_CFLAGS += $(cpuflags-y) 21KBUILD_CFLAGS += $(cpuflags-y)
22KBUILD_AFLAGS += $(cpuflags-y) 22KBUILD_AFLAGS += $(cpuflags-y)
@@ -31,6 +31,7 @@ core-$(CONFIG_BOARD_ATNGW100) += arch/avr32/boards/atngw100/
31core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ 31core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/
32core-y += arch/avr32/kernel/ 32core-y += arch/avr32/kernel/
33core-y += arch/avr32/mm/ 33core-y += arch/avr32/mm/
34drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/
34libs-y += arch/avr32/lib/ 35libs-y += arch/avr32/lib/
35 36
36archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap 37archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap
diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c
index 52987c81d668..a398be284966 100644
--- a/arch/avr32/boards/atngw100/setup.c
+++ b/arch/avr32/boards/atngw100/setup.c
@@ -20,7 +20,7 @@
20#include <asm/io.h> 20#include <asm/io.h>
21#include <asm/setup.h> 21#include <asm/setup.h>
22 22
23#include <asm/arch/at32ap7000.h> 23#include <asm/arch/at32ap700x.h>
24#include <asm/arch/board.h> 24#include <asm/arch/board.h>
25#include <asm/arch/init.h> 25#include <asm/arch/init.h>
26#include <asm/arch/portmux.h> 26#include <asm/arch/portmux.h>
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig
index 718578f64069..af90b00100fd 100644
--- a/arch/avr32/boards/atstk1000/Kconfig
+++ b/arch/avr32/boards/atstk1000/Kconfig
@@ -1,34 +1,53 @@
1# STK1000 customization 1# STK1000 customization
2 2
3if BOARD_ATSTK1002 3if BOARD_ATSTK1000
4 4
5config BOARD_ATSTK1002_CUSTOM 5choice
6 bool "Non-default STK-1002 jumper settings" 6 prompt "ATSTK1000 CPU daughterboard type"
7 default BOARD_ATSTK1002
8
9config BOARD_ATSTK1002
10 bool "ATSTK1002"
11 select CPU_AT32AP7000
12
13config BOARD_ATSTK1003
14 bool "ATSTK1003"
15 select CPU_AT32AP7001
16
17config BOARD_ATSTK1004
18 bool "ATSTK1004"
19 select CPU_AT32AP7002
20
21endchoice
22
23
24config BOARD_ATSTK100X_CUSTOM
25 bool "Non-default STK1002/STK1003/STK1004 jumper settings"
7 help 26 help
8 You will normally leave the jumpers on the CPU card at their 27 You will normally leave the jumpers on the CPU card at their
9 default settings. If you need to use certain peripherals, 28 default settings. If you need to use certain peripherals,
10 you will need to change some of those jumpers. 29 you will need to change some of those jumpers.
11 30
12if BOARD_ATSTK1002_CUSTOM 31if BOARD_ATSTK100X_CUSTOM
13 32
14config BOARD_ATSTK1002_SW1_CUSTOM 33config BOARD_ATSTK100X_SW1_CUSTOM
15 bool "SW1: use SSC1 (not SPI0)" 34 bool "SW1: use SSC1 (not SPI0)"
16 help 35 help
17 This also prevents using the external DAC as an audio interface, 36 This also prevents using the external DAC as an audio interface,
18 and means you can't initialize the on-board QVGA display. 37 and means you can't initialize the on-board QVGA display.
19 38
20config BOARD_ATSTK1002_SW2_CUSTOM 39config BOARD_ATSTK100X_SW2_CUSTOM
21 bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)" 40 bool "SW2: use IRDA or TIMER0 (not UART-A, MMC/SD, and PS2-A)"
22 help 41 help
23 If you change this you'll want an updated boot loader putting 42 If you change this you'll want an updated boot loader putting
24 the console on UART-C not UART-A. 43 the console on UART-C not UART-A.
25 44
26config BOARD_ATSTK1002_SW3_CUSTOM 45config BOARD_ATSTK100X_SW3_CUSTOM
27 bool "SW3: use TIMER1 (not SSC0 and GCLK)" 46 bool "SW3: use TIMER1 (not SSC0 and GCLK)"
28 help 47 help
29 This also prevents using the external DAC as an audio interface. 48 This also prevents using the external DAC as an audio interface.
30 49
31config BOARD_ATSTK1002_SW4_CUSTOM 50config BOARD_ATSTK100X_SW4_CUSTOM
32 bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)" 51 bool "SW4: use ISI/Camera (not GPIOs, SPI1, and PS2-B)"
33 help 52 help
34 To use the camera interface you'll need a custom card (on the 53 To use the camera interface you'll need a custom card (on the
@@ -36,27 +55,29 @@ config BOARD_ATSTK1002_SW4_CUSTOM
36 55
37config BOARD_ATSTK1002_SW5_CUSTOM 56config BOARD_ATSTK1002_SW5_CUSTOM
38 bool "SW5: use MACB1 (not LCDC)" 57 bool "SW5: use MACB1 (not LCDC)"
58 depends on BOARD_ATSTK1002
39 59
40config BOARD_ATSTK1002_SW6_CUSTOM 60config BOARD_ATSTK1002_SW6_CUSTOM
41 bool "SW6: more GPIOs (not MACB0)" 61 bool "SW6: more GPIOs (not MACB0)"
62 depends on BOARD_ATSTK1002
42 63
43endif # custom 64endif # custom
44 65
45config BOARD_ATSTK1002_SPI1 66config BOARD_ATSTK100X_SPI1
46 bool "Configure SPI1 controller" 67 bool "Configure SPI1 controller"
47 depends on !BOARD_ATSTK1002_SW4_CUSTOM 68 depends on !BOARD_ATSTK100X_SW4_CUSTOM
48 help 69 help
49 All the signals for the second SPI controller are available on 70 All the signals for the second SPI controller are available on
50 GPIO lines and accessed through the J1 jumper block. Say "y" 71 GPIO lines and accessed through the J1 jumper block. Say "y"
51 here to configure that SPI controller. 72 here to configure that SPI controller.
52 73
53config BOARD_ATSTK1002_J2_LED 74config BOARD_ATSTK1000_J2_LED
54 bool 75 bool
55 default BOARD_ATSTK1002_J2_LED8 || BOARD_ATSTK1002_J2_RGB 76 default BOARD_ATSTK1000_J2_LED8 || BOARD_ATSTK1000_J2_RGB
56 77
57choice 78choice
58 prompt "LEDs connected to J2:" 79 prompt "LEDs connected to J2:"
59 depends on LEDS_GPIO && !BOARD_ATSTK1002_SW4_CUSTOM 80 depends on LEDS_GPIO && !BOARD_ATSTK100X_SW4_CUSTOM
60 optional 81 optional
61 help 82 help
62 Select this if you have jumpered the J2 jumper block to the 83 Select this if you have jumpered the J2 jumper block to the
@@ -64,16 +85,21 @@ choice
64 IDC cable. A default "heartbeat" trigger is provided, but 85 IDC cable. A default "heartbeat" trigger is provided, but
65 you can of course override this. 86 you can of course override this.
66 87
67config BOARD_ATSTK1002_J2_LED8 88config BOARD_ATSTK1000_J2_LED8
68 bool "LED0..LED7" 89 bool "LED0..LED7"
69 help 90 help
70 Select this if J2 is jumpered to LED0..LED7 amber leds. 91 Select this if J2 is jumpered to LED0..LED7 amber leds.
71 92
72config BOARD_ATSTK1002_J2_RGB 93config BOARD_ATSTK1000_J2_RGB
73 bool "RGB leds" 94 bool "RGB leds"
74 help 95 help
75 Select this if J2 is jumpered to the RGB leds. 96 Select this if J2 is jumpered to the RGB leds.
76 97
77endchoice 98endchoice
78 99
79endif # stk 1002 100config BOARD_ATSTK1000_EXTDAC
101 bool
102 depends on !BOARD_ATSTK100X_SW1_CUSTOM && !BOARD_ATSTK100X_SW3_CUSTOM
103 default y
104
105endif # stk 1000
diff --git a/arch/avr32/boards/atstk1000/Makefile b/arch/avr32/boards/atstk1000/Makefile
index 8e0992201bb9..beead86462e8 100644
--- a/arch/avr32/boards/atstk1000/Makefile
+++ b/arch/avr32/boards/atstk1000/Makefile
@@ -1,2 +1,4 @@
1obj-y += setup.o flash.o 1obj-y += setup.o flash.o
2obj-$(CONFIG_BOARD_ATSTK1002) += atstk1002.o 2obj-$(CONFIG_BOARD_ATSTK1002) += atstk1002.o
3obj-$(CONFIG_BOARD_ATSTK1003) += atstk1003.o
4obj-$(CONFIG_BOARD_ATSTK1004) += atstk1004.o
diff --git a/arch/avr32/boards/atstk1000/atstk1000.h b/arch/avr32/boards/atstk1000/atstk1000.h
index 9a49ed036b72..9392d3252865 100644
--- a/arch/avr32/boards/atstk1000/atstk1000.h
+++ b/arch/avr32/boards/atstk1000/atstk1000.h
@@ -12,4 +12,6 @@
12 12
13extern struct atmel_lcdfb_info atstk1000_lcdc_data; 13extern struct atmel_lcdfb_info atstk1000_lcdc_data;
14 14
15void atstk1000_setup_j2_leds(void);
16
15#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */ 17#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
index 5be0d13f4b03..000eb4220a12 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -11,7 +11,6 @@
11#include <linux/etherdevice.h> 11#include <linux/etherdevice.h>
12#include <linux/init.h> 12#include <linux/init.h>
13#include <linux/kernel.h> 13#include <linux/kernel.h>
14#include <linux/leds.h>
15#include <linux/platform_device.h> 14#include <linux/platform_device.h>
16#include <linux/string.h> 15#include <linux/string.h>
17#include <linux/types.h> 16#include <linux/types.h>
@@ -22,7 +21,7 @@
22 21
23#include <asm/io.h> 22#include <asm/io.h>
24#include <asm/setup.h> 23#include <asm/setup.h>
25#include <asm/arch/at32ap7000.h> 24#include <asm/arch/at32ap700x.h>
26#include <asm/arch/board.h> 25#include <asm/arch/board.h>
27#include <asm/arch/init.h> 26#include <asm/arch/init.h>
28#include <asm/arch/portmux.h> 27#include <asm/arch/portmux.h>
@@ -49,18 +48,16 @@ static struct eth_platform_data __initdata eth_data[2] = {
49 }, 48 },
50}; 49};
51 50
52#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM 51#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
53#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM
54static struct at73c213_board_info at73c213_data = { 52static struct at73c213_board_info at73c213_data = {
55 .ssc_id = 0, 53 .ssc_id = 0,
56 .shortname = "AVR32 STK1000 external DAC", 54 .shortname = "AVR32 STK1000 external DAC",
57}; 55};
58#endif 56#endif
59#endif
60 57
61#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM 58#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
62static struct spi_board_info spi0_board_info[] __initdata = { 59static struct spi_board_info spi0_board_info[] __initdata = {
63#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM 60#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
64 { 61 {
65 /* AT73C213 */ 62 /* AT73C213 */
66 .modalias = "at73c213", 63 .modalias = "at73c213",
@@ -80,7 +77,7 @@ static struct spi_board_info spi0_board_info[] __initdata = {
80}; 77};
81#endif 78#endif
82 79
83#ifdef CONFIG_BOARD_ATSTK1002_SPI1 80#ifdef CONFIG_BOARD_ATSTK100X_SPI1
84static struct spi_board_info spi1_board_info[] __initdata = { { 81static struct spi_board_info spi1_board_info[] __initdata = { {
85 /* patch in custom entries here */ 82 /* patch in custom entries here */
86} }; 83} };
@@ -141,68 +138,8 @@ static void __init set_hw_addr(struct platform_device *pdev)
141 clk_put(pclk); 138 clk_put(pclk);
142} 139}
143 140
144#ifdef CONFIG_BOARD_ATSTK1002_J2_LED 141#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
145 142static void __init atstk1002_setup_extdac(void)
146static struct gpio_led stk_j2_led[] = {
147#ifdef CONFIG_BOARD_ATSTK1002_J2_LED8
148#define LEDSTRING "J2 jumpered to LED8"
149 { .name = "led0:amber", .gpio = GPIO_PIN_PB( 8), },
150 { .name = "led1:amber", .gpio = GPIO_PIN_PB( 9), },
151 { .name = "led2:amber", .gpio = GPIO_PIN_PB(10), },
152 { .name = "led3:amber", .gpio = GPIO_PIN_PB(13), },
153 { .name = "led4:amber", .gpio = GPIO_PIN_PB(14), },
154 { .name = "led5:amber", .gpio = GPIO_PIN_PB(15), },
155 { .name = "led6:amber", .gpio = GPIO_PIN_PB(16), },
156 { .name = "led7:amber", .gpio = GPIO_PIN_PB(30),
157 .default_trigger = "heartbeat", },
158#else /* RGB */
159#define LEDSTRING "J2 jumpered to RGB LEDs"
160 { .name = "r1:red", .gpio = GPIO_PIN_PB( 8), },
161 { .name = "g1:green", .gpio = GPIO_PIN_PB(10), },
162 { .name = "b1:blue", .gpio = GPIO_PIN_PB(14), },
163
164 { .name = "r2:red", .gpio = GPIO_PIN_PB( 9),
165 .default_trigger = "heartbeat", },
166 { .name = "g2:green", .gpio = GPIO_PIN_PB(13), },
167 { .name = "b2:blue", .gpio = GPIO_PIN_PB(15),
168 .default_trigger = "heartbeat", },
169 /* PB16, PB30 unused */
170#endif
171};
172
173static struct gpio_led_platform_data stk_j2_led_data = {
174 .num_leds = ARRAY_SIZE(stk_j2_led),
175 .leds = stk_j2_led,
176};
177
178static struct platform_device stk_j2_led_dev = {
179 .name = "leds-gpio",
180 .id = 2, /* gpio block J2 */
181 .dev = {
182 .platform_data = &stk_j2_led_data,
183 },
184};
185
186static void setup_j2_leds(void)
187{
188 unsigned i;
189
190 for (i = 0; i < ARRAY_SIZE(stk_j2_led); i++)
191 at32_select_gpio(stk_j2_led[i].gpio, AT32_GPIOF_OUTPUT);
192
193 printk("STK1002: " LEDSTRING "\n");
194 platform_device_register(&stk_j2_led_dev);
195}
196
197#else
198static void setup_j2_leds(void)
199{
200}
201#endif
202
203#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM
204#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM
205static void __init at73c213_set_clk(struct at73c213_board_info *info)
206{ 143{
207 struct clk *gclk; 144 struct clk *gclk;
208 struct clk *pll; 145 struct clk *pll;
@@ -220,7 +157,7 @@ static void __init at73c213_set_clk(struct at73c213_board_info *info)
220 } 157 }
221 158
222 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0); 159 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0);
223 info->dac_clk = gclk; 160 at73c213_data.dac_clk = gclk;
224 161
225err_set_clk: 162err_set_clk:
226 clk_put(pll); 163 clk_put(pll);
@@ -229,12 +166,16 @@ err_pll:
229err_gclk: 166err_gclk:
230 return; 167 return;
231} 168}
232#endif 169#else
233#endif 170static void __init atstk1002_setup_extdac(void)
171{
172
173}
174#endif /* CONFIG_BOARD_ATSTK1000_EXTDAC */
234 175
235void __init setup_board(void) 176void __init setup_board(void)
236{ 177{
237#ifdef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM 178#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
238 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */ 179 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
239#else 180#else
240 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */ 181 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
@@ -271,7 +212,7 @@ static int __init atstk1002_init(void)
271 212
272 at32_add_system_devices(); 213 at32_add_system_devices();
273 214
274#ifdef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM 215#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
275 at32_add_device_usart(1); 216 at32_add_device_usart(1);
276#else 217#else
277 at32_add_device_usart(0); 218 at32_add_device_usart(0);
@@ -281,10 +222,10 @@ static int __init atstk1002_init(void)
281#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM 222#ifndef CONFIG_BOARD_ATSTK1002_SW6_CUSTOM
282 set_hw_addr(at32_add_device_eth(0, &eth_data[0])); 223 set_hw_addr(at32_add_device_eth(0, &eth_data[0]));
283#endif 224#endif
284#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM 225#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
285 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info)); 226 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
286#endif 227#endif
287#ifdef CONFIG_BOARD_ATSTK1002_SPI1 228#ifdef CONFIG_BOARD_ATSTK100X_SPI1
288 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); 229 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
289#endif 230#endif
290#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM 231#ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM
@@ -294,17 +235,12 @@ static int __init atstk1002_init(void)
294 fbmem_start, fbmem_size); 235 fbmem_start, fbmem_size);
295#endif 236#endif
296 at32_add_device_usba(0, NULL); 237 at32_add_device_usba(0, NULL);
297#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM 238#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
298 at32_add_device_ssc(0, ATMEL_SSC_TX); 239 at32_add_device_ssc(0, ATMEL_SSC_TX);
299#endif 240#endif
300 241
301 setup_j2_leds(); 242 atstk1000_setup_j2_leds();
302 243 atstk1002_setup_extdac();
303#ifndef CONFIG_BOARD_ATSTK1002_SW3_CUSTOM
304#ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM
305 at73c213_set_clk(&at73c213_data);
306#endif
307#endif
308 244
309 return 0; 245 return 0;
310} 246}
diff --git a/arch/avr32/boards/atstk1000/atstk1003.c b/arch/avr32/boards/atstk1000/atstk1003.c
new file mode 100644
index 000000000000..a0b223df35a2
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1003.c
@@ -0,0 +1,162 @@
1/*
2 * ATSTK1003 daughterboard-specific init code
3 *
4 * Copyright (C) 2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/clk.h>
11#include <linux/err.h>
12#include <linux/init.h>
13#include <linux/kernel.h>
14#include <linux/platform_device.h>
15#include <linux/string.h>
16#include <linux/types.h>
17
18#include <linux/spi/at73c213.h>
19#include <linux/spi/spi.h>
20
21#include <asm/setup.h>
22
23#include <asm/arch/at32ap700x.h>
24#include <asm/arch/board.h>
25#include <asm/arch/init.h>
26#include <asm/arch/portmux.h>
27
28#include "atstk1000.h"
29
30#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
31static struct at73c213_board_info at73c213_data = {
32 .ssc_id = 0,
33 .shortname = "AVR32 STK1000 external DAC",
34};
35#endif
36
37#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
38static struct spi_board_info spi0_board_info[] __initdata = {
39#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
40 {
41 /* AT73C213 */
42 .modalias = "at73c213",
43 .max_speed_hz = 200000,
44 .chip_select = 0,
45 .mode = SPI_MODE_1,
46 .platform_data = &at73c213_data,
47 },
48#endif
49 /*
50 * We can control the LTV350QV LCD panel, but it isn't much
51 * point since we don't have an LCD controller...
52 */
53};
54#endif
55
56#ifdef CONFIG_BOARD_ATSTK100X_SPI1
57static struct spi_board_info spi1_board_info[] __initdata = { {
58 /* patch in custom entries here */
59} };
60#endif
61
62#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
63static void __init atstk1003_setup_extdac(void)
64{
65 struct clk *gclk;
66 struct clk *pll;
67
68 gclk = clk_get(NULL, "gclk0");
69 if (IS_ERR(gclk))
70 goto err_gclk;
71 pll = clk_get(NULL, "pll0");
72 if (IS_ERR(pll))
73 goto err_pll;
74
75 if (clk_set_parent(gclk, pll)) {
76 pr_debug("STK1000: failed to set pll0 as parent for DAC clock\n");
77 goto err_set_clk;
78 }
79
80 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0);
81 at73c213_data.dac_clk = gclk;
82
83err_set_clk:
84 clk_put(pll);
85err_pll:
86 clk_put(gclk);
87err_gclk:
88 return;
89}
90#else
91static void __init atstk1003_setup_extdac(void)
92{
93
94}
95#endif /* CONFIG_BOARD_ATSTK1000_EXTDAC */
96
97void __init setup_board(void)
98{
99#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
100 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
101#else
102 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
103#endif
104 /* USART 2/unused: expansion connector */
105 at32_map_usart(3, 2); /* USART 3/C: /dev/ttyS2, DB9 */
106
107 at32_setup_serial_console(0);
108}
109
110static int __init atstk1003_init(void)
111{
112 /*
113 * ATSTK1000 uses 32-bit SDRAM interface. Reserve the
114 * SDRAM-specific pins so that nobody messes with them.
115 */
116 at32_reserve_pin(GPIO_PIN_PE(0)); /* DATA[16] */
117 at32_reserve_pin(GPIO_PIN_PE(1)); /* DATA[17] */
118 at32_reserve_pin(GPIO_PIN_PE(2)); /* DATA[18] */
119 at32_reserve_pin(GPIO_PIN_PE(3)); /* DATA[19] */
120 at32_reserve_pin(GPIO_PIN_PE(4)); /* DATA[20] */
121 at32_reserve_pin(GPIO_PIN_PE(5)); /* DATA[21] */
122 at32_reserve_pin(GPIO_PIN_PE(6)); /* DATA[22] */
123 at32_reserve_pin(GPIO_PIN_PE(7)); /* DATA[23] */
124 at32_reserve_pin(GPIO_PIN_PE(8)); /* DATA[24] */
125 at32_reserve_pin(GPIO_PIN_PE(9)); /* DATA[25] */
126 at32_reserve_pin(GPIO_PIN_PE(10)); /* DATA[26] */
127 at32_reserve_pin(GPIO_PIN_PE(11)); /* DATA[27] */
128 at32_reserve_pin(GPIO_PIN_PE(12)); /* DATA[28] */
129 at32_reserve_pin(GPIO_PIN_PE(13)); /* DATA[29] */
130 at32_reserve_pin(GPIO_PIN_PE(14)); /* DATA[30] */
131 at32_reserve_pin(GPIO_PIN_PE(15)); /* DATA[31] */
132 at32_reserve_pin(GPIO_PIN_PE(26)); /* SDCS */
133
134 at32_add_system_devices();
135
136#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
137 at32_add_device_usart(1);
138#else
139 at32_add_device_usart(0);
140#endif
141 at32_add_device_usart(2);
142
143#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
144 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
145#endif
146#ifdef CONFIG_BOARD_ATSTK100X_SPI1
147 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
148#endif
149#ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
150 at32_add_device_mci(0);
151#endif
152 at32_add_device_usba(0, NULL);
153#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
154 at32_add_device_ssc(0, ATMEL_SSC_TX);
155#endif
156
157 atstk1000_setup_j2_leds();
158 atstk1003_setup_extdac();
159
160 return 0;
161}
162postcore_initcall(atstk1003_init);
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c
new file mode 100644
index 000000000000..5a77030e07a0
--- /dev/null
+++ b/arch/avr32/boards/atstk1000/atstk1004.c
@@ -0,0 +1,147 @@
1/*
2 * ATSTK1003 daughterboard-specific init code
3 *
4 * Copyright (C) 2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/clk.h>
11#include <linux/err.h>
12#include <linux/init.h>
13#include <linux/kernel.h>
14#include <linux/platform_device.h>
15#include <linux/string.h>
16#include <linux/types.h>
17
18#include <linux/spi/at73c213.h>
19#include <linux/spi/spi.h>
20
21#include <video/atmel_lcdc.h>
22
23#include <asm/setup.h>
24
25#include <asm/arch/at32ap700x.h>
26#include <asm/arch/board.h>
27#include <asm/arch/init.h>
28#include <asm/arch/portmux.h>
29
30#include "atstk1000.h"
31
32#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
33static struct at73c213_board_info at73c213_data = {
34 .ssc_id = 0,
35 .shortname = "AVR32 STK1000 external DAC",
36};
37#endif
38
39#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
40static struct spi_board_info spi0_board_info[] __initdata = {
41#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
42 {
43 /* AT73C213 */
44 .modalias = "at73c213",
45 .max_speed_hz = 200000,
46 .chip_select = 0,
47 .mode = SPI_MODE_1,
48 .platform_data = &at73c213_data,
49 },
50#endif
51 {
52 /* QVGA display */
53 .modalias = "ltv350qv",
54 .max_speed_hz = 16000000,
55 .chip_select = 1,
56 .mode = SPI_MODE_3,
57 },
58};
59#endif
60
61#ifdef CONFIG_BOARD_ATSTK100X_SPI1
62static struct spi_board_info spi1_board_info[] __initdata = { {
63 /* patch in custom entries here */
64} };
65#endif
66
67#ifdef CONFIG_BOARD_ATSTK1000_EXTDAC
68static void __init atstk1004_setup_extdac(void)
69{
70 struct clk *gclk;
71 struct clk *pll;
72
73 gclk = clk_get(NULL, "gclk0");
74 if (IS_ERR(gclk))
75 goto err_gclk;
76 pll = clk_get(NULL, "pll0");
77 if (IS_ERR(pll))
78 goto err_pll;
79
80 if (clk_set_parent(gclk, pll)) {
81 pr_debug("STK1000: failed to set pll0 as parent for DAC clock\n");
82 goto err_set_clk;
83 }
84
85 at32_select_periph(GPIO_PIN_PA(30), GPIO_PERIPH_A, 0);
86 at73c213_data.dac_clk = gclk;
87
88err_set_clk:
89 clk_put(pll);
90err_pll:
91 clk_put(gclk);
92err_gclk:
93 return;
94}
95#else
96static void __init atstk1004_setup_extdac(void)
97{
98
99}
100#endif /* CONFIG_BOARD_ATSTK1000_EXTDAC */
101
102void __init setup_board(void)
103{
104#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
105 at32_map_usart(0, 1); /* USART 0/B: /dev/ttyS1, IRDA */
106#else
107 at32_map_usart(1, 0); /* USART 1/A: /dev/ttyS0, DB9 */
108#endif
109 /* USART 2/unused: expansion connector */
110 at32_map_usart(3, 2); /* USART 3/C: /dev/ttyS2, DB9 */
111
112 at32_setup_serial_console(0);
113}
114
115static int __init atstk1004_init(void)
116{
117 at32_add_system_devices();
118
119#ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM
120 at32_add_device_usart(1);
121#else
122 at32_add_device_usart(0);
123#endif
124 at32_add_device_usart(2);
125
126#ifndef CONFIG_BOARD_ATSTK100X_SW1_CUSTOM
127 at32_add_device_spi(0, spi0_board_info, ARRAY_SIZE(spi0_board_info));
128#endif
129#ifdef CONFIG_BOARD_ATSTK100X_SPI1
130 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info));
131#endif
132#ifndef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM
133 at32_add_device_mci(0);
134#endif
135 at32_add_device_lcdc(0, &atstk1000_lcdc_data,
136 fbmem_start, fbmem_size);
137 at32_add_device_usba(0, NULL);
138#ifndef CONFIG_BOARD_ATSTK100X_SW3_CUSTOM
139 at32_add_device_ssc(0, ATMEL_SSC_TX);
140#endif
141
142 atstk1000_setup_j2_leds();
143 atstk1004_setup_extdac();
144
145 return 0;
146}
147postcore_initcall(atstk1004_init);
diff --git a/arch/avr32/boards/atstk1000/setup.c b/arch/avr32/boards/atstk1000/setup.c
index c9af409ada9a..8bedf93876a3 100644
--- a/arch/avr32/boards/atstk1000/setup.c
+++ b/arch/avr32/boards/atstk1000/setup.c
@@ -10,13 +10,17 @@
10#include <linux/bootmem.h> 10#include <linux/bootmem.h>
11#include <linux/fb.h> 11#include <linux/fb.h>
12#include <linux/init.h> 12#include <linux/init.h>
13#include <linux/platform_device.h>
13#include <linux/types.h> 14#include <linux/types.h>
14#include <linux/linkage.h> 15#include <linux/linkage.h>
15 16
16#include <video/atmel_lcdc.h> 17#include <video/atmel_lcdc.h>
17 18
18#include <asm/setup.h> 19#include <asm/setup.h>
20
21#include <asm/arch/at32ap700x.h>
19#include <asm/arch/board.h> 22#include <asm/arch/board.h>
23#include <asm/arch/portmux.h>
20 24
21#include "atstk1000.h" 25#include "atstk1000.h"
22 26
@@ -61,3 +65,63 @@ struct atmel_lcdfb_info __initdata atstk1000_lcdc_data = {
61 .default_monspecs = &atstk1000_default_monspecs, 65 .default_monspecs = &atstk1000_default_monspecs,
62 .guard_time = 2, 66 .guard_time = 2,
63}; 67};
68
69#ifdef CONFIG_BOARD_ATSTK1000_J2_LED
70#include <linux/leds.h>
71
72static struct gpio_led stk1000_j2_led[] = {
73#ifdef CONFIG_BOARD_ATSTK1000_J2_LED8
74#define LEDSTRING "J2 jumpered to LED8"
75 { .name = "led0:amber", .gpio = GPIO_PIN_PB( 8), },
76 { .name = "led1:amber", .gpio = GPIO_PIN_PB( 9), },
77 { .name = "led2:amber", .gpio = GPIO_PIN_PB(10), },
78 { .name = "led3:amber", .gpio = GPIO_PIN_PB(13), },
79 { .name = "led4:amber", .gpio = GPIO_PIN_PB(14), },
80 { .name = "led5:amber", .gpio = GPIO_PIN_PB(15), },
81 { .name = "led6:amber", .gpio = GPIO_PIN_PB(16), },
82 { .name = "led7:amber", .gpio = GPIO_PIN_PB(30),
83 .default_trigger = "heartbeat", },
84#else /* RGB */
85#define LEDSTRING "J2 jumpered to RGB LEDs"
86 { .name = "r1:red", .gpio = GPIO_PIN_PB( 8), },
87 { .name = "g1:green", .gpio = GPIO_PIN_PB(10), },
88 { .name = "b1:blue", .gpio = GPIO_PIN_PB(14), },
89
90 { .name = "r2:red", .gpio = GPIO_PIN_PB( 9),
91 .default_trigger = "heartbeat", },
92 { .name = "g2:green", .gpio = GPIO_PIN_PB(13), },
93 { .name = "b2:blue", .gpio = GPIO_PIN_PB(15),
94 .default_trigger = "heartbeat", },
95 /* PB16, PB30 unused */
96#endif
97};
98
99static struct gpio_led_platform_data stk1000_j2_led_data = {
100 .num_leds = ARRAY_SIZE(stk1000_j2_led),
101 .leds = stk1000_j2_led,
102};
103
104static struct platform_device stk1000_j2_led_dev = {
105 .name = "leds-gpio",
106 .id = 2, /* gpio block J2 */
107 .dev = {
108 .platform_data = &stk1000_j2_led_data,
109 },
110};
111
112void __init atstk1000_setup_j2_leds(void)
113{
114 unsigned i;
115
116 for (i = 0; i < ARRAY_SIZE(stk1000_j2_led); i++)
117 at32_select_gpio(stk1000_j2_led[i].gpio, AT32_GPIOF_OUTPUT);
118
119 printk("STK1000: " LEDSTRING "\n");
120 platform_device_register(&stk1000_j2_led_dev);
121}
122#else /* CONFIG_BOARD_ATSTK1000_J2_LED */
123void __init atstk1000_setup_j2_leds(void)
124{
125
126}
127#endif /* CONFIG_BOARD_ATSTK1000_J2_LED */
diff --git a/arch/avr32/configs/atngw100_defconfig b/arch/avr32/configs/atngw100_defconfig
index b799a68ffd97..06046074d68b 100644
--- a/arch/avr32/configs/atngw100_defconfig
+++ b/arch/avr32/configs/atngw100_defconfig
@@ -1,46 +1,51 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.22-rc5 3# Linux kernel version: 2.6.24-rc7
4# Sat Jun 23 15:40:05 2007 4# Wed Jan 9 23:20:41 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y 8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
9CONFIG_HARDIRQS_SW_RESEND=y 12CONFIG_HARDIRQS_SW_RESEND=y
10CONFIG_GENERIC_IRQ_PROBE=y 13CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_RWSEM_GENERIC_SPINLOCK=y 14CONFIG_RWSEM_GENERIC_SPINLOCK=y
12CONFIG_GENERIC_TIME=y 15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
13# CONFIG_ARCH_HAS_ILOG2_U32 is not set 17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
14# CONFIG_ARCH_HAS_ILOG2_U64 is not set 18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
15CONFIG_GENERIC_HWEIGHT=y 20CONFIG_GENERIC_HWEIGHT=y
16CONFIG_GENERIC_CALIBRATE_DELAY=y 21CONFIG_GENERIC_CALIBRATE_DELAY=y
17CONFIG_GENERIC_BUG=y 22CONFIG_GENERIC_BUG=y
18CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
19 24
20# 25#
21# Code maturity level options 26# General setup
22# 27#
23CONFIG_EXPERIMENTAL=y 28CONFIG_EXPERIMENTAL=y
24CONFIG_BROKEN_ON_SMP=y 29CONFIG_BROKEN_ON_SMP=y
25CONFIG_INIT_ENV_ARG_LIMIT=32 30CONFIG_INIT_ENV_ARG_LIMIT=32
26
27#
28# General setup
29#
30CONFIG_LOCALVERSION="" 31CONFIG_LOCALVERSION=""
31# CONFIG_LOCALVERSION_AUTO is not set 32# CONFIG_LOCALVERSION_AUTO is not set
32CONFIG_SWAP=y 33CONFIG_SWAP=y
33CONFIG_SYSVIPC=y 34CONFIG_SYSVIPC=y
34# CONFIG_IPC_NS is not set
35CONFIG_SYSVIPC_SYSCTL=y 35CONFIG_SYSVIPC_SYSCTL=y
36CONFIG_POSIX_MQUEUE=y 36CONFIG_POSIX_MQUEUE=y
37CONFIG_BSD_PROCESS_ACCT=y 37CONFIG_BSD_PROCESS_ACCT=y
38CONFIG_BSD_PROCESS_ACCT_V3=y 38CONFIG_BSD_PROCESS_ACCT_V3=y
39# CONFIG_TASKSTATS is not set 39# CONFIG_TASKSTATS is not set
40# CONFIG_UTS_NS is not set 40# CONFIG_USER_NS is not set
41# CONFIG_PID_NS is not set
41# CONFIG_AUDIT is not set 42# CONFIG_AUDIT is not set
42# CONFIG_IKCONFIG is not set 43# CONFIG_IKCONFIG is not set
43CONFIG_LOG_BUF_SHIFT=14 44CONFIG_LOG_BUF_SHIFT=14
45# CONFIG_CGROUPS is not set
46CONFIG_FAIR_GROUP_SCHED=y
47CONFIG_FAIR_USER_SCHED=y
48# CONFIG_FAIR_CGROUP_SCHED is not set
44CONFIG_SYSFS_DEPRECATED=y 49CONFIG_SYSFS_DEPRECATED=y
45# CONFIG_RELAY is not set 50# CONFIG_RELAY is not set
46CONFIG_BLK_DEV_INITRD=y 51CONFIG_BLK_DEV_INITRD=y
@@ -61,35 +66,28 @@ CONFIG_FUTEX=y
61CONFIG_ANON_INODES=y 66CONFIG_ANON_INODES=y
62CONFIG_EPOLL=y 67CONFIG_EPOLL=y
63CONFIG_SIGNALFD=y 68CONFIG_SIGNALFD=y
64CONFIG_TIMERFD=y
65CONFIG_EVENTFD=y 69CONFIG_EVENTFD=y
66CONFIG_SHMEM=y 70CONFIG_SHMEM=y
67CONFIG_VM_EVENT_COUNTERS=y 71CONFIG_VM_EVENT_COUNTERS=y
68# CONFIG_SLUB_DEBUG is not set 72CONFIG_SLUB_DEBUG=y
69# CONFIG_SLAB is not set 73# CONFIG_SLAB is not set
70CONFIG_SLUB=y 74CONFIG_SLUB=y
71# CONFIG_SLOB is not set 75# CONFIG_SLOB is not set
76CONFIG_SLABINFO=y
72CONFIG_RT_MUTEXES=y 77CONFIG_RT_MUTEXES=y
73# CONFIG_TINY_SHMEM is not set 78# CONFIG_TINY_SHMEM is not set
74CONFIG_BASE_SMALL=1 79CONFIG_BASE_SMALL=1
75
76#
77# Loadable module support
78#
79CONFIG_MODULES=y 80CONFIG_MODULES=y
80CONFIG_MODULE_UNLOAD=y 81CONFIG_MODULE_UNLOAD=y
81CONFIG_MODULE_FORCE_UNLOAD=y 82CONFIG_MODULE_FORCE_UNLOAD=y
82# CONFIG_MODVERSIONS is not set 83# CONFIG_MODVERSIONS is not set
83# CONFIG_MODULE_SRCVERSION_ALL is not set 84# CONFIG_MODULE_SRCVERSION_ALL is not set
84CONFIG_KMOD=y 85CONFIG_KMOD=y
85
86#
87# Block layer
88#
89CONFIG_BLOCK=y 86CONFIG_BLOCK=y
90# CONFIG_LBD is not set 87# CONFIG_LBD is not set
91# CONFIG_BLK_DEV_IO_TRACE is not set 88# CONFIG_BLK_DEV_IO_TRACE is not set
92# CONFIG_LSF is not set 89# CONFIG_LSF is not set
90# CONFIG_BLK_DEV_BSG is not set
93 91
94# 92#
95# IO Schedulers 93# IO Schedulers
@@ -111,6 +109,7 @@ CONFIG_SUBARCH_AVR32B=y
111CONFIG_MMU=y 109CONFIG_MMU=y
112CONFIG_PERFORMANCE_COUNTERS=y 110CONFIG_PERFORMANCE_COUNTERS=y
113CONFIG_PLATFORM_AT32AP=y 111CONFIG_PLATFORM_AT32AP=y
112CONFIG_CPU_AT32AP700X=y
114CONFIG_CPU_AT32AP7000=y 113CONFIG_CPU_AT32AP7000=y
115# CONFIG_BOARD_ATSTK1000 is not set 114# CONFIG_BOARD_ATSTK1000 is not set
116CONFIG_BOARD_ATNGW100=y 115CONFIG_BOARD_ATNGW100=y
@@ -119,9 +118,9 @@ CONFIG_LOADER_U_BOOT=y
119# 118#
120# Atmel AVR32 AP options 119# Atmel AVR32 AP options
121# 120#
122# CONFIG_AP7000_32_BIT_SMC is not set 121# CONFIG_AP700X_32_BIT_SMC is not set
123CONFIG_AP7000_16_BIT_SMC=y 122CONFIG_AP700X_16_BIT_SMC=y
124# CONFIG_AP7000_8_BIT_SMC is not set 123# CONFIG_AP700X_8_BIT_SMC is not set
125CONFIG_LOAD_ADDRESS=0x10000000 124CONFIG_LOAD_ADDRESS=0x10000000
126CONFIG_ENTRY_ADDRESS=0x90000000 125CONFIG_ENTRY_ADDRESS=0x90000000
127CONFIG_PHYS_OFFSET=0x10000000 126CONFIG_PHYS_OFFSET=0x10000000
@@ -141,9 +140,11 @@ CONFIG_FLATMEM_MANUAL=y
141CONFIG_FLATMEM=y 140CONFIG_FLATMEM=y
142CONFIG_FLAT_NODE_MEM_MAP=y 141CONFIG_FLAT_NODE_MEM_MAP=y
143# CONFIG_SPARSEMEM_STATIC is not set 142# CONFIG_SPARSEMEM_STATIC is not set
143# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
144CONFIG_SPLIT_PTLOCK_CPUS=4 144CONFIG_SPLIT_PTLOCK_CPUS=4
145# CONFIG_RESOURCES_64BIT is not set 145# CONFIG_RESOURCES_64BIT is not set
146CONFIG_ZONE_DMA_FLAG=0 146CONFIG_ZONE_DMA_FLAG=0
147CONFIG_VIRT_TO_BUS=y
147# CONFIG_OWNERSHIP_TRACE is not set 148# CONFIG_OWNERSHIP_TRACE is not set
148# CONFIG_HZ_100 is not set 149# CONFIG_HZ_100 is not set
149CONFIG_HZ_250=y 150CONFIG_HZ_250=y
@@ -153,13 +154,31 @@ CONFIG_HZ=250
153CONFIG_CMDLINE="" 154CONFIG_CMDLINE=""
154 155
155# 156#
156# Bus options 157# Power management options
157# 158#
158# CONFIG_ARCH_SUPPORTS_MSI is not set
159 159
160# 160#
161# PCCARD (PCMCIA/CardBus) support 161# CPU Frequency scaling
162# 162#
163CONFIG_CPU_FREQ=y
164CONFIG_CPU_FREQ_TABLE=y
165# CONFIG_CPU_FREQ_DEBUG is not set
166# CONFIG_CPU_FREQ_STAT is not set
167CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
168# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
169# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
170# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
171CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
172# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
173CONFIG_CPU_FREQ_GOV_USERSPACE=y
174CONFIG_CPU_FREQ_GOV_ONDEMAND=y
175# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
176CONFIG_CPU_FREQ_AT32AP=y
177
178#
179# Bus options
180#
181# CONFIG_ARCH_SUPPORTS_MSI is not set
163# CONFIG_PCCARD is not set 182# CONFIG_PCCARD is not set
164 183
165# 184#
@@ -213,6 +232,7 @@ CONFIG_INET_TUNNEL=y
213CONFIG_INET_XFRM_MODE_TRANSPORT=y 232CONFIG_INET_XFRM_MODE_TRANSPORT=y
214CONFIG_INET_XFRM_MODE_TUNNEL=y 233CONFIG_INET_XFRM_MODE_TUNNEL=y
215CONFIG_INET_XFRM_MODE_BEET=y 234CONFIG_INET_XFRM_MODE_BEET=y
235# CONFIG_INET_LRO is not set
216CONFIG_INET_DIAG=y 236CONFIG_INET_DIAG=y
217CONFIG_INET_TCP_DIAG=y 237CONFIG_INET_TCP_DIAG=y
218# CONFIG_TCP_CONG_ADVANCED is not set 238# CONFIG_TCP_CONG_ADVANCED is not set
@@ -240,6 +260,7 @@ CONFIG_IPV6_SIT=y
240# CONFIG_NETWORK_SECMARK is not set 260# CONFIG_NETWORK_SECMARK is not set
241CONFIG_NETFILTER=y 261CONFIG_NETFILTER=y
242# CONFIG_NETFILTER_DEBUG is not set 262# CONFIG_NETFILTER_DEBUG is not set
263CONFIG_BRIDGE_NETFILTER=y
243 264
244# 265#
245# Core Netfilter Configuration 266# Core Netfilter Configuration
@@ -252,6 +273,7 @@ CONFIG_NF_CONNTRACK_MARK=y
252# CONFIG_NF_CONNTRACK_EVENTS is not set 273# CONFIG_NF_CONNTRACK_EVENTS is not set
253CONFIG_NF_CT_PROTO_GRE=m 274CONFIG_NF_CT_PROTO_GRE=m
254# CONFIG_NF_CT_PROTO_SCTP is not set 275# CONFIG_NF_CT_PROTO_SCTP is not set
276# CONFIG_NF_CT_PROTO_UDPLITE is not set
255CONFIG_NF_CONNTRACK_AMANDA=m 277CONFIG_NF_CONNTRACK_AMANDA=m
256CONFIG_NF_CONNTRACK_FTP=m 278CONFIG_NF_CONNTRACK_FTP=m
257CONFIG_NF_CONNTRACK_H323=m 279CONFIG_NF_CONNTRACK_H323=m
@@ -269,9 +291,11 @@ CONFIG_NETFILTER_XT_TARGET_MARK=m
269CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m 291CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
270CONFIG_NETFILTER_XT_TARGET_NFLOG=m 292CONFIG_NETFILTER_XT_TARGET_NFLOG=m
271# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set 293# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
294# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
272CONFIG_NETFILTER_XT_TARGET_TCPMSS=m 295CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
273CONFIG_NETFILTER_XT_MATCH_COMMENT=m 296CONFIG_NETFILTER_XT_MATCH_COMMENT=m
274CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m 297CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
298# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
275CONFIG_NETFILTER_XT_MATCH_CONNMARK=m 299CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
276CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m 300CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
277# CONFIG_NETFILTER_XT_MATCH_DCCP is not set 301# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
@@ -284,6 +308,7 @@ CONFIG_NETFILTER_XT_MATCH_MAC=m
284CONFIG_NETFILTER_XT_MATCH_MARK=m 308CONFIG_NETFILTER_XT_MATCH_MARK=m
285CONFIG_NETFILTER_XT_MATCH_POLICY=m 309CONFIG_NETFILTER_XT_MATCH_POLICY=m
286CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m 310CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
311# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
287CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m 312CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
288CONFIG_NETFILTER_XT_MATCH_QUOTA=m 313CONFIG_NETFILTER_XT_MATCH_QUOTA=m
289CONFIG_NETFILTER_XT_MATCH_REALM=m 314CONFIG_NETFILTER_XT_MATCH_REALM=m
@@ -292,6 +317,8 @@ CONFIG_NETFILTER_XT_MATCH_STATE=m
292CONFIG_NETFILTER_XT_MATCH_STATISTIC=m 317CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
293CONFIG_NETFILTER_XT_MATCH_STRING=m 318CONFIG_NETFILTER_XT_MATCH_STRING=m
294CONFIG_NETFILTER_XT_MATCH_TCPMSS=m 319CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
320# CONFIG_NETFILTER_XT_MATCH_TIME is not set
321# CONFIG_NETFILTER_XT_MATCH_U32 is not set
295CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m 322CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
296 323
297# 324#
@@ -359,13 +386,19 @@ CONFIG_IP6_NF_TARGET_REJECT=m
359CONFIG_IP6_NF_MANGLE=m 386CONFIG_IP6_NF_MANGLE=m
360CONFIG_IP6_NF_TARGET_HL=m 387CONFIG_IP6_NF_TARGET_HL=m
361CONFIG_IP6_NF_RAW=m 388CONFIG_IP6_NF_RAW=m
389
390#
391# Bridge: Netfilter Configuration
392#
393# CONFIG_BRIDGE_NF_EBTABLES is not set
362# CONFIG_IP_DCCP is not set 394# CONFIG_IP_DCCP is not set
363# CONFIG_IP_SCTP is not set 395# CONFIG_IP_SCTP is not set
364# CONFIG_TIPC is not set 396# CONFIG_TIPC is not set
365# CONFIG_ATM is not set 397# CONFIG_ATM is not set
366# CONFIG_BRIDGE is not set 398CONFIG_BRIDGE=m
367CONFIG_VLAN_8021Q=m 399CONFIG_VLAN_8021Q=m
368# CONFIG_DECNET is not set 400# CONFIG_DECNET is not set
401CONFIG_LLC=m
369# CONFIG_LLC2 is not set 402# CONFIG_LLC2 is not set
370# CONFIG_IPX is not set 403# CONFIG_IPX is not set
371# CONFIG_ATALK is not set 404# CONFIG_ATALK is not set
@@ -373,10 +406,6 @@ CONFIG_VLAN_8021Q=m
373# CONFIG_LAPB is not set 406# CONFIG_LAPB is not set
374# CONFIG_ECONET is not set 407# CONFIG_ECONET is not set
375# CONFIG_WAN_ROUTER is not set 408# CONFIG_WAN_ROUTER is not set
376
377#
378# QoS and/or fair queueing
379#
380# CONFIG_NET_SCHED is not set 409# CONFIG_NET_SCHED is not set
381CONFIG_NET_CLS_ROUTE=y 410CONFIG_NET_CLS_ROUTE=y
382 411
@@ -384,6 +413,7 @@ CONFIG_NET_CLS_ROUTE=y
384# Network testing 413# Network testing
385# 414#
386# CONFIG_NET_PKTGEN is not set 415# CONFIG_NET_PKTGEN is not set
416# CONFIG_NET_TCPPROBE is not set
387# CONFIG_HAMRADIO is not set 417# CONFIG_HAMRADIO is not set
388# CONFIG_IRDA is not set 418# CONFIG_IRDA is not set
389# CONFIG_BT is not set 419# CONFIG_BT is not set
@@ -397,6 +427,7 @@ CONFIG_NET_CLS_ROUTE=y
397# CONFIG_MAC80211 is not set 427# CONFIG_MAC80211 is not set
398# CONFIG_IEEE80211 is not set 428# CONFIG_IEEE80211 is not set
399# CONFIG_RFKILL is not set 429# CONFIG_RFKILL is not set
430# CONFIG_NET_9P is not set
400 431
401# 432#
402# Device Drivers 433# Device Drivers
@@ -405,16 +436,13 @@ CONFIG_NET_CLS_ROUTE=y
405# 436#
406# Generic Driver Options 437# Generic Driver Options
407# 438#
439CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
408CONFIG_STANDALONE=y 440CONFIG_STANDALONE=y
409# CONFIG_PREVENT_FIRMWARE_BUILD is not set 441# CONFIG_PREVENT_FIRMWARE_BUILD is not set
410# CONFIG_FW_LOADER is not set 442# CONFIG_FW_LOADER is not set
411# CONFIG_DEBUG_DRIVER is not set 443# CONFIG_DEBUG_DRIVER is not set
412# CONFIG_DEBUG_DEVRES is not set 444# CONFIG_DEBUG_DEVRES is not set
413# CONFIG_SYS_HYPERVISOR is not set 445# CONFIG_SYS_HYPERVISOR is not set
414
415#
416# Connector - unified userspace <-> kernelspace linker
417#
418# CONFIG_CONNECTOR is not set 446# CONFIG_CONNECTOR is not set
419CONFIG_MTD=y 447CONFIG_MTD=y
420# CONFIG_MTD_DEBUG is not set 448# CONFIG_MTD_DEBUG is not set
@@ -434,6 +462,7 @@ CONFIG_MTD_BLOCK=y
434# CONFIG_INFTL is not set 462# CONFIG_INFTL is not set
435# CONFIG_RFD_FTL is not set 463# CONFIG_RFD_FTL is not set
436# CONFIG_SSFDC is not set 464# CONFIG_SSFDC is not set
465# CONFIG_MTD_OOPS is not set
437 466
438# 467#
439# RAM/ROM/Flash chip drivers 468# RAM/ROM/Flash chip drivers
@@ -493,20 +522,8 @@ CONFIG_MTD_DATAFLASH=y
493# UBI - Unsorted block images 522# UBI - Unsorted block images
494# 523#
495# CONFIG_MTD_UBI is not set 524# CONFIG_MTD_UBI is not set
496
497#
498# Parallel port support
499#
500# CONFIG_PARPORT is not set 525# CONFIG_PARPORT is not set
501 526CONFIG_BLK_DEV=y
502#
503# Plug and Play support
504#
505# CONFIG_PNPACPI is not set
506
507#
508# Block devices
509#
510# CONFIG_BLK_DEV_COW_COMMON is not set 527# CONFIG_BLK_DEV_COW_COMMON is not set
511CONFIG_BLK_DEV_LOOP=m 528CONFIG_BLK_DEV_LOOP=m
512# CONFIG_BLK_DEV_CRYPTOLOOP is not set 529# CONFIG_BLK_DEV_CRYPTOLOOP is not set
@@ -517,11 +534,7 @@ CONFIG_BLK_DEV_RAM_SIZE=4096
517CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 534CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
518# CONFIG_CDROM_PKTCDVD is not set 535# CONFIG_CDROM_PKTCDVD is not set
519# CONFIG_ATA_OVER_ETH is not set 536# CONFIG_ATA_OVER_ETH is not set
520 537# CONFIG_MISC_DEVICES is not set
521#
522# Misc devices
523#
524# CONFIG_BLINK is not set
525# CONFIG_IDE is not set 538# CONFIG_IDE is not set
526 539
527# 540#
@@ -529,30 +542,42 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
529# 542#
530# CONFIG_RAID_ATTRS is not set 543# CONFIG_RAID_ATTRS is not set
531# CONFIG_SCSI is not set 544# CONFIG_SCSI is not set
545# CONFIG_SCSI_DMA is not set
532# CONFIG_SCSI_NETLINK is not set 546# CONFIG_SCSI_NETLINK is not set
533# CONFIG_ATA is not set 547# CONFIG_ATA is not set
534
535#
536# Multi-device support (RAID and LVM)
537#
538# CONFIG_MD is not set 548# CONFIG_MD is not set
539
540#
541# Network device support
542#
543CONFIG_NETDEVICES=y 549CONFIG_NETDEVICES=y
550# CONFIG_NETDEVICES_MULTIQUEUE is not set
544# CONFIG_DUMMY is not set 551# CONFIG_DUMMY is not set
545# CONFIG_BONDING is not set 552# CONFIG_BONDING is not set
553# CONFIG_MACVLAN is not set
546# CONFIG_EQUALIZER is not set 554# CONFIG_EQUALIZER is not set
547CONFIG_TUN=m 555CONFIG_TUN=m
548# CONFIG_PHYLIB is not set 556# CONFIG_VETH is not set
549 557CONFIG_PHYLIB=y
550# 558
551# Ethernet (10 or 100Mbit) 559#
552# 560# MII PHY device drivers
561#
562# CONFIG_MARVELL_PHY is not set
563# CONFIG_DAVICOM_PHY is not set
564# CONFIG_QSEMI_PHY is not set
565# CONFIG_LXT_PHY is not set
566# CONFIG_CICADA_PHY is not set
567# CONFIG_VITESSE_PHY is not set
568# CONFIG_SMSC_PHY is not set
569# CONFIG_BROADCOM_PHY is not set
570# CONFIG_ICPLUS_PHY is not set
571# CONFIG_FIXED_PHY is not set
572# CONFIG_MDIO_BITBANG is not set
553CONFIG_NET_ETHERNET=y 573CONFIG_NET_ETHERNET=y
554CONFIG_MII=y 574# CONFIG_MII is not set
555CONFIG_MACB=y 575CONFIG_MACB=y
576# CONFIG_IBM_NEW_EMAC_ZMII is not set
577# CONFIG_IBM_NEW_EMAC_RGMII is not set
578# CONFIG_IBM_NEW_EMAC_TAH is not set
579# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
580# CONFIG_B44 is not set
556# CONFIG_NETDEV_1000 is not set 581# CONFIG_NETDEV_1000 is not set
557# CONFIG_NETDEV_10000 is not set 582# CONFIG_NETDEV_10000 is not set
558 583
@@ -571,21 +596,14 @@ CONFIG_PPP_DEFLATE=m
571CONFIG_PPP_BSDCOMP=m 596CONFIG_PPP_BSDCOMP=m
572CONFIG_PPP_MPPE=m 597CONFIG_PPP_MPPE=m
573CONFIG_PPPOE=m 598CONFIG_PPPOE=m
599# CONFIG_PPPOL2TP is not set
574# CONFIG_SLIP is not set 600# CONFIG_SLIP is not set
575CONFIG_SLHC=m 601CONFIG_SLHC=m
576# CONFIG_SHAPER is not set 602# CONFIG_SHAPER is not set
577# CONFIG_NETCONSOLE is not set 603# CONFIG_NETCONSOLE is not set
578# CONFIG_NETPOLL is not set 604# CONFIG_NETPOLL is not set
579# CONFIG_NET_POLL_CONTROLLER is not set 605# CONFIG_NET_POLL_CONTROLLER is not set
580
581#
582# ISDN subsystem
583#
584# CONFIG_ISDN is not set 606# CONFIG_ISDN is not set
585
586#
587# Telephony Support
588#
589# CONFIG_PHONE is not set 607# CONFIG_PHONE is not set
590 608
591# 609#
@@ -620,23 +638,50 @@ CONFIG_SERIAL_CORE=y
620CONFIG_SERIAL_CORE_CONSOLE=y 638CONFIG_SERIAL_CORE_CONSOLE=y
621CONFIG_UNIX98_PTYS=y 639CONFIG_UNIX98_PTYS=y
622# CONFIG_LEGACY_PTYS is not set 640# CONFIG_LEGACY_PTYS is not set
623
624#
625# IPMI
626#
627# CONFIG_IPMI_HANDLER is not set 641# CONFIG_IPMI_HANDLER is not set
628# CONFIG_WATCHDOG is not set
629# CONFIG_HW_RANDOM is not set 642# CONFIG_HW_RANDOM is not set
630# CONFIG_RTC is not set 643# CONFIG_RTC is not set
631# CONFIG_GEN_RTC is not set 644# CONFIG_GEN_RTC is not set
632# CONFIG_R3964 is not set 645# CONFIG_R3964 is not set
633# CONFIG_RAW_DRIVER is not set 646# CONFIG_RAW_DRIVER is not set
647# CONFIG_TCG_TPM is not set
648CONFIG_I2C=m
649CONFIG_I2C_BOARDINFO=y
650CONFIG_I2C_CHARDEV=m
634 651
635# 652#
636# TPM devices 653# I2C Algorithms
637# 654#
638# CONFIG_TCG_TPM is not set 655CONFIG_I2C_ALGOBIT=m
639# CONFIG_I2C is not set 656# CONFIG_I2C_ALGOPCF is not set
657# CONFIG_I2C_ALGOPCA is not set
658
659#
660# I2C Hardware Bus support
661#
662CONFIG_I2C_GPIO=m
663# CONFIG_I2C_OCORES is not set
664# CONFIG_I2C_PARPORT_LIGHT is not set
665# CONFIG_I2C_SIMTEC is not set
666# CONFIG_I2C_TAOS_EVM is not set
667# CONFIG_I2C_STUB is not set
668
669#
670# Miscellaneous I2C Chip support
671#
672# CONFIG_SENSORS_DS1337 is not set
673# CONFIG_SENSORS_DS1374 is not set
674# CONFIG_DS1682 is not set
675# CONFIG_SENSORS_EEPROM is not set
676# CONFIG_SENSORS_PCF8574 is not set
677# CONFIG_SENSORS_PCA9539 is not set
678# CONFIG_SENSORS_PCF8591 is not set
679# CONFIG_SENSORS_MAX6875 is not set
680# CONFIG_SENSORS_TSL2550 is not set
681# CONFIG_I2C_DEBUG_CORE is not set
682# CONFIG_I2C_DEBUG_ALGO is not set
683# CONFIG_I2C_DEBUG_BUS is not set
684# CONFIG_I2C_DEBUG_CHIP is not set
640 685
641# 686#
642# SPI support 687# SPI support
@@ -655,13 +700,25 @@ CONFIG_SPI_ATMEL=y
655# SPI Protocol Masters 700# SPI Protocol Masters
656# 701#
657# CONFIG_SPI_AT25 is not set 702# CONFIG_SPI_AT25 is not set
658# CONFIG_SPI_SPIDEV is not set 703CONFIG_SPI_SPIDEV=m
704# CONFIG_SPI_TLE62X0 is not set
705# CONFIG_W1 is not set
706# CONFIG_POWER_SUPPLY is not set
707# CONFIG_HWMON is not set
708CONFIG_WATCHDOG=y
709# CONFIG_WATCHDOG_NOWAYOUT is not set
659 710
660# 711#
661# Dallas's 1-wire bus 712# Watchdog Device Drivers
662# 713#
663# CONFIG_W1 is not set 714# CONFIG_SOFT_WATCHDOG is not set
664# CONFIG_HWMON is not set 715CONFIG_AT32AP700X_WDT=y
716
717#
718# Sonics Silicon Backplane
719#
720CONFIG_SSB_POSSIBLE=y
721# CONFIG_SSB is not set
665 722
666# 723#
667# Multifunction device drivers 724# Multifunction device drivers
@@ -678,23 +735,21 @@ CONFIG_SPI_ATMEL=y
678# 735#
679# Graphics support 736# Graphics support
680# 737#
738# CONFIG_VGASTATE is not set
739# CONFIG_VIDEO_OUTPUT_CONTROL is not set
740# CONFIG_FB is not set
681# CONFIG_BACKLIGHT_LCD_SUPPORT is not set 741# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
682 742
683# 743#
684# Display device support 744# Display device support
685# 745#
686# CONFIG_DISPLAY_SUPPORT is not set 746# CONFIG_DISPLAY_SUPPORT is not set
687# CONFIG_VGASTATE is not set
688# CONFIG_FB is not set
689 747
690# 748#
691# Sound 749# Sound
692# 750#
693# CONFIG_SOUND is not set 751# CONFIG_SOUND is not set
694 752CONFIG_USB_SUPPORT=y
695#
696# USB support
697#
698# CONFIG_USB_ARCH_HAS_HCD is not set 753# CONFIG_USB_ARCH_HAS_HCD is not set
699# CONFIG_USB_ARCH_HAS_OHCI is not set 754# CONFIG_USB_ARCH_HAS_OHCI is not set
700# CONFIG_USB_ARCH_HAS_EHCI is not set 755# CONFIG_USB_ARCH_HAS_EHCI is not set
@@ -706,12 +761,47 @@ CONFIG_SPI_ATMEL=y
706# 761#
707# USB Gadget Support 762# USB Gadget Support
708# 763#
709# CONFIG_USB_GADGET is not set 764CONFIG_USB_GADGET=y
710# CONFIG_MMC is not set 765# CONFIG_USB_GADGET_DEBUG is not set
711 766# CONFIG_USB_GADGET_DEBUG_FILES is not set
712# 767CONFIG_USB_GADGET_SELECTED=y
713# LED devices 768# CONFIG_USB_GADGET_AMD5536UDC is not set
714# 769CONFIG_USB_GADGET_ATMEL_USBA=y
770CONFIG_USB_ATMEL_USBA=y
771# CONFIG_USB_GADGET_FSL_USB2 is not set
772# CONFIG_USB_GADGET_NET2280 is not set
773# CONFIG_USB_GADGET_PXA2XX is not set
774# CONFIG_USB_GADGET_M66592 is not set
775# CONFIG_USB_GADGET_GOKU is not set
776# CONFIG_USB_GADGET_LH7A40X is not set
777# CONFIG_USB_GADGET_OMAP is not set
778# CONFIG_USB_GADGET_S3C2410 is not set
779# CONFIG_USB_GADGET_AT91 is not set
780# CONFIG_USB_GADGET_DUMMY_HCD is not set
781CONFIG_USB_GADGET_DUALSPEED=y
782CONFIG_USB_ZERO=m
783CONFIG_USB_ETH=m
784CONFIG_USB_ETH_RNDIS=y
785CONFIG_USB_GADGETFS=m
786CONFIG_USB_FILE_STORAGE=m
787# CONFIG_USB_FILE_STORAGE_TEST is not set
788CONFIG_USB_G_SERIAL=m
789# CONFIG_USB_MIDI_GADGET is not set
790CONFIG_MMC=m
791# CONFIG_MMC_DEBUG is not set
792# CONFIG_MMC_UNSAFE_RESUME is not set
793
794#
795# MMC/SD Card Drivers
796#
797CONFIG_MMC_BLOCK=m
798CONFIG_MMC_BLOCK_BOUNCE=y
799# CONFIG_SDIO_UART is not set
800
801#
802# MMC/SD Host Controller Drivers
803#
804CONFIG_MMC_SPI=m
715CONFIG_NEW_LEDS=y 805CONFIG_NEW_LEDS=y
716CONFIG_LEDS_CLASS=y 806CONFIG_LEDS_CLASS=y
717 807
@@ -726,53 +816,71 @@ CONFIG_LEDS_GPIO=y
726CONFIG_LEDS_TRIGGERS=y 816CONFIG_LEDS_TRIGGERS=y
727CONFIG_LEDS_TRIGGER_TIMER=y 817CONFIG_LEDS_TRIGGER_TIMER=y
728CONFIG_LEDS_TRIGGER_HEARTBEAT=y 818CONFIG_LEDS_TRIGGER_HEARTBEAT=y
729 819CONFIG_RTC_LIB=y
730 820CONFIG_RTC_CLASS=y
731# 821CONFIG_RTC_HCTOSYS=y
732# LED drivers 822CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
733# 823# CONFIG_RTC_DEBUG is not set
734 824
735# 825#
736# LED Triggers 826# RTC interfaces
737#
738
739#
740# InfiniBand support
741# 827#
828CONFIG_RTC_INTF_SYSFS=y
829CONFIG_RTC_INTF_PROC=y
830CONFIG_RTC_INTF_DEV=y
831# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
832# CONFIG_RTC_DRV_TEST is not set
742 833
743# 834#
744# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 835# I2C RTC drivers
745# 836#
837# CONFIG_RTC_DRV_DS1307 is not set
838# CONFIG_RTC_DRV_DS1374 is not set
839# CONFIG_RTC_DRV_DS1672 is not set
840# CONFIG_RTC_DRV_MAX6900 is not set
841# CONFIG_RTC_DRV_RS5C372 is not set
842# CONFIG_RTC_DRV_ISL1208 is not set
843# CONFIG_RTC_DRV_X1205 is not set
844# CONFIG_RTC_DRV_PCF8563 is not set
845# CONFIG_RTC_DRV_PCF8583 is not set
846# CONFIG_RTC_DRV_M41T80 is not set
746 847
747# 848#
748# Real Time Clock 849# SPI RTC drivers
749# 850#
750# CONFIG_RTC_CLASS is not set 851# CONFIG_RTC_DRV_RS5C348 is not set
852# CONFIG_RTC_DRV_MAX6902 is not set
751 853
752# 854#
753# DMA Engine support 855# Platform RTC drivers
754# 856#
755# CONFIG_DMA_ENGINE is not set 857# CONFIG_RTC_DRV_DS1553 is not set
858# CONFIG_RTC_DRV_STK17TA8 is not set
859# CONFIG_RTC_DRV_DS1742 is not set
860# CONFIG_RTC_DRV_M48T86 is not set
861# CONFIG_RTC_DRV_M48T59 is not set
862# CONFIG_RTC_DRV_V3020 is not set
756 863
757# 864#
758# DMA Clients 865# on-CPU RTC drivers
759# 866#
867CONFIG_RTC_DRV_AT32AP700X=y
760 868
761# 869#
762# DMA Devices 870# Userspace I/O
763# 871#
872# CONFIG_UIO is not set
764 873
765# 874#
766# File systems 875# File systems
767# 876#
768CONFIG_EXT2_FS=y 877CONFIG_EXT2_FS=m
769# CONFIG_EXT2_FS_XATTR is not set 878# CONFIG_EXT2_FS_XATTR is not set
770# CONFIG_EXT2_FS_XIP is not set 879# CONFIG_EXT2_FS_XIP is not set
771CONFIG_EXT3_FS=y 880CONFIG_EXT3_FS=m
772# CONFIG_EXT3_FS_XATTR is not set 881# CONFIG_EXT3_FS_XATTR is not set
773# CONFIG_EXT4DEV_FS is not set 882# CONFIG_EXT4DEV_FS is not set
774CONFIG_JBD=y 883CONFIG_JBD=m
775# CONFIG_JBD_DEBUG is not set
776# CONFIG_REISERFS_FS is not set 884# CONFIG_REISERFS_FS is not set
777# CONFIG_JFS_FS is not set 885# CONFIG_JFS_FS is not set
778# CONFIG_FS_POSIX_ACL is not set 886# CONFIG_FS_POSIX_ACL is not set
@@ -781,7 +889,8 @@ CONFIG_JBD=y
781# CONFIG_OCFS2_FS is not set 889# CONFIG_OCFS2_FS is not set
782# CONFIG_MINIX_FS is not set 890# CONFIG_MINIX_FS is not set
783# CONFIG_ROMFS_FS is not set 891# CONFIG_ROMFS_FS is not set
784# CONFIG_INOTIFY is not set 892CONFIG_INOTIFY=y
893CONFIG_INOTIFY_USER=y
785# CONFIG_QUOTA is not set 894# CONFIG_QUOTA is not set
786# CONFIG_DNOTIFY is not set 895# CONFIG_DNOTIFY is not set
787# CONFIG_AUTOFS_FS is not set 896# CONFIG_AUTOFS_FS is not set
@@ -814,8 +923,7 @@ CONFIG_SYSFS=y
814CONFIG_TMPFS=y 923CONFIG_TMPFS=y
815# CONFIG_TMPFS_POSIX_ACL is not set 924# CONFIG_TMPFS_POSIX_ACL is not set
816# CONFIG_HUGETLB_PAGE is not set 925# CONFIG_HUGETLB_PAGE is not set
817CONFIG_RAMFS=y 926CONFIG_CONFIGFS_FS=m
818CONFIG_CONFIGFS_FS=y
819 927
820# 928#
821# Miscellaneous filesystems 929# Miscellaneous filesystems
@@ -830,10 +938,12 @@ CONFIG_CONFIGFS_FS=y
830CONFIG_JFFS2_FS=y 938CONFIG_JFFS2_FS=y
831CONFIG_JFFS2_FS_DEBUG=0 939CONFIG_JFFS2_FS_DEBUG=0
832CONFIG_JFFS2_FS_WRITEBUFFER=y 940CONFIG_JFFS2_FS_WRITEBUFFER=y
941# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
833# CONFIG_JFFS2_SUMMARY is not set 942# CONFIG_JFFS2_SUMMARY is not set
834# CONFIG_JFFS2_FS_XATTR is not set 943# CONFIG_JFFS2_FS_XATTR is not set
835# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 944# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
836CONFIG_JFFS2_ZLIB=y 945CONFIG_JFFS2_ZLIB=y
946# CONFIG_JFFS2_LZO is not set
837CONFIG_JFFS2_RTIME=y 947CONFIG_JFFS2_RTIME=y
838# CONFIG_JFFS2_RUBIN is not set 948# CONFIG_JFFS2_RUBIN is not set
839# CONFIG_CRAMFS is not set 949# CONFIG_CRAMFS is not set
@@ -842,19 +952,21 @@ CONFIG_JFFS2_RTIME=y
842# CONFIG_QNX4FS_FS is not set 952# CONFIG_QNX4FS_FS is not set
843# CONFIG_SYSV_FS is not set 953# CONFIG_SYSV_FS is not set
844# CONFIG_UFS_FS is not set 954# CONFIG_UFS_FS is not set
845 955CONFIG_NETWORK_FILESYSTEMS=y
846#
847# Network File Systems
848#
849CONFIG_NFS_FS=y 956CONFIG_NFS_FS=y
850CONFIG_NFS_V3=y 957CONFIG_NFS_V3=y
851# CONFIG_NFS_V3_ACL is not set 958# CONFIG_NFS_V3_ACL is not set
852# CONFIG_NFS_V4 is not set 959# CONFIG_NFS_V4 is not set
853# CONFIG_NFS_DIRECTIO is not set 960# CONFIG_NFS_DIRECTIO is not set
854# CONFIG_NFSD is not set 961CONFIG_NFSD=m
962CONFIG_NFSD_V3=y
963# CONFIG_NFSD_V3_ACL is not set
964# CONFIG_NFSD_V4 is not set
965CONFIG_NFSD_TCP=y
855CONFIG_ROOT_NFS=y 966CONFIG_ROOT_NFS=y
856CONFIG_LOCKD=y 967CONFIG_LOCKD=y
857CONFIG_LOCKD_V4=y 968CONFIG_LOCKD_V4=y
969CONFIG_EXPORTFS=m
858CONFIG_NFS_COMMON=y 970CONFIG_NFS_COMMON=y
859CONFIG_SUNRPC=y 971CONFIG_SUNRPC=y
860# CONFIG_SUNRPC_BIND34 is not set 972# CONFIG_SUNRPC_BIND34 is not set
@@ -871,23 +983,18 @@ CONFIG_CIFS=m
871# CONFIG_NCP_FS is not set 983# CONFIG_NCP_FS is not set
872# CONFIG_CODA_FS is not set 984# CONFIG_CODA_FS is not set
873# CONFIG_AFS_FS is not set 985# CONFIG_AFS_FS is not set
874# CONFIG_9P_FS is not set
875 986
876# 987#
877# Partition Types 988# Partition Types
878# 989#
879# CONFIG_PARTITION_ADVANCED is not set 990# CONFIG_PARTITION_ADVANCED is not set
880CONFIG_MSDOS_PARTITION=y 991CONFIG_MSDOS_PARTITION=y
881 992CONFIG_NLS=m
882#
883# Native Language Support
884#
885CONFIG_NLS=y
886CONFIG_NLS_DEFAULT="iso8859-1" 993CONFIG_NLS_DEFAULT="iso8859-1"
887# CONFIG_NLS_CODEPAGE_437 is not set 994CONFIG_NLS_CODEPAGE_437=m
888# CONFIG_NLS_CODEPAGE_737 is not set 995# CONFIG_NLS_CODEPAGE_737 is not set
889# CONFIG_NLS_CODEPAGE_775 is not set 996# CONFIG_NLS_CODEPAGE_775 is not set
890CONFIG_NLS_CODEPAGE_850=y 997CONFIG_NLS_CODEPAGE_850=m
891# CONFIG_NLS_CODEPAGE_852 is not set 998# CONFIG_NLS_CODEPAGE_852 is not set
892# CONFIG_NLS_CODEPAGE_855 is not set 999# CONFIG_NLS_CODEPAGE_855 is not set
893# CONFIG_NLS_CODEPAGE_857 is not set 1000# CONFIG_NLS_CODEPAGE_857 is not set
@@ -908,7 +1015,7 @@ CONFIG_NLS_CODEPAGE_850=y
908# CONFIG_NLS_CODEPAGE_1250 is not set 1015# CONFIG_NLS_CODEPAGE_1250 is not set
909# CONFIG_NLS_CODEPAGE_1251 is not set 1016# CONFIG_NLS_CODEPAGE_1251 is not set
910# CONFIG_NLS_ASCII is not set 1017# CONFIG_NLS_ASCII is not set
911CONFIG_NLS_ISO8859_1=y 1018CONFIG_NLS_ISO8859_1=m
912# CONFIG_NLS_ISO8859_2 is not set 1019# CONFIG_NLS_ISO8859_2 is not set
913# CONFIG_NLS_ISO8859_3 is not set 1020# CONFIG_NLS_ISO8859_3 is not set
914# CONFIG_NLS_ISO8859_4 is not set 1021# CONFIG_NLS_ISO8859_4 is not set
@@ -921,18 +1028,19 @@ CONFIG_NLS_ISO8859_1=y
921# CONFIG_NLS_ISO8859_15 is not set 1028# CONFIG_NLS_ISO8859_15 is not set
922# CONFIG_NLS_KOI8_R is not set 1029# CONFIG_NLS_KOI8_R is not set
923# CONFIG_NLS_KOI8_U is not set 1030# CONFIG_NLS_KOI8_U is not set
924CONFIG_NLS_UTF8=y 1031CONFIG_NLS_UTF8=m
925
926#
927# Distributed Lock Manager
928#
929# CONFIG_DLM is not set 1032# CONFIG_DLM is not set
1033CONFIG_INSTRUMENTATION=y
1034CONFIG_PROFILING=y
1035CONFIG_OPROFILE=m
1036CONFIG_KPROBES=y
1037# CONFIG_MARKERS is not set
930 1038
931# 1039#
932# Kernel hacking 1040# Kernel hacking
933# 1041#
934CONFIG_TRACE_IRQFLAGS_SUPPORT=y
935# CONFIG_PRINTK_TIME is not set 1042# CONFIG_PRINTK_TIME is not set
1043CONFIG_ENABLE_WARN_DEPRECATED=y
936CONFIG_ENABLE_MUST_CHECK=y 1044CONFIG_ENABLE_MUST_CHECK=y
937CONFIG_MAGIC_SYSRQ=y 1045CONFIG_MAGIC_SYSRQ=y
938# CONFIG_UNUSED_SYMBOLS is not set 1046# CONFIG_UNUSED_SYMBOLS is not set
@@ -941,12 +1049,17 @@ CONFIG_MAGIC_SYSRQ=y
941CONFIG_DEBUG_KERNEL=y 1049CONFIG_DEBUG_KERNEL=y
942# CONFIG_DEBUG_SHIRQ is not set 1050# CONFIG_DEBUG_SHIRQ is not set
943CONFIG_DETECT_SOFTLOCKUP=y 1051CONFIG_DETECT_SOFTLOCKUP=y
1052CONFIG_SCHED_DEBUG=y
944# CONFIG_SCHEDSTATS is not set 1053# CONFIG_SCHEDSTATS is not set
945# CONFIG_TIMER_STATS is not set 1054# CONFIG_TIMER_STATS is not set
1055# CONFIG_SLUB_DEBUG_ON is not set
946# CONFIG_DEBUG_RT_MUTEXES is not set 1056# CONFIG_DEBUG_RT_MUTEXES is not set
947# CONFIG_RT_MUTEX_TESTER is not set 1057# CONFIG_RT_MUTEX_TESTER is not set
948# CONFIG_DEBUG_SPINLOCK is not set 1058# CONFIG_DEBUG_SPINLOCK is not set
949# CONFIG_DEBUG_MUTEXES is not set 1059# CONFIG_DEBUG_MUTEXES is not set
1060# CONFIG_DEBUG_LOCK_ALLOC is not set
1061# CONFIG_PROVE_LOCKING is not set
1062# CONFIG_LOCK_STAT is not set
950# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1063# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
951# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 1064# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
952# CONFIG_DEBUG_KOBJECT is not set 1065# CONFIG_DEBUG_KOBJECT is not set
@@ -954,21 +1067,21 @@ CONFIG_DEBUG_BUGVERBOSE=y
954# CONFIG_DEBUG_INFO is not set 1067# CONFIG_DEBUG_INFO is not set
955# CONFIG_DEBUG_VM is not set 1068# CONFIG_DEBUG_VM is not set
956# CONFIG_DEBUG_LIST is not set 1069# CONFIG_DEBUG_LIST is not set
1070# CONFIG_DEBUG_SG is not set
957CONFIG_FRAME_POINTER=y 1071CONFIG_FRAME_POINTER=y
958# CONFIG_FORCED_INLINING is not set 1072# CONFIG_FORCED_INLINING is not set
1073# CONFIG_BOOT_PRINTK_DELAY is not set
959# CONFIG_RCU_TORTURE_TEST is not set 1074# CONFIG_RCU_TORTURE_TEST is not set
1075# CONFIG_LKDTM is not set
960# CONFIG_FAULT_INJECTION is not set 1076# CONFIG_FAULT_INJECTION is not set
961# CONFIG_KPROBES is not set 1077# CONFIG_SAMPLES is not set
962 1078
963# 1079#
964# Security options 1080# Security options
965# 1081#
966# CONFIG_KEYS is not set 1082# CONFIG_KEYS is not set
967# CONFIG_SECURITY is not set 1083# CONFIG_SECURITY is not set
968 1084# CONFIG_SECURITY_FILE_CAPABILITIES is not set
969#
970# Cryptographic options
971#
972CONFIG_CRYPTO=y 1085CONFIG_CRYPTO=y
973CONFIG_CRYPTO_ALGAPI=y 1086CONFIG_CRYPTO_ALGAPI=y
974CONFIG_CRYPTO_BLKCIPHER=y 1087CONFIG_CRYPTO_BLKCIPHER=y
@@ -989,6 +1102,7 @@ CONFIG_CRYPTO_ECB=m
989CONFIG_CRYPTO_CBC=y 1102CONFIG_CRYPTO_CBC=y
990CONFIG_CRYPTO_PCBC=m 1103CONFIG_CRYPTO_PCBC=m
991# CONFIG_CRYPTO_LRW is not set 1104# CONFIG_CRYPTO_LRW is not set
1105# CONFIG_CRYPTO_XTS is not set
992# CONFIG_CRYPTO_CRYPTD is not set 1106# CONFIG_CRYPTO_CRYPTD is not set
993CONFIG_CRYPTO_DES=y 1107CONFIG_CRYPTO_DES=y
994# CONFIG_CRYPTO_FCRYPT is not set 1108# CONFIG_CRYPTO_FCRYPT is not set
@@ -1002,15 +1116,14 @@ CONFIG_CRYPTO_DES=y
1002CONFIG_CRYPTO_ARC4=m 1116CONFIG_CRYPTO_ARC4=m
1003# CONFIG_CRYPTO_KHAZAD is not set 1117# CONFIG_CRYPTO_KHAZAD is not set
1004# CONFIG_CRYPTO_ANUBIS is not set 1118# CONFIG_CRYPTO_ANUBIS is not set
1119# CONFIG_CRYPTO_SEED is not set
1005CONFIG_CRYPTO_DEFLATE=y 1120CONFIG_CRYPTO_DEFLATE=y
1006# CONFIG_CRYPTO_MICHAEL_MIC is not set 1121# CONFIG_CRYPTO_MICHAEL_MIC is not set
1007# CONFIG_CRYPTO_CRC32C is not set 1122# CONFIG_CRYPTO_CRC32C is not set
1008# CONFIG_CRYPTO_CAMELLIA is not set 1123# CONFIG_CRYPTO_CAMELLIA is not set
1009# CONFIG_CRYPTO_TEST is not set 1124# CONFIG_CRYPTO_TEST is not set
1010 1125# CONFIG_CRYPTO_AUTHENC is not set
1011# 1126CONFIG_CRYPTO_HW=y
1012# Hardware crypto devices
1013#
1014 1127
1015# 1128#
1016# Library routines 1129# Library routines
@@ -1018,8 +1131,9 @@ CONFIG_CRYPTO_DEFLATE=y
1018CONFIG_BITREVERSE=y 1131CONFIG_BITREVERSE=y
1019CONFIG_CRC_CCITT=m 1132CONFIG_CRC_CCITT=m
1020# CONFIG_CRC16 is not set 1133# CONFIG_CRC16 is not set
1021# CONFIG_CRC_ITU_T is not set 1134CONFIG_CRC_ITU_T=m
1022CONFIG_CRC32=y 1135CONFIG_CRC32=y
1136CONFIG_CRC7=m
1023# CONFIG_LIBCRC32C is not set 1137# CONFIG_LIBCRC32C is not set
1024CONFIG_ZLIB_INFLATE=y 1138CONFIG_ZLIB_INFLATE=y
1025CONFIG_ZLIB_DEFLATE=y 1139CONFIG_ZLIB_DEFLATE=y
diff --git a/arch/avr32/configs/atstk1002_defconfig b/arch/avr32/configs/atstk1002_defconfig
index 3b977fdbaa78..2fb2ede5f2b4 100644
--- a/arch/avr32/configs/atstk1002_defconfig
+++ b/arch/avr32/configs/atstk1002_defconfig
@@ -1,48 +1,48 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.22-rc5 3# Linux kernel version: 2.6.24-rc7
4# Sat Jun 23 15:32:08 2007 4# Wed Jan 9 23:07:43 2008
5# 5#
6CONFIG_AVR32=y 6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y 7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y 8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
9CONFIG_HARDIRQS_SW_RESEND=y 12CONFIG_HARDIRQS_SW_RESEND=y
10CONFIG_GENERIC_IRQ_PROBE=y 13CONFIG_GENERIC_IRQ_PROBE=y
11CONFIG_RWSEM_GENERIC_SPINLOCK=y 14CONFIG_RWSEM_GENERIC_SPINLOCK=y
12CONFIG_GENERIC_TIME=y 15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
13# CONFIG_ARCH_HAS_ILOG2_U32 is not set 17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
14# CONFIG_ARCH_HAS_ILOG2_U64 is not set 18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
15CONFIG_GENERIC_HWEIGHT=y 20CONFIG_GENERIC_HWEIGHT=y
16CONFIG_GENERIC_CALIBRATE_DELAY=y 21CONFIG_GENERIC_CALIBRATE_DELAY=y
17CONFIG_GENERIC_BUG=y 22CONFIG_GENERIC_BUG=y
18CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
19 24
20# 25#
21# Code maturity level options 26# General setup
22# 27#
23CONFIG_EXPERIMENTAL=y 28CONFIG_EXPERIMENTAL=y
24CONFIG_BROKEN_ON_SMP=y 29CONFIG_BROKEN_ON_SMP=y
25CONFIG_INIT_ENV_ARG_LIMIT=32 30CONFIG_INIT_ENV_ARG_LIMIT=32
26
27#
28# General setup
29#
30CONFIG_LOCALVERSION="" 31CONFIG_LOCALVERSION=""
31# CONFIG_LOCALVERSION_AUTO is not set 32# CONFIG_LOCALVERSION_AUTO is not set
32CONFIG_SWAP=y 33CONFIG_SWAP=y
33CONFIG_SYSVIPC=y 34CONFIG_SYSVIPC=y
34# CONFIG_IPC_NS is not set
35CONFIG_SYSVIPC_SYSCTL=y 35CONFIG_SYSVIPC_SYSCTL=y
36CONFIG_POSIX_MQUEUE=y 36CONFIG_POSIX_MQUEUE=y
37CONFIG_BSD_PROCESS_ACCT=y 37# CONFIG_BSD_PROCESS_ACCT is not set
38CONFIG_BSD_PROCESS_ACCT_V3=y 38# CONFIG_TASKSTATS is not set
39CONFIG_TASKSTATS=y 39# CONFIG_USER_NS is not set
40CONFIG_TASK_DELAY_ACCT=y 40# CONFIG_PID_NS is not set
41# CONFIG_TASK_XACCT is not set 41# CONFIG_AUDIT is not set
42# CONFIG_UTS_NS is not set
43CONFIG_AUDIT=y
44# CONFIG_IKCONFIG is not set 42# CONFIG_IKCONFIG is not set
45CONFIG_LOG_BUF_SHIFT=14 43CONFIG_LOG_BUF_SHIFT=14
44# CONFIG_CGROUPS is not set
45# CONFIG_FAIR_GROUP_SCHED is not set
46CONFIG_SYSFS_DEPRECATED=y 46CONFIG_SYSFS_DEPRECATED=y
47CONFIG_RELAY=y 47CONFIG_RELAY=y
48CONFIG_BLK_DEV_INITRD=y 48CONFIG_BLK_DEV_INITRD=y
@@ -63,35 +63,28 @@ CONFIG_FUTEX=y
63CONFIG_ANON_INODES=y 63CONFIG_ANON_INODES=y
64CONFIG_EPOLL=y 64CONFIG_EPOLL=y
65CONFIG_SIGNALFD=y 65CONFIG_SIGNALFD=y
66CONFIG_TIMERFD=y
67CONFIG_EVENTFD=y 66CONFIG_EVENTFD=y
68CONFIG_SHMEM=y 67CONFIG_SHMEM=y
69CONFIG_VM_EVENT_COUNTERS=y 68CONFIG_VM_EVENT_COUNTERS=y
70# CONFIG_SLUB_DEBUG is not set 69CONFIG_SLUB_DEBUG=y
71# CONFIG_SLAB is not set 70# CONFIG_SLAB is not set
72CONFIG_SLUB=y 71CONFIG_SLUB=y
73# CONFIG_SLOB is not set 72# CONFIG_SLOB is not set
73CONFIG_SLABINFO=y
74CONFIG_RT_MUTEXES=y 74CONFIG_RT_MUTEXES=y
75# CONFIG_TINY_SHMEM is not set 75# CONFIG_TINY_SHMEM is not set
76CONFIG_BASE_SMALL=1 76CONFIG_BASE_SMALL=1
77
78#
79# Loadable module support
80#
81CONFIG_MODULES=y 77CONFIG_MODULES=y
82CONFIG_MODULE_UNLOAD=y 78CONFIG_MODULE_UNLOAD=y
83# CONFIG_MODULE_FORCE_UNLOAD is not set 79# CONFIG_MODULE_FORCE_UNLOAD is not set
84# CONFIG_MODVERSIONS is not set 80# CONFIG_MODVERSIONS is not set
85# CONFIG_MODULE_SRCVERSION_ALL is not set 81# CONFIG_MODULE_SRCVERSION_ALL is not set
86# CONFIG_KMOD is not set 82# CONFIG_KMOD is not set
87
88#
89# Block layer
90#
91CONFIG_BLOCK=y 83CONFIG_BLOCK=y
92# CONFIG_LBD is not set 84# CONFIG_LBD is not set
93# CONFIG_BLK_DEV_IO_TRACE is not set 85# CONFIG_BLK_DEV_IO_TRACE is not set
94# CONFIG_LSF is not set 86# CONFIG_LSF is not set
87# CONFIG_BLK_DEV_BSG is not set
95 88
96# 89#
97# IO Schedulers 90# IO Schedulers
@@ -99,12 +92,12 @@ CONFIG_BLOCK=y
99CONFIG_IOSCHED_NOOP=y 92CONFIG_IOSCHED_NOOP=y
100# CONFIG_IOSCHED_AS is not set 93# CONFIG_IOSCHED_AS is not set
101# CONFIG_IOSCHED_DEADLINE is not set 94# CONFIG_IOSCHED_DEADLINE is not set
102# CONFIG_IOSCHED_CFQ is not set 95CONFIG_IOSCHED_CFQ=y
103# CONFIG_DEFAULT_AS is not set 96# CONFIG_DEFAULT_AS is not set
104# CONFIG_DEFAULT_DEADLINE is not set 97# CONFIG_DEFAULT_DEADLINE is not set
105# CONFIG_DEFAULT_CFQ is not set 98CONFIG_DEFAULT_CFQ=y
106CONFIG_DEFAULT_NOOP=y 99# CONFIG_DEFAULT_NOOP is not set
107CONFIG_DEFAULT_IOSCHED="noop" 100CONFIG_DEFAULT_IOSCHED="cfq"
108 101
109# 102#
110# System Type and features 103# System Type and features
@@ -113,18 +106,27 @@ CONFIG_SUBARCH_AVR32B=y
113CONFIG_MMU=y 106CONFIG_MMU=y
114CONFIG_PERFORMANCE_COUNTERS=y 107CONFIG_PERFORMANCE_COUNTERS=y
115CONFIG_PLATFORM_AT32AP=y 108CONFIG_PLATFORM_AT32AP=y
109CONFIG_CPU_AT32AP700X=y
116CONFIG_CPU_AT32AP7000=y 110CONFIG_CPU_AT32AP7000=y
117CONFIG_BOARD_ATSTK1002=y
118CONFIG_BOARD_ATSTK1000=y 111CONFIG_BOARD_ATSTK1000=y
119# CONFIG_BOARD_ATNGW100 is not set 112# CONFIG_BOARD_ATNGW100 is not set
113CONFIG_BOARD_ATSTK1002=y
114# CONFIG_BOARD_ATSTK1003 is not set
115# CONFIG_BOARD_ATSTK1004 is not set
116# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
117# CONFIG_BOARD_ATSTK100X_SPI1 is not set
118# CONFIG_BOARD_ATSTK1000_J2_LED is not set
119# CONFIG_BOARD_ATSTK1000_J2_LED8 is not set
120# CONFIG_BOARD_ATSTK1000_J2_RGB is not set
121CONFIG_BOARD_ATSTK1000_EXTDAC=y
120CONFIG_LOADER_U_BOOT=y 122CONFIG_LOADER_U_BOOT=y
121 123
122# 124#
123# Atmel AVR32 AP options 125# Atmel AVR32 AP options
124# 126#
125# CONFIG_AP7000_32_BIT_SMC is not set 127# CONFIG_AP700X_32_BIT_SMC is not set
126CONFIG_AP7000_16_BIT_SMC=y 128CONFIG_AP700X_16_BIT_SMC=y
127# CONFIG_AP7000_8_BIT_SMC is not set 129# CONFIG_AP700X_8_BIT_SMC is not set
128CONFIG_LOAD_ADDRESS=0x10000000 130CONFIG_LOAD_ADDRESS=0x10000000
129CONFIG_ENTRY_ADDRESS=0x90000000 131CONFIG_ENTRY_ADDRESS=0x90000000
130CONFIG_PHYS_OFFSET=0x10000000 132CONFIG_PHYS_OFFSET=0x10000000
@@ -144,9 +146,11 @@ CONFIG_FLATMEM_MANUAL=y
144CONFIG_FLATMEM=y 146CONFIG_FLATMEM=y
145CONFIG_FLAT_NODE_MEM_MAP=y 147CONFIG_FLAT_NODE_MEM_MAP=y
146# CONFIG_SPARSEMEM_STATIC is not set 148# CONFIG_SPARSEMEM_STATIC is not set
149# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
147CONFIG_SPLIT_PTLOCK_CPUS=4 150CONFIG_SPLIT_PTLOCK_CPUS=4
148# CONFIG_RESOURCES_64BIT is not set 151# CONFIG_RESOURCES_64BIT is not set
149CONFIG_ZONE_DMA_FLAG=0 152CONFIG_ZONE_DMA_FLAG=0
153CONFIG_VIRT_TO_BUS=y
150# CONFIG_OWNERSHIP_TRACE is not set 154# CONFIG_OWNERSHIP_TRACE is not set
151# CONFIG_HZ_100 is not set 155# CONFIG_HZ_100 is not set
152CONFIG_HZ_250=y 156CONFIG_HZ_250=y
@@ -156,13 +160,31 @@ CONFIG_HZ=250
156CONFIG_CMDLINE="" 160CONFIG_CMDLINE=""
157 161
158# 162#
159# Bus options 163# Power management options
160# 164#
161# CONFIG_ARCH_SUPPORTS_MSI is not set
162 165
163# 166#
164# PCCARD (PCMCIA/CardBus) support 167# CPU Frequency scaling
168#
169CONFIG_CPU_FREQ=y
170CONFIG_CPU_FREQ_TABLE=y
171# CONFIG_CPU_FREQ_DEBUG is not set
172# CONFIG_CPU_FREQ_STAT is not set
173CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
174# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
175# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
176# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
177CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
178# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
179CONFIG_CPU_FREQ_GOV_USERSPACE=y
180CONFIG_CPU_FREQ_GOV_ONDEMAND=y
181# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
182CONFIG_CPU_FREQ_AT32AP=y
183
165# 184#
185# Bus options
186#
187# CONFIG_ARCH_SUPPORTS_MSI is not set
166# CONFIG_PCCARD is not set 188# CONFIG_PCCARD is not set
167 189
168# 190#
@@ -182,7 +204,12 @@ CONFIG_NET=y
182CONFIG_PACKET=y 204CONFIG_PACKET=y
183CONFIG_PACKET_MMAP=y 205CONFIG_PACKET_MMAP=y
184CONFIG_UNIX=y 206CONFIG_UNIX=y
185# CONFIG_NET_KEY is not set 207CONFIG_XFRM=y
208CONFIG_XFRM_USER=m
209# CONFIG_XFRM_SUB_POLICY is not set
210# CONFIG_XFRM_MIGRATE is not set
211CONFIG_NET_KEY=m
212# CONFIG_NET_KEY_MIGRATE is not set
186CONFIG_INET=y 213CONFIG_INET=y
187# CONFIG_IP_MULTICAST is not set 214# CONFIG_IP_MULTICAST is not set
188# CONFIG_IP_ADVANCED_ROUTER is not set 215# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -191,36 +218,52 @@ CONFIG_IP_PNP=y
191CONFIG_IP_PNP_DHCP=y 218CONFIG_IP_PNP_DHCP=y
192# CONFIG_IP_PNP_BOOTP is not set 219# CONFIG_IP_PNP_BOOTP is not set
193# CONFIG_IP_PNP_RARP is not set 220# CONFIG_IP_PNP_RARP is not set
194# CONFIG_NET_IPIP is not set 221CONFIG_NET_IPIP=m
195# CONFIG_NET_IPGRE is not set 222CONFIG_NET_IPGRE=m
196# CONFIG_ARPD is not set 223# CONFIG_ARPD is not set
197# CONFIG_SYN_COOKIES is not set 224# CONFIG_SYN_COOKIES is not set
198# CONFIG_INET_AH is not set 225CONFIG_INET_AH=m
199# CONFIG_INET_ESP is not set 226CONFIG_INET_ESP=m
200# CONFIG_INET_IPCOMP is not set 227# CONFIG_INET_IPCOMP is not set
201# CONFIG_INET_XFRM_TUNNEL is not set 228# CONFIG_INET_XFRM_TUNNEL is not set
202# CONFIG_INET_TUNNEL is not set 229CONFIG_INET_TUNNEL=m
203# CONFIG_INET_XFRM_MODE_TRANSPORT is not set 230CONFIG_INET_XFRM_MODE_TRANSPORT=m
204# CONFIG_INET_XFRM_MODE_TUNNEL is not set 231CONFIG_INET_XFRM_MODE_TUNNEL=m
205# CONFIG_INET_XFRM_MODE_BEET is not set 232CONFIG_INET_XFRM_MODE_BEET=m
233# CONFIG_INET_LRO is not set
206CONFIG_INET_DIAG=y 234CONFIG_INET_DIAG=y
207CONFIG_INET_TCP_DIAG=y 235CONFIG_INET_TCP_DIAG=y
208# CONFIG_TCP_CONG_ADVANCED is not set 236# CONFIG_TCP_CONG_ADVANCED is not set
209CONFIG_TCP_CONG_CUBIC=y 237CONFIG_TCP_CONG_CUBIC=y
210CONFIG_DEFAULT_TCP_CONG="cubic" 238CONFIG_DEFAULT_TCP_CONG="cubic"
211# CONFIG_TCP_MD5SIG is not set 239# CONFIG_TCP_MD5SIG is not set
212# CONFIG_IPV6 is not set 240CONFIG_IPV6=m
213# CONFIG_INET6_XFRM_TUNNEL is not set 241# CONFIG_IPV6_PRIVACY is not set
214# CONFIG_INET6_TUNNEL is not set 242# CONFIG_IPV6_ROUTER_PREF is not set
243# CONFIG_IPV6_OPTIMISTIC_DAD is not set
244CONFIG_INET6_AH=m
245CONFIG_INET6_ESP=m
246CONFIG_INET6_IPCOMP=m
247# CONFIG_IPV6_MIP6 is not set
248CONFIG_INET6_XFRM_TUNNEL=m
249CONFIG_INET6_TUNNEL=m
250CONFIG_INET6_XFRM_MODE_TRANSPORT=m
251CONFIG_INET6_XFRM_MODE_TUNNEL=m
252CONFIG_INET6_XFRM_MODE_BEET=m
253# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
254CONFIG_IPV6_SIT=m
255CONFIG_IPV6_TUNNEL=m
256# CONFIG_IPV6_MULTIPLE_TABLES is not set
215# CONFIG_NETWORK_SECMARK is not set 257# CONFIG_NETWORK_SECMARK is not set
216# CONFIG_NETFILTER is not set 258# CONFIG_NETFILTER is not set
217# CONFIG_IP_DCCP is not set 259# CONFIG_IP_DCCP is not set
218# CONFIG_IP_SCTP is not set 260# CONFIG_IP_SCTP is not set
219# CONFIG_TIPC is not set 261# CONFIG_TIPC is not set
220# CONFIG_ATM is not set 262# CONFIG_ATM is not set
221# CONFIG_BRIDGE is not set 263CONFIG_BRIDGE=m
222# CONFIG_VLAN_8021Q is not set 264# CONFIG_VLAN_8021Q is not set
223# CONFIG_DECNET is not set 265# CONFIG_DECNET is not set
266CONFIG_LLC=m
224# CONFIG_LLC2 is not set 267# CONFIG_LLC2 is not set
225# CONFIG_IPX is not set 268# CONFIG_IPX is not set
226# CONFIG_ATALK is not set 269# CONFIG_ATALK is not set
@@ -228,16 +271,13 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
228# CONFIG_LAPB is not set 271# CONFIG_LAPB is not set
229# CONFIG_ECONET is not set 272# CONFIG_ECONET is not set
230# CONFIG_WAN_ROUTER is not set 273# CONFIG_WAN_ROUTER is not set
231
232#
233# QoS and/or fair queueing
234#
235# CONFIG_NET_SCHED is not set 274# CONFIG_NET_SCHED is not set
236 275
237# 276#
238# Network testing 277# Network testing
239# 278#
240# CONFIG_NET_PKTGEN is not set 279# CONFIG_NET_PKTGEN is not set
280# CONFIG_NET_TCPPROBE is not set
241# CONFIG_HAMRADIO is not set 281# CONFIG_HAMRADIO is not set
242# CONFIG_IRDA is not set 282# CONFIG_IRDA is not set
243# CONFIG_BT is not set 283# CONFIG_BT is not set
@@ -251,6 +291,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
251# CONFIG_MAC80211 is not set 291# CONFIG_MAC80211 is not set
252# CONFIG_IEEE80211 is not set 292# CONFIG_IEEE80211 is not set
253# CONFIG_RFKILL is not set 293# CONFIG_RFKILL is not set
294# CONFIG_NET_9P is not set
254 295
255# 296#
256# Device Drivers 297# Device Drivers
@@ -259,16 +300,13 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
259# 300#
260# Generic Driver Options 301# Generic Driver Options
261# 302#
303CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
262CONFIG_STANDALONE=y 304CONFIG_STANDALONE=y
263# CONFIG_PREVENT_FIRMWARE_BUILD is not set 305# CONFIG_PREVENT_FIRMWARE_BUILD is not set
264# CONFIG_FW_LOADER is not set 306# CONFIG_FW_LOADER is not set
265# CONFIG_DEBUG_DRIVER is not set 307# CONFIG_DEBUG_DRIVER is not set
266# CONFIG_DEBUG_DEVRES is not set 308# CONFIG_DEBUG_DEVRES is not set
267# CONFIG_SYS_HYPERVISOR is not set 309# CONFIG_SYS_HYPERVISOR is not set
268
269#
270# Connector - unified userspace <-> kernelspace linker
271#
272# CONFIG_CONNECTOR is not set 310# CONFIG_CONNECTOR is not set
273CONFIG_MTD=y 311CONFIG_MTD=y
274# CONFIG_MTD_DEBUG is not set 312# CONFIG_MTD_DEBUG is not set
@@ -288,6 +326,7 @@ CONFIG_MTD_BLOCK=y
288# CONFIG_INFTL is not set 326# CONFIG_INFTL is not set
289# CONFIG_RFD_FTL is not set 327# CONFIG_RFD_FTL is not set
290# CONFIG_SSFDC is not set 328# CONFIG_SSFDC is not set
329# CONFIG_MTD_OOPS is not set
291 330
292# 331#
293# RAM/ROM/Flash chip drivers 332# RAM/ROM/Flash chip drivers
@@ -327,6 +366,8 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2
327# 366#
328# Self-contained MTD device drivers 367# Self-contained MTD device drivers
329# 368#
369CONFIG_MTD_DATAFLASH=m
370CONFIG_MTD_M25P80=m
330# CONFIG_MTD_SLRAM is not set 371# CONFIG_MTD_SLRAM is not set
331# CONFIG_MTD_PHRAM is not set 372# CONFIG_MTD_PHRAM is not set
332# CONFIG_MTD_MTDRAM is not set 373# CONFIG_MTD_MTDRAM is not set
@@ -345,20 +386,8 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2
345# UBI - Unsorted block images 386# UBI - Unsorted block images
346# 387#
347# CONFIG_MTD_UBI is not set 388# CONFIG_MTD_UBI is not set
348
349#
350# Parallel port support
351#
352# CONFIG_PARPORT is not set 389# CONFIG_PARPORT is not set
353 390CONFIG_BLK_DEV=y
354#
355# Plug and Play support
356#
357# CONFIG_PNPACPI is not set
358
359#
360# Block devices
361#
362# CONFIG_BLK_DEV_COW_COMMON is not set 391# CONFIG_BLK_DEV_COW_COMMON is not set
363CONFIG_BLK_DEV_LOOP=m 392CONFIG_BLK_DEV_LOOP=m
364# CONFIG_BLK_DEV_CRYPTOLOOP is not set 393# CONFIG_BLK_DEV_CRYPTOLOOP is not set
@@ -369,42 +398,87 @@ CONFIG_BLK_DEV_RAM_SIZE=4096
369CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 398CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
370# CONFIG_CDROM_PKTCDVD is not set 399# CONFIG_CDROM_PKTCDVD is not set
371# CONFIG_ATA_OVER_ETH is not set 400# CONFIG_ATA_OVER_ETH is not set
372 401CONFIG_MISC_DEVICES=y
373# 402# CONFIG_EEPROM_93CX6 is not set
374# Misc devices 403CONFIG_ATMEL_SSC=m
375#
376# CONFIG_BLINK is not set
377# CONFIG_IDE is not set 404# CONFIG_IDE is not set
378 405
379# 406#
380# SCSI device support 407# SCSI device support
381# 408#
382# CONFIG_RAID_ATTRS is not set 409# CONFIG_RAID_ATTRS is not set
383# CONFIG_SCSI is not set 410CONFIG_SCSI=m
411CONFIG_SCSI_DMA=y
412# CONFIG_SCSI_TGT is not set
384# CONFIG_SCSI_NETLINK is not set 413# CONFIG_SCSI_NETLINK is not set
385# CONFIG_ATA is not set 414# CONFIG_SCSI_PROC_FS is not set
386 415
387# 416#
388# Multi-device support (RAID and LVM) 417# SCSI support type (disk, tape, CD-ROM)
389# 418#
390# CONFIG_MD is not set 419CONFIG_BLK_DEV_SD=m
420# CONFIG_CHR_DEV_ST is not set
421# CONFIG_CHR_DEV_OSST is not set
422CONFIG_BLK_DEV_SR=m
423# CONFIG_BLK_DEV_SR_VENDOR is not set
424# CONFIG_CHR_DEV_SG is not set
425# CONFIG_CHR_DEV_SCH is not set
391 426
392# 427#
393# Network device support 428# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
394# 429#
430# CONFIG_SCSI_MULTI_LUN is not set
431# CONFIG_SCSI_CONSTANTS is not set
432# CONFIG_SCSI_LOGGING is not set
433# CONFIG_SCSI_SCAN_ASYNC is not set
434CONFIG_SCSI_WAIT_SCAN=m
435
436#
437# SCSI Transports
438#
439# CONFIG_SCSI_SPI_ATTRS is not set
440# CONFIG_SCSI_FC_ATTRS is not set
441# CONFIG_SCSI_ISCSI_ATTRS is not set
442# CONFIG_SCSI_SAS_LIBSAS is not set
443# CONFIG_SCSI_SRP_ATTRS is not set
444# CONFIG_SCSI_LOWLEVEL is not set
445CONFIG_ATA=m
446# CONFIG_ATA_NONSTANDARD is not set
447CONFIG_PATA_AT32=m
448# CONFIG_PATA_PLATFORM is not set
449# CONFIG_MD is not set
395CONFIG_NETDEVICES=y 450CONFIG_NETDEVICES=y
396CONFIG_DUMMY=y 451# CONFIG_NETDEVICES_MULTIQUEUE is not set
452# CONFIG_DUMMY is not set
397# CONFIG_BONDING is not set 453# CONFIG_BONDING is not set
454# CONFIG_MACVLAN is not set
398# CONFIG_EQUALIZER is not set 455# CONFIG_EQUALIZER is not set
399CONFIG_TUN=m 456CONFIG_TUN=m
400# CONFIG_PHYLIB is not set 457# CONFIG_VETH is not set
401 458CONFIG_PHYLIB=y
402# 459
403# Ethernet (10 or 100Mbit) 460#
404# 461# MII PHY device drivers
462#
463# CONFIG_MARVELL_PHY is not set
464# CONFIG_DAVICOM_PHY is not set
465# CONFIG_QSEMI_PHY is not set
466# CONFIG_LXT_PHY is not set
467# CONFIG_CICADA_PHY is not set
468# CONFIG_VITESSE_PHY is not set
469# CONFIG_SMSC_PHY is not set
470# CONFIG_BROADCOM_PHY is not set
471# CONFIG_ICPLUS_PHY is not set
472# CONFIG_FIXED_PHY is not set
473# CONFIG_MDIO_BITBANG is not set
405CONFIG_NET_ETHERNET=y 474CONFIG_NET_ETHERNET=y
406CONFIG_MII=y 475# CONFIG_MII is not set
407CONFIG_MACB=y 476CONFIG_MACB=y
477# CONFIG_IBM_NEW_EMAC_ZMII is not set
478# CONFIG_IBM_NEW_EMAC_RGMII is not set
479# CONFIG_IBM_NEW_EMAC_TAH is not set
480# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
481# CONFIG_B44 is not set
408# CONFIG_NETDEV_1000 is not set 482# CONFIG_NETDEV_1000 is not set
409# CONFIG_NETDEV_10000 is not set 483# CONFIG_NETDEV_10000 is not set
410 484
@@ -423,27 +497,54 @@ CONFIG_PPP_DEFLATE=m
423CONFIG_PPP_BSDCOMP=m 497CONFIG_PPP_BSDCOMP=m
424# CONFIG_PPP_MPPE is not set 498# CONFIG_PPP_MPPE is not set
425# CONFIG_PPPOE is not set 499# CONFIG_PPPOE is not set
500# CONFIG_PPPOL2TP is not set
426# CONFIG_SLIP is not set 501# CONFIG_SLIP is not set
427CONFIG_SLHC=m 502CONFIG_SLHC=m
428# CONFIG_SHAPER is not set 503# CONFIG_SHAPER is not set
429# CONFIG_NETCONSOLE is not set 504# CONFIG_NETCONSOLE is not set
430# CONFIG_NETPOLL is not set 505# CONFIG_NETPOLL is not set
431# CONFIG_NET_POLL_CONTROLLER is not set 506# CONFIG_NET_POLL_CONTROLLER is not set
507# CONFIG_ISDN is not set
508# CONFIG_PHONE is not set
432 509
433# 510#
434# ISDN subsystem 511# Input device support
435# 512#
436# CONFIG_ISDN is not set 513CONFIG_INPUT=m
514# CONFIG_INPUT_FF_MEMLESS is not set
515CONFIG_INPUT_POLLDEV=m
437 516
438# 517#
439# Telephony Support 518# Userland interfaces
440# 519#
441# CONFIG_PHONE is not set 520CONFIG_INPUT_MOUSEDEV=m
521CONFIG_INPUT_MOUSEDEV_PSAUX=y
522CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
523CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
524# CONFIG_INPUT_JOYDEV is not set
525CONFIG_INPUT_EVDEV=m
526# CONFIG_INPUT_EVBUG is not set
442 527
443# 528#
444# Input device support 529# Input Device Drivers
445# 530#
446# CONFIG_INPUT is not set 531CONFIG_INPUT_KEYBOARD=y
532# CONFIG_KEYBOARD_ATKBD is not set
533# CONFIG_KEYBOARD_SUNKBD is not set
534# CONFIG_KEYBOARD_LKKBD is not set
535# CONFIG_KEYBOARD_XTKBD is not set
536# CONFIG_KEYBOARD_NEWTON is not set
537# CONFIG_KEYBOARD_STOWAWAY is not set
538CONFIG_KEYBOARD_GPIO=m
539CONFIG_INPUT_MOUSE=y
540# CONFIG_MOUSE_PS2 is not set
541# CONFIG_MOUSE_SERIAL is not set
542# CONFIG_MOUSE_VSXXXAA is not set
543CONFIG_MOUSE_GPIO=m
544# CONFIG_INPUT_JOYSTICK is not set
545# CONFIG_INPUT_TABLET is not set
546# CONFIG_INPUT_TOUCHSCREEN is not set
547# CONFIG_INPUT_MISC is not set
447 548
448# 549#
449# Hardware I/O ports 550# Hardware I/O ports
@@ -472,35 +573,87 @@ CONFIG_SERIAL_CORE=y
472CONFIG_SERIAL_CORE_CONSOLE=y 573CONFIG_SERIAL_CORE_CONSOLE=y
473CONFIG_UNIX98_PTYS=y 574CONFIG_UNIX98_PTYS=y
474# CONFIG_LEGACY_PTYS is not set 575# CONFIG_LEGACY_PTYS is not set
475
476#
477# IPMI
478#
479# CONFIG_IPMI_HANDLER is not set 576# CONFIG_IPMI_HANDLER is not set
480# CONFIG_WATCHDOG is not set
481# CONFIG_HW_RANDOM is not set 577# CONFIG_HW_RANDOM is not set
482# CONFIG_RTC is not set 578# CONFIG_RTC is not set
483# CONFIG_GEN_RTC is not set 579# CONFIG_GEN_RTC is not set
484# CONFIG_R3964 is not set 580# CONFIG_R3964 is not set
485# CONFIG_RAW_DRIVER is not set 581# CONFIG_RAW_DRIVER is not set
582# CONFIG_TCG_TPM is not set
583CONFIG_I2C=m
584CONFIG_I2C_BOARDINFO=y
585CONFIG_I2C_CHARDEV=m
486 586
487# 587#
488# TPM devices 588# I2C Algorithms
489# 589#
490# CONFIG_TCG_TPM is not set 590CONFIG_I2C_ALGOBIT=m
491# CONFIG_I2C is not set 591# CONFIG_I2C_ALGOPCF is not set
592# CONFIG_I2C_ALGOPCA is not set
593
594#
595# I2C Hardware Bus support
596#
597CONFIG_I2C_GPIO=m
598# CONFIG_I2C_OCORES is not set
599# CONFIG_I2C_PARPORT_LIGHT is not set
600# CONFIG_I2C_SIMTEC is not set
601# CONFIG_I2C_TAOS_EVM is not set
602# CONFIG_I2C_STUB is not set
603
604#
605# Miscellaneous I2C Chip support
606#
607# CONFIG_SENSORS_DS1337 is not set
608# CONFIG_SENSORS_DS1374 is not set
609# CONFIG_DS1682 is not set
610# CONFIG_SENSORS_EEPROM is not set
611# CONFIG_SENSORS_PCF8574 is not set
612# CONFIG_SENSORS_PCA9539 is not set
613# CONFIG_SENSORS_PCF8591 is not set
614# CONFIG_SENSORS_MAX6875 is not set
615# CONFIG_SENSORS_TSL2550 is not set
616# CONFIG_I2C_DEBUG_CORE is not set
617# CONFIG_I2C_DEBUG_ALGO is not set
618# CONFIG_I2C_DEBUG_BUS is not set
619# CONFIG_I2C_DEBUG_CHIP is not set
492 620
493# 621#
494# SPI support 622# SPI support
495# 623#
496# CONFIG_SPI is not set 624CONFIG_SPI=y
497# CONFIG_SPI_MASTER is not set 625# CONFIG_SPI_DEBUG is not set
626CONFIG_SPI_MASTER=y
627
628#
629# SPI Master Controller Drivers
630#
631CONFIG_SPI_ATMEL=y
632# CONFIG_SPI_BITBANG is not set
498 633
499# 634#
500# Dallas's 1-wire bus 635# SPI Protocol Masters
501# 636#
637# CONFIG_SPI_AT25 is not set
638CONFIG_SPI_SPIDEV=m
639# CONFIG_SPI_TLE62X0 is not set
502# CONFIG_W1 is not set 640# CONFIG_W1 is not set
641# CONFIG_POWER_SUPPLY is not set
503# CONFIG_HWMON is not set 642# CONFIG_HWMON is not set
643CONFIG_WATCHDOG=y
644# CONFIG_WATCHDOG_NOWAYOUT is not set
645
646#
647# Watchdog Device Drivers
648#
649# CONFIG_SOFT_WATCHDOG is not set
650CONFIG_AT32AP700X_WDT=y
651
652#
653# Sonics Silicon Backplane
654#
655CONFIG_SSB_POSSIBLE=y
656# CONFIG_SSB is not set
504 657
505# 658#
506# Multifunction device drivers 659# Multifunction device drivers
@@ -517,23 +670,94 @@ CONFIG_UNIX98_PTYS=y
517# 670#
518# Graphics support 671# Graphics support
519# 672#
520# CONFIG_BACKLIGHT_LCD_SUPPORT is not set 673# CONFIG_VGASTATE is not set
674# CONFIG_VIDEO_OUTPUT_CONTROL is not set
675CONFIG_FB=y
676# CONFIG_FIRMWARE_EDID is not set
677# CONFIG_FB_DDC is not set
678CONFIG_FB_CFB_FILLRECT=y
679CONFIG_FB_CFB_COPYAREA=y
680CONFIG_FB_CFB_IMAGEBLIT=y
681# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
682# CONFIG_FB_SYS_FILLRECT is not set
683# CONFIG_FB_SYS_COPYAREA is not set
684# CONFIG_FB_SYS_IMAGEBLIT is not set
685# CONFIG_FB_SYS_FOPS is not set
686CONFIG_FB_DEFERRED_IO=y
687# CONFIG_FB_SVGALIB is not set
688# CONFIG_FB_MACMODES is not set
689# CONFIG_FB_BACKLIGHT is not set
690# CONFIG_FB_MODE_HELPERS is not set
691# CONFIG_FB_TILEBLITTING is not set
692
693#
694# Frame buffer hardware drivers
695#
696# CONFIG_FB_S1D13XXX is not set
697CONFIG_FB_ATMEL=y
698# CONFIG_FB_VIRTUAL is not set
699CONFIG_BACKLIGHT_LCD_SUPPORT=y
700CONFIG_LCD_CLASS_DEVICE=y
701CONFIG_LCD_LTV350QV=y
702# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
521 703
522# 704#
523# Display device support 705# Display device support
524# 706#
525# CONFIG_DISPLAY_SUPPORT is not set 707# CONFIG_DISPLAY_SUPPORT is not set
526# CONFIG_VGASTATE is not set 708# CONFIG_LOGO is not set
527# CONFIG_FB is not set
528 709
529# 710#
530# Sound 711# Sound
531# 712#
532# CONFIG_SOUND is not set 713CONFIG_SOUND=m
714
715#
716# Advanced Linux Sound Architecture
717#
718CONFIG_SND=m
719CONFIG_SND_TIMER=m
720CONFIG_SND_PCM=m
721# CONFIG_SND_SEQUENCER is not set
722CONFIG_SND_OSSEMUL=y
723CONFIG_SND_MIXER_OSS=m
724CONFIG_SND_PCM_OSS=m
725CONFIG_SND_PCM_OSS_PLUGINS=y
726# CONFIG_SND_DYNAMIC_MINORS is not set
727# CONFIG_SND_SUPPORT_OLD_API is not set
728# CONFIG_SND_VERBOSE_PROCFS is not set
729# CONFIG_SND_VERBOSE_PRINTK is not set
730# CONFIG_SND_DEBUG is not set
533 731
534# 732#
535# USB support 733# Generic devices
734#
735# CONFIG_SND_DUMMY is not set
736# CONFIG_SND_MTPAV is not set
737# CONFIG_SND_SERIAL_U16550 is not set
738# CONFIG_SND_MPU401 is not set
739
536# 740#
741# SPI devices
742#
743CONFIG_SND_AT73C213=m
744CONFIG_SND_AT73C213_TARGET_BITRATE=48000
745
746#
747# System on Chip audio support
748#
749# CONFIG_SND_SOC is not set
750
751#
752# SoC Audio support for SuperH
753#
754
755#
756# Open Sound System
757#
758# CONFIG_SOUND_PRIME is not set
759# CONFIG_HID_SUPPORT is not set
760CONFIG_USB_SUPPORT=y
537# CONFIG_USB_ARCH_HAS_HCD is not set 761# CONFIG_USB_ARCH_HAS_HCD is not set
538# CONFIG_USB_ARCH_HAS_OHCI is not set 762# CONFIG_USB_ARCH_HAS_OHCI is not set
539# CONFIG_USB_ARCH_HAS_EHCI is not set 763# CONFIG_USB_ARCH_HAS_EHCI is not set
@@ -545,47 +769,116 @@ CONFIG_UNIX98_PTYS=y
545# 769#
546# USB Gadget Support 770# USB Gadget Support
547# 771#
548# CONFIG_USB_GADGET is not set 772CONFIG_USB_GADGET=y
549# CONFIG_MMC is not set 773# CONFIG_USB_GADGET_DEBUG is not set
550 774# CONFIG_USB_GADGET_DEBUG_FILES is not set
551# 775# CONFIG_USB_GADGET_DEBUG_FS is not set
552# LED devices 776CONFIG_USB_GADGET_SELECTED=y
553# 777# CONFIG_USB_GADGET_AMD5536UDC is not set
554# CONFIG_NEW_LEDS is not set 778CONFIG_USB_GADGET_ATMEL_USBA=y
779CONFIG_USB_ATMEL_USBA=y
780# CONFIG_USB_GADGET_FSL_USB2 is not set
781# CONFIG_USB_GADGET_NET2280 is not set
782# CONFIG_USB_GADGET_PXA2XX is not set
783# CONFIG_USB_GADGET_M66592 is not set
784# CONFIG_USB_GADGET_GOKU is not set
785# CONFIG_USB_GADGET_LH7A40X is not set
786# CONFIG_USB_GADGET_OMAP is not set
787# CONFIG_USB_GADGET_S3C2410 is not set
788# CONFIG_USB_GADGET_AT91 is not set
789# CONFIG_USB_GADGET_DUMMY_HCD is not set
790CONFIG_USB_GADGET_DUALSPEED=y
791CONFIG_USB_ZERO=m
792CONFIG_USB_ETH=m
793CONFIG_USB_ETH_RNDIS=y
794CONFIG_USB_GADGETFS=m
795CONFIG_USB_FILE_STORAGE=m
796# CONFIG_USB_FILE_STORAGE_TEST is not set
797CONFIG_USB_G_SERIAL=m
798# CONFIG_USB_MIDI_GADGET is not set
799CONFIG_MMC=m
800# CONFIG_MMC_DEBUG is not set
801# CONFIG_MMC_UNSAFE_RESUME is not set
802
803#
804# MMC/SD Card Drivers
805#
806CONFIG_MMC_BLOCK=m
807CONFIG_MMC_BLOCK_BOUNCE=y
808# CONFIG_SDIO_UART is not set
809
810#
811# MMC/SD Host Controller Drivers
812#
813CONFIG_MMC_SPI=m
814CONFIG_NEW_LEDS=y
815CONFIG_LEDS_CLASS=m
555 816
556# 817#
557# LED drivers 818# LED drivers
558# 819#
820CONFIG_LEDS_GPIO=m
559 821
560# 822#
561# LED Triggers 823# LED Triggers
562# 824#
825CONFIG_LEDS_TRIGGERS=y
826CONFIG_LEDS_TRIGGER_TIMER=m
827CONFIG_LEDS_TRIGGER_HEARTBEAT=m
828CONFIG_RTC_LIB=y
829CONFIG_RTC_CLASS=y
830CONFIG_RTC_HCTOSYS=y
831CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
832# CONFIG_RTC_DEBUG is not set
563 833
564# 834#
565# InfiniBand support 835# RTC interfaces
566# 836#
837CONFIG_RTC_INTF_SYSFS=y
838CONFIG_RTC_INTF_PROC=y
839CONFIG_RTC_INTF_DEV=y
840# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
841# CONFIG_RTC_DRV_TEST is not set
567 842
568# 843#
569# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 844# I2C RTC drivers
570# 845#
846# CONFIG_RTC_DRV_DS1307 is not set
847# CONFIG_RTC_DRV_DS1374 is not set
848# CONFIG_RTC_DRV_DS1672 is not set
849# CONFIG_RTC_DRV_MAX6900 is not set
850# CONFIG_RTC_DRV_RS5C372 is not set
851# CONFIG_RTC_DRV_ISL1208 is not set
852# CONFIG_RTC_DRV_X1205 is not set
853# CONFIG_RTC_DRV_PCF8563 is not set
854# CONFIG_RTC_DRV_PCF8583 is not set
855# CONFIG_RTC_DRV_M41T80 is not set
571 856
572# 857#
573# Real Time Clock 858# SPI RTC drivers
574# 859#
575# CONFIG_RTC_CLASS is not set 860# CONFIG_RTC_DRV_RS5C348 is not set
861# CONFIG_RTC_DRV_MAX6902 is not set
576 862
577# 863#
578# DMA Engine support 864# Platform RTC drivers
579# 865#
580# CONFIG_DMA_ENGINE is not set 866# CONFIG_RTC_DRV_DS1553 is not set
867# CONFIG_RTC_DRV_STK17TA8 is not set
868# CONFIG_RTC_DRV_DS1742 is not set
869# CONFIG_RTC_DRV_M48T86 is not set
870# CONFIG_RTC_DRV_M48T59 is not set
871# CONFIG_RTC_DRV_V3020 is not set
581 872
582# 873#
583# DMA Clients 874# on-CPU RTC drivers
584# 875#
876CONFIG_RTC_DRV_AT32AP700X=y
585 877
586# 878#
587# DMA Devices 879# Userspace I/O
588# 880#
881# CONFIG_UIO is not set
589 882
590# 883#
591# File systems 884# File systems
@@ -593,8 +886,11 @@ CONFIG_UNIX98_PTYS=y
593CONFIG_EXT2_FS=m 886CONFIG_EXT2_FS=m
594# CONFIG_EXT2_FS_XATTR is not set 887# CONFIG_EXT2_FS_XATTR is not set
595# CONFIG_EXT2_FS_XIP is not set 888# CONFIG_EXT2_FS_XIP is not set
596# CONFIG_EXT3_FS is not set 889CONFIG_EXT3_FS=m
890# CONFIG_EXT3_FS_XATTR is not set
597# CONFIG_EXT4DEV_FS is not set 891# CONFIG_EXT4DEV_FS is not set
892CONFIG_JBD=m
893# CONFIG_JBD_DEBUG is not set
598# CONFIG_REISERFS_FS is not set 894# CONFIG_REISERFS_FS is not set
599# CONFIG_JFS_FS is not set 895# CONFIG_JFS_FS is not set
600# CONFIG_FS_POSIX_ACL is not set 896# CONFIG_FS_POSIX_ACL is not set
@@ -609,7 +905,7 @@ CONFIG_INOTIFY_USER=y
609# CONFIG_DNOTIFY is not set 905# CONFIG_DNOTIFY is not set
610# CONFIG_AUTOFS_FS is not set 906# CONFIG_AUTOFS_FS is not set
611# CONFIG_AUTOFS4_FS is not set 907# CONFIG_AUTOFS4_FS is not set
612# CONFIG_FUSE_FS is not set 908CONFIG_FUSE_FS=m
613 909
614# 910#
615# CD-ROM/DVD Filesystems 911# CD-ROM/DVD Filesystems
@@ -637,8 +933,7 @@ CONFIG_SYSFS=y
637CONFIG_TMPFS=y 933CONFIG_TMPFS=y
638# CONFIG_TMPFS_POSIX_ACL is not set 934# CONFIG_TMPFS_POSIX_ACL is not set
639# CONFIG_HUGETLB_PAGE is not set 935# CONFIG_HUGETLB_PAGE is not set
640CONFIG_RAMFS=y 936# CONFIG_CONFIGFS_FS is not set
641CONFIG_CONFIGFS_FS=m
642 937
643# 938#
644# Miscellaneous filesystems 939# Miscellaneous filesystems
@@ -652,11 +947,12 @@ CONFIG_CONFIGFS_FS=m
652# CONFIG_EFS_FS is not set 947# CONFIG_EFS_FS is not set
653CONFIG_JFFS2_FS=y 948CONFIG_JFFS2_FS=y
654CONFIG_JFFS2_FS_DEBUG=0 949CONFIG_JFFS2_FS_DEBUG=0
655CONFIG_JFFS2_FS_WRITEBUFFER=y 950# CONFIG_JFFS2_FS_WRITEBUFFER is not set
656# CONFIG_JFFS2_SUMMARY is not set 951# CONFIG_JFFS2_SUMMARY is not set
657# CONFIG_JFFS2_FS_XATTR is not set 952# CONFIG_JFFS2_FS_XATTR is not set
658# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 953# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
659CONFIG_JFFS2_ZLIB=y 954CONFIG_JFFS2_ZLIB=y
955# CONFIG_JFFS2_LZO is not set
660CONFIG_JFFS2_RTIME=y 956CONFIG_JFFS2_RTIME=y
661# CONFIG_JFFS2_RUBIN is not set 957# CONFIG_JFFS2_RUBIN is not set
662# CONFIG_CRAMFS is not set 958# CONFIG_CRAMFS is not set
@@ -665,10 +961,7 @@ CONFIG_JFFS2_RTIME=y
665# CONFIG_QNX4FS_FS is not set 961# CONFIG_QNX4FS_FS is not set
666# CONFIG_SYSV_FS is not set 962# CONFIG_SYSV_FS is not set
667# CONFIG_UFS_FS is not set 963# CONFIG_UFS_FS is not set
668 964CONFIG_NETWORK_FILESYSTEMS=y
669#
670# Network File Systems
671#
672CONFIG_NFS_FS=y 965CONFIG_NFS_FS=y
673CONFIG_NFS_V3=y 966CONFIG_NFS_V3=y
674# CONFIG_NFS_V3_ACL is not set 967# CONFIG_NFS_V3_ACL is not set
@@ -688,17 +981,12 @@ CONFIG_SUNRPC=y
688# CONFIG_NCP_FS is not set 981# CONFIG_NCP_FS is not set
689# CONFIG_CODA_FS is not set 982# CONFIG_CODA_FS is not set
690# CONFIG_AFS_FS is not set 983# CONFIG_AFS_FS is not set
691# CONFIG_9P_FS is not set
692 984
693# 985#
694# Partition Types 986# Partition Types
695# 987#
696# CONFIG_PARTITION_ADVANCED is not set 988# CONFIG_PARTITION_ADVANCED is not set
697CONFIG_MSDOS_PARTITION=y 989CONFIG_MSDOS_PARTITION=y
698
699#
700# Native Language Support
701#
702CONFIG_NLS=m 990CONFIG_NLS=m
703CONFIG_NLS_DEFAULT="iso8859-1" 991CONFIG_NLS_DEFAULT="iso8859-1"
704CONFIG_NLS_CODEPAGE_437=m 992CONFIG_NLS_CODEPAGE_437=m
@@ -739,17 +1027,18 @@ CONFIG_NLS_ISO8859_1=m
739# CONFIG_NLS_KOI8_R is not set 1027# CONFIG_NLS_KOI8_R is not set
740# CONFIG_NLS_KOI8_U is not set 1028# CONFIG_NLS_KOI8_U is not set
741CONFIG_NLS_UTF8=m 1029CONFIG_NLS_UTF8=m
742
743#
744# Distributed Lock Manager
745#
746# CONFIG_DLM is not set 1030# CONFIG_DLM is not set
1031CONFIG_INSTRUMENTATION=y
1032CONFIG_PROFILING=y
1033CONFIG_OPROFILE=m
1034CONFIG_KPROBES=y
1035# CONFIG_MARKERS is not set
747 1036
748# 1037#
749# Kernel hacking 1038# Kernel hacking
750# 1039#
751CONFIG_TRACE_IRQFLAGS_SUPPORT=y
752# CONFIG_PRINTK_TIME is not set 1040# CONFIG_PRINTK_TIME is not set
1041CONFIG_ENABLE_WARN_DEPRECATED=y
753CONFIG_ENABLE_MUST_CHECK=y 1042CONFIG_ENABLE_MUST_CHECK=y
754CONFIG_MAGIC_SYSRQ=y 1043CONFIG_MAGIC_SYSRQ=y
755# CONFIG_UNUSED_SYMBOLS is not set 1044# CONFIG_UNUSED_SYMBOLS is not set
@@ -758,12 +1047,17 @@ CONFIG_DEBUG_FS=y
758CONFIG_DEBUG_KERNEL=y 1047CONFIG_DEBUG_KERNEL=y
759# CONFIG_DEBUG_SHIRQ is not set 1048# CONFIG_DEBUG_SHIRQ is not set
760CONFIG_DETECT_SOFTLOCKUP=y 1049CONFIG_DETECT_SOFTLOCKUP=y
1050CONFIG_SCHED_DEBUG=y
761# CONFIG_SCHEDSTATS is not set 1051# CONFIG_SCHEDSTATS is not set
762# CONFIG_TIMER_STATS is not set 1052# CONFIG_TIMER_STATS is not set
1053# CONFIG_SLUB_DEBUG_ON is not set
763# CONFIG_DEBUG_RT_MUTEXES is not set 1054# CONFIG_DEBUG_RT_MUTEXES is not set
764# CONFIG_RT_MUTEX_TESTER is not set 1055# CONFIG_RT_MUTEX_TESTER is not set
765# CONFIG_DEBUG_SPINLOCK is not set 1056# CONFIG_DEBUG_SPINLOCK is not set
766# CONFIG_DEBUG_MUTEXES is not set 1057# CONFIG_DEBUG_MUTEXES is not set
1058# CONFIG_DEBUG_LOCK_ALLOC is not set
1059# CONFIG_PROVE_LOCKING is not set
1060# CONFIG_LOCK_STAT is not set
767# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1061# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
768# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 1062# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
769# CONFIG_DEBUG_KOBJECT is not set 1063# CONFIG_DEBUG_KOBJECT is not set
@@ -771,22 +1065,63 @@ CONFIG_DEBUG_BUGVERBOSE=y
771# CONFIG_DEBUG_INFO is not set 1065# CONFIG_DEBUG_INFO is not set
772# CONFIG_DEBUG_VM is not set 1066# CONFIG_DEBUG_VM is not set
773# CONFIG_DEBUG_LIST is not set 1067# CONFIG_DEBUG_LIST is not set
1068# CONFIG_DEBUG_SG is not set
774CONFIG_FRAME_POINTER=y 1069CONFIG_FRAME_POINTER=y
775CONFIG_FORCED_INLINING=y 1070CONFIG_FORCED_INLINING=y
1071# CONFIG_BOOT_PRINTK_DELAY is not set
776# CONFIG_RCU_TORTURE_TEST is not set 1072# CONFIG_RCU_TORTURE_TEST is not set
1073# CONFIG_LKDTM is not set
777# CONFIG_FAULT_INJECTION is not set 1074# CONFIG_FAULT_INJECTION is not set
778# CONFIG_KPROBES is not set 1075# CONFIG_SAMPLES is not set
779 1076
780# 1077#
781# Security options 1078# Security options
782# 1079#
783# CONFIG_KEYS is not set 1080# CONFIG_KEYS is not set
784# CONFIG_SECURITY is not set 1081# CONFIG_SECURITY is not set
785 1082# CONFIG_SECURITY_FILE_CAPABILITIES is not set
786# 1083CONFIG_CRYPTO=y
787# Cryptographic options 1084CONFIG_CRYPTO_ALGAPI=m
788# 1085CONFIG_CRYPTO_BLKCIPHER=m
789# CONFIG_CRYPTO is not set 1086CONFIG_CRYPTO_HASH=m
1087CONFIG_CRYPTO_MANAGER=m
1088CONFIG_CRYPTO_HMAC=m
1089# CONFIG_CRYPTO_XCBC is not set
1090# CONFIG_CRYPTO_NULL is not set
1091# CONFIG_CRYPTO_MD4 is not set
1092CONFIG_CRYPTO_MD5=m
1093CONFIG_CRYPTO_SHA1=m
1094# CONFIG_CRYPTO_SHA256 is not set
1095# CONFIG_CRYPTO_SHA512 is not set
1096# CONFIG_CRYPTO_WP512 is not set
1097# CONFIG_CRYPTO_TGR192 is not set
1098# CONFIG_CRYPTO_GF128MUL is not set
1099# CONFIG_CRYPTO_ECB is not set
1100CONFIG_CRYPTO_CBC=m
1101# CONFIG_CRYPTO_PCBC is not set
1102# CONFIG_CRYPTO_LRW is not set
1103# CONFIG_CRYPTO_XTS is not set
1104# CONFIG_CRYPTO_CRYPTD is not set
1105CONFIG_CRYPTO_DES=m
1106# CONFIG_CRYPTO_FCRYPT is not set
1107# CONFIG_CRYPTO_BLOWFISH is not set
1108# CONFIG_CRYPTO_TWOFISH is not set
1109# CONFIG_CRYPTO_SERPENT is not set
1110# CONFIG_CRYPTO_AES is not set
1111# CONFIG_CRYPTO_CAST5 is not set
1112# CONFIG_CRYPTO_CAST6 is not set
1113# CONFIG_CRYPTO_TEA is not set
1114# CONFIG_CRYPTO_ARC4 is not set
1115# CONFIG_CRYPTO_KHAZAD is not set
1116# CONFIG_CRYPTO_ANUBIS is not set
1117# CONFIG_CRYPTO_SEED is not set
1118CONFIG_CRYPTO_DEFLATE=m
1119# CONFIG_CRYPTO_MICHAEL_MIC is not set
1120# CONFIG_CRYPTO_CRC32C is not set
1121# CONFIG_CRYPTO_CAMELLIA is not set
1122# CONFIG_CRYPTO_TEST is not set
1123# CONFIG_CRYPTO_AUTHENC is not set
1124# CONFIG_CRYPTO_HW is not set
790 1125
791# 1126#
792# Library routines 1127# Library routines
@@ -794,10 +1129,10 @@ CONFIG_FORCED_INLINING=y
794CONFIG_BITREVERSE=y 1129CONFIG_BITREVERSE=y
795CONFIG_CRC_CCITT=m 1130CONFIG_CRC_CCITT=m
796# CONFIG_CRC16 is not set 1131# CONFIG_CRC16 is not set
797# CONFIG_CRC_ITU_T is not set 1132CONFIG_CRC_ITU_T=m
798CONFIG_CRC32=y 1133CONFIG_CRC32=y
1134CONFIG_CRC7=m
799# CONFIG_LIBCRC32C is not set 1135# CONFIG_LIBCRC32C is not set
800CONFIG_AUDIT_GENERIC=y
801CONFIG_ZLIB_INFLATE=y 1136CONFIG_ZLIB_INFLATE=y
802CONFIG_ZLIB_DEFLATE=y 1137CONFIG_ZLIB_DEFLATE=y
803CONFIG_PLIST=y 1138CONFIG_PLIST=y
diff --git a/arch/avr32/configs/atstk1003_defconfig b/arch/avr32/configs/atstk1003_defconfig
new file mode 100644
index 000000000000..45e23e03f074
--- /dev/null
+++ b/arch/avr32/configs/atstk1003_defconfig
@@ -0,0 +1,1015 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc7
4# Wed Jan 9 22:54:34 2008
5#
6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
12CONFIG_HARDIRQS_SW_RESEND=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_RWSEM_GENERIC_SPINLOCK=y
15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
20CONFIG_GENERIC_HWEIGHT=y
21CONFIG_GENERIC_CALIBRATE_DELAY=y
22CONFIG_GENERIC_BUG=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_INIT_ENV_ARG_LIMIT=32
31CONFIG_LOCALVERSION=""
32# CONFIG_LOCALVERSION_AUTO is not set
33CONFIG_SWAP=y
34CONFIG_SYSVIPC=y
35CONFIG_SYSVIPC_SYSCTL=y
36CONFIG_POSIX_MQUEUE=y
37CONFIG_BSD_PROCESS_ACCT=y
38CONFIG_BSD_PROCESS_ACCT_V3=y
39CONFIG_TASKSTATS=y
40CONFIG_TASK_DELAY_ACCT=y
41# CONFIG_TASK_XACCT is not set
42# CONFIG_USER_NS is not set
43# CONFIG_PID_NS is not set
44CONFIG_AUDIT=y
45# CONFIG_IKCONFIG is not set
46CONFIG_LOG_BUF_SHIFT=14
47# CONFIG_CGROUPS is not set
48CONFIG_FAIR_GROUP_SCHED=y
49CONFIG_FAIR_USER_SCHED=y
50# CONFIG_FAIR_CGROUP_SCHED is not set
51CONFIG_SYSFS_DEPRECATED=y
52CONFIG_RELAY=y
53CONFIG_BLK_DEV_INITRD=y
54CONFIG_INITRAMFS_SOURCE=""
55CONFIG_CC_OPTIMIZE_FOR_SIZE=y
56CONFIG_SYSCTL=y
57CONFIG_EMBEDDED=y
58# CONFIG_SYSCTL_SYSCALL is not set
59CONFIG_KALLSYMS=y
60# CONFIG_KALLSYMS_ALL is not set
61# CONFIG_KALLSYMS_EXTRA_PASS is not set
62CONFIG_HOTPLUG=y
63CONFIG_PRINTK=y
64CONFIG_BUG=y
65CONFIG_ELF_CORE=y
66# CONFIG_BASE_FULL is not set
67CONFIG_FUTEX=y
68CONFIG_ANON_INODES=y
69CONFIG_EPOLL=y
70CONFIG_SIGNALFD=y
71CONFIG_EVENTFD=y
72CONFIG_SHMEM=y
73CONFIG_VM_EVENT_COUNTERS=y
74# CONFIG_SLUB_DEBUG is not set
75# CONFIG_SLAB is not set
76CONFIG_SLUB=y
77# CONFIG_SLOB is not set
78CONFIG_SLABINFO=y
79CONFIG_RT_MUTEXES=y
80# CONFIG_TINY_SHMEM is not set
81CONFIG_BASE_SMALL=1
82CONFIG_MODULES=y
83CONFIG_MODULE_UNLOAD=y
84# CONFIG_MODULE_FORCE_UNLOAD is not set
85# CONFIG_MODVERSIONS is not set
86# CONFIG_MODULE_SRCVERSION_ALL is not set
87# CONFIG_KMOD is not set
88CONFIG_BLOCK=y
89# CONFIG_LBD is not set
90# CONFIG_BLK_DEV_IO_TRACE is not set
91# CONFIG_LSF is not set
92# CONFIG_BLK_DEV_BSG is not set
93
94#
95# IO Schedulers
96#
97CONFIG_IOSCHED_NOOP=y
98# CONFIG_IOSCHED_AS is not set
99# CONFIG_IOSCHED_DEADLINE is not set
100CONFIG_IOSCHED_CFQ=y
101# CONFIG_DEFAULT_AS is not set
102# CONFIG_DEFAULT_DEADLINE is not set
103CONFIG_DEFAULT_CFQ=y
104# CONFIG_DEFAULT_NOOP is not set
105CONFIG_DEFAULT_IOSCHED="cfq"
106
107#
108# System Type and features
109#
110CONFIG_SUBARCH_AVR32B=y
111CONFIG_MMU=y
112CONFIG_PERFORMANCE_COUNTERS=y
113CONFIG_PLATFORM_AT32AP=y
114CONFIG_CPU_AT32AP700X=y
115CONFIG_CPU_AT32AP7001=y
116CONFIG_BOARD_ATSTK1000=y
117# CONFIG_BOARD_ATNGW100 is not set
118# CONFIG_BOARD_ATSTK1002 is not set
119CONFIG_BOARD_ATSTK1003=y
120# CONFIG_BOARD_ATSTK1004 is not set
121# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
122# CONFIG_BOARD_ATSTK100X_SPI1 is not set
123# CONFIG_BOARD_ATSTK1000_J2_LED is not set
124# CONFIG_BOARD_ATSTK1000_J2_LED8 is not set
125# CONFIG_BOARD_ATSTK1000_J2_RGB is not set
126CONFIG_BOARD_ATSTK1000_EXTDAC=y
127CONFIG_LOADER_U_BOOT=y
128
129#
130# Atmel AVR32 AP options
131#
132# CONFIG_AP700X_32_BIT_SMC is not set
133CONFIG_AP700X_16_BIT_SMC=y
134# CONFIG_AP700X_8_BIT_SMC is not set
135CONFIG_LOAD_ADDRESS=0x10000000
136CONFIG_ENTRY_ADDRESS=0x90000000
137CONFIG_PHYS_OFFSET=0x10000000
138CONFIG_PREEMPT_NONE=y
139# CONFIG_PREEMPT_VOLUNTARY is not set
140# CONFIG_PREEMPT is not set
141# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
142# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
143# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
144CONFIG_ARCH_FLATMEM_ENABLE=y
145# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
146# CONFIG_ARCH_SPARSEMEM_ENABLE is not set
147CONFIG_SELECT_MEMORY_MODEL=y
148CONFIG_FLATMEM_MANUAL=y
149# CONFIG_DISCONTIGMEM_MANUAL is not set
150# CONFIG_SPARSEMEM_MANUAL is not set
151CONFIG_FLATMEM=y
152CONFIG_FLAT_NODE_MEM_MAP=y
153# CONFIG_SPARSEMEM_STATIC is not set
154# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
155CONFIG_SPLIT_PTLOCK_CPUS=4
156# CONFIG_RESOURCES_64BIT is not set
157CONFIG_ZONE_DMA_FLAG=0
158CONFIG_VIRT_TO_BUS=y
159# CONFIG_OWNERSHIP_TRACE is not set
160# CONFIG_HZ_100 is not set
161CONFIG_HZ_250=y
162# CONFIG_HZ_300 is not set
163# CONFIG_HZ_1000 is not set
164CONFIG_HZ=250
165CONFIG_CMDLINE=""
166
167#
168# Power management options
169#
170
171#
172# CPU Frequency scaling
173#
174CONFIG_CPU_FREQ=y
175CONFIG_CPU_FREQ_TABLE=y
176# CONFIG_CPU_FREQ_DEBUG is not set
177# CONFIG_CPU_FREQ_STAT is not set
178CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
179# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
180# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
181# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
182CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
183# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
184CONFIG_CPU_FREQ_GOV_USERSPACE=y
185CONFIG_CPU_FREQ_GOV_ONDEMAND=y
186# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
187CONFIG_CPU_FREQ_AT32AP=y
188
189#
190# Bus options
191#
192# CONFIG_ARCH_SUPPORTS_MSI is not set
193# CONFIG_PCCARD is not set
194
195#
196# Executable file formats
197#
198CONFIG_BINFMT_ELF=y
199# CONFIG_BINFMT_MISC is not set
200
201#
202# Networking
203#
204CONFIG_NET=y
205
206#
207# Networking options
208#
209CONFIG_PACKET=y
210CONFIG_PACKET_MMAP=y
211CONFIG_UNIX=y
212# CONFIG_NET_KEY is not set
213CONFIG_INET=y
214# CONFIG_IP_MULTICAST is not set
215# CONFIG_IP_ADVANCED_ROUTER is not set
216CONFIG_IP_FIB_HASH=y
217# CONFIG_IP_PNP is not set
218# CONFIG_NET_IPIP is not set
219# CONFIG_NET_IPGRE is not set
220# CONFIG_ARPD is not set
221# CONFIG_SYN_COOKIES is not set
222# CONFIG_INET_AH is not set
223# CONFIG_INET_ESP is not set
224# CONFIG_INET_IPCOMP is not set
225# CONFIG_INET_XFRM_TUNNEL is not set
226# CONFIG_INET_TUNNEL is not set
227# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
228# CONFIG_INET_XFRM_MODE_TUNNEL is not set
229# CONFIG_INET_XFRM_MODE_BEET is not set
230# CONFIG_INET_LRO is not set
231# CONFIG_INET_DIAG is not set
232# CONFIG_TCP_CONG_ADVANCED is not set
233CONFIG_TCP_CONG_CUBIC=y
234CONFIG_DEFAULT_TCP_CONG="cubic"
235# CONFIG_TCP_MD5SIG is not set
236# CONFIG_IPV6 is not set
237# CONFIG_INET6_XFRM_TUNNEL is not set
238# CONFIG_INET6_TUNNEL is not set
239# CONFIG_NETWORK_SECMARK is not set
240# CONFIG_NETFILTER is not set
241# CONFIG_IP_DCCP is not set
242# CONFIG_IP_SCTP is not set
243# CONFIG_TIPC is not set
244# CONFIG_ATM is not set
245# CONFIG_BRIDGE is not set
246# CONFIG_VLAN_8021Q is not set
247# CONFIG_DECNET is not set
248# CONFIG_LLC2 is not set
249# CONFIG_IPX is not set
250# CONFIG_ATALK is not set
251# CONFIG_X25 is not set
252# CONFIG_LAPB is not set
253# CONFIG_ECONET is not set
254# CONFIG_WAN_ROUTER is not set
255# CONFIG_NET_SCHED is not set
256
257#
258# Network testing
259#
260# CONFIG_NET_PKTGEN is not set
261# CONFIG_NET_TCPPROBE is not set
262# CONFIG_HAMRADIO is not set
263# CONFIG_IRDA is not set
264# CONFIG_BT is not set
265# CONFIG_AF_RXRPC is not set
266
267#
268# Wireless
269#
270# CONFIG_CFG80211 is not set
271# CONFIG_WIRELESS_EXT is not set
272# CONFIG_MAC80211 is not set
273# CONFIG_IEEE80211 is not set
274# CONFIG_RFKILL is not set
275# CONFIG_NET_9P is not set
276
277#
278# Device Drivers
279#
280
281#
282# Generic Driver Options
283#
284CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
285CONFIG_STANDALONE=y
286# CONFIG_PREVENT_FIRMWARE_BUILD is not set
287# CONFIG_FW_LOADER is not set
288# CONFIG_DEBUG_DRIVER is not set
289# CONFIG_DEBUG_DEVRES is not set
290# CONFIG_SYS_HYPERVISOR is not set
291# CONFIG_CONNECTOR is not set
292CONFIG_MTD=y
293# CONFIG_MTD_DEBUG is not set
294# CONFIG_MTD_CONCAT is not set
295CONFIG_MTD_PARTITIONS=y
296# CONFIG_MTD_REDBOOT_PARTS is not set
297CONFIG_MTD_CMDLINE_PARTS=y
298
299#
300# User Modules And Translation Layers
301#
302CONFIG_MTD_CHAR=y
303CONFIG_MTD_BLKDEVS=y
304CONFIG_MTD_BLOCK=y
305# CONFIG_FTL is not set
306# CONFIG_NFTL is not set
307# CONFIG_INFTL is not set
308# CONFIG_RFD_FTL is not set
309# CONFIG_SSFDC is not set
310# CONFIG_MTD_OOPS is not set
311
312#
313# RAM/ROM/Flash chip drivers
314#
315CONFIG_MTD_CFI=y
316# CONFIG_MTD_JEDECPROBE is not set
317CONFIG_MTD_GEN_PROBE=y
318# CONFIG_MTD_CFI_ADV_OPTIONS is not set
319CONFIG_MTD_MAP_BANK_WIDTH_1=y
320CONFIG_MTD_MAP_BANK_WIDTH_2=y
321CONFIG_MTD_MAP_BANK_WIDTH_4=y
322# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
323# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
324# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
325CONFIG_MTD_CFI_I1=y
326CONFIG_MTD_CFI_I2=y
327# CONFIG_MTD_CFI_I4 is not set
328# CONFIG_MTD_CFI_I8 is not set
329# CONFIG_MTD_CFI_INTELEXT is not set
330CONFIG_MTD_CFI_AMDSTD=y
331# CONFIG_MTD_CFI_STAA is not set
332CONFIG_MTD_CFI_UTIL=y
333# CONFIG_MTD_RAM is not set
334# CONFIG_MTD_ROM is not set
335# CONFIG_MTD_ABSENT is not set
336
337#
338# Mapping drivers for chip access
339#
340# CONFIG_MTD_COMPLEX_MAPPINGS is not set
341CONFIG_MTD_PHYSMAP=y
342CONFIG_MTD_PHYSMAP_START=0x8000000
343CONFIG_MTD_PHYSMAP_LEN=0x0
344CONFIG_MTD_PHYSMAP_BANKWIDTH=2
345# CONFIG_MTD_PLATRAM is not set
346
347#
348# Self-contained MTD device drivers
349#
350CONFIG_MTD_DATAFLASH=m
351CONFIG_MTD_M25P80=m
352# CONFIG_MTD_SLRAM is not set
353# CONFIG_MTD_PHRAM is not set
354# CONFIG_MTD_MTDRAM is not set
355# CONFIG_MTD_BLOCK2MTD is not set
356
357#
358# Disk-On-Chip Device Drivers
359#
360# CONFIG_MTD_DOC2000 is not set
361# CONFIG_MTD_DOC2001 is not set
362# CONFIG_MTD_DOC2001PLUS is not set
363# CONFIG_MTD_NAND is not set
364# CONFIG_MTD_ONENAND is not set
365
366#
367# UBI - Unsorted block images
368#
369# CONFIG_MTD_UBI is not set
370# CONFIG_PARPORT is not set
371CONFIG_BLK_DEV=y
372# CONFIG_BLK_DEV_COW_COMMON is not set
373CONFIG_BLK_DEV_LOOP=m
374# CONFIG_BLK_DEV_CRYPTOLOOP is not set
375CONFIG_BLK_DEV_NBD=m
376CONFIG_BLK_DEV_RAM=m
377CONFIG_BLK_DEV_RAM_COUNT=16
378CONFIG_BLK_DEV_RAM_SIZE=4096
379CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
380# CONFIG_CDROM_PKTCDVD is not set
381# CONFIG_ATA_OVER_ETH is not set
382CONFIG_MISC_DEVICES=y
383# CONFIG_EEPROM_93CX6 is not set
384CONFIG_ATMEL_SSC=m
385# CONFIG_IDE is not set
386
387#
388# SCSI device support
389#
390# CONFIG_RAID_ATTRS is not set
391CONFIG_SCSI=m
392CONFIG_SCSI_DMA=y
393# CONFIG_SCSI_TGT is not set
394# CONFIG_SCSI_NETLINK is not set
395# CONFIG_SCSI_PROC_FS is not set
396
397#
398# SCSI support type (disk, tape, CD-ROM)
399#
400CONFIG_BLK_DEV_SD=m
401# CONFIG_CHR_DEV_ST is not set
402# CONFIG_CHR_DEV_OSST is not set
403CONFIG_BLK_DEV_SR=m
404# CONFIG_BLK_DEV_SR_VENDOR is not set
405# CONFIG_CHR_DEV_SG is not set
406# CONFIG_CHR_DEV_SCH is not set
407
408#
409# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
410#
411# CONFIG_SCSI_MULTI_LUN is not set
412# CONFIG_SCSI_CONSTANTS is not set
413# CONFIG_SCSI_LOGGING is not set
414# CONFIG_SCSI_SCAN_ASYNC is not set
415CONFIG_SCSI_WAIT_SCAN=m
416
417#
418# SCSI Transports
419#
420# CONFIG_SCSI_SPI_ATTRS is not set
421# CONFIG_SCSI_FC_ATTRS is not set
422# CONFIG_SCSI_ISCSI_ATTRS is not set
423# CONFIG_SCSI_SAS_LIBSAS is not set
424# CONFIG_SCSI_SRP_ATTRS is not set
425CONFIG_SCSI_LOWLEVEL=y
426# CONFIG_ISCSI_TCP is not set
427# CONFIG_SCSI_DEBUG is not set
428CONFIG_ATA=m
429# CONFIG_ATA_NONSTANDARD is not set
430CONFIG_PATA_AT32=m
431# CONFIG_PATA_PLATFORM is not set
432# CONFIG_MD is not set
433CONFIG_NETDEVICES=y
434# CONFIG_NETDEVICES_MULTIQUEUE is not set
435# CONFIG_DUMMY is not set
436# CONFIG_BONDING is not set
437# CONFIG_MACVLAN is not set
438# CONFIG_EQUALIZER is not set
439# CONFIG_TUN is not set
440# CONFIG_VETH is not set
441# CONFIG_NET_ETHERNET is not set
442# CONFIG_NETDEV_1000 is not set
443# CONFIG_NETDEV_10000 is not set
444
445#
446# Wireless LAN
447#
448# CONFIG_WLAN_PRE80211 is not set
449# CONFIG_WLAN_80211 is not set
450# CONFIG_WAN is not set
451CONFIG_PPP=m
452# CONFIG_PPP_MULTILINK is not set
453# CONFIG_PPP_FILTER is not set
454CONFIG_PPP_ASYNC=m
455# CONFIG_PPP_SYNC_TTY is not set
456CONFIG_PPP_DEFLATE=m
457CONFIG_PPP_BSDCOMP=m
458# CONFIG_PPP_MPPE is not set
459# CONFIG_PPPOE is not set
460# CONFIG_PPPOL2TP is not set
461# CONFIG_SLIP is not set
462CONFIG_SLHC=m
463# CONFIG_SHAPER is not set
464# CONFIG_NETCONSOLE is not set
465# CONFIG_NETPOLL is not set
466# CONFIG_NET_POLL_CONTROLLER is not set
467# CONFIG_ISDN is not set
468# CONFIG_PHONE is not set
469
470#
471# Input device support
472#
473CONFIG_INPUT=m
474# CONFIG_INPUT_FF_MEMLESS is not set
475CONFIG_INPUT_POLLDEV=m
476
477#
478# Userland interfaces
479#
480CONFIG_INPUT_MOUSEDEV=m
481CONFIG_INPUT_MOUSEDEV_PSAUX=y
482CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
483CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
484# CONFIG_INPUT_JOYDEV is not set
485# CONFIG_INPUT_EVDEV is not set
486# CONFIG_INPUT_EVBUG is not set
487
488#
489# Input Device Drivers
490#
491CONFIG_INPUT_KEYBOARD=y
492# CONFIG_KEYBOARD_ATKBD is not set
493# CONFIG_KEYBOARD_SUNKBD is not set
494# CONFIG_KEYBOARD_LKKBD is not set
495# CONFIG_KEYBOARD_XTKBD is not set
496# CONFIG_KEYBOARD_NEWTON is not set
497# CONFIG_KEYBOARD_STOWAWAY is not set
498CONFIG_KEYBOARD_GPIO=m
499CONFIG_INPUT_MOUSE=y
500# CONFIG_MOUSE_PS2 is not set
501# CONFIG_MOUSE_SERIAL is not set
502# CONFIG_MOUSE_VSXXXAA is not set
503CONFIG_MOUSE_GPIO=m
504# CONFIG_INPUT_JOYSTICK is not set
505# CONFIG_INPUT_TABLET is not set
506# CONFIG_INPUT_TOUCHSCREEN is not set
507# CONFIG_INPUT_MISC is not set
508
509#
510# Hardware I/O ports
511#
512# CONFIG_SERIO is not set
513# CONFIG_GAMEPORT is not set
514
515#
516# Character devices
517#
518# CONFIG_VT is not set
519# CONFIG_SERIAL_NONSTANDARD is not set
520
521#
522# Serial drivers
523#
524# CONFIG_SERIAL_8250 is not set
525
526#
527# Non-8250 serial port support
528#
529CONFIG_SERIAL_ATMEL=y
530CONFIG_SERIAL_ATMEL_CONSOLE=y
531# CONFIG_SERIAL_ATMEL_TTYAT is not set
532CONFIG_SERIAL_CORE=y
533CONFIG_SERIAL_CORE_CONSOLE=y
534CONFIG_UNIX98_PTYS=y
535# CONFIG_LEGACY_PTYS is not set
536# CONFIG_IPMI_HANDLER is not set
537# CONFIG_HW_RANDOM is not set
538# CONFIG_RTC is not set
539# CONFIG_GEN_RTC is not set
540# CONFIG_R3964 is not set
541# CONFIG_RAW_DRIVER is not set
542# CONFIG_TCG_TPM is not set
543CONFIG_I2C=m
544CONFIG_I2C_BOARDINFO=y
545CONFIG_I2C_CHARDEV=m
546
547#
548# I2C Algorithms
549#
550CONFIG_I2C_ALGOBIT=m
551# CONFIG_I2C_ALGOPCF is not set
552# CONFIG_I2C_ALGOPCA is not set
553
554#
555# I2C Hardware Bus support
556#
557CONFIG_I2C_GPIO=m
558# CONFIG_I2C_OCORES is not set
559# CONFIG_I2C_PARPORT_LIGHT is not set
560# CONFIG_I2C_SIMTEC is not set
561# CONFIG_I2C_TAOS_EVM is not set
562# CONFIG_I2C_STUB is not set
563
564#
565# Miscellaneous I2C Chip support
566#
567# CONFIG_SENSORS_DS1337 is not set
568# CONFIG_SENSORS_DS1374 is not set
569# CONFIG_DS1682 is not set
570# CONFIG_SENSORS_EEPROM is not set
571# CONFIG_SENSORS_PCF8574 is not set
572# CONFIG_SENSORS_PCA9539 is not set
573# CONFIG_SENSORS_PCF8591 is not set
574# CONFIG_SENSORS_MAX6875 is not set
575# CONFIG_SENSORS_TSL2550 is not set
576# CONFIG_I2C_DEBUG_CORE is not set
577# CONFIG_I2C_DEBUG_ALGO is not set
578# CONFIG_I2C_DEBUG_BUS is not set
579# CONFIG_I2C_DEBUG_CHIP is not set
580
581#
582# SPI support
583#
584CONFIG_SPI=y
585# CONFIG_SPI_DEBUG is not set
586CONFIG_SPI_MASTER=y
587
588#
589# SPI Master Controller Drivers
590#
591CONFIG_SPI_ATMEL=y
592# CONFIG_SPI_BITBANG is not set
593
594#
595# SPI Protocol Masters
596#
597# CONFIG_SPI_AT25 is not set
598CONFIG_SPI_SPIDEV=m
599# CONFIG_SPI_TLE62X0 is not set
600# CONFIG_W1 is not set
601# CONFIG_POWER_SUPPLY is not set
602# CONFIG_HWMON is not set
603CONFIG_WATCHDOG=y
604# CONFIG_WATCHDOG_NOWAYOUT is not set
605
606#
607# Watchdog Device Drivers
608#
609# CONFIG_SOFT_WATCHDOG is not set
610CONFIG_AT32AP700X_WDT=y
611
612#
613# Sonics Silicon Backplane
614#
615CONFIG_SSB_POSSIBLE=y
616# CONFIG_SSB is not set
617
618#
619# Multifunction device drivers
620#
621# CONFIG_MFD_SM501 is not set
622
623#
624# Multimedia devices
625#
626# CONFIG_VIDEO_DEV is not set
627# CONFIG_DVB_CORE is not set
628# CONFIG_DAB is not set
629
630#
631# Graphics support
632#
633# CONFIG_VGASTATE is not set
634# CONFIG_VIDEO_OUTPUT_CONTROL is not set
635# CONFIG_FB is not set
636# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
637
638#
639# Display device support
640#
641# CONFIG_DISPLAY_SUPPORT is not set
642
643#
644# Sound
645#
646CONFIG_SOUND=m
647
648#
649# Advanced Linux Sound Architecture
650#
651CONFIG_SND=m
652CONFIG_SND_TIMER=m
653CONFIG_SND_PCM=m
654# CONFIG_SND_SEQUENCER is not set
655CONFIG_SND_OSSEMUL=y
656CONFIG_SND_MIXER_OSS=m
657CONFIG_SND_PCM_OSS=m
658CONFIG_SND_PCM_OSS_PLUGINS=y
659# CONFIG_SND_DYNAMIC_MINORS is not set
660CONFIG_SND_SUPPORT_OLD_API=y
661CONFIG_SND_VERBOSE_PROCFS=y
662# CONFIG_SND_VERBOSE_PRINTK is not set
663# CONFIG_SND_DEBUG is not set
664
665#
666# Generic devices
667#
668# CONFIG_SND_DUMMY is not set
669# CONFIG_SND_MTPAV is not set
670# CONFIG_SND_SERIAL_U16550 is not set
671# CONFIG_SND_MPU401 is not set
672
673#
674# SPI devices
675#
676CONFIG_SND_AT73C213=m
677CONFIG_SND_AT73C213_TARGET_BITRATE=48000
678
679#
680# System on Chip audio support
681#
682# CONFIG_SND_SOC is not set
683
684#
685# SoC Audio support for SuperH
686#
687
688#
689# Open Sound System
690#
691# CONFIG_SOUND_PRIME is not set
692# CONFIG_HID_SUPPORT is not set
693CONFIG_USB_SUPPORT=y
694# CONFIG_USB_ARCH_HAS_HCD is not set
695# CONFIG_USB_ARCH_HAS_OHCI is not set
696# CONFIG_USB_ARCH_HAS_EHCI is not set
697
698#
699# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
700#
701
702#
703# USB Gadget Support
704#
705CONFIG_USB_GADGET=y
706# CONFIG_USB_GADGET_DEBUG is not set
707# CONFIG_USB_GADGET_DEBUG_FILES is not set
708CONFIG_USB_GADGET_DEBUG_FS=y
709CONFIG_USB_GADGET_SELECTED=y
710# CONFIG_USB_GADGET_AMD5536UDC is not set
711CONFIG_USB_GADGET_ATMEL_USBA=y
712CONFIG_USB_ATMEL_USBA=y
713# CONFIG_USB_GADGET_FSL_USB2 is not set
714# CONFIG_USB_GADGET_NET2280 is not set
715# CONFIG_USB_GADGET_PXA2XX is not set
716# CONFIG_USB_GADGET_M66592 is not set
717# CONFIG_USB_GADGET_GOKU is not set
718# CONFIG_USB_GADGET_LH7A40X is not set
719# CONFIG_USB_GADGET_OMAP is not set
720# CONFIG_USB_GADGET_S3C2410 is not set
721# CONFIG_USB_GADGET_AT91 is not set
722# CONFIG_USB_GADGET_DUMMY_HCD is not set
723CONFIG_USB_GADGET_DUALSPEED=y
724CONFIG_USB_ZERO=m
725CONFIG_USB_ETH=m
726CONFIG_USB_ETH_RNDIS=y
727CONFIG_USB_GADGETFS=m
728CONFIG_USB_FILE_STORAGE=m
729# CONFIG_USB_FILE_STORAGE_TEST is not set
730CONFIG_USB_G_SERIAL=m
731# CONFIG_USB_MIDI_GADGET is not set
732CONFIG_MMC=m
733# CONFIG_MMC_DEBUG is not set
734# CONFIG_MMC_UNSAFE_RESUME is not set
735
736#
737# MMC/SD Card Drivers
738#
739CONFIG_MMC_BLOCK=m
740# CONFIG_MMC_BLOCK_BOUNCE is not set
741# CONFIG_SDIO_UART is not set
742
743#
744# MMC/SD Host Controller Drivers
745#
746CONFIG_MMC_SPI=m
747CONFIG_NEW_LEDS=y
748CONFIG_LEDS_CLASS=y
749
750#
751# LED drivers
752#
753CONFIG_LEDS_GPIO=y
754
755#
756# LED Triggers
757#
758CONFIG_LEDS_TRIGGERS=y
759CONFIG_LEDS_TRIGGER_TIMER=y
760CONFIG_LEDS_TRIGGER_HEARTBEAT=y
761CONFIG_RTC_LIB=y
762CONFIG_RTC_CLASS=y
763CONFIG_RTC_HCTOSYS=y
764CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
765# CONFIG_RTC_DEBUG is not set
766
767#
768# RTC interfaces
769#
770CONFIG_RTC_INTF_SYSFS=y
771CONFIG_RTC_INTF_PROC=y
772CONFIG_RTC_INTF_DEV=y
773# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
774# CONFIG_RTC_DRV_TEST is not set
775
776#
777# I2C RTC drivers
778#
779# CONFIG_RTC_DRV_DS1307 is not set
780# CONFIG_RTC_DRV_DS1374 is not set
781# CONFIG_RTC_DRV_DS1672 is not set
782# CONFIG_RTC_DRV_MAX6900 is not set
783# CONFIG_RTC_DRV_RS5C372 is not set
784# CONFIG_RTC_DRV_ISL1208 is not set
785# CONFIG_RTC_DRV_X1205 is not set
786# CONFIG_RTC_DRV_PCF8563 is not set
787# CONFIG_RTC_DRV_PCF8583 is not set
788# CONFIG_RTC_DRV_M41T80 is not set
789
790#
791# SPI RTC drivers
792#
793# CONFIG_RTC_DRV_RS5C348 is not set
794# CONFIG_RTC_DRV_MAX6902 is not set
795
796#
797# Platform RTC drivers
798#
799# CONFIG_RTC_DRV_DS1553 is not set
800# CONFIG_RTC_DRV_STK17TA8 is not set
801# CONFIG_RTC_DRV_DS1742 is not set
802# CONFIG_RTC_DRV_M48T86 is not set
803# CONFIG_RTC_DRV_M48T59 is not set
804# CONFIG_RTC_DRV_V3020 is not set
805
806#
807# on-CPU RTC drivers
808#
809CONFIG_RTC_DRV_AT32AP700X=y
810
811#
812# Userspace I/O
813#
814CONFIG_UIO=m
815
816#
817# File systems
818#
819CONFIG_EXT2_FS=m
820# CONFIG_EXT2_FS_XATTR is not set
821# CONFIG_EXT2_FS_XIP is not set
822CONFIG_EXT3_FS=m
823# CONFIG_EXT3_FS_XATTR is not set
824# CONFIG_EXT4DEV_FS is not set
825CONFIG_JBD=m
826# CONFIG_JBD_DEBUG is not set
827# CONFIG_REISERFS_FS is not set
828# CONFIG_JFS_FS is not set
829# CONFIG_FS_POSIX_ACL is not set
830# CONFIG_XFS_FS is not set
831# CONFIG_GFS2_FS is not set
832# CONFIG_OCFS2_FS is not set
833# CONFIG_MINIX_FS is not set
834# CONFIG_ROMFS_FS is not set
835CONFIG_INOTIFY=y
836CONFIG_INOTIFY_USER=y
837# CONFIG_QUOTA is not set
838# CONFIG_DNOTIFY is not set
839# CONFIG_AUTOFS_FS is not set
840# CONFIG_AUTOFS4_FS is not set
841CONFIG_FUSE_FS=m
842
843#
844# CD-ROM/DVD Filesystems
845#
846# CONFIG_ISO9660_FS is not set
847# CONFIG_UDF_FS is not set
848
849#
850# DOS/FAT/NT Filesystems
851#
852CONFIG_FAT_FS=m
853CONFIG_MSDOS_FS=m
854CONFIG_VFAT_FS=m
855CONFIG_FAT_DEFAULT_CODEPAGE=437
856CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
857# CONFIG_NTFS_FS is not set
858
859#
860# Pseudo filesystems
861#
862CONFIG_PROC_FS=y
863CONFIG_PROC_KCORE=y
864CONFIG_PROC_SYSCTL=y
865CONFIG_SYSFS=y
866CONFIG_TMPFS=y
867# CONFIG_TMPFS_POSIX_ACL is not set
868# CONFIG_HUGETLB_PAGE is not set
869CONFIG_CONFIGFS_FS=m
870
871#
872# Miscellaneous filesystems
873#
874# CONFIG_ADFS_FS is not set
875# CONFIG_AFFS_FS is not set
876# CONFIG_HFS_FS is not set
877# CONFIG_HFSPLUS_FS is not set
878# CONFIG_BEFS_FS is not set
879# CONFIG_BFS_FS is not set
880# CONFIG_EFS_FS is not set
881CONFIG_JFFS2_FS=y
882CONFIG_JFFS2_FS_DEBUG=0
883CONFIG_JFFS2_FS_WRITEBUFFER=y
884# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
885# CONFIG_JFFS2_SUMMARY is not set
886# CONFIG_JFFS2_FS_XATTR is not set
887# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
888CONFIG_JFFS2_ZLIB=y
889# CONFIG_JFFS2_LZO is not set
890CONFIG_JFFS2_RTIME=y
891# CONFIG_JFFS2_RUBIN is not set
892# CONFIG_CRAMFS is not set
893# CONFIG_VXFS_FS is not set
894# CONFIG_HPFS_FS is not set
895# CONFIG_QNX4FS_FS is not set
896# CONFIG_SYSV_FS is not set
897# CONFIG_UFS_FS is not set
898# CONFIG_NETWORK_FILESYSTEMS is not set
899
900#
901# Partition Types
902#
903# CONFIG_PARTITION_ADVANCED is not set
904CONFIG_MSDOS_PARTITION=y
905CONFIG_NLS=m
906CONFIG_NLS_DEFAULT="iso8859-1"
907CONFIG_NLS_CODEPAGE_437=m
908# CONFIG_NLS_CODEPAGE_737 is not set
909# CONFIG_NLS_CODEPAGE_775 is not set
910# CONFIG_NLS_CODEPAGE_850 is not set
911# CONFIG_NLS_CODEPAGE_852 is not set
912# CONFIG_NLS_CODEPAGE_855 is not set
913# CONFIG_NLS_CODEPAGE_857 is not set
914# CONFIG_NLS_CODEPAGE_860 is not set
915# CONFIG_NLS_CODEPAGE_861 is not set
916# CONFIG_NLS_CODEPAGE_862 is not set
917# CONFIG_NLS_CODEPAGE_863 is not set
918# CONFIG_NLS_CODEPAGE_864 is not set
919# CONFIG_NLS_CODEPAGE_865 is not set
920# CONFIG_NLS_CODEPAGE_866 is not set
921# CONFIG_NLS_CODEPAGE_869 is not set
922# CONFIG_NLS_CODEPAGE_936 is not set
923# CONFIG_NLS_CODEPAGE_950 is not set
924# CONFIG_NLS_CODEPAGE_932 is not set
925# CONFIG_NLS_CODEPAGE_949 is not set
926# CONFIG_NLS_CODEPAGE_874 is not set
927# CONFIG_NLS_ISO8859_8 is not set
928# CONFIG_NLS_CODEPAGE_1250 is not set
929# CONFIG_NLS_CODEPAGE_1251 is not set
930# CONFIG_NLS_ASCII is not set
931CONFIG_NLS_ISO8859_1=m
932# CONFIG_NLS_ISO8859_2 is not set
933# CONFIG_NLS_ISO8859_3 is not set
934# CONFIG_NLS_ISO8859_4 is not set
935# CONFIG_NLS_ISO8859_5 is not set
936# CONFIG_NLS_ISO8859_6 is not set
937# CONFIG_NLS_ISO8859_7 is not set
938# CONFIG_NLS_ISO8859_9 is not set
939# CONFIG_NLS_ISO8859_13 is not set
940# CONFIG_NLS_ISO8859_14 is not set
941# CONFIG_NLS_ISO8859_15 is not set
942# CONFIG_NLS_KOI8_R is not set
943# CONFIG_NLS_KOI8_U is not set
944CONFIG_NLS_UTF8=m
945# CONFIG_DLM is not set
946CONFIG_INSTRUMENTATION=y
947CONFIG_PROFILING=y
948CONFIG_OPROFILE=m
949CONFIG_KPROBES=y
950# CONFIG_MARKERS is not set
951
952#
953# Kernel hacking
954#
955# CONFIG_PRINTK_TIME is not set
956CONFIG_ENABLE_WARN_DEPRECATED=y
957CONFIG_ENABLE_MUST_CHECK=y
958CONFIG_MAGIC_SYSRQ=y
959# CONFIG_UNUSED_SYMBOLS is not set
960CONFIG_DEBUG_FS=y
961# CONFIG_HEADERS_CHECK is not set
962CONFIG_DEBUG_KERNEL=y
963# CONFIG_DEBUG_SHIRQ is not set
964CONFIG_DETECT_SOFTLOCKUP=y
965CONFIG_SCHED_DEBUG=y
966# CONFIG_SCHEDSTATS is not set
967# CONFIG_TIMER_STATS is not set
968# CONFIG_DEBUG_RT_MUTEXES is not set
969# CONFIG_RT_MUTEX_TESTER is not set
970# CONFIG_DEBUG_SPINLOCK is not set
971# CONFIG_DEBUG_MUTEXES is not set
972# CONFIG_DEBUG_LOCK_ALLOC is not set
973# CONFIG_PROVE_LOCKING is not set
974# CONFIG_LOCK_STAT is not set
975# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
976# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
977# CONFIG_DEBUG_KOBJECT is not set
978CONFIG_DEBUG_BUGVERBOSE=y
979# CONFIG_DEBUG_INFO is not set
980# CONFIG_DEBUG_VM is not set
981# CONFIG_DEBUG_LIST is not set
982# CONFIG_DEBUG_SG is not set
983CONFIG_FRAME_POINTER=y
984CONFIG_FORCED_INLINING=y
985# CONFIG_BOOT_PRINTK_DELAY is not set
986# CONFIG_RCU_TORTURE_TEST is not set
987# CONFIG_LKDTM is not set
988# CONFIG_FAULT_INJECTION is not set
989# CONFIG_SAMPLES is not set
990
991#
992# Security options
993#
994# CONFIG_KEYS is not set
995# CONFIG_SECURITY is not set
996# CONFIG_SECURITY_FILE_CAPABILITIES is not set
997# CONFIG_CRYPTO is not set
998
999#
1000# Library routines
1001#
1002CONFIG_BITREVERSE=y
1003CONFIG_CRC_CCITT=m
1004# CONFIG_CRC16 is not set
1005CONFIG_CRC_ITU_T=m
1006CONFIG_CRC32=y
1007CONFIG_CRC7=m
1008# CONFIG_LIBCRC32C is not set
1009CONFIG_AUDIT_GENERIC=y
1010CONFIG_ZLIB_INFLATE=y
1011CONFIG_ZLIB_DEFLATE=y
1012CONFIG_PLIST=y
1013CONFIG_HAS_IOMEM=y
1014CONFIG_HAS_IOPORT=y
1015CONFIG_HAS_DMA=y
diff --git a/arch/avr32/configs/atstk1004_defconfig b/arch/avr32/configs/atstk1004_defconfig
new file mode 100644
index 000000000000..634c52760349
--- /dev/null
+++ b/arch/avr32/configs/atstk1004_defconfig
@@ -0,0 +1,621 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc7
4# Wed Jan 9 23:04:20 2008
5#
6CONFIG_AVR32=y
7CONFIG_GENERIC_GPIO=y
8CONFIG_GENERIC_HARDIRQS=y
9CONFIG_STACKTRACE_SUPPORT=y
10CONFIG_LOCKDEP_SUPPORT=y
11CONFIG_TRACE_IRQFLAGS_SUPPORT=y
12CONFIG_HARDIRQS_SW_RESEND=y
13CONFIG_GENERIC_IRQ_PROBE=y
14CONFIG_RWSEM_GENERIC_SPINLOCK=y
15CONFIG_GENERIC_TIME=y
16# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_ARCH_SUPPORTS_OPROFILE=y
20CONFIG_GENERIC_HWEIGHT=y
21CONFIG_GENERIC_CALIBRATE_DELAY=y
22CONFIG_GENERIC_BUG=y
23CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
24
25#
26# General setup
27#
28CONFIG_EXPERIMENTAL=y
29CONFIG_BROKEN_ON_SMP=y
30CONFIG_INIT_ENV_ARG_LIMIT=32
31CONFIG_LOCALVERSION=""
32# CONFIG_LOCALVERSION_AUTO is not set
33# CONFIG_SYSVIPC is not set
34# CONFIG_POSIX_MQUEUE is not set
35# CONFIG_BSD_PROCESS_ACCT is not set
36# CONFIG_TASKSTATS is not set
37# CONFIG_USER_NS is not set
38# CONFIG_PID_NS is not set
39# CONFIG_AUDIT is not set
40# CONFIG_IKCONFIG is not set
41CONFIG_LOG_BUF_SHIFT=14
42# CONFIG_CGROUPS is not set
43# CONFIG_FAIR_GROUP_SCHED is not set
44CONFIG_SYSFS_DEPRECATED=y
45# CONFIG_RELAY is not set
46# CONFIG_BLK_DEV_INITRD is not set
47CONFIG_CC_OPTIMIZE_FOR_SIZE=y
48CONFIG_SYSCTL=y
49CONFIG_EMBEDDED=y
50# CONFIG_SYSCTL_SYSCALL is not set
51CONFIG_KALLSYMS=y
52# CONFIG_KALLSYMS_EXTRA_PASS is not set
53CONFIG_HOTPLUG=y
54CONFIG_PRINTK=y
55CONFIG_BUG=y
56CONFIG_ELF_CORE=y
57# CONFIG_BASE_FULL is not set
58# CONFIG_FUTEX is not set
59# CONFIG_EPOLL is not set
60# CONFIG_SIGNALFD is not set
61# CONFIG_EVENTFD is not set
62CONFIG_SHMEM=y
63CONFIG_VM_EVENT_COUNTERS=y
64# CONFIG_SLAB is not set
65# CONFIG_SLUB is not set
66CONFIG_SLOB=y
67# CONFIG_TINY_SHMEM is not set
68CONFIG_BASE_SMALL=1
69# CONFIG_MODULES is not set
70# CONFIG_BLOCK is not set
71
72#
73# System Type and features
74#
75CONFIG_SUBARCH_AVR32B=y
76CONFIG_MMU=y
77CONFIG_PERFORMANCE_COUNTERS=y
78CONFIG_PLATFORM_AT32AP=y
79CONFIG_CPU_AT32AP700X=y
80CONFIG_CPU_AT32AP7002=y
81CONFIG_BOARD_ATSTK1000=y
82# CONFIG_BOARD_ATNGW100 is not set
83# CONFIG_BOARD_ATSTK1002 is not set
84# CONFIG_BOARD_ATSTK1003 is not set
85CONFIG_BOARD_ATSTK1004=y
86# CONFIG_BOARD_ATSTK100X_CUSTOM is not set
87# CONFIG_BOARD_ATSTK100X_SPI1 is not set
88# CONFIG_BOARD_ATSTK1000_J2_LED is not set
89CONFIG_BOARD_ATSTK1000_EXTDAC=y
90CONFIG_LOADER_U_BOOT=y
91
92#
93# Atmel AVR32 AP options
94#
95# CONFIG_AP700X_32_BIT_SMC is not set
96CONFIG_AP700X_16_BIT_SMC=y
97# CONFIG_AP700X_8_BIT_SMC is not set
98CONFIG_LOAD_ADDRESS=0x10000000
99CONFIG_ENTRY_ADDRESS=0x90000000
100CONFIG_PHYS_OFFSET=0x10000000
101CONFIG_PREEMPT_NONE=y
102# CONFIG_PREEMPT_VOLUNTARY is not set
103# CONFIG_PREEMPT is not set
104# CONFIG_HAVE_ARCH_BOOTMEM_NODE is not set
105# CONFIG_ARCH_HAVE_MEMORY_PRESENT is not set
106# CONFIG_NEED_NODE_MEMMAP_SIZE is not set
107CONFIG_ARCH_FLATMEM_ENABLE=y
108# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set
109# CONFIG_ARCH_SPARSEMEM_ENABLE is not set
110CONFIG_SELECT_MEMORY_MODEL=y
111CONFIG_FLATMEM_MANUAL=y
112# CONFIG_DISCONTIGMEM_MANUAL is not set
113# CONFIG_SPARSEMEM_MANUAL is not set
114CONFIG_FLATMEM=y
115CONFIG_FLAT_NODE_MEM_MAP=y
116# CONFIG_SPARSEMEM_STATIC is not set
117# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
118CONFIG_SPLIT_PTLOCK_CPUS=4
119# CONFIG_RESOURCES_64BIT is not set
120CONFIG_ZONE_DMA_FLAG=0
121CONFIG_VIRT_TO_BUS=y
122# CONFIG_OWNERSHIP_TRACE is not set
123# CONFIG_HZ_100 is not set
124CONFIG_HZ_250=y
125# CONFIG_HZ_300 is not set
126# CONFIG_HZ_1000 is not set
127CONFIG_HZ=250
128CONFIG_CMDLINE=""
129
130#
131# Power management options
132#
133
134#
135# CPU Frequency scaling
136#
137CONFIG_CPU_FREQ=y
138CONFIG_CPU_FREQ_TABLE=y
139# CONFIG_CPU_FREQ_DEBUG is not set
140# CONFIG_CPU_FREQ_STAT is not set
141CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
142# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
143# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
144# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
145CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
146# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
147CONFIG_CPU_FREQ_GOV_USERSPACE=y
148CONFIG_CPU_FREQ_GOV_ONDEMAND=y
149# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
150CONFIG_CPU_FREQ_AT32AP=y
151
152#
153# Bus options
154#
155# CONFIG_ARCH_SUPPORTS_MSI is not set
156# CONFIG_PCCARD is not set
157
158#
159# Executable file formats
160#
161CONFIG_BINFMT_ELF=y
162# CONFIG_BINFMT_MISC is not set
163
164#
165# Networking
166#
167CONFIG_NET=y
168
169#
170# Networking options
171#
172CONFIG_PACKET=y
173CONFIG_PACKET_MMAP=y
174CONFIG_UNIX=y
175# CONFIG_NET_KEY is not set
176CONFIG_INET=y
177# CONFIG_IP_MULTICAST is not set
178# CONFIG_IP_ADVANCED_ROUTER is not set
179CONFIG_IP_FIB_HASH=y
180# CONFIG_IP_PNP is not set
181# CONFIG_NET_IPIP is not set
182# CONFIG_NET_IPGRE is not set
183# CONFIG_ARPD is not set
184# CONFIG_SYN_COOKIES is not set
185# CONFIG_INET_AH is not set
186# CONFIG_INET_ESP is not set
187# CONFIG_INET_IPCOMP is not set
188# CONFIG_INET_XFRM_TUNNEL is not set
189# CONFIG_INET_TUNNEL is not set
190# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
191# CONFIG_INET_XFRM_MODE_TUNNEL is not set
192# CONFIG_INET_XFRM_MODE_BEET is not set
193# CONFIG_INET_LRO is not set
194# CONFIG_INET_DIAG is not set
195# CONFIG_TCP_CONG_ADVANCED is not set
196CONFIG_TCP_CONG_CUBIC=y
197CONFIG_DEFAULT_TCP_CONG="cubic"
198# CONFIG_TCP_MD5SIG is not set
199# CONFIG_IPV6 is not set
200# CONFIG_INET6_XFRM_TUNNEL is not set
201# CONFIG_INET6_TUNNEL is not set
202# CONFIG_NETWORK_SECMARK is not set
203# CONFIG_NETFILTER is not set
204# CONFIG_IP_DCCP is not set
205# CONFIG_IP_SCTP is not set
206# CONFIG_TIPC is not set
207# CONFIG_ATM is not set
208# CONFIG_BRIDGE is not set
209# CONFIG_VLAN_8021Q is not set
210# CONFIG_DECNET is not set
211# CONFIG_LLC2 is not set
212# CONFIG_IPX is not set
213# CONFIG_ATALK is not set
214# CONFIG_X25 is not set
215# CONFIG_LAPB is not set
216# CONFIG_ECONET is not set
217# CONFIG_WAN_ROUTER is not set
218# CONFIG_NET_SCHED is not set
219
220#
221# Network testing
222#
223# CONFIG_NET_PKTGEN is not set
224# CONFIG_HAMRADIO is not set
225# CONFIG_IRDA is not set
226# CONFIG_BT is not set
227# CONFIG_AF_RXRPC is not set
228
229#
230# Wireless
231#
232# CONFIG_CFG80211 is not set
233# CONFIG_WIRELESS_EXT is not set
234# CONFIG_MAC80211 is not set
235# CONFIG_IEEE80211 is not set
236# CONFIG_RFKILL is not set
237# CONFIG_NET_9P is not set
238
239#
240# Device Drivers
241#
242
243#
244# Generic Driver Options
245#
246CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
247CONFIG_STANDALONE=y
248# CONFIG_PREVENT_FIRMWARE_BUILD is not set
249# CONFIG_FW_LOADER is not set
250# CONFIG_SYS_HYPERVISOR is not set
251# CONFIG_CONNECTOR is not set
252CONFIG_MTD=y
253# CONFIG_MTD_DEBUG is not set
254# CONFIG_MTD_CONCAT is not set
255CONFIG_MTD_PARTITIONS=y
256# CONFIG_MTD_REDBOOT_PARTS is not set
257CONFIG_MTD_CMDLINE_PARTS=y
258
259#
260# User Modules And Translation Layers
261#
262CONFIG_MTD_CHAR=y
263# CONFIG_MTD_OOPS is not set
264
265#
266# RAM/ROM/Flash chip drivers
267#
268CONFIG_MTD_CFI=y
269# CONFIG_MTD_JEDECPROBE is not set
270CONFIG_MTD_GEN_PROBE=y
271# CONFIG_MTD_CFI_ADV_OPTIONS is not set
272CONFIG_MTD_MAP_BANK_WIDTH_1=y
273CONFIG_MTD_MAP_BANK_WIDTH_2=y
274CONFIG_MTD_MAP_BANK_WIDTH_4=y
275# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
276# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
277# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
278CONFIG_MTD_CFI_I1=y
279CONFIG_MTD_CFI_I2=y
280# CONFIG_MTD_CFI_I4 is not set
281# CONFIG_MTD_CFI_I8 is not set
282# CONFIG_MTD_CFI_INTELEXT is not set
283CONFIG_MTD_CFI_AMDSTD=y
284# CONFIG_MTD_CFI_STAA is not set
285CONFIG_MTD_CFI_UTIL=y
286# CONFIG_MTD_RAM is not set
287# CONFIG_MTD_ROM is not set
288# CONFIG_MTD_ABSENT is not set
289
290#
291# Mapping drivers for chip access
292#
293# CONFIG_MTD_COMPLEX_MAPPINGS is not set
294CONFIG_MTD_PHYSMAP=y
295CONFIG_MTD_PHYSMAP_START=0x8000000
296CONFIG_MTD_PHYSMAP_LEN=0x0
297CONFIG_MTD_PHYSMAP_BANKWIDTH=2
298# CONFIG_MTD_PLATRAM is not set
299
300#
301# Self-contained MTD device drivers
302#
303# CONFIG_MTD_DATAFLASH is not set
304# CONFIG_MTD_M25P80 is not set
305# CONFIG_MTD_SLRAM is not set
306# CONFIG_MTD_PHRAM is not set
307# CONFIG_MTD_MTDRAM is not set
308
309#
310# Disk-On-Chip Device Drivers
311#
312# CONFIG_MTD_DOC2000 is not set
313# CONFIG_MTD_DOC2001 is not set
314# CONFIG_MTD_DOC2001PLUS is not set
315# CONFIG_MTD_NAND is not set
316# CONFIG_MTD_ONENAND is not set
317
318#
319# UBI - Unsorted block images
320#
321# CONFIG_MTD_UBI is not set
322# CONFIG_PARPORT is not set
323# CONFIG_MISC_DEVICES is not set
324
325#
326# SCSI device support
327#
328# CONFIG_SCSI_DMA is not set
329# CONFIG_SCSI_NETLINK is not set
330# CONFIG_NETDEVICES is not set
331# CONFIG_ISDN is not set
332# CONFIG_PHONE is not set
333
334#
335# Input device support
336#
337# CONFIG_INPUT is not set
338
339#
340# Hardware I/O ports
341#
342# CONFIG_SERIO is not set
343# CONFIG_GAMEPORT is not set
344
345#
346# Character devices
347#
348# CONFIG_VT is not set
349# CONFIG_SERIAL_NONSTANDARD is not set
350
351#
352# Serial drivers
353#
354# CONFIG_SERIAL_8250 is not set
355
356#
357# Non-8250 serial port support
358#
359CONFIG_SERIAL_ATMEL=y
360CONFIG_SERIAL_ATMEL_CONSOLE=y
361# CONFIG_SERIAL_ATMEL_TTYAT is not set
362CONFIG_SERIAL_CORE=y
363CONFIG_SERIAL_CORE_CONSOLE=y
364CONFIG_UNIX98_PTYS=y
365# CONFIG_LEGACY_PTYS is not set
366# CONFIG_IPMI_HANDLER is not set
367# CONFIG_HW_RANDOM is not set
368# CONFIG_RTC is not set
369# CONFIG_GEN_RTC is not set
370# CONFIG_R3964 is not set
371# CONFIG_TCG_TPM is not set
372# CONFIG_I2C is not set
373
374#
375# SPI support
376#
377CONFIG_SPI=y
378CONFIG_SPI_MASTER=y
379
380#
381# SPI Master Controller Drivers
382#
383CONFIG_SPI_ATMEL=y
384# CONFIG_SPI_BITBANG is not set
385
386#
387# SPI Protocol Masters
388#
389# CONFIG_SPI_AT25 is not set
390# CONFIG_SPI_SPIDEV is not set
391# CONFIG_SPI_TLE62X0 is not set
392# CONFIG_W1 is not set
393# CONFIG_POWER_SUPPLY is not set
394# CONFIG_HWMON is not set
395CONFIG_WATCHDOG=y
396# CONFIG_WATCHDOG_NOWAYOUT is not set
397
398#
399# Watchdog Device Drivers
400#
401# CONFIG_SOFT_WATCHDOG is not set
402CONFIG_AT32AP700X_WDT=y
403
404#
405# Sonics Silicon Backplane
406#
407CONFIG_SSB_POSSIBLE=y
408# CONFIG_SSB is not set
409
410#
411# Multifunction device drivers
412#
413# CONFIG_MFD_SM501 is not set
414
415#
416# Multimedia devices
417#
418# CONFIG_VIDEO_DEV is not set
419# CONFIG_DVB_CORE is not set
420# CONFIG_DAB is not set
421
422#
423# Graphics support
424#
425# CONFIG_VGASTATE is not set
426# CONFIG_VIDEO_OUTPUT_CONTROL is not set
427CONFIG_FB=y
428# CONFIG_FIRMWARE_EDID is not set
429# CONFIG_FB_DDC is not set
430CONFIG_FB_CFB_FILLRECT=y
431CONFIG_FB_CFB_COPYAREA=y
432CONFIG_FB_CFB_IMAGEBLIT=y
433# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
434# CONFIG_FB_SYS_FILLRECT is not set
435# CONFIG_FB_SYS_COPYAREA is not set
436# CONFIG_FB_SYS_IMAGEBLIT is not set
437# CONFIG_FB_SYS_FOPS is not set
438CONFIG_FB_DEFERRED_IO=y
439# CONFIG_FB_SVGALIB is not set
440# CONFIG_FB_MACMODES is not set
441# CONFIG_FB_BACKLIGHT is not set
442# CONFIG_FB_MODE_HELPERS is not set
443# CONFIG_FB_TILEBLITTING is not set
444
445#
446# Frame buffer hardware drivers
447#
448# CONFIG_FB_S1D13XXX is not set
449CONFIG_FB_ATMEL=y
450# CONFIG_FB_VIRTUAL is not set
451CONFIG_BACKLIGHT_LCD_SUPPORT=y
452CONFIG_LCD_CLASS_DEVICE=y
453CONFIG_LCD_LTV350QV=y
454# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
455
456#
457# Display device support
458#
459# CONFIG_DISPLAY_SUPPORT is not set
460# CONFIG_LOGO is not set
461
462#
463# Sound
464#
465# CONFIG_SOUND is not set
466CONFIG_USB_SUPPORT=y
467# CONFIG_USB_ARCH_HAS_HCD is not set
468# CONFIG_USB_ARCH_HAS_OHCI is not set
469# CONFIG_USB_ARCH_HAS_EHCI is not set
470
471#
472# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
473#
474
475#
476# USB Gadget Support
477#
478CONFIG_USB_GADGET=y
479# CONFIG_USB_GADGET_DEBUG_FILES is not set
480CONFIG_USB_GADGET_SELECTED=y
481# CONFIG_USB_GADGET_AMD5536UDC is not set
482CONFIG_USB_GADGET_ATMEL_USBA=y
483CONFIG_USB_ATMEL_USBA=y
484# CONFIG_USB_GADGET_FSL_USB2 is not set
485# CONFIG_USB_GADGET_NET2280 is not set
486# CONFIG_USB_GADGET_PXA2XX is not set
487# CONFIG_USB_GADGET_M66592 is not set
488# CONFIG_USB_GADGET_GOKU is not set
489# CONFIG_USB_GADGET_LH7A40X is not set
490# CONFIG_USB_GADGET_OMAP is not set
491# CONFIG_USB_GADGET_S3C2410 is not set
492# CONFIG_USB_GADGET_AT91 is not set
493# CONFIG_USB_GADGET_DUMMY_HCD is not set
494CONFIG_USB_GADGET_DUALSPEED=y
495# CONFIG_USB_ZERO is not set
496CONFIG_USB_ETH=y
497# CONFIG_USB_ETH_RNDIS is not set
498# CONFIG_USB_GADGETFS is not set
499# CONFIG_USB_FILE_STORAGE is not set
500# CONFIG_USB_G_SERIAL is not set
501# CONFIG_USB_MIDI_GADGET is not set
502# CONFIG_MMC is not set
503# CONFIG_NEW_LEDS is not set
504CONFIG_RTC_LIB=y
505CONFIG_RTC_CLASS=y
506CONFIG_RTC_HCTOSYS=y
507CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
508# CONFIG_RTC_DEBUG is not set
509
510#
511# RTC interfaces
512#
513CONFIG_RTC_INTF_SYSFS=y
514# CONFIG_RTC_INTF_PROC is not set
515CONFIG_RTC_INTF_DEV=y
516# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
517# CONFIG_RTC_DRV_TEST is not set
518
519#
520# SPI RTC drivers
521#
522# CONFIG_RTC_DRV_RS5C348 is not set
523# CONFIG_RTC_DRV_MAX6902 is not set
524
525#
526# Platform RTC drivers
527#
528# CONFIG_RTC_DRV_DS1553 is not set
529# CONFIG_RTC_DRV_STK17TA8 is not set
530# CONFIG_RTC_DRV_DS1742 is not set
531# CONFIG_RTC_DRV_M48T86 is not set
532# CONFIG_RTC_DRV_M48T59 is not set
533# CONFIG_RTC_DRV_V3020 is not set
534
535#
536# on-CPU RTC drivers
537#
538CONFIG_RTC_DRV_AT32AP700X=y
539
540#
541# Userspace I/O
542#
543# CONFIG_UIO is not set
544
545#
546# File systems
547#
548# CONFIG_INOTIFY is not set
549# CONFIG_QUOTA is not set
550# CONFIG_DNOTIFY is not set
551# CONFIG_AUTOFS_FS is not set
552# CONFIG_AUTOFS4_FS is not set
553# CONFIG_FUSE_FS is not set
554
555#
556# Pseudo filesystems
557#
558CONFIG_PROC_FS=y
559CONFIG_PROC_KCORE=y
560CONFIG_PROC_SYSCTL=y
561CONFIG_SYSFS=y
562CONFIG_TMPFS=y
563# CONFIG_TMPFS_POSIX_ACL is not set
564# CONFIG_HUGETLB_PAGE is not set
565# CONFIG_CONFIGFS_FS is not set
566
567#
568# Miscellaneous filesystems
569#
570CONFIG_JFFS2_FS=y
571CONFIG_JFFS2_FS_DEBUG=0
572# CONFIG_JFFS2_FS_WRITEBUFFER is not set
573# CONFIG_JFFS2_SUMMARY is not set
574# CONFIG_JFFS2_FS_XATTR is not set
575# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
576CONFIG_JFFS2_ZLIB=y
577# CONFIG_JFFS2_LZO is not set
578CONFIG_JFFS2_RTIME=y
579# CONFIG_JFFS2_RUBIN is not set
580# CONFIG_NETWORK_FILESYSTEMS is not set
581# CONFIG_NLS is not set
582# CONFIG_DLM is not set
583# CONFIG_INSTRUMENTATION is not set
584
585#
586# Kernel hacking
587#
588# CONFIG_PRINTK_TIME is not set
589CONFIG_ENABLE_WARN_DEPRECATED=y
590CONFIG_ENABLE_MUST_CHECK=y
591CONFIG_MAGIC_SYSRQ=y
592# CONFIG_UNUSED_SYMBOLS is not set
593# CONFIG_DEBUG_FS is not set
594# CONFIG_HEADERS_CHECK is not set
595# CONFIG_DEBUG_KERNEL is not set
596# CONFIG_DEBUG_BUGVERBOSE is not set
597# CONFIG_SAMPLES is not set
598
599#
600# Security options
601#
602# CONFIG_KEYS is not set
603# CONFIG_SECURITY is not set
604# CONFIG_SECURITY_FILE_CAPABILITIES is not set
605# CONFIG_CRYPTO is not set
606
607#
608# Library routines
609#
610CONFIG_BITREVERSE=y
611# CONFIG_CRC_CCITT is not set
612# CONFIG_CRC16 is not set
613# CONFIG_CRC_ITU_T is not set
614CONFIG_CRC32=y
615# CONFIG_CRC7 is not set
616# CONFIG_LIBCRC32C is not set
617CONFIG_ZLIB_INFLATE=y
618CONFIG_ZLIB_DEFLATE=y
619CONFIG_HAS_IOMEM=y
620CONFIG_HAS_IOPORT=y
621CONFIG_HAS_DMA=y
diff --git a/arch/avr32/kernel/Makefile b/arch/avr32/kernel/Makefile
index 2d6d48f35f69..e4b6d122b033 100644
--- a/arch/avr32/kernel/Makefile
+++ b/arch/avr32/kernel/Makefile
@@ -6,9 +6,10 @@ extra-y := head.o vmlinux.lds
6 6
7obj-$(CONFIG_SUBARCH_AVR32B) += entry-avr32b.o 7obj-$(CONFIG_SUBARCH_AVR32B) += entry-avr32b.o
8obj-y += syscall_table.o syscall-stubs.o irq.o 8obj-y += syscall_table.o syscall-stubs.o irq.o
9obj-y += setup.o traps.o semaphore.o ptrace.o 9obj-y += setup.o traps.o semaphore.o ocd.o ptrace.o
10obj-y += signal.o sys_avr32.o process.o time.o 10obj-y += signal.o sys_avr32.o process.o time.o
11obj-y += init_task.o switch_to.o cpu.o 11obj-y += init_task.o switch_to.o cpu.o
12obj-$(CONFIG_MODULES) += module.o avr32_ksyms.o 12obj-$(CONFIG_MODULES) += module.o avr32_ksyms.o
13obj-$(CONFIG_KPROBES) += kprobes.o 13obj-$(CONFIG_KPROBES) += kprobes.o
14obj-$(CONFIG_STACKTRACE) += stacktrace.o 14obj-$(CONFIG_STACKTRACE) += stacktrace.o
15obj-$(CONFIG_NMI_DEBUGGING) += nmi_debug.o
diff --git a/arch/avr32/kernel/cpu.c b/arch/avr32/kernel/cpu.c
index 2714cf6452b5..b8409caeb23d 100644
--- a/arch/avr32/kernel/cpu.c
+++ b/arch/avr32/kernel/cpu.c
@@ -13,6 +13,7 @@
13#include <linux/percpu.h> 13#include <linux/percpu.h>
14#include <linux/param.h> 14#include <linux/param.h>
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/clk.h>
16 17
17#include <asm/setup.h> 18#include <asm/setup.h>
18#include <asm/sysreg.h> 19#include <asm/sysreg.h>
@@ -187,9 +188,20 @@ static int __init topology_init(void)
187 188
188subsys_initcall(topology_init); 189subsys_initcall(topology_init);
189 190
191struct chip_id_map {
192 u16 mid;
193 u16 pn;
194 const char *name;
195};
196
197static const struct chip_id_map chip_names[] = {
198 { .mid = 0x1f, .pn = 0x1e82, .name = "AT32AP700x" },
199};
200#define NR_CHIP_NAMES ARRAY_SIZE(chip_names)
201
190static const char *cpu_names[] = { 202static const char *cpu_names[] = {
191 "Morgan", 203 "Morgan",
192 "AP7000", 204 "AP7",
193}; 205};
194#define NR_CPU_NAMES ARRAY_SIZE(cpu_names) 206#define NR_CPU_NAMES ARRAY_SIZE(cpu_names)
195 207
@@ -206,12 +218,32 @@ static const char *mmu_types[] = {
206 "MPU" 218 "MPU"
207}; 219};
208 220
221static const char *cpu_feature_flags[] = {
222 "rmw", "dsp", "simd", "ocd", "perfctr", "java", "fpu",
223};
224
225static const char *get_chip_name(struct avr32_cpuinfo *cpu)
226{
227 unsigned int i;
228 unsigned int mid = avr32_get_manufacturer_id(cpu);
229 unsigned int pn = avr32_get_product_number(cpu);
230
231 for (i = 0; i < NR_CHIP_NAMES; i++) {
232 if (chip_names[i].mid == mid && chip_names[i].pn == pn)
233 return chip_names[i].name;
234 }
235
236 return "(unknown)";
237}
238
209void __init setup_processor(void) 239void __init setup_processor(void)
210{ 240{
211 unsigned long config0, config1; 241 unsigned long config0, config1;
212 unsigned long features; 242 unsigned long features;
213 unsigned cpu_id, cpu_rev, arch_id, arch_rev, mmu_type; 243 unsigned cpu_id, cpu_rev, arch_id, arch_rev, mmu_type;
244 unsigned device_id;
214 unsigned tmp; 245 unsigned tmp;
246 unsigned i;
215 247
216 config0 = sysreg_read(CONFIG0); 248 config0 = sysreg_read(CONFIG0);
217 config1 = sysreg_read(CONFIG1); 249 config1 = sysreg_read(CONFIG1);
@@ -221,11 +253,14 @@ void __init setup_processor(void)
221 arch_rev = SYSREG_BFEXT(AR, config0); 253 arch_rev = SYSREG_BFEXT(AR, config0);
222 mmu_type = SYSREG_BFEXT(MMUT, config0); 254 mmu_type = SYSREG_BFEXT(MMUT, config0);
223 255
256 device_id = ocd_read(DID);
257
224 boot_cpu_data.arch_type = arch_id; 258 boot_cpu_data.arch_type = arch_id;
225 boot_cpu_data.cpu_type = cpu_id; 259 boot_cpu_data.cpu_type = cpu_id;
226 boot_cpu_data.arch_revision = arch_rev; 260 boot_cpu_data.arch_revision = arch_rev;
227 boot_cpu_data.cpu_revision = cpu_rev; 261 boot_cpu_data.cpu_revision = cpu_rev;
228 boot_cpu_data.tlb_config = mmu_type; 262 boot_cpu_data.tlb_config = mmu_type;
263 boot_cpu_data.device_id = device_id;
229 264
230 tmp = SYSREG_BFEXT(ILSZ, config1); 265 tmp = SYSREG_BFEXT(ILSZ, config1);
231 if (tmp) { 266 if (tmp) {
@@ -247,41 +282,34 @@ void __init setup_processor(void)
247 return; 282 return;
248 } 283 }
249 284
250 printk ("CPU: %s [%02x] revision %d (%s revision %d)\n", 285 printk ("CPU: %s chip revision %c\n", get_chip_name(&boot_cpu_data),
286 avr32_get_chip_revision(&boot_cpu_data) + 'A');
287 printk ("CPU: %s [%02x] core revision %d (%s arch revision %d)\n",
251 cpu_names[cpu_id], cpu_id, cpu_rev, 288 cpu_names[cpu_id], cpu_id, cpu_rev,
252 arch_names[arch_id], arch_rev); 289 arch_names[arch_id], arch_rev);
253 printk ("CPU: MMU configuration: %s\n", mmu_types[mmu_type]); 290 printk ("CPU: MMU configuration: %s\n", mmu_types[mmu_type]);
254 291
255 printk ("CPU: features:"); 292 printk ("CPU: features:");
256 features = 0; 293 features = 0;
257 if (config0 & SYSREG_BIT(CONFIG0_R)) { 294 if (config0 & SYSREG_BIT(CONFIG0_R))
258 features |= AVR32_FEATURE_RMW; 295 features |= AVR32_FEATURE_RMW;
259 printk(" rmw"); 296 if (config0 & SYSREG_BIT(CONFIG0_D))
260 }
261 if (config0 & SYSREG_BIT(CONFIG0_D)) {
262 features |= AVR32_FEATURE_DSP; 297 features |= AVR32_FEATURE_DSP;
263 printk(" dsp"); 298 if (config0 & SYSREG_BIT(CONFIG0_S))
264 }
265 if (config0 & SYSREG_BIT(CONFIG0_S)) {
266 features |= AVR32_FEATURE_SIMD; 299 features |= AVR32_FEATURE_SIMD;
267 printk(" simd"); 300 if (config0 & SYSREG_BIT(CONFIG0_O))
268 }
269 if (config0 & SYSREG_BIT(CONFIG0_O)) {
270 features |= AVR32_FEATURE_OCD; 301 features |= AVR32_FEATURE_OCD;
271 printk(" ocd"); 302 if (config0 & SYSREG_BIT(CONFIG0_P))
272 }
273 if (config0 & SYSREG_BIT(CONFIG0_P)) {
274 features |= AVR32_FEATURE_PCTR; 303 features |= AVR32_FEATURE_PCTR;
275 printk(" perfctr"); 304 if (config0 & SYSREG_BIT(CONFIG0_J))
276 }
277 if (config0 & SYSREG_BIT(CONFIG0_J)) {
278 features |= AVR32_FEATURE_JAVA; 305 features |= AVR32_FEATURE_JAVA;
279 printk(" java"); 306 if (config0 & SYSREG_BIT(CONFIG0_F))
280 }
281 if (config0 & SYSREG_BIT(CONFIG0_F)) {
282 features |= AVR32_FEATURE_FPU; 307 features |= AVR32_FEATURE_FPU;
283 printk(" fpu"); 308
284 } 309 for (i = 0; i < ARRAY_SIZE(cpu_feature_flags); i++)
310 if (features & (1 << i))
311 printk(" %s", cpu_feature_flags[i]);
312
285 printk("\n"); 313 printk("\n");
286 boot_cpu_data.features = features; 314 boot_cpu_data.features = features;
287} 315}
@@ -291,6 +319,8 @@ static int c_show(struct seq_file *m, void *v)
291{ 319{
292 unsigned int icache_size, dcache_size; 320 unsigned int icache_size, dcache_size;
293 unsigned int cpu = smp_processor_id(); 321 unsigned int cpu = smp_processor_id();
322 unsigned int freq;
323 unsigned int i;
294 324
295 icache_size = boot_cpu_data.icache.ways * 325 icache_size = boot_cpu_data.icache.ways *
296 boot_cpu_data.icache.sets * 326 boot_cpu_data.icache.sets *
@@ -301,15 +331,21 @@ static int c_show(struct seq_file *m, void *v)
301 331
302 seq_printf(m, "processor\t: %d\n", cpu); 332 seq_printf(m, "processor\t: %d\n", cpu);
303 333
334 seq_printf(m, "chip type\t: %s revision %c\n",
335 get_chip_name(&boot_cpu_data),
336 avr32_get_chip_revision(&boot_cpu_data) + 'A');
304 if (boot_cpu_data.arch_type < NR_ARCH_NAMES) 337 if (boot_cpu_data.arch_type < NR_ARCH_NAMES)
305 seq_printf(m, "cpu family\t: %s revision %d\n", 338 seq_printf(m, "cpu arch\t: %s revision %d\n",
306 arch_names[boot_cpu_data.arch_type], 339 arch_names[boot_cpu_data.arch_type],
307 boot_cpu_data.arch_revision); 340 boot_cpu_data.arch_revision);
308 if (boot_cpu_data.cpu_type < NR_CPU_NAMES) 341 if (boot_cpu_data.cpu_type < NR_CPU_NAMES)
309 seq_printf(m, "cpu type\t: %s revision %d\n", 342 seq_printf(m, "cpu core\t: %s revision %d\n",
310 cpu_names[boot_cpu_data.cpu_type], 343 cpu_names[boot_cpu_data.cpu_type],
311 boot_cpu_data.cpu_revision); 344 boot_cpu_data.cpu_revision);
312 345
346 freq = (clk_get_rate(boot_cpu_data.clk) + 500) / 1000;
347 seq_printf(m, "cpu MHz\t\t: %u.%03u\n", freq / 1000, freq % 1000);
348
313 seq_printf(m, "i-cache\t\t: %dK (%u ways x %u sets x %u)\n", 349 seq_printf(m, "i-cache\t\t: %dK (%u ways x %u sets x %u)\n",
314 icache_size >> 10, 350 icache_size >> 10,
315 boot_cpu_data.icache.ways, 351 boot_cpu_data.icache.ways,
@@ -320,7 +356,13 @@ static int c_show(struct seq_file *m, void *v)
320 boot_cpu_data.dcache.ways, 356 boot_cpu_data.dcache.ways,
321 boot_cpu_data.dcache.sets, 357 boot_cpu_data.dcache.sets,
322 boot_cpu_data.dcache.linesz); 358 boot_cpu_data.dcache.linesz);
323 seq_printf(m, "bogomips\t: %lu.%02lu\n", 359
360 seq_printf(m, "features\t:");
361 for (i = 0; i < ARRAY_SIZE(cpu_feature_flags); i++)
362 if (boot_cpu_data.features & (1 << i))
363 seq_printf(m, " %s", cpu_feature_flags[i]);
364
365 seq_printf(m, "\nbogomips\t: %lu.%02lu\n",
324 boot_cpu_data.loops_per_jiffy / (500000/HZ), 366 boot_cpu_data.loops_per_jiffy / (500000/HZ),
325 (boot_cpu_data.loops_per_jiffy / (5000/HZ)) % 100); 367 (boot_cpu_data.loops_per_jiffy / (5000/HZ)) % 100);
326 368
@@ -343,7 +385,7 @@ static void c_stop(struct seq_file *m, void *v)
343 385
344} 386}
345 387
346struct seq_operations cpuinfo_op = { 388const struct seq_operations cpuinfo_op = {
347 .start = c_start, 389 .start = c_start,
348 .next = c_next, 390 .next = c_next,
349 .stop = c_stop, 391 .stop = c_stop,
diff --git a/arch/avr32/kernel/irq.c b/arch/avr32/kernel/irq.c
index 61f2de266f62..a8e767d836aa 100644
--- a/arch/avr32/kernel/irq.c
+++ b/arch/avr32/kernel/irq.c
@@ -25,6 +25,17 @@ void ack_bad_irq(unsigned int irq)
25 printk("unexpected IRQ %u\n", irq); 25 printk("unexpected IRQ %u\n", irq);
26} 26}
27 27
28/* May be overridden by platform code */
29int __weak nmi_enable(void)
30{
31 return -ENOSYS;
32}
33
34void __weak nmi_disable(void)
35{
36
37}
38
28#ifdef CONFIG_PROC_FS 39#ifdef CONFIG_PROC_FS
29int show_interrupts(struct seq_file *p, void *v) 40int show_interrupts(struct seq_file *p, void *v)
30{ 41{
diff --git a/arch/avr32/kernel/kprobes.c b/arch/avr32/kernel/kprobes.c
index 799ba89b07a8..f820e9f25520 100644
--- a/arch/avr32/kernel/kprobes.c
+++ b/arch/avr32/kernel/kprobes.c
@@ -48,6 +48,7 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p)
48void __kprobes arch_arm_kprobe(struct kprobe *p) 48void __kprobes arch_arm_kprobe(struct kprobe *p)
49{ 49{
50 pr_debug("arming kprobe at %p\n", p->addr); 50 pr_debug("arming kprobe at %p\n", p->addr);
51 ocd_enable(NULL);
51 *p->addr = BREAKPOINT_INSTRUCTION; 52 *p->addr = BREAKPOINT_INSTRUCTION;
52 flush_icache_range((unsigned long)p->addr, 53 flush_icache_range((unsigned long)p->addr,
53 (unsigned long)p->addr + sizeof(kprobe_opcode_t)); 54 (unsigned long)p->addr + sizeof(kprobe_opcode_t));
@@ -56,6 +57,7 @@ void __kprobes arch_arm_kprobe(struct kprobe *p)
56void __kprobes arch_disarm_kprobe(struct kprobe *p) 57void __kprobes arch_disarm_kprobe(struct kprobe *p)
57{ 58{
58 pr_debug("disarming kprobe at %p\n", p->addr); 59 pr_debug("disarming kprobe at %p\n", p->addr);
60 ocd_disable(NULL);
59 *p->addr = p->opcode; 61 *p->addr = p->opcode;
60 flush_icache_range((unsigned long)p->addr, 62 flush_icache_range((unsigned long)p->addr,
61 (unsigned long)p->addr + sizeof(kprobe_opcode_t)); 63 (unsigned long)p->addr + sizeof(kprobe_opcode_t));
@@ -260,9 +262,6 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
260 262
261int __init arch_init_kprobes(void) 263int __init arch_init_kprobes(void)
262{ 264{
263 printk("KPROBES: Enabling monitor mode (MM|DBE)...\n");
264 ocd_write(DC, (1 << OCD_DC_MM_BIT) | (1 << OCD_DC_DBE_BIT));
265
266 /* TODO: Register kretprobe trampoline */ 265 /* TODO: Register kretprobe trampoline */
267 return 0; 266 return 0;
268} 267}
diff --git a/arch/avr32/kernel/nmi_debug.c b/arch/avr32/kernel/nmi_debug.c
new file mode 100644
index 000000000000..3414b8566c29
--- /dev/null
+++ b/arch/avr32/kernel/nmi_debug.c
@@ -0,0 +1,82 @@
1/*
2 * Copyright (C) 2007 Atmel Corporation
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8#include <linux/delay.h>
9#include <linux/kdebug.h>
10#include <linux/notifier.h>
11#include <linux/sched.h>
12
13#include <asm/irq.h>
14
15enum nmi_action {
16 NMI_SHOW_STATE = 1 << 0,
17 NMI_SHOW_REGS = 1 << 1,
18 NMI_DIE = 1 << 2,
19 NMI_DEBOUNCE = 1 << 3,
20};
21
22static unsigned long nmi_actions;
23
24static int nmi_debug_notify(struct notifier_block *self,
25 unsigned long val, void *data)
26{
27 struct die_args *args = data;
28
29 if (likely(val != DIE_NMI))
30 return NOTIFY_DONE;
31
32 if (nmi_actions & NMI_SHOW_STATE)
33 show_state();
34 if (nmi_actions & NMI_SHOW_REGS)
35 show_regs(args->regs);
36 if (nmi_actions & NMI_DEBOUNCE)
37 mdelay(10);
38 if (nmi_actions & NMI_DIE)
39 return NOTIFY_BAD;
40
41 return NOTIFY_OK;
42}
43
44static struct notifier_block nmi_debug_nb = {
45 .notifier_call = nmi_debug_notify,
46};
47
48static int __init nmi_debug_setup(char *str)
49{
50 char *p, *sep;
51
52 register_die_notifier(&nmi_debug_nb);
53 if (nmi_enable()) {
54 printk(KERN_WARNING "Unable to enable NMI.\n");
55 return 0;
56 }
57
58 if (*str != '=')
59 return 0;
60
61 for (p = str + 1; *p; p = sep + 1) {
62 sep = strchr(p, ',');
63 if (sep)
64 *sep = 0;
65 if (strcmp(p, "state") == 0)
66 nmi_actions |= NMI_SHOW_STATE;
67 else if (strcmp(p, "regs") == 0)
68 nmi_actions |= NMI_SHOW_REGS;
69 else if (strcmp(p, "debounce") == 0)
70 nmi_actions |= NMI_DEBOUNCE;
71 else if (strcmp(p, "die") == 0)
72 nmi_actions |= NMI_DIE;
73 else
74 printk(KERN_WARNING "NMI: Unrecognized action `%s'\n",
75 p);
76 if (!sep)
77 break;
78 }
79
80 return 0;
81}
82__setup("nmi_debug", nmi_debug_setup);
diff --git a/arch/avr32/kernel/ocd.c b/arch/avr32/kernel/ocd.c
new file mode 100644
index 000000000000..c4f023294d75
--- /dev/null
+++ b/arch/avr32/kernel/ocd.c
@@ -0,0 +1,163 @@
1/*
2 * Copyright (C) 2007 Atmel Corporation
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8#include <linux/init.h>
9#include <linux/sched.h>
10#include <linux/spinlock.h>
11
12#include <asm/ocd.h>
13
14static long ocd_count;
15static spinlock_t ocd_lock;
16
17/**
18 * ocd_enable - enable on-chip debugging
19 * @child: task to be debugged
20 *
21 * If @child is non-NULL, ocd_enable() first checks if debugging has
22 * already been enabled for @child, and if it has, does nothing.
23 *
24 * If @child is NULL (e.g. when debugging the kernel), or debugging
25 * has not already been enabled for it, ocd_enable() increments the
26 * reference count and enables the debugging hardware.
27 */
28void ocd_enable(struct task_struct *child)
29{
30 u32 dc;
31
32 if (child)
33 pr_debug("ocd_enable: child=%s [%u]\n",
34 child->comm, child->pid);
35 else
36 pr_debug("ocd_enable (no child)\n");
37
38 if (!child || !test_and_set_tsk_thread_flag(child, TIF_DEBUG)) {
39 spin_lock(&ocd_lock);
40 ocd_count++;
41 dc = ocd_read(DC);
42 dc |= (1 << OCD_DC_MM_BIT) | (1 << OCD_DC_DBE_BIT);
43 ocd_write(DC, dc);
44 spin_unlock(&ocd_lock);
45 }
46}
47
48/**
49 * ocd_disable - disable on-chip debugging
50 * @child: task that was being debugged, but isn't anymore
51 *
52 * If @child is non-NULL, ocd_disable() checks if debugging is enabled
53 * for @child, and if it isn't, does nothing.
54 *
55 * If @child is NULL (e.g. when debugging the kernel), or debugging is
56 * enabled, ocd_disable() decrements the reference count, and if it
57 * reaches zero, disables the debugging hardware.
58 */
59void ocd_disable(struct task_struct *child)
60{
61 u32 dc;
62
63 if (!child)
64 pr_debug("ocd_disable (no child)\n");
65 else if (test_tsk_thread_flag(child, TIF_DEBUG))
66 pr_debug("ocd_disable: child=%s [%u]\n",
67 child->comm, child->pid);
68
69 if (!child || test_and_clear_tsk_thread_flag(child, TIF_DEBUG)) {
70 spin_lock(&ocd_lock);
71 ocd_count--;
72
73 WARN_ON(ocd_count < 0);
74
75 if (ocd_count <= 0) {
76 dc = ocd_read(DC);
77 dc &= ~((1 << OCD_DC_MM_BIT) | (1 << OCD_DC_DBE_BIT));
78 ocd_write(DC, dc);
79 }
80 spin_unlock(&ocd_lock);
81 }
82}
83
84#ifdef CONFIG_DEBUG_FS
85#include <linux/debugfs.h>
86#include <linux/module.h>
87
88static struct dentry *ocd_debugfs_root;
89static struct dentry *ocd_debugfs_DC;
90static struct dentry *ocd_debugfs_DS;
91static struct dentry *ocd_debugfs_count;
92
93static u64 ocd_DC_get(void *data)
94{
95 return ocd_read(DC);
96}
97static void ocd_DC_set(void *data, u64 val)
98{
99 ocd_write(DC, val);
100}
101DEFINE_SIMPLE_ATTRIBUTE(fops_DC, ocd_DC_get, ocd_DC_set, "0x%08llx\n");
102
103static u64 ocd_DS_get(void *data)
104{
105 return ocd_read(DS);
106}
107DEFINE_SIMPLE_ATTRIBUTE(fops_DS, ocd_DS_get, NULL, "0x%08llx\n");
108
109static u64 ocd_count_get(void *data)
110{
111 return ocd_count;
112}
113DEFINE_SIMPLE_ATTRIBUTE(fops_count, ocd_count_get, NULL, "%lld\n");
114
115static void ocd_debugfs_init(void)
116{
117 struct dentry *root;
118
119 root = debugfs_create_dir("ocd", NULL);
120 if (IS_ERR(root) || !root)
121 goto err_root;
122 ocd_debugfs_root = root;
123
124 ocd_debugfs_DC = debugfs_create_file("DC", S_IRUSR | S_IWUSR,
125 root, NULL, &fops_DC);
126 if (!ocd_debugfs_DC)
127 goto err_DC;
128
129 ocd_debugfs_DS = debugfs_create_file("DS", S_IRUSR, root,
130 NULL, &fops_DS);
131 if (!ocd_debugfs_DS)
132 goto err_DS;
133
134 ocd_debugfs_count = debugfs_create_file("count", S_IRUSR, root,
135 NULL, &fops_count);
136 if (!ocd_debugfs_count)
137 goto err_count;
138
139 return;
140
141err_count:
142 debugfs_remove(ocd_debugfs_DS);
143err_DS:
144 debugfs_remove(ocd_debugfs_DC);
145err_DC:
146 debugfs_remove(ocd_debugfs_root);
147err_root:
148 printk(KERN_WARNING "OCD: Failed to create debugfs entries\n");
149}
150#else
151static inline void ocd_debugfs_init(void)
152{
153
154}
155#endif
156
157static int __init ocd_init(void)
158{
159 spin_lock_init(&ocd_lock);
160 ocd_debugfs_init();
161 return 0;
162}
163arch_initcall(ocd_init);
diff --git a/arch/avr32/kernel/process.c b/arch/avr32/kernel/process.c
index 9d6dac8af7a2..eaaa69bbdc38 100644
--- a/arch/avr32/kernel/process.c
+++ b/arch/avr32/kernel/process.c
@@ -103,7 +103,7 @@ EXPORT_SYMBOL(kernel_thread);
103 */ 103 */
104void exit_thread(void) 104void exit_thread(void)
105{ 105{
106 /* nothing to do */ 106 ocd_disable(current);
107} 107}
108 108
109void flush_thread(void) 109void flush_thread(void)
@@ -345,6 +345,9 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
345 p->thread.cpu_context.ksp = (unsigned long)childregs; 345 p->thread.cpu_context.ksp = (unsigned long)childregs;
346 p->thread.cpu_context.pc = (unsigned long)ret_from_fork; 346 p->thread.cpu_context.pc = (unsigned long)ret_from_fork;
347 347
348 if ((clone_flags & CLONE_PTRACE) && test_thread_flag(TIF_DEBUG))
349 ocd_enable(p);
350
348 return 0; 351 return 0;
349} 352}
350 353
diff --git a/arch/avr32/kernel/ptrace.c b/arch/avr32/kernel/ptrace.c
index 002369e44093..1fed38fcf594 100644
--- a/arch/avr32/kernel/ptrace.c
+++ b/arch/avr32/kernel/ptrace.c
@@ -58,6 +58,7 @@ void ptrace_disable(struct task_struct *child)
58{ 58{
59 clear_tsk_thread_flag(child, TIF_SINGLE_STEP); 59 clear_tsk_thread_flag(child, TIF_SINGLE_STEP);
60 clear_tsk_thread_flag(child, TIF_BREAKPOINT); 60 clear_tsk_thread_flag(child, TIF_BREAKPOINT);
61 ocd_disable(child);
61} 62}
62 63
63/* 64/*
@@ -144,10 +145,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
144{ 145{
145 int ret; 146 int ret;
146 147
147 pr_debug("ptrace: Enabling monitor mode...\n");
148 ocd_write(DC, ocd_read(DC) | (1 << OCD_DC_MM_BIT)
149 | (1 << OCD_DC_DBE_BIT));
150
151 switch (request) { 148 switch (request) {
152 /* Read the word at location addr in the child process */ 149 /* Read the word at location addr in the child process */
153 case PTRACE_PEEKTEXT: 150 case PTRACE_PEEKTEXT:
diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
index 0ec14854a200..5616a00c10ba 100644
--- a/arch/avr32/kernel/signal.c
+++ b/arch/avr32/kernel/signal.c
@@ -270,19 +270,12 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset, int syscall)
270 if (!user_mode(regs)) 270 if (!user_mode(regs))
271 return 0; 271 return 0;
272 272
273 if (try_to_freeze()) {
274 signr = 0;
275 if (!signal_pending(current))
276 goto no_signal;
277 }
278
279 if (test_thread_flag(TIF_RESTORE_SIGMASK)) 273 if (test_thread_flag(TIF_RESTORE_SIGMASK))
280 oldset = &current->saved_sigmask; 274 oldset = &current->saved_sigmask;
281 else if (!oldset) 275 else if (!oldset)
282 oldset = &current->blocked; 276 oldset = &current->blocked;
283 277
284 signr = get_signal_to_deliver(&info, &ka, regs, NULL); 278 signr = get_signal_to_deliver(&info, &ka, regs, NULL);
285no_signal:
286 if (syscall) { 279 if (syscall) {
287 switch (regs->r12) { 280 switch (regs->r12) {
288 case -ERESTART_RESTARTBLOCK: 281 case -ERESTART_RESTARTBLOCK:
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c
index 870c075e6314..cf6f686d9b0b 100644
--- a/arch/avr32/kernel/traps.c
+++ b/arch/avr32/kernel/traps.c
@@ -9,6 +9,7 @@
9#include <linux/bug.h> 9#include <linux/bug.h>
10#include <linux/init.h> 10#include <linux/init.h>
11#include <linux/kallsyms.h> 11#include <linux/kallsyms.h>
12#include <linux/kdebug.h>
12#include <linux/module.h> 13#include <linux/module.h>
13#include <linux/notifier.h> 14#include <linux/notifier.h>
14#include <linux/sched.h> 15#include <linux/sched.h>
@@ -107,9 +108,23 @@ void _exception(long signr, struct pt_regs *regs, int code,
107 108
108asmlinkage void do_nmi(unsigned long ecr, struct pt_regs *regs) 109asmlinkage void do_nmi(unsigned long ecr, struct pt_regs *regs)
109{ 110{
110 printk(KERN_ALERT "Got Non-Maskable Interrupt, dumping regs\n"); 111 int ret;
111 show_regs_log_lvl(regs, KERN_ALERT); 112
112 show_stack_log_lvl(current, regs->sp, regs, KERN_ALERT); 113 nmi_enter();
114
115 ret = notify_die(DIE_NMI, "NMI", regs, 0, ecr, SIGINT);
116 switch (ret) {
117 case NOTIFY_OK:
118 case NOTIFY_STOP:
119 return;
120 case NOTIFY_BAD:
121 die("Fatal Non-Maskable Interrupt", regs, SIGINT);
122 default:
123 break;
124 }
125
126 printk(KERN_ALERT "Got NMI, but nobody cared. Disabling...\n");
127 nmi_disable();
113} 128}
114 129
115asmlinkage void do_critical_exception(unsigned long ecr, struct pt_regs *regs) 130asmlinkage void do_critical_exception(unsigned long ecr, struct pt_regs *regs)
diff --git a/arch/avr32/mach-at32ap/Kconfig b/arch/avr32/mach-at32ap/Kconfig
index eb307838457b..a7bbcc82058e 100644
--- a/arch/avr32/mach-at32ap/Kconfig
+++ b/arch/avr32/mach-at32ap/Kconfig
@@ -3,9 +3,9 @@ if PLATFORM_AT32AP
3menu "Atmel AVR32 AP options" 3menu "Atmel AVR32 AP options"
4 4
5choice 5choice
6 prompt "AT32AP7000 static memory bus width" 6 prompt "AT32AP700x static memory bus width"
7 depends on CPU_AT32AP7000 7 depends on CPU_AT32AP700X
8 default AP7000_16_BIT_SMC 8 default AP700X_16_BIT_SMC
9 help 9 help
10 Define the width of the AP7000 external static memory interface. 10 Define the width of the AP7000 external static memory interface.
11 This is used to determine how to mangle the address and/or data 11 This is used to determine how to mangle the address and/or data
@@ -15,13 +15,13 @@ choice
15 width for all chip selects, excluding the flash (which is using 15 width for all chip selects, excluding the flash (which is using
16 raw access and is thus not affected by any of this.) 16 raw access and is thus not affected by any of this.)
17 17
18config AP7000_32_BIT_SMC 18config AP700X_32_BIT_SMC
19 bool "32 bit" 19 bool "32 bit"
20 20
21config AP7000_16_BIT_SMC 21config AP700X_16_BIT_SMC
22 bool "16 bit" 22 bool "16 bit"
23 23
24config AP7000_8_BIT_SMC 24config AP700X_8_BIT_SMC
25 bool "8 bit" 25 bool "8 bit"
26 26
27endchoice 27endchoice
diff --git a/arch/avr32/mach-at32ap/Makefile b/arch/avr32/mach-at32ap/Makefile
index a8b445046e3e..5e9f8217befc 100644
--- a/arch/avr32/mach-at32ap/Makefile
+++ b/arch/avr32/mach-at32ap/Makefile
@@ -1,4 +1,4 @@
1obj-y += at32ap.o clock.o intc.o extint.o pio.o hsmc.o 1obj-y += at32ap.o clock.o intc.o extint.o pio.o hsmc.o
2obj-$(CONFIG_CPU_AT32AP7000) += at32ap7000.o 2obj-$(CONFIG_CPU_AT32AP700X) += at32ap700x.o
3obj-$(CONFIG_CPU_AT32AP7000) += time-tc.o 3obj-$(CONFIG_CPU_AT32AP700X) += time-tc.o
4obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o 4obj-$(CONFIG_CPU_FREQ_AT32AP) += cpufreq.o
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap700x.c
index 7c4388f4f17f..14e61f05e1f6 100644
--- a/arch/avr32/mach-at32ap/at32ap7000.c
+++ b/arch/avr32/mach-at32ap/at32ap700x.c
@@ -13,8 +13,9 @@
13#include <linux/spi/spi.h> 13#include <linux/spi/spi.h>
14 14
15#include <asm/io.h> 15#include <asm/io.h>
16#include <asm/irq.h>
16 17
17#include <asm/arch/at32ap7000.h> 18#include <asm/arch/at32ap700x.h>
18#include <asm/arch/board.h> 19#include <asm/arch/board.h>
19#include <asm/arch/portmux.h> 20#include <asm/arch/portmux.h>
20 21
@@ -803,6 +804,7 @@ void __init at32_setup_serial_console(unsigned int usart_id)
803 * Ethernet 804 * Ethernet
804 * -------------------------------------------------------------------- */ 805 * -------------------------------------------------------------------- */
805 806
807#ifdef CONFIG_CPU_AT32AP7000
806static struct eth_platform_data macb0_data; 808static struct eth_platform_data macb0_data;
807static struct resource macb0_resource[] = { 809static struct resource macb0_resource[] = {
808 PBMEM(0xfff01800), 810 PBMEM(0xfff01800),
@@ -890,6 +892,7 @@ at32_add_device_eth(unsigned int id, struct eth_platform_data *data)
890 892
891 return pdev; 893 return pdev;
892} 894}
895#endif
893 896
894/* -------------------------------------------------------------------- 897/* --------------------------------------------------------------------
895 * SPI 898 * SPI
@@ -1064,6 +1067,7 @@ err_add_resources:
1064/* -------------------------------------------------------------------- 1067/* --------------------------------------------------------------------
1065 * LCDC 1068 * LCDC
1066 * -------------------------------------------------------------------- */ 1069 * -------------------------------------------------------------------- */
1070#if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7002)
1067static struct atmel_lcdfb_info atmel_lcdfb0_data; 1071static struct atmel_lcdfb_info atmel_lcdfb0_data;
1068static struct resource atmel_lcdfb0_resource[] = { 1072static struct resource atmel_lcdfb0_resource[] = {
1069 { 1073 {
@@ -1179,6 +1183,7 @@ err_dup_modedb:
1179 kfree(monspecs); 1183 kfree(monspecs);
1180 return NULL; 1184 return NULL;
1181} 1185}
1186#endif
1182 1187
1183/* -------------------------------------------------------------------- 1188/* --------------------------------------------------------------------
1184 * SSC 1189 * SSC
@@ -1332,6 +1337,7 @@ out_free_pdev:
1332/* -------------------------------------------------------------------- 1337/* --------------------------------------------------------------------
1333 * IDE / CompactFlash 1338 * IDE / CompactFlash
1334 * -------------------------------------------------------------------- */ 1339 * -------------------------------------------------------------------- */
1340#if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7001)
1335static struct resource at32_smc_cs4_resource[] __initdata = { 1341static struct resource at32_smc_cs4_resource[] __initdata = {
1336 { 1342 {
1337 .start = 0x04000000, 1343 .start = 0x04000000,
@@ -1464,6 +1470,7 @@ fail:
1464 platform_device_put(pdev); 1470 platform_device_put(pdev);
1465 return NULL; 1471 return NULL;
1466} 1472}
1473#endif
1467 1474
1468/* -------------------------------------------------------------------- 1475/* --------------------------------------------------------------------
1469 * AC97C 1476 * AC97C
@@ -1639,16 +1646,20 @@ struct clk *at32_clock_list[] = {
1639 &atmel_usart1_usart, 1646 &atmel_usart1_usart,
1640 &atmel_usart2_usart, 1647 &atmel_usart2_usart,
1641 &atmel_usart3_usart, 1648 &atmel_usart3_usart,
1649#if defined(CONFIG_CPU_AT32AP7000)
1642 &macb0_hclk, 1650 &macb0_hclk,
1643 &macb0_pclk, 1651 &macb0_pclk,
1644 &macb1_hclk, 1652 &macb1_hclk,
1645 &macb1_pclk, 1653 &macb1_pclk,
1654#endif
1646 &atmel_spi0_spi_clk, 1655 &atmel_spi0_spi_clk,
1647 &atmel_spi1_spi_clk, 1656 &atmel_spi1_spi_clk,
1648 &atmel_twi0_pclk, 1657 &atmel_twi0_pclk,
1649 &atmel_mci0_pclk, 1658 &atmel_mci0_pclk,
1659#if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7002)
1650 &atmel_lcdfb0_hck1, 1660 &atmel_lcdfb0_hck1,
1651 &atmel_lcdfb0_pixclk, 1661 &atmel_lcdfb0_pixclk,
1662#endif
1652 &ssc0_pclk, 1663 &ssc0_pclk,
1653 &ssc1_pclk, 1664 &ssc1_pclk,
1654 &ssc2_pclk, 1665 &ssc2_pclk,
@@ -1697,7 +1708,9 @@ void __init at32_clock_init(void)
1697 genclk_init_parent(&gclk2); 1708 genclk_init_parent(&gclk2);
1698 genclk_init_parent(&gclk3); 1709 genclk_init_parent(&gclk3);
1699 genclk_init_parent(&gclk4); 1710 genclk_init_parent(&gclk4);
1711#if defined(CONFIG_CPU_AT32AP7000) || defined(CONFIG_CPU_AT32AP7002)
1700 genclk_init_parent(&atmel_lcdfb0_pixclk); 1712 genclk_init_parent(&atmel_lcdfb0_pixclk);
1713#endif
1701 genclk_init_parent(&abdac0_sample_clk); 1714 genclk_init_parent(&abdac0_sample_clk);
1702 1715
1703 /* 1716 /*
diff --git a/arch/avr32/mach-at32ap/extint.c b/arch/avr32/mach-at32ap/extint.c
index f5bfd4c81fe7..c36a6d59d6f0 100644
--- a/arch/avr32/mach-at32ap/extint.c
+++ b/arch/avr32/mach-at32ap/extint.c
@@ -26,16 +26,10 @@
26#define EIC_MODE 0x0014 26#define EIC_MODE 0x0014
27#define EIC_EDGE 0x0018 27#define EIC_EDGE 0x0018
28#define EIC_LEVEL 0x001c 28#define EIC_LEVEL 0x001c
29#define EIC_TEST 0x0020
30#define EIC_NMIC 0x0024 29#define EIC_NMIC 0x0024
31 30
32/* Bitfields in TEST */
33#define EIC_TESTEN_OFFSET 31
34#define EIC_TESTEN_SIZE 1
35
36/* Bitfields in NMIC */ 31/* Bitfields in NMIC */
37#define EIC_EN_OFFSET 0 32#define EIC_NMIC_ENABLE (1 << 0)
38#define EIC_EN_SIZE 1
39 33
40/* Bit manipulation macros */ 34/* Bit manipulation macros */
41#define EIC_BIT(name) \ 35#define EIC_BIT(name) \
@@ -63,6 +57,9 @@ struct eic {
63 unsigned int first_irq; 57 unsigned int first_irq;
64}; 58};
65 59
60static struct eic *nmi_eic;
61static bool nmi_enabled;
62
66static void eic_ack_irq(unsigned int irq) 63static void eic_ack_irq(unsigned int irq)
67{ 64{
68 struct eic *eic = get_irq_chip_data(irq); 65 struct eic *eic = get_irq_chip_data(irq);
@@ -133,8 +130,11 @@ static int eic_set_irq_type(unsigned int irq, unsigned int flow_type)
133 eic_writel(eic, EDGE, edge); 130 eic_writel(eic, EDGE, edge);
134 eic_writel(eic, LEVEL, level); 131 eic_writel(eic, LEVEL, level);
135 132
136 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) 133 if (flow_type & (IRQ_TYPE_LEVEL_LOW | IRQ_TYPE_LEVEL_HIGH)) {
137 flow_type |= IRQ_LEVEL; 134 flow_type |= IRQ_LEVEL;
135 __set_irq_handler_unlocked(irq, handle_level_irq);
136 } else
137 __set_irq_handler_unlocked(irq, handle_edge_irq);
138 desc->status &= ~(IRQ_TYPE_SENSE_MASK | IRQ_LEVEL); 138 desc->status &= ~(IRQ_TYPE_SENSE_MASK | IRQ_LEVEL);
139 desc->status |= flow_type; 139 desc->status |= flow_type;
140 } 140 }
@@ -154,9 +154,8 @@ static struct irq_chip eic_chip = {
154static void demux_eic_irq(unsigned int irq, struct irq_desc *desc) 154static void demux_eic_irq(unsigned int irq, struct irq_desc *desc)
155{ 155{
156 struct eic *eic = desc->handler_data; 156 struct eic *eic = desc->handler_data;
157 struct irq_desc *ext_desc;
158 unsigned long status, pending; 157 unsigned long status, pending;
159 unsigned int i, ext_irq; 158 unsigned int i;
160 159
161 status = eic_readl(eic, ISR); 160 status = eic_readl(eic, ISR);
162 pending = status & eic_readl(eic, IMR); 161 pending = status & eic_readl(eic, IMR);
@@ -165,15 +164,28 @@ static void demux_eic_irq(unsigned int irq, struct irq_desc *desc)
165 i = fls(pending) - 1; 164 i = fls(pending) - 1;
166 pending &= ~(1 << i); 165 pending &= ~(1 << i);
167 166
168 ext_irq = i + eic->first_irq; 167 generic_handle_irq(i + eic->first_irq);
169 ext_desc = irq_desc + ext_irq;
170 if (ext_desc->status & IRQ_LEVEL)
171 handle_level_irq(ext_irq, ext_desc);
172 else
173 handle_edge_irq(ext_irq, ext_desc);
174 } 168 }
175} 169}
176 170
171int nmi_enable(void)
172{
173 nmi_enabled = true;
174
175 if (nmi_eic)
176 eic_writel(nmi_eic, NMIC, EIC_NMIC_ENABLE);
177
178 return 0;
179}
180
181void nmi_disable(void)
182{
183 if (nmi_eic)
184 eic_writel(nmi_eic, NMIC, 0);
185
186 nmi_enabled = false;
187}
188
177static int __init eic_probe(struct platform_device *pdev) 189static int __init eic_probe(struct platform_device *pdev)
178{ 190{
179 struct eic *eic; 191 struct eic *eic;
@@ -214,14 +226,13 @@ static int __init eic_probe(struct platform_device *pdev)
214 pattern = eic_readl(eic, MODE); 226 pattern = eic_readl(eic, MODE);
215 nr_irqs = fls(pattern); 227 nr_irqs = fls(pattern);
216 228
217 /* Trigger on falling edge unless overridden by driver */ 229 /* Trigger on low level unless overridden by driver */
218 eic_writel(eic, MODE, 0UL);
219 eic_writel(eic, EDGE, 0UL); 230 eic_writel(eic, EDGE, 0UL);
231 eic_writel(eic, LEVEL, 0UL);
220 232
221 eic->chip = &eic_chip; 233 eic->chip = &eic_chip;
222 234
223 for (i = 0; i < nr_irqs; i++) { 235 for (i = 0; i < nr_irqs; i++) {
224 /* NOTE the handler we set here is ignored by the demux */
225 set_irq_chip_and_handler(eic->first_irq + i, &eic_chip, 236 set_irq_chip_and_handler(eic->first_irq + i, &eic_chip,
226 handle_level_irq); 237 handle_level_irq);
227 set_irq_chip_data(eic->first_irq + i, eic); 238 set_irq_chip_data(eic->first_irq + i, eic);
@@ -230,6 +241,16 @@ static int __init eic_probe(struct platform_device *pdev)
230 set_irq_chained_handler(int_irq, demux_eic_irq); 241 set_irq_chained_handler(int_irq, demux_eic_irq);
231 set_irq_data(int_irq, eic); 242 set_irq_data(int_irq, eic);
232 243
244 if (pdev->id == 0) {
245 nmi_eic = eic;
246 if (nmi_enabled)
247 /*
248 * Someone tried to enable NMI before we were
249 * ready. Do it now.
250 */
251 nmi_enable();
252 }
253
233 dev_info(&pdev->dev, 254 dev_info(&pdev->dev,
234 "External Interrupt Controller at 0x%p, IRQ %u\n", 255 "External Interrupt Controller at 0x%p, IRQ %u\n",
235 eic->regs, int_irq); 256 eic->regs, int_irq);
diff --git a/arch/avr32/mm/dma-coherent.c b/arch/avr32/mm/dma-coherent.c
index 177fea8f7b71..6d8c794c3b81 100644
--- a/arch/avr32/mm/dma-coherent.c
+++ b/arch/avr32/mm/dma-coherent.c
@@ -41,6 +41,13 @@ static struct page *__dma_alloc(struct device *dev, size_t size,
41 struct page *page, *free, *end; 41 struct page *page, *free, *end;
42 int order; 42 int order;
43 43
44 /* Following is a work-around (a.k.a. hack) to prevent pages
45 * with __GFP_COMP being passed to split_page() which cannot
46 * handle them. The real problem is that this flag probably
47 * should be 0 on AVR32 as it is not supported on this
48 * platform--see CONFIG_HUGETLB_PAGE. */
49 gfp &= ~(__GFP_COMP);
50
44 size = PAGE_ALIGN(size); 51 size = PAGE_ALIGN(size);
45 order = get_order(size); 52 order = get_order(size);
46 53
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c
index 56672018e42f..b835257a8fa3 100644
--- a/arch/avr32/mm/tlb.c
+++ b/arch/avr32/mm/tlb.c
@@ -348,7 +348,7 @@ static int tlb_show(struct seq_file *tlb, void *v)
348 return 0; 348 return 0;
349} 349}
350 350
351static struct seq_operations tlb_ops = { 351static const struct seq_operations tlb_ops = {
352 .start = tlb_start, 352 .start = tlb_start,
353 .next = tlb_next, 353 .next = tlb_next,
354 .stop = tlb_stop, 354 .stop = tlb_stop,
diff --git a/arch/avr32/oprofile/Makefile b/arch/avr32/oprofile/Makefile
new file mode 100644
index 000000000000..1fe81c3c1e86
--- /dev/null
+++ b/arch/avr32/oprofile/Makefile
@@ -0,0 +1,8 @@
1obj-$(CONFIG_OPROFILE) += oprofile.o
2
3oprofile-y := $(addprefix ../../../drivers/oprofile/, \
4 oprof.o cpu_buffer.o buffer_sync.o \
5 event_buffer.o oprofile_files.o \
6 oprofilefs.o oprofile_stats.o \
7 timer_int.o)
8oprofile-y += op_model_avr32.o
diff --git a/arch/avr32/oprofile/op_model_avr32.c b/arch/avr32/oprofile/op_model_avr32.c
new file mode 100644
index 000000000000..e2f876bfc86b
--- /dev/null
+++ b/arch/avr32/oprofile/op_model_avr32.c
@@ -0,0 +1,235 @@
1/*
2 * AVR32 Performance Counter Driver
3 *
4 * Copyright (C) 2005-2007 Atmel Corporation
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Author: Ronny Pedersen
11 */
12#include <linux/errno.h>
13#include <linux/interrupt.h>
14#include <linux/irq.h>
15#include <linux/oprofile.h>
16#include <linux/sched.h>
17#include <linux/types.h>
18
19#include <asm/intc.h>
20#include <asm/sysreg.h>
21#include <asm/system.h>
22
23#define AVR32_PERFCTR_IRQ_GROUP 0
24#define AVR32_PERFCTR_IRQ_LINE 1
25
26enum { PCCNT, PCNT0, PCNT1, NR_counter };
27
28struct avr32_perf_counter {
29 unsigned long enabled;
30 unsigned long event;
31 unsigned long count;
32 unsigned long unit_mask;
33 unsigned long kernel;
34 unsigned long user;
35
36 u32 ie_mask;
37 u32 flag_mask;
38};
39
40static struct avr32_perf_counter counter[NR_counter] = {
41 {
42 .ie_mask = SYSREG_BIT(IEC),
43 .flag_mask = SYSREG_BIT(FC),
44 }, {
45 .ie_mask = SYSREG_BIT(IE0),
46 .flag_mask = SYSREG_BIT(F0),
47 }, {
48 .ie_mask = SYSREG_BIT(IE1),
49 .flag_mask = SYSREG_BIT(F1),
50 },
51};
52
53static void avr32_perf_counter_reset(void)
54{
55 /* Reset all counter and disable/clear all interrupts */
56 sysreg_write(PCCR, (SYSREG_BIT(PCCR_R)
57 | SYSREG_BIT(PCCR_C)
58 | SYSREG_BIT(FC)
59 | SYSREG_BIT(F0)
60 | SYSREG_BIT(F1)));
61}
62
63static irqreturn_t avr32_perf_counter_interrupt(int irq, void *dev_id)
64{
65 struct avr32_perf_counter *ctr = dev_id;
66 struct pt_regs *regs;
67 u32 pccr;
68
69 if (likely(!(intc_get_pending(AVR32_PERFCTR_IRQ_GROUP)
70 & (1 << AVR32_PERFCTR_IRQ_LINE))))
71 return IRQ_NONE;
72
73 regs = get_irq_regs();
74 pccr = sysreg_read(PCCR);
75
76 /* Clear the interrupt flags we're about to handle */
77 sysreg_write(PCCR, pccr);
78
79 /* PCCNT */
80 if (ctr->enabled && (pccr & ctr->flag_mask)) {
81 sysreg_write(PCCNT, -ctr->count);
82 oprofile_add_sample(regs, PCCNT);
83 }
84 ctr++;
85 /* PCNT0 */
86 if (ctr->enabled && (pccr & ctr->flag_mask)) {
87 sysreg_write(PCNT0, -ctr->count);
88 oprofile_add_sample(regs, PCNT0);
89 }
90 ctr++;
91 /* PCNT1 */
92 if (ctr->enabled && (pccr & ctr->flag_mask)) {
93 sysreg_write(PCNT1, -ctr->count);
94 oprofile_add_sample(regs, PCNT1);
95 }
96
97 return IRQ_HANDLED;
98}
99
100static int avr32_perf_counter_create_files(struct super_block *sb,
101 struct dentry *root)
102{
103 struct dentry *dir;
104 unsigned int i;
105 char filename[4];
106
107 for (i = 0; i < NR_counter; i++) {
108 snprintf(filename, sizeof(filename), "%u", i);
109 dir = oprofilefs_mkdir(sb, root, filename);
110
111 oprofilefs_create_ulong(sb, dir, "enabled",
112 &counter[i].enabled);
113 oprofilefs_create_ulong(sb, dir, "event",
114 &counter[i].event);
115 oprofilefs_create_ulong(sb, dir, "count",
116 &counter[i].count);
117
118 /* Dummy entries */
119 oprofilefs_create_ulong(sb, dir, "kernel",
120 &counter[i].kernel);
121 oprofilefs_create_ulong(sb, dir, "user",
122 &counter[i].user);
123 oprofilefs_create_ulong(sb, dir, "unit_mask",
124 &counter[i].unit_mask);
125 }
126
127 return 0;
128}
129
130static int avr32_perf_counter_setup(void)
131{
132 struct avr32_perf_counter *ctr;
133 u32 pccr;
134 int ret;
135 int i;
136
137 pr_debug("avr32_perf_counter_setup\n");
138
139 if (sysreg_read(PCCR) & SYSREG_BIT(PCCR_E)) {
140 printk(KERN_ERR
141 "oprofile: setup: perf counter already enabled\n");
142 return -EBUSY;
143 }
144
145 ret = request_irq(AVR32_PERFCTR_IRQ_GROUP,
146 avr32_perf_counter_interrupt, IRQF_SHARED,
147 "oprofile", counter);
148 if (ret)
149 return ret;
150
151 avr32_perf_counter_reset();
152
153 pccr = 0;
154 for (i = PCCNT; i < NR_counter; i++) {
155 ctr = &counter[i];
156 if (!ctr->enabled)
157 continue;
158
159 pr_debug("enabling counter %d...\n", i);
160
161 pccr |= ctr->ie_mask;
162
163 switch (i) {
164 case PCCNT:
165 /* PCCNT always counts cycles, so no events */
166 sysreg_write(PCCNT, -ctr->count);
167 break;
168 case PCNT0:
169 pccr |= SYSREG_BF(CONF0, ctr->event);
170 sysreg_write(PCNT0, -ctr->count);
171 break;
172 case PCNT1:
173 pccr |= SYSREG_BF(CONF1, ctr->event);
174 sysreg_write(PCNT1, -ctr->count);
175 break;
176 }
177 }
178
179 pr_debug("oprofile: writing 0x%x to PCCR...\n", pccr);
180
181 sysreg_write(PCCR, pccr);
182
183 return 0;
184}
185
186static void avr32_perf_counter_shutdown(void)
187{
188 pr_debug("avr32_perf_counter_shutdown\n");
189
190 avr32_perf_counter_reset();
191 free_irq(AVR32_PERFCTR_IRQ_GROUP, counter);
192}
193
194static int avr32_perf_counter_start(void)
195{
196 pr_debug("avr32_perf_counter_start\n");
197
198 sysreg_write(PCCR, sysreg_read(PCCR) | SYSREG_BIT(PCCR_E));
199
200 return 0;
201}
202
203static void avr32_perf_counter_stop(void)
204{
205 pr_debug("avr32_perf_counter_stop\n");
206
207 sysreg_write(PCCR, sysreg_read(PCCR) & ~SYSREG_BIT(PCCR_E));
208}
209
210static struct oprofile_operations avr32_perf_counter_ops __initdata = {
211 .create_files = avr32_perf_counter_create_files,
212 .setup = avr32_perf_counter_setup,
213 .shutdown = avr32_perf_counter_shutdown,
214 .start = avr32_perf_counter_start,
215 .stop = avr32_perf_counter_stop,
216 .cpu_type = "avr32",
217};
218
219int __init oprofile_arch_init(struct oprofile_operations *ops)
220{
221 if (!(current_cpu_data.features & AVR32_FEATURE_PCTR))
222 return -ENODEV;
223
224 memcpy(ops, &avr32_perf_counter_ops,
225 sizeof(struct oprofile_operations));
226
227 printk(KERN_INFO "oprofile: using AVR32 performance monitoring.\n");
228
229 return 0;
230}
231
232void oprofile_arch_exit(void)
233{
234
235}
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index b87ed37ac0c1..2b53d1f56281 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -6,7 +6,7 @@ menu "Console display driver support"
6 6
7config VGA_CONSOLE 7config VGA_CONSOLE
8 bool "VGA text console" if EMBEDDED || !X86 8 bool "VGA text console" if EMBEDDED || !X86
9 depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE && !SUPERH && !BLACKFIN 9 depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE && !SUPERH && !BLACKFIN && !AVR32
10 default y 10 default y
11 help 11 help
12 Saying Y here will allow you to use Linux in text mode through a 12 Saying Y here will allow you to use Linux in text mode through a
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 52dff40ec192..fbd61127b9d9 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -223,7 +223,7 @@ config DAVINCI_WATCHDOG
223 223
224config AT32AP700X_WDT 224config AT32AP700X_WDT
225 tristate "AT32AP700x watchdog" 225 tristate "AT32AP700x watchdog"
226 depends on CPU_AT32AP7000 226 depends on CPU_AT32AP700X
227 help 227 help
228 Watchdog timer embedded into AT32AP700x devices. This will reboot 228 Watchdog timer embedded into AT32AP700x devices. This will reboot
229 your system when the timeout is reached. 229 your system when the timeout is reached.
diff --git a/include/asm-avr32/arch-at32ap/at32ap7000.h b/include/asm-avr32/arch-at32ap/at32ap700x.h
index 3914d7b94ff4..99684d6f3967 100644
--- a/include/asm-avr32/arch-at32ap/at32ap7000.h
+++ b/include/asm-avr32/arch-at32ap/at32ap700x.h
@@ -7,8 +7,8 @@
7 * it under the terms of the GNU General Public License version 2 as 7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10#ifndef __ASM_ARCH_AT32AP7000_H__ 10#ifndef __ASM_ARCH_AT32AP700X_H__
11#define __ASM_ARCH_AT32AP7000_H__ 11#define __ASM_ARCH_AT32AP700X_H__
12 12
13#define GPIO_PERIPH_A 0 13#define GPIO_PERIPH_A 0
14#define GPIO_PERIPH_B 1 14#define GPIO_PERIPH_B 1
@@ -32,4 +32,4 @@
32#define GPIO_PIN_PD(N) (GPIO_PIOD_BASE + (N)) 32#define GPIO_PIN_PD(N) (GPIO_PIOD_BASE + (N))
33#define GPIO_PIN_PE(N) (GPIO_PIOE_BASE + (N)) 33#define GPIO_PIN_PE(N) (GPIO_PIOE_BASE + (N))
34 34
35#endif /* __ASM_ARCH_AT32AP7000_H__ */ 35#endif /* __ASM_ARCH_AT32AP700X_H__ */
diff --git a/include/asm-avr32/arch-at32ap/cpu.h b/include/asm-avr32/arch-at32ap/cpu.h
index a762f42cbb71..0dc20261c1ea 100644
--- a/include/asm-avr32/arch-at32ap/cpu.h
+++ b/include/asm-avr32/arch-at32ap/cpu.h
@@ -14,7 +14,7 @@
14 * Only AT32AP7000 is defined for now. We can identify the specific 14 * Only AT32AP7000 is defined for now. We can identify the specific
15 * chip at runtime, but I'm not sure if it's really worth it. 15 * chip at runtime, but I'm not sure if it's really worth it.
16 */ 16 */
17#ifdef CONFIG_CPU_AT32AP7000 17#ifdef CONFIG_CPU_AT32AP700X
18# define cpu_is_at32ap7000() (1) 18# define cpu_is_at32ap7000() (1)
19#else 19#else
20# define cpu_is_at32ap7000() (0) 20# define cpu_is_at32ap7000() (0)
diff --git a/include/asm-avr32/arch-at32ap/io.h b/include/asm-avr32/arch-at32ap/io.h
index ee59e401f041..4ec6abc68ea3 100644
--- a/include/asm-avr32/arch-at32ap/io.h
+++ b/include/asm-avr32/arch-at32ap/io.h
@@ -4,7 +4,7 @@
4/* For "bizarre" halfword swapping */ 4/* For "bizarre" halfword swapping */
5#include <linux/byteorder/swabb.h> 5#include <linux/byteorder/swabb.h>
6 6
7#if defined(CONFIG_AP7000_32_BIT_SMC) 7#if defined(CONFIG_AP700X_32_BIT_SMC)
8# define __swizzle_addr_b(addr) (addr ^ 3UL) 8# define __swizzle_addr_b(addr) (addr ^ 3UL)
9# define __swizzle_addr_w(addr) (addr ^ 2UL) 9# define __swizzle_addr_w(addr) (addr ^ 2UL)
10# define __swizzle_addr_l(addr) (addr) 10# define __swizzle_addr_l(addr) (addr)
@@ -14,7 +14,7 @@
14# define __mem_ioswabb(a, x) (x) 14# define __mem_ioswabb(a, x) (x)
15# define __mem_ioswabw(a, x) swab16(x) 15# define __mem_ioswabw(a, x) swab16(x)
16# define __mem_ioswabl(a, x) swab32(x) 16# define __mem_ioswabl(a, x) swab32(x)
17#elif defined(CONFIG_AP7000_16_BIT_SMC) 17#elif defined(CONFIG_AP700X_16_BIT_SMC)
18# define __swizzle_addr_b(addr) (addr ^ 1UL) 18# define __swizzle_addr_b(addr) (addr ^ 1UL)
19# define __swizzle_addr_w(addr) (addr) 19# define __swizzle_addr_w(addr) (addr)
20# define __swizzle_addr_l(addr) (addr) 20# define __swizzle_addr_l(addr) (addr)
diff --git a/include/asm-avr32/irq.h b/include/asm-avr32/irq.h
index 83e6549d7783..9315724c0596 100644
--- a/include/asm-avr32/irq.h
+++ b/include/asm-avr32/irq.h
@@ -11,4 +11,9 @@
11 11
12#define irq_canonicalize(i) (i) 12#define irq_canonicalize(i) (i)
13 13
14#ifndef __ASSEMBLER__
15int nmi_enable(void);
16void nmi_disable(void);
17#endif
18
14#endif /* __ASM_AVR32_IOCTLS_H */ 19#endif /* __ASM_AVR32_IOCTLS_H */
diff --git a/include/asm-avr32/kdebug.h b/include/asm-avr32/kdebug.h
index fd7e99046b2f..ca4f9542365a 100644
--- a/include/asm-avr32/kdebug.h
+++ b/include/asm-avr32/kdebug.h
@@ -5,6 +5,7 @@
5enum die_val { 5enum die_val {
6 DIE_BREAKPOINT, 6 DIE_BREAKPOINT,
7 DIE_SSTEP, 7 DIE_SSTEP,
8 DIE_NMI,
8}; 9};
9 10
10#endif /* __ASM_AVR32_KDEBUG_H */ 11#endif /* __ASM_AVR32_KDEBUG_H */
diff --git a/include/asm-avr32/ocd.h b/include/asm-avr32/ocd.h
index 996405e0393f..6bef09490235 100644
--- a/include/asm-avr32/ocd.h
+++ b/include/asm-avr32/ocd.h
@@ -533,6 +533,11 @@ static inline void __ocd_write(unsigned int reg, unsigned long value)
533#define ocd_read(reg) __ocd_read(OCD_##reg) 533#define ocd_read(reg) __ocd_read(OCD_##reg)
534#define ocd_write(reg, value) __ocd_write(OCD_##reg, value) 534#define ocd_write(reg, value) __ocd_write(OCD_##reg, value)
535 535
536struct task_struct;
537
538void ocd_enable(struct task_struct *child);
539void ocd_disable(struct task_struct *child);
540
536#endif /* !__ASSEMBLER__ */ 541#endif /* !__ASSEMBLER__ */
537 542
538#endif /* __ASM_AVR32_OCD_H */ 543#endif /* __ASM_AVR32_OCD_H */
diff --git a/include/asm-avr32/processor.h b/include/asm-avr32/processor.h
index a52576b25afe..4212551c1cd9 100644
--- a/include/asm-avr32/processor.h
+++ b/include/asm-avr32/processor.h
@@ -57,11 +57,25 @@ struct avr32_cpuinfo {
57 unsigned short cpu_revision; 57 unsigned short cpu_revision;
58 enum tlb_config tlb_config; 58 enum tlb_config tlb_config;
59 unsigned long features; 59 unsigned long features;
60 u32 device_id;
60 61
61 struct cache_info icache; 62 struct cache_info icache;
62 struct cache_info dcache; 63 struct cache_info dcache;
63}; 64};
64 65
66static inline unsigned int avr32_get_manufacturer_id(struct avr32_cpuinfo *cpu)
67{
68 return (cpu->device_id >> 1) & 0x7f;
69}
70static inline unsigned int avr32_get_product_number(struct avr32_cpuinfo *cpu)
71{
72 return (cpu->device_id >> 12) & 0xffff;
73}
74static inline unsigned int avr32_get_chip_revision(struct avr32_cpuinfo *cpu)
75{
76 return (cpu->device_id >> 28) & 0x0f;
77}
78
65extern struct avr32_cpuinfo boot_cpu_data; 79extern struct avr32_cpuinfo boot_cpu_data;
66 80
67#ifdef CONFIG_SMP 81#ifdef CONFIG_SMP
diff --git a/include/asm-avr32/ptrace.h b/include/asm-avr32/ptrace.h
index 8c5dba5e33df..9e2d44f4e0fe 100644
--- a/include/asm-avr32/ptrace.h
+++ b/include/asm-avr32/ptrace.h
@@ -121,7 +121,15 @@ struct pt_regs {
121}; 121};
122 122
123#ifdef __KERNEL__ 123#ifdef __KERNEL__
124# define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER) 124
125#include <asm/ocd.h>
126
127#define arch_ptrace_attach(child) ocd_enable(child)
128
129#define user_mode(regs) (((regs)->sr & MODE_MASK) == MODE_USER)
130#define instruction_pointer(regs) ((regs)->pc)
131#define profile_pc(regs) instruction_pointer(regs)
132
125extern void show_regs (struct pt_regs *); 133extern void show_regs (struct pt_regs *);
126 134
127static __inline__ int valid_user_regs(struct pt_regs *regs) 135static __inline__ int valid_user_regs(struct pt_regs *regs)
@@ -141,9 +149,6 @@ static __inline__ int valid_user_regs(struct pt_regs *regs)
141 return 0; 149 return 0;
142} 150}
143 151
144#define instruction_pointer(regs) ((regs)->pc)
145
146#define profile_pc(regs) instruction_pointer(regs)
147 152
148#endif /* __KERNEL__ */ 153#endif /* __KERNEL__ */
149 154
diff --git a/include/asm-avr32/thread_info.h b/include/asm-avr32/thread_info.h
index 184b574289b4..07049f6c0d41 100644
--- a/include/asm-avr32/thread_info.h
+++ b/include/asm-avr32/thread_info.h
@@ -88,6 +88,7 @@ static inline struct thread_info *current_thread_info(void)
88#define TIF_MEMDIE 6 88#define TIF_MEMDIE 6
89#define TIF_RESTORE_SIGMASK 7 /* restore signal mask in do_signal */ 89#define TIF_RESTORE_SIGMASK 7 /* restore signal mask in do_signal */
90#define TIF_CPU_GOING_TO_SLEEP 8 /* CPU is entering sleep 0 mode */ 90#define TIF_CPU_GOING_TO_SLEEP 8 /* CPU is entering sleep 0 mode */
91#define TIF_DEBUG 30 /* debugging enabled */
91#define TIF_USERSPACE 31 /* true if FS sets userspace */ 92#define TIF_USERSPACE 31 /* true if FS sets userspace */
92 93
93#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) 94#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index c25db863081d..c719bb9d79ab 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -470,6 +470,8 @@ asmlinkage long sys_ptrace(long request, long pid, long addr, long data)
470 lock_kernel(); 470 lock_kernel();
471 if (request == PTRACE_TRACEME) { 471 if (request == PTRACE_TRACEME) {
472 ret = ptrace_traceme(); 472 ret = ptrace_traceme();
473 if (!ret)
474 arch_ptrace_attach(current);
473 goto out; 475 goto out;
474 } 476 }
475 477