diff options
Diffstat (limited to 'arch')
290 files changed, 9935 insertions, 15226 deletions
diff --git a/arch/alpha/include/asm/elf.h b/arch/alpha/include/asm/elf.h index 5c75c1b2352a..9baae8afe8a3 100644 --- a/arch/alpha/include/asm/elf.h +++ b/arch/alpha/include/asm/elf.h | |||
@@ -81,7 +81,6 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | |||
81 | #define ELF_DATA ELFDATA2LSB | 81 | #define ELF_DATA ELFDATA2LSB |
82 | #define ELF_ARCH EM_ALPHA | 82 | #define ELF_ARCH EM_ALPHA |
83 | 83 | ||
84 | #define USE_ELF_CORE_DUMP | ||
85 | #define ELF_EXEC_PAGESIZE 8192 | 84 | #define ELF_EXEC_PAGESIZE 8192 |
86 | 85 | ||
87 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 86 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h index 6aac3f5bb2f3..a399bb5730f1 100644 --- a/arch/arm/include/asm/elf.h +++ b/arch/arm/include/asm/elf.h | |||
@@ -101,7 +101,6 @@ extern int arm_elf_read_implies_exec(const struct elf32_hdr *, int); | |||
101 | int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs); | 101 | int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs); |
102 | #define ELF_CORE_COPY_TASK_REGS dump_task_regs | 102 | #define ELF_CORE_COPY_TASK_REGS dump_task_regs |
103 | 103 | ||
104 | #define USE_ELF_CORE_DUMP | ||
105 | #define ELF_EXEC_PAGESIZE 4096 | 104 | #define ELF_EXEC_PAGESIZE 4096 |
106 | 105 | ||
107 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 106 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c index 0e627705f746..8214bfebfaca 100644 --- a/arch/arm/kernel/armksyms.c +++ b/arch/arm/kernel/armksyms.c | |||
@@ -48,27 +48,7 @@ extern void __aeabi_uidivmod(void); | |||
48 | extern void __aeabi_ulcmp(void); | 48 | extern void __aeabi_ulcmp(void); |
49 | 49 | ||
50 | extern void fpundefinstr(void); | 50 | extern void fpundefinstr(void); |
51 | extern void fp_enter(void); | ||
52 | 51 | ||
53 | /* | ||
54 | * This has a special calling convention; it doesn't | ||
55 | * modify any of the usual registers, except for LR. | ||
56 | */ | ||
57 | #define EXPORT_CRC_ALIAS(sym) __CRC_SYMBOL(sym, "") | ||
58 | |||
59 | #define EXPORT_SYMBOL_ALIAS(sym,orig) \ | ||
60 | EXPORT_CRC_ALIAS(sym) \ | ||
61 | static const struct kernel_symbol __ksymtab_##sym \ | ||
62 | __used __attribute__((section("__ksymtab"))) = \ | ||
63 | { (unsigned long)&orig, #sym }; | ||
64 | |||
65 | /* | ||
66 | * floating point math emulator support. | ||
67 | * These symbols will never change their calling convention... | ||
68 | */ | ||
69 | EXPORT_SYMBOL_ALIAS(kern_fp_enter,fp_enter); | ||
70 | EXPORT_SYMBOL_ALIAS(fp_printk,printk); | ||
71 | EXPORT_SYMBOL_ALIAS(fp_send_sig,send_sig); | ||
72 | 52 | ||
73 | EXPORT_SYMBOL(__backtrace); | 53 | EXPORT_SYMBOL(__backtrace); |
74 | 54 | ||
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 71151bd87a36..4957e13ef55b 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S | |||
@@ -65,11 +65,11 @@ SECTIONS | |||
65 | __init_end = .; | 65 | __init_end = .; |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | /DISCARD/ : { /* Exit code and data */ | 68 | /* |
69 | EXIT_TEXT | 69 | * unwind exit sections must be discarded before the rest of the |
70 | EXIT_DATA | 70 | * unwind sections get included. |
71 | *(.exitcall.exit) | 71 | */ |
72 | *(.discard) | 72 | /DISCARD/ : { |
73 | *(.ARM.exidx.exit.text) | 73 | *(.ARM.exidx.exit.text) |
74 | *(.ARM.extab.exit.text) | 74 | *(.ARM.extab.exit.text) |
75 | #ifndef CONFIG_HOTPLUG_CPU | 75 | #ifndef CONFIG_HOTPLUG_CPU |
@@ -238,6 +238,9 @@ SECTIONS | |||
238 | 238 | ||
239 | STABS_DEBUG | 239 | STABS_DEBUG |
240 | .comment 0 : { *(.comment) } | 240 | .comment 0 : { *(.comment) } |
241 | |||
242 | /* Default discards */ | ||
243 | DISCARDS | ||
241 | } | 244 | } |
242 | 245 | ||
243 | /* | 246 | /* |
diff --git a/arch/arm/mach-bcmring/arch.c b/arch/arm/mach-bcmring/arch.c index fbe6fa02c882..53dd2a9eecf9 100644 --- a/arch/arm/mach-bcmring/arch.c +++ b/arch/arm/mach-bcmring/arch.c | |||
@@ -70,9 +70,19 @@ static struct ctl_table bcmring_sysctl_reboot[] = { | |||
70 | {} | 70 | {} |
71 | }; | 71 | }; |
72 | 72 | ||
73 | static struct resource nand_resource[] = { | ||
74 | [0] = { | ||
75 | .start = MM_ADDR_IO_NAND, | ||
76 | .end = MM_ADDR_IO_NAND + 0x1000 - 1, | ||
77 | .flags = IORESOURCE_MEM, | ||
78 | }, | ||
79 | }; | ||
80 | |||
73 | static struct platform_device nand_device = { | 81 | static struct platform_device nand_device = { |
74 | .name = "bcm-nand", | 82 | .name = "bcm-nand", |
75 | .id = -1, | 83 | .id = -1, |
84 | .resource = nand_resource, | ||
85 | .num_resources = ARRAY_SIZE(nand_resource), | ||
76 | }; | 86 | }; |
77 | 87 | ||
78 | static struct platform_device *devices[] __initdata = { | 88 | static struct platform_device *devices[] __initdata = { |
diff --git a/arch/arm/mach-bcmring/include/mach/reg_nand.h b/arch/arm/mach-bcmring/include/mach/reg_nand.h new file mode 100644 index 000000000000..387376ffb56b --- /dev/null +++ b/arch/arm/mach-bcmring/include/mach/reg_nand.h | |||
@@ -0,0 +1,66 @@ | |||
1 | /***************************************************************************** | ||
2 | * Copyright 2001 - 2008 Broadcom Corporation. All rights reserved. | ||
3 | * | ||
4 | * Unless you and Broadcom execute a separate written software license | ||
5 | * agreement governing use of this software, this software is licensed to you | ||
6 | * under the terms of the GNU General Public License version 2, available at | ||
7 | * http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). | ||
8 | * | ||
9 | * Notwithstanding the above, under no circumstances may you combine this | ||
10 | * software in any way with any other Broadcom software provided under a | ||
11 | * license other than the GPL, without Broadcom's express prior written | ||
12 | * consent. | ||
13 | *****************************************************************************/ | ||
14 | |||
15 | /* | ||
16 | * | ||
17 | ***************************************************************************** | ||
18 | * | ||
19 | * REG_NAND.h | ||
20 | * | ||
21 | * PURPOSE: | ||
22 | * | ||
23 | * This file contains definitions for the nand registers: | ||
24 | * | ||
25 | * NOTES: | ||
26 | * | ||
27 | *****************************************************************************/ | ||
28 | |||
29 | #if !defined(__ASM_ARCH_REG_NAND_H) | ||
30 | #define __ASM_ARCH_REG_NAND_H | ||
31 | |||
32 | /* ---- Include Files ---------------------------------------------------- */ | ||
33 | #include <csp/reg.h> | ||
34 | #include <mach/reg_umi.h> | ||
35 | |||
36 | /* ---- Constants and Types ---------------------------------------------- */ | ||
37 | |||
38 | #define HW_NAND_BASE MM_IO_BASE_NAND /* NAND Flash */ | ||
39 | |||
40 | /* DMA accesses by the bootstrap need hard nonvirtual addresses */ | ||
41 | #define REG_NAND_CMD __REG16(HW_NAND_BASE + 0) | ||
42 | #define REG_NAND_ADDR __REG16(HW_NAND_BASE + 4) | ||
43 | |||
44 | #define REG_NAND_PHYS_DATA16 (HW_NAND_BASE + 8) | ||
45 | #define REG_NAND_PHYS_DATA8 (HW_NAND_BASE + 8) | ||
46 | #define REG_NAND_DATA16 __REG16(REG_NAND_PHYS_DATA16) | ||
47 | #define REG_NAND_DATA8 __REG8(REG_NAND_PHYS_DATA8) | ||
48 | |||
49 | /* use appropriate offset to make sure it start at the 1K boundary */ | ||
50 | #define REG_NAND_PHYS_DATA_DMA (HW_NAND_BASE + 0x400) | ||
51 | #define REG_NAND_DATA_DMA __REG32(REG_NAND_PHYS_DATA_DMA) | ||
52 | |||
53 | /* Linux DMA requires physical address of the data register */ | ||
54 | #define REG_NAND_DATA16_PADDR HW_IO_VIRT_TO_PHYS(REG_NAND_PHYS_DATA16) | ||
55 | #define REG_NAND_DATA8_PADDR HW_IO_VIRT_TO_PHYS(REG_NAND_PHYS_DATA8) | ||
56 | #define REG_NAND_DATA_PADDR HW_IO_VIRT_TO_PHYS(REG_NAND_PHYS_DATA_DMA) | ||
57 | |||
58 | #define NAND_BUS_16BIT() (0) | ||
59 | #define NAND_BUS_8BIT() (!NAND_BUS_16BIT()) | ||
60 | |||
61 | /* Register offsets */ | ||
62 | #define REG_NAND_CMD_OFFSET (0) | ||
63 | #define REG_NAND_ADDR_OFFSET (4) | ||
64 | #define REG_NAND_DATA8_OFFSET (8) | ||
65 | |||
66 | #endif | ||
diff --git a/arch/arm/mach-bcmring/include/mach/reg_umi.h b/arch/arm/mach-bcmring/include/mach/reg_umi.h new file mode 100644 index 000000000000..06a355481ea6 --- /dev/null +++ b/arch/arm/mach-bcmring/include/mach/reg_umi.h | |||
@@ -0,0 +1,237 @@ | |||
1 | /***************************************************************************** | ||
2 | * Copyright 2005 - 2008 Broadcom Corporation. All rights reserved. | ||
3 | * | ||
4 | * Unless you and Broadcom execute a separate written software license | ||
5 | * agreement governing use of this software, this software is licensed to you | ||
6 | * under the terms of the GNU General Public License version 2, available at | ||
7 | * http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). | ||
8 | * | ||
9 | * Notwithstanding the above, under no circumstances may you combine this | ||
10 | * software in any way with any other Broadcom software provided under a | ||
11 | * license other than the GPL, without Broadcom's express prior written | ||
12 | * consent. | ||
13 | *****************************************************************************/ | ||
14 | |||
15 | /* | ||
16 | * | ||
17 | ***************************************************************************** | ||
18 | * | ||
19 | * REG_UMI.h | ||
20 | * | ||
21 | * PURPOSE: | ||
22 | * | ||
23 | * This file contains definitions for the nand registers: | ||
24 | * | ||
25 | * NOTES: | ||
26 | * | ||
27 | *****************************************************************************/ | ||
28 | |||
29 | #if !defined(__ASM_ARCH_REG_UMI_H) | ||
30 | #define __ASM_ARCH_REG_UMI_H | ||
31 | |||
32 | /* ---- Include Files ---------------------------------------------------- */ | ||
33 | #include <csp/reg.h> | ||
34 | #include <mach/csp/mm_io.h> | ||
35 | |||
36 | /* ---- Constants and Types ---------------------------------------------- */ | ||
37 | |||
38 | /* Unified Memory Interface Ctrl Register */ | ||
39 | #define HW_UMI_BASE MM_IO_BASE_UMI | ||
40 | |||
41 | /* Flash bank 0 timing and control register */ | ||
42 | #define REG_UMI_FLASH0_TCR __REG32(HW_UMI_BASE + 0x00) | ||
43 | /* Flash bank 1 timing and control register */ | ||
44 | #define REG_UMI_FLASH1_TCR __REG32(HW_UMI_BASE + 0x04) | ||
45 | /* Flash bank 2 timing and control register */ | ||
46 | #define REG_UMI_FLASH2_TCR __REG32(HW_UMI_BASE + 0x08) | ||
47 | /* MMD interface and control register */ | ||
48 | #define REG_UMI_MMD_ICR __REG32(HW_UMI_BASE + 0x0c) | ||
49 | /* NAND timing and control register */ | ||
50 | #define REG_UMI_NAND_TCR __REG32(HW_UMI_BASE + 0x18) | ||
51 | /* NAND ready/chip select register */ | ||
52 | #define REG_UMI_NAND_RCSR __REG32(HW_UMI_BASE + 0x1c) | ||
53 | /* NAND ECC control & status register */ | ||
54 | #define REG_UMI_NAND_ECC_CSR __REG32(HW_UMI_BASE + 0x20) | ||
55 | /* NAND ECC data register XXB2B1B0 */ | ||
56 | #define REG_UMI_NAND_ECC_DATA __REG32(HW_UMI_BASE + 0x24) | ||
57 | /* BCH ECC Parameter N */ | ||
58 | #define REG_UMI_BCH_N __REG32(HW_UMI_BASE + 0x40) | ||
59 | /* BCH ECC Parameter T */ | ||
60 | #define REG_UMI_BCH_K __REG32(HW_UMI_BASE + 0x44) | ||
61 | /* BCH ECC Parameter K */ | ||
62 | #define REG_UMI_BCH_T __REG32(HW_UMI_BASE + 0x48) | ||
63 | /* BCH ECC Contro Status */ | ||
64 | #define REG_UMI_BCH_CTRL_STATUS __REG32(HW_UMI_BASE + 0x4C) | ||
65 | /* BCH WR ECC 31:0 */ | ||
66 | #define REG_UMI_BCH_WR_ECC_0 __REG32(HW_UMI_BASE + 0x50) | ||
67 | /* BCH WR ECC 63:32 */ | ||
68 | #define REG_UMI_BCH_WR_ECC_1 __REG32(HW_UMI_BASE + 0x54) | ||
69 | /* BCH WR ECC 95:64 */ | ||
70 | #define REG_UMI_BCH_WR_ECC_2 __REG32(HW_UMI_BASE + 0x58) | ||
71 | /* BCH WR ECC 127:96 */ | ||
72 | #define REG_UMI_BCH_WR_ECC_3 __REG32(HW_UMI_BASE + 0x5c) | ||
73 | /* BCH WR ECC 155:128 */ | ||
74 | #define REG_UMI_BCH_WR_ECC_4 __REG32(HW_UMI_BASE + 0x60) | ||
75 | /* BCH Read Error Location 1,0 */ | ||
76 | #define REG_UMI_BCH_RD_ERR_LOC_1_0 __REG32(HW_UMI_BASE + 0x64) | ||
77 | /* BCH Read Error Location 3,2 */ | ||
78 | #define REG_UMI_BCH_RD_ERR_LOC_3_2 __REG32(HW_UMI_BASE + 0x68) | ||
79 | /* BCH Read Error Location 5,4 */ | ||
80 | #define REG_UMI_BCH_RD_ERR_LOC_5_4 __REG32(HW_UMI_BASE + 0x6c) | ||
81 | /* BCH Read Error Location 7,6 */ | ||
82 | #define REG_UMI_BCH_RD_ERR_LOC_7_6 __REG32(HW_UMI_BASE + 0x70) | ||
83 | /* BCH Read Error Location 9,8 */ | ||
84 | #define REG_UMI_BCH_RD_ERR_LOC_9_8 __REG32(HW_UMI_BASE + 0x74) | ||
85 | /* BCH Read Error Location 11,10 */ | ||
86 | #define REG_UMI_BCH_RD_ERR_LOC_B_A __REG32(HW_UMI_BASE + 0x78) | ||
87 | |||
88 | /* REG_UMI_FLASH0/1/2_TCR, REG_UMI_SRAM0/1_TCR bits */ | ||
89 | /* Enable wait pin during burst write or read */ | ||
90 | #define REG_UMI_TCR_WAITEN 0x80000000 | ||
91 | /* Enable mem ctrlr to work iwth ext mem of lower freq than AHB clk */ | ||
92 | #define REG_UMI_TCR_LOWFREQ 0x40000000 | ||
93 | /* 1=synch write, 0=async write */ | ||
94 | #define REG_UMI_TCR_MEMTYPE_SYNCWRITE 0x20000000 | ||
95 | /* 1=synch read, 0=async read */ | ||
96 | #define REG_UMI_TCR_MEMTYPE_SYNCREAD 0x10000000 | ||
97 | /* 1=page mode read, 0=normal mode read */ | ||
98 | #define REG_UMI_TCR_MEMTYPE_PAGEREAD 0x08000000 | ||
99 | /* page size/burst size (wrap only) */ | ||
100 | #define REG_UMI_TCR_MEMTYPE_PGSZ_MASK 0x07000000 | ||
101 | /* 4 word */ | ||
102 | #define REG_UMI_TCR_MEMTYPE_PGSZ_4 0x00000000 | ||
103 | /* 8 word */ | ||
104 | #define REG_UMI_TCR_MEMTYPE_PGSZ_8 0x01000000 | ||
105 | /* 16 word */ | ||
106 | #define REG_UMI_TCR_MEMTYPE_PGSZ_16 0x02000000 | ||
107 | /* 32 word */ | ||
108 | #define REG_UMI_TCR_MEMTYPE_PGSZ_32 0x03000000 | ||
109 | /* 64 word */ | ||
110 | #define REG_UMI_TCR_MEMTYPE_PGSZ_64 0x04000000 | ||
111 | /* 128 word */ | ||
112 | #define REG_UMI_TCR_MEMTYPE_PGSZ_128 0x05000000 | ||
113 | /* 256 word */ | ||
114 | #define REG_UMI_TCR_MEMTYPE_PGSZ_256 0x06000000 | ||
115 | /* 512 word */ | ||
116 | #define REG_UMI_TCR_MEMTYPE_PGSZ_512 0x07000000 | ||
117 | /* Page read access cycle / Burst write latency (n+2 / n+1) */ | ||
118 | #define REG_UMI_TCR_TPRC_TWLC_MASK 0x00f80000 | ||
119 | /* Bus turnaround cycle (n) */ | ||
120 | #define REG_UMI_TCR_TBTA_MASK 0x00070000 | ||
121 | /* Write pulse width cycle (n+1) */ | ||
122 | #define REG_UMI_TCR_TWP_MASK 0x0000f800 | ||
123 | /* Write recovery cycle (n+1) */ | ||
124 | #define REG_UMI_TCR_TWR_MASK 0x00000600 | ||
125 | /* Write address setup cycle (n+1) */ | ||
126 | #define REG_UMI_TCR_TAS_MASK 0x00000180 | ||
127 | /* Output enable delay cycle (n) */ | ||
128 | #define REG_UMI_TCR_TOE_MASK 0x00000060 | ||
129 | /* Read access cycle / Burst read latency (n+2 / n+1) */ | ||
130 | #define REG_UMI_TCR_TRC_TLC_MASK 0x0000001f | ||
131 | |||
132 | /* REG_UMI_MMD_ICR bits */ | ||
133 | /* Flash write protection pin control */ | ||
134 | #define REG_UMI_MMD_ICR_FLASH_WP 0x8000 | ||
135 | /* Extend hold time for sram0, sram1 csn (39 MHz operation) */ | ||
136 | #define REG_UMI_MMD_ICR_XHCS 0x4000 | ||
137 | /* Enable SDRAM 2 interface control */ | ||
138 | #define REG_UMI_MMD_ICR_SDRAM2EN 0x2000 | ||
139 | /* Enable merge of flash banks 0/1 to 512 MBit bank */ | ||
140 | #define REG_UMI_MMD_ICR_INST512 0x1000 | ||
141 | /* Enable merge of flash banks 1/2 to 512 MBit bank */ | ||
142 | #define REG_UMI_MMD_ICR_DATA512 0x0800 | ||
143 | /* Enable SDRAM interface control */ | ||
144 | #define REG_UMI_MMD_ICR_SDRAMEN 0x0400 | ||
145 | /* Polarity of busy state of Burst Wait Signal */ | ||
146 | #define REG_UMI_MMD_ICR_WAITPOL 0x0200 | ||
147 | /* Enable burst clock stopped when not accessing external burst flash/sram */ | ||
148 | #define REG_UMI_MMD_ICR_BCLKSTOP 0x0100 | ||
149 | /* Enable the peri1_csn to replace flash1_csn in 512 Mb flash mode */ | ||
150 | #define REG_UMI_MMD_ICR_PERI1EN 0x0080 | ||
151 | /* Enable the peri2_csn to replace sdram_csn */ | ||
152 | #define REG_UMI_MMD_ICR_PERI2EN 0x0040 | ||
153 | /* Enable the peri3_csn to replace sdram2_csn */ | ||
154 | #define REG_UMI_MMD_ICR_PERI3EN 0x0020 | ||
155 | /* Enable sram bank1 for H/W controlled MRS */ | ||
156 | #define REG_UMI_MMD_ICR_MRSB1 0x0010 | ||
157 | /* Enable sram bank0 for H/W controlled MRS */ | ||
158 | #define REG_UMI_MMD_ICR_MRSB0 0x0008 | ||
159 | /* Polarity for assert3ed state of H/W controlled MRS */ | ||
160 | #define REG_UMI_MMD_ICR_MRSPOL 0x0004 | ||
161 | /* 0: S/W controllable ZZ/MRS/CRE/P-Mode pin */ | ||
162 | /* 1: H/W controlled ZZ/MRS/CRE/P-Mode, same timing as CS */ | ||
163 | #define REG_UMI_MMD_ICR_MRSMODE 0x0002 | ||
164 | /* MRS state for S/W controlled mode */ | ||
165 | #define REG_UMI_MMD_ICR_MRSSTATE 0x0001 | ||
166 | |||
167 | /* REG_UMI_NAND_TCR bits */ | ||
168 | /* Enable software to control CS */ | ||
169 | #define REG_UMI_NAND_TCR_CS_SWCTRL 0x80000000 | ||
170 | /* 16-bit nand wordsize if set */ | ||
171 | #define REG_UMI_NAND_TCR_WORD16 0x40000000 | ||
172 | /* Bus turnaround cycle (n) */ | ||
173 | #define REG_UMI_NAND_TCR_TBTA_MASK 0x00070000 | ||
174 | /* Write pulse width cycle (n+1) */ | ||
175 | #define REG_UMI_NAND_TCR_TWP_MASK 0x0000f800 | ||
176 | /* Write recovery cycle (n+1) */ | ||
177 | #define REG_UMI_NAND_TCR_TWR_MASK 0x00000600 | ||
178 | /* Write address setup cycle (n+1) */ | ||
179 | #define REG_UMI_NAND_TCR_TAS_MASK 0x00000180 | ||
180 | /* Output enable delay cycle (n) */ | ||
181 | #define REG_UMI_NAND_TCR_TOE_MASK 0x00000060 | ||
182 | /* Read access cycle (n+2) */ | ||
183 | #define REG_UMI_NAND_TCR_TRC_TLC_MASK 0x0000001f | ||
184 | |||
185 | /* REG_UMI_NAND_RCSR bits */ | ||
186 | /* Status: Ready=1, Busy=0 */ | ||
187 | #define REG_UMI_NAND_RCSR_RDY 0x02 | ||
188 | /* Keep CS asserted during operation */ | ||
189 | #define REG_UMI_NAND_RCSR_CS_ASSERTED 0x01 | ||
190 | |||
191 | /* REG_UMI_NAND_ECC_CSR bits */ | ||
192 | /* Interrupt status - read-only */ | ||
193 | #define REG_UMI_NAND_ECC_CSR_NANDINT 0x80000000 | ||
194 | /* Read: Status of ECC done, Write: clear ECC interrupt */ | ||
195 | #define REG_UMI_NAND_ECC_CSR_ECCINT_RAW 0x00800000 | ||
196 | /* Read: Status of R/B, Write: clear R/B interrupt */ | ||
197 | #define REG_UMI_NAND_ECC_CSR_RBINT_RAW 0x00400000 | ||
198 | /* 1 = Enable ECC Interrupt */ | ||
199 | #define REG_UMI_NAND_ECC_CSR_ECCINT_ENABLE 0x00008000 | ||
200 | /* 1 = Assert interrupt at rising edge of R/B_ */ | ||
201 | #define REG_UMI_NAND_ECC_CSR_RBINT_ENABLE 0x00004000 | ||
202 | /* Calculate ECC by 0=512 bytes, 1=256 bytes */ | ||
203 | #define REG_UMI_NAND_ECC_CSR_256BYTE 0x00000080 | ||
204 | /* Enable ECC in hardware */ | ||
205 | #define REG_UMI_NAND_ECC_CSR_ECC_ENABLE 0x00000001 | ||
206 | |||
207 | /* REG_UMI_BCH_CTRL_STATUS bits */ | ||
208 | /* Shift to Indicate Number of correctable errors detected */ | ||
209 | #define REG_UMI_BCH_CTRL_STATUS_NB_CORR_ERROR_SHIFT 20 | ||
210 | /* Indicate Number of correctable errors detected */ | ||
211 | #define REG_UMI_BCH_CTRL_STATUS_NB_CORR_ERROR 0x00F00000 | ||
212 | /* Indicate Errors detected during read but uncorrectable */ | ||
213 | #define REG_UMI_BCH_CTRL_STATUS_UNCORR_ERR 0x00080000 | ||
214 | /* Indicate Errors detected during read and are correctable */ | ||
215 | #define REG_UMI_BCH_CTRL_STATUS_CORR_ERR 0x00040000 | ||
216 | /* Flag indicates BCH's ECC status of read process are valid */ | ||
217 | #define REG_UMI_BCH_CTRL_STATUS_RD_ECC_VALID 0x00020000 | ||
218 | /* Flag indicates BCH's ECC status of write process are valid */ | ||
219 | #define REG_UMI_BCH_CTRL_STATUS_WR_ECC_VALID 0x00010000 | ||
220 | /* Pause ECC calculation */ | ||
221 | #define REG_UMI_BCH_CTRL_STATUS_PAUSE_ECC_DEC 0x00000010 | ||
222 | /* Enable Interrupt */ | ||
223 | #define REG_UMI_BCH_CTRL_STATUS_INT_EN 0x00000004 | ||
224 | /* Enable ECC during read */ | ||
225 | #define REG_UMI_BCH_CTRL_STATUS_ECC_RD_EN 0x00000002 | ||
226 | /* Enable ECC during write */ | ||
227 | #define REG_UMI_BCH_CTRL_STATUS_ECC_WR_EN 0x00000001 | ||
228 | /* Mask for location */ | ||
229 | #define REG_UMI_BCH_ERR_LOC_MASK 0x00001FFF | ||
230 | /* location within a byte */ | ||
231 | #define REG_UMI_BCH_ERR_LOC_BYTE 0x00000007 | ||
232 | /* location within a word */ | ||
233 | #define REG_UMI_BCH_ERR_LOC_WORD 0x00000018 | ||
234 | /* location within a page (512 byte) */ | ||
235 | #define REG_UMI_BCH_ERR_LOC_PAGE 0x00001FE0 | ||
236 | #define REG_UMI_BCH_ERR_LOC_ADDR(index) (__REG32(HW_UMI_BASE + 0x64 + (index / 2)*4) >> ((index % 2) * 16)) | ||
237 | #endif | ||
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 62b98bffc158..07de8db14581 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -339,6 +339,15 @@ static struct davinci_mmc_config da850_mmc_config = { | |||
339 | .version = MMC_CTLR_VERSION_2, | 339 | .version = MMC_CTLR_VERSION_2, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static void da850_panel_power_ctrl(int val) | ||
343 | { | ||
344 | /* lcd backlight */ | ||
345 | gpio_set_value(DA850_LCD_BL_PIN, val); | ||
346 | |||
347 | /* lcd power */ | ||
348 | gpio_set_value(DA850_LCD_PWR_PIN, val); | ||
349 | } | ||
350 | |||
342 | static int da850_lcd_hw_init(void) | 351 | static int da850_lcd_hw_init(void) |
343 | { | 352 | { |
344 | int status; | 353 | int status; |
@@ -356,17 +365,11 @@ static int da850_lcd_hw_init(void) | |||
356 | gpio_direction_output(DA850_LCD_BL_PIN, 0); | 365 | gpio_direction_output(DA850_LCD_BL_PIN, 0); |
357 | gpio_direction_output(DA850_LCD_PWR_PIN, 0); | 366 | gpio_direction_output(DA850_LCD_PWR_PIN, 0); |
358 | 367 | ||
359 | /* disable lcd backlight */ | 368 | /* Switch off panel power and backlight */ |
360 | gpio_set_value(DA850_LCD_BL_PIN, 0); | 369 | da850_panel_power_ctrl(0); |
361 | |||
362 | /* disable lcd power */ | ||
363 | gpio_set_value(DA850_LCD_PWR_PIN, 0); | ||
364 | |||
365 | /* enable lcd power */ | ||
366 | gpio_set_value(DA850_LCD_PWR_PIN, 1); | ||
367 | 370 | ||
368 | /* enable lcd backlight */ | 371 | /* Switch on panel power and backlight */ |
369 | gpio_set_value(DA850_LCD_BL_PIN, 1); | 372 | da850_panel_power_ctrl(1); |
370 | 373 | ||
371 | return 0; | 374 | return 0; |
372 | } | 375 | } |
@@ -674,6 +677,7 @@ static __init void da850_evm_init(void) | |||
674 | pr_warning("da850_evm_init: lcd initialization failed: %d\n", | 677 | pr_warning("da850_evm_init: lcd initialization failed: %d\n", |
675 | ret); | 678 | ret); |
676 | 679 | ||
680 | sharp_lk043t1dg01_pdata.panel_power_ctrl = da850_panel_power_ctrl, | ||
677 | ret = da8xx_register_lcdc(&sharp_lk043t1dg01_pdata); | 681 | ret = da8xx_register_lcdc(&sharp_lk043t1dg01_pdata); |
678 | if (ret) | 682 | if (ret) |
679 | pr_warning("da850_evm_init: lcdc registration failed: %d\n", | 683 | pr_warning("da850_evm_init: lcdc registration failed: %d\n", |
diff --git a/arch/arm/mach-davinci/include/mach/nand.h b/arch/arm/mach-davinci/include/mach/nand.h index b520c4b5678a..b2ad8090bd10 100644 --- a/arch/arm/mach-davinci/include/mach/nand.h +++ b/arch/arm/mach-davinci/include/mach/nand.h | |||
@@ -79,6 +79,10 @@ struct davinci_nand_pdata { /* platform_data */ | |||
79 | 79 | ||
80 | /* e.g. NAND_BUSWIDTH_16 or NAND_USE_FLASH_BBT */ | 80 | /* e.g. NAND_BUSWIDTH_16 or NAND_USE_FLASH_BBT */ |
81 | unsigned options; | 81 | unsigned options; |
82 | |||
83 | /* Main and mirror bbt descriptor overrides */ | ||
84 | struct nand_bbt_descr *bbt_td; | ||
85 | struct nand_bbt_descr *bbt_md; | ||
82 | }; | 86 | }; |
83 | 87 | ||
84 | #endif /* __ARCH_ARM_DAVINCI_NAND_H */ | 88 | #endif /* __ARCH_ARM_DAVINCI_NAND_H */ |
diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h b/arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h index 83f31cd0a274..62d17421e48c 100644 --- a/arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx_keypad.h | |||
@@ -5,9 +5,6 @@ | |||
5 | #ifndef __ASM_ARCH_EP93XX_KEYPAD_H | 5 | #ifndef __ASM_ARCH_EP93XX_KEYPAD_H |
6 | #define __ASM_ARCH_EP93XX_KEYPAD_H | 6 | #define __ASM_ARCH_EP93XX_KEYPAD_H |
7 | 7 | ||
8 | #define MAX_MATRIX_KEY_ROWS (8) | ||
9 | #define MAX_MATRIX_KEY_COLS (8) | ||
10 | |||
11 | /* flags for the ep93xx_keypad driver */ | 8 | /* flags for the ep93xx_keypad driver */ |
12 | #define EP93XX_KEYPAD_DISABLE_3_KEY (1<<0) /* disable 3-key reset */ | 9 | #define EP93XX_KEYPAD_DISABLE_3_KEY (1<<0) /* disable 3-key reset */ |
13 | #define EP93XX_KEYPAD_DIAG_MODE (1<<1) /* diagnostic mode */ | 10 | #define EP93XX_KEYPAD_DIAG_MODE (1<<1) /* diagnostic mode */ |
@@ -18,8 +15,6 @@ | |||
18 | 15 | ||
19 | /** | 16 | /** |
20 | * struct ep93xx_keypad_platform_data - platform specific device structure | 17 | * struct ep93xx_keypad_platform_data - platform specific device structure |
21 | * @matrix_key_rows: number of rows in the keypad matrix | ||
22 | * @matrix_key_cols: number of columns in the keypad matrix | ||
23 | * @matrix_key_map: array of keycodes defining the keypad matrix | 18 | * @matrix_key_map: array of keycodes defining the keypad matrix |
24 | * @matrix_key_map_size: ARRAY_SIZE(matrix_key_map) | 19 | * @matrix_key_map_size: ARRAY_SIZE(matrix_key_map) |
25 | * @debounce: debounce start count; terminal count is 0xff | 20 | * @debounce: debounce start count; terminal count is 0xff |
@@ -27,8 +22,6 @@ | |||
27 | * @flags: see above | 22 | * @flags: see above |
28 | */ | 23 | */ |
29 | struct ep93xx_keypad_platform_data { | 24 | struct ep93xx_keypad_platform_data { |
30 | unsigned int matrix_key_rows; | ||
31 | unsigned int matrix_key_cols; | ||
32 | unsigned int *matrix_key_map; | 25 | unsigned int *matrix_key_map; |
33 | int matrix_key_map_size; | 26 | int matrix_key_map_size; |
34 | unsigned int debounce; | 27 | unsigned int debounce; |
@@ -36,7 +29,7 @@ struct ep93xx_keypad_platform_data { | |||
36 | unsigned int flags; | 29 | unsigned int flags; |
37 | }; | 30 | }; |
38 | 31 | ||
39 | /* macro for creating the matrix_key_map table */ | 32 | #define EP93XX_MATRIX_ROWS (8) |
40 | #define KEY(row, col, val) (((row) << 28) | ((col) << 24) | (val)) | 33 | #define EP93XX_MATRIX_COLS (8) |
41 | 34 | ||
42 | #endif /* __ASM_ARCH_EP93XX_KEYPAD_H */ | 35 | #endif /* __ASM_ARCH_EP93XX_KEYPAD_H */ |
diff --git a/arch/arm/mach-nomadik/board-nhk8815.c b/arch/arm/mach-nomadik/board-nhk8815.c index 116394484e71..9438bf6613a3 100644 --- a/arch/arm/mach-nomadik/board-nhk8815.c +++ b/arch/arm/mach-nomadik/board-nhk8815.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/gpio.h> | 18 | #include <linux/gpio.h> |
19 | #include <linux/mtd/mtd.h> | 19 | #include <linux/mtd/mtd.h> |
20 | #include <linux/mtd/nand.h> | 20 | #include <linux/mtd/nand.h> |
21 | #include <linux/mtd/onenand.h> | ||
21 | #include <linux/mtd/partitions.h> | 22 | #include <linux/mtd/partitions.h> |
22 | #include <linux/io.h> | 23 | #include <linux/io.h> |
23 | #include <asm/sizes.h> | 24 | #include <asm/sizes.h> |
@@ -149,7 +150,7 @@ static struct mtd_partition nhk8815_onenand_partitions[] = { | |||
149 | } | 150 | } |
150 | }; | 151 | }; |
151 | 152 | ||
152 | static struct flash_platform_data nhk8815_onenand_data = { | 153 | static struct onenand_platform_data nhk8815_onenand_data = { |
153 | .parts = nhk8815_onenand_partitions, | 154 | .parts = nhk8815_onenand_partitions, |
154 | .nr_parts = ARRAY_SIZE(nhk8815_onenand_partitions), | 155 | .nr_parts = ARRAY_SIZE(nhk8815_onenand_partitions), |
155 | }; | 156 | }; |
@@ -163,7 +164,7 @@ static struct resource nhk8815_onenand_resource[] = { | |||
163 | }; | 164 | }; |
164 | 165 | ||
165 | static struct platform_device nhk8815_onenand_device = { | 166 | static struct platform_device nhk8815_onenand_device = { |
166 | .name = "onenand", | 167 | .name = "onenand-flash", |
167 | .id = -1, | 168 | .id = -1, |
168 | .dev = { | 169 | .dev = { |
169 | .platform_data = &nhk8815_onenand_data, | 170 | .platform_data = &nhk8815_onenand_data, |
@@ -174,10 +175,10 @@ static struct platform_device nhk8815_onenand_device = { | |||
174 | 175 | ||
175 | static void __init nhk8815_onenand_init(void) | 176 | static void __init nhk8815_onenand_init(void) |
176 | { | 177 | { |
177 | #ifdef CONFIG_ONENAND | 178 | #ifdef CONFIG_MTD_ONENAND |
178 | /* Set up SMCS0 for OneNand */ | 179 | /* Set up SMCS0 for OneNand */ |
179 | writel(0x000030db, FSMC_BCR0); | 180 | writel(0x000030db, FSMC_BCR(0)); |
180 | writel(0x02100551, FSMC_BTR0); | 181 | writel(0x02100551, FSMC_BTR(0)); |
181 | #endif | 182 | #endif |
182 | } | 183 | } |
183 | 184 | ||
diff --git a/arch/arm/mach-u300/include/mach/coh901318.h b/arch/arm/mach-u300/include/mach/coh901318.h new file mode 100644 index 000000000000..f4cfee9c7d28 --- /dev/null +++ b/arch/arm/mach-u300/include/mach/coh901318.h | |||
@@ -0,0 +1,281 @@ | |||
1 | /* | ||
2 | * | ||
3 | * include/linux/coh901318.h | ||
4 | * | ||
5 | * | ||
6 | * Copyright (C) 2007-2009 ST-Ericsson | ||
7 | * License terms: GNU General Public License (GPL) version 2 | ||
8 | * DMA driver for COH 901 318 | ||
9 | * Author: Per Friden <per.friden@stericsson.com> | ||
10 | */ | ||
11 | |||
12 | #ifndef COH901318_H | ||
13 | #define COH901318_H | ||
14 | |||
15 | #include <linux/device.h> | ||
16 | #include <linux/dmaengine.h> | ||
17 | |||
18 | #define MAX_DMA_PACKET_SIZE_SHIFT 11 | ||
19 | #define MAX_DMA_PACKET_SIZE (1 << MAX_DMA_PACKET_SIZE_SHIFT) | ||
20 | |||
21 | /** | ||
22 | * struct coh901318_lli - linked list item for DMAC | ||
23 | * @control: control settings for DMAC | ||
24 | * @src_addr: transfer source address | ||
25 | * @dst_addr: transfer destination address | ||
26 | * @link_addr: physical address to next lli | ||
27 | * @virt_link_addr: virtual addres of next lli (only used by pool_free) | ||
28 | * @phy_this: physical address of current lli (only used by pool_free) | ||
29 | */ | ||
30 | struct coh901318_lli { | ||
31 | u32 control; | ||
32 | dma_addr_t src_addr; | ||
33 | dma_addr_t dst_addr; | ||
34 | dma_addr_t link_addr; | ||
35 | |||
36 | void *virt_link_addr; | ||
37 | dma_addr_t phy_this; | ||
38 | }; | ||
39 | /** | ||
40 | * struct coh901318_params - parameters for DMAC configuration | ||
41 | * @config: DMA config register | ||
42 | * @ctrl_lli_last: DMA control register for the last lli in the list | ||
43 | * @ctrl_lli: DMA control register for an lli | ||
44 | * @ctrl_lli_chained: DMA control register for a chained lli | ||
45 | */ | ||
46 | struct coh901318_params { | ||
47 | u32 config; | ||
48 | u32 ctrl_lli_last; | ||
49 | u32 ctrl_lli; | ||
50 | u32 ctrl_lli_chained; | ||
51 | }; | ||
52 | /** | ||
53 | * struct coh_dma_channel - dma channel base | ||
54 | * @name: ascii name of dma channel | ||
55 | * @number: channel id number | ||
56 | * @desc_nbr_max: number of preallocated descriptortors | ||
57 | * @priority_high: prio of channel, 0 low otherwise high. | ||
58 | * @param: configuration parameters | ||
59 | * @dev_addr: physical address of periphal connected to channel | ||
60 | */ | ||
61 | struct coh_dma_channel { | ||
62 | const char name[32]; | ||
63 | const int number; | ||
64 | const int desc_nbr_max; | ||
65 | const int priority_high; | ||
66 | const struct coh901318_params param; | ||
67 | const dma_addr_t dev_addr; | ||
68 | }; | ||
69 | |||
70 | /** | ||
71 | * dma_access_memory_state_t - register dma for memory access | ||
72 | * | ||
73 | * @dev: The dma device | ||
74 | * @active: 1 means dma intends to access memory | ||
75 | * 0 means dma wont access memory | ||
76 | */ | ||
77 | typedef void (*dma_access_memory_state_t)(struct device *dev, | ||
78 | bool active); | ||
79 | |||
80 | /** | ||
81 | * struct powersave - DMA power save structure | ||
82 | * @lock: lock protecting data in this struct | ||
83 | * @started_channels: bit mask indicating active dma channels | ||
84 | */ | ||
85 | struct powersave { | ||
86 | spinlock_t lock; | ||
87 | u64 started_channels; | ||
88 | }; | ||
89 | /** | ||
90 | * struct coh901318_platform - platform arch structure | ||
91 | * @chans_slave: specifying dma slave channels | ||
92 | * @chans_memcpy: specifying dma memcpy channels | ||
93 | * @access_memory_state: requesting DMA memeory access (on / off) | ||
94 | * @chan_conf: dma channel configurations | ||
95 | * @max_channels: max number of dma chanenls | ||
96 | */ | ||
97 | struct coh901318_platform { | ||
98 | const int *chans_slave; | ||
99 | const int *chans_memcpy; | ||
100 | const dma_access_memory_state_t access_memory_state; | ||
101 | const struct coh_dma_channel *chan_conf; | ||
102 | const int max_channels; | ||
103 | }; | ||
104 | |||
105 | /** | ||
106 | * coh901318_get_bytes_left() - Get number of bytes left on a current transfer | ||
107 | * @chan: dma channel handle | ||
108 | * return number of bytes left, or negative on error | ||
109 | */ | ||
110 | u32 coh901318_get_bytes_left(struct dma_chan *chan); | ||
111 | |||
112 | /** | ||
113 | * coh901318_stop() - Stops dma transfer | ||
114 | * @chan: dma channel handle | ||
115 | * return 0 on success otherwise negative value | ||
116 | */ | ||
117 | void coh901318_stop(struct dma_chan *chan); | ||
118 | |||
119 | /** | ||
120 | * coh901318_continue() - Resumes a stopped dma transfer | ||
121 | * @chan: dma channel handle | ||
122 | * return 0 on success otherwise negative value | ||
123 | */ | ||
124 | void coh901318_continue(struct dma_chan *chan); | ||
125 | |||
126 | /** | ||
127 | * coh901318_filter_id() - DMA channel filter function | ||
128 | * @chan: dma channel handle | ||
129 | * @chan_id: id of dma channel to be filter out | ||
130 | * | ||
131 | * In dma_request_channel() it specifies what channel id to be requested | ||
132 | */ | ||
133 | bool coh901318_filter_id(struct dma_chan *chan, void *chan_id); | ||
134 | |||
135 | /* | ||
136 | * DMA Controller - this access the static mappings of the coh901318 dma. | ||
137 | * | ||
138 | */ | ||
139 | |||
140 | #define COH901318_MOD32_MASK (0x1F) | ||
141 | #define COH901318_WORD_MASK (0xFFFFFFFF) | ||
142 | /* INT_STATUS - Interrupt Status Registers 32bit (R/-) */ | ||
143 | #define COH901318_INT_STATUS1 (0x0000) | ||
144 | #define COH901318_INT_STATUS2 (0x0004) | ||
145 | /* TC_INT_STATUS - Terminal Count Interrupt Status Registers 32bit (R/-) */ | ||
146 | #define COH901318_TC_INT_STATUS1 (0x0008) | ||
147 | #define COH901318_TC_INT_STATUS2 (0x000C) | ||
148 | /* TC_INT_CLEAR - Terminal Count Interrupt Clear Registers 32bit (-/W) */ | ||
149 | #define COH901318_TC_INT_CLEAR1 (0x0010) | ||
150 | #define COH901318_TC_INT_CLEAR2 (0x0014) | ||
151 | /* RAW_TC_INT_STATUS - Raw Term Count Interrupt Status Registers 32bit (R/-) */ | ||
152 | #define COH901318_RAW_TC_INT_STATUS1 (0x0018) | ||
153 | #define COH901318_RAW_TC_INT_STATUS2 (0x001C) | ||
154 | /* BE_INT_STATUS - Bus Error Interrupt Status Registers 32bit (R/-) */ | ||
155 | #define COH901318_BE_INT_STATUS1 (0x0020) | ||
156 | #define COH901318_BE_INT_STATUS2 (0x0024) | ||
157 | /* BE_INT_CLEAR - Bus Error Interrupt Clear Registers 32bit (-/W) */ | ||
158 | #define COH901318_BE_INT_CLEAR1 (0x0028) | ||
159 | #define COH901318_BE_INT_CLEAR2 (0x002C) | ||
160 | /* RAW_BE_INT_STATUS - Raw Term Count Interrupt Status Registers 32bit (R/-) */ | ||
161 | #define COH901318_RAW_BE_INT_STATUS1 (0x0030) | ||
162 | #define COH901318_RAW_BE_INT_STATUS2 (0x0034) | ||
163 | |||
164 | /* | ||
165 | * CX_CFG - Channel Configuration Registers 32bit (R/W) | ||
166 | */ | ||
167 | #define COH901318_CX_CFG (0x0100) | ||
168 | #define COH901318_CX_CFG_SPACING (0x04) | ||
169 | /* Channel enable activates tha dma job */ | ||
170 | #define COH901318_CX_CFG_CH_ENABLE (0x00000001) | ||
171 | #define COH901318_CX_CFG_CH_DISABLE (0x00000000) | ||
172 | /* Request Mode */ | ||
173 | #define COH901318_CX_CFG_RM_MASK (0x00000006) | ||
174 | #define COH901318_CX_CFG_RM_MEMORY_TO_MEMORY (0x0 << 1) | ||
175 | #define COH901318_CX_CFG_RM_PRIMARY_TO_MEMORY (0x1 << 1) | ||
176 | #define COH901318_CX_CFG_RM_MEMORY_TO_PRIMARY (0x1 << 1) | ||
177 | #define COH901318_CX_CFG_RM_PRIMARY_TO_SECONDARY (0x3 << 1) | ||
178 | #define COH901318_CX_CFG_RM_SECONDARY_TO_PRIMARY (0x3 << 1) | ||
179 | /* Linked channel request field. RM must == 11 */ | ||
180 | #define COH901318_CX_CFG_LCRF_SHIFT 3 | ||
181 | #define COH901318_CX_CFG_LCRF_MASK (0x000001F8) | ||
182 | #define COH901318_CX_CFG_LCR_DISABLE (0x00000000) | ||
183 | /* Terminal Counter Interrupt Request Mask */ | ||
184 | #define COH901318_CX_CFG_TC_IRQ_ENABLE (0x00000200) | ||
185 | #define COH901318_CX_CFG_TC_IRQ_DISABLE (0x00000000) | ||
186 | /* Bus Error interrupt Mask */ | ||
187 | #define COH901318_CX_CFG_BE_IRQ_ENABLE (0x00000400) | ||
188 | #define COH901318_CX_CFG_BE_IRQ_DISABLE (0x00000000) | ||
189 | |||
190 | /* | ||
191 | * CX_STAT - Channel Status Registers 32bit (R/-) | ||
192 | */ | ||
193 | #define COH901318_CX_STAT (0x0200) | ||
194 | #define COH901318_CX_STAT_SPACING (0x04) | ||
195 | #define COH901318_CX_STAT_RBE_IRQ_IND (0x00000008) | ||
196 | #define COH901318_CX_STAT_RTC_IRQ_IND (0x00000004) | ||
197 | #define COH901318_CX_STAT_ACTIVE (0x00000002) | ||
198 | #define COH901318_CX_STAT_ENABLED (0x00000001) | ||
199 | |||
200 | /* | ||
201 | * CX_CTRL - Channel Control Registers 32bit (R/W) | ||
202 | */ | ||
203 | #define COH901318_CX_CTRL (0x0400) | ||
204 | #define COH901318_CX_CTRL_SPACING (0x10) | ||
205 | /* Transfer Count Enable */ | ||
206 | #define COH901318_CX_CTRL_TC_ENABLE (0x00001000) | ||
207 | #define COH901318_CX_CTRL_TC_DISABLE (0x00000000) | ||
208 | /* Transfer Count Value 0 - 4095 */ | ||
209 | #define COH901318_CX_CTRL_TC_VALUE_MASK (0x00000FFF) | ||
210 | /* Burst count */ | ||
211 | #define COH901318_CX_CTRL_BURST_COUNT_MASK (0x0000E000) | ||
212 | #define COH901318_CX_CTRL_BURST_COUNT_64_BYTES (0x7 << 13) | ||
213 | #define COH901318_CX_CTRL_BURST_COUNT_48_BYTES (0x6 << 13) | ||
214 | #define COH901318_CX_CTRL_BURST_COUNT_32_BYTES (0x5 << 13) | ||
215 | #define COH901318_CX_CTRL_BURST_COUNT_16_BYTES (0x4 << 13) | ||
216 | #define COH901318_CX_CTRL_BURST_COUNT_8_BYTES (0x3 << 13) | ||
217 | #define COH901318_CX_CTRL_BURST_COUNT_4_BYTES (0x2 << 13) | ||
218 | #define COH901318_CX_CTRL_BURST_COUNT_2_BYTES (0x1 << 13) | ||
219 | #define COH901318_CX_CTRL_BURST_COUNT_1_BYTE (0x0 << 13) | ||
220 | /* Source bus size */ | ||
221 | #define COH901318_CX_CTRL_SRC_BUS_SIZE_MASK (0x00030000) | ||
222 | #define COH901318_CX_CTRL_SRC_BUS_SIZE_32_BITS (0x2 << 16) | ||
223 | #define COH901318_CX_CTRL_SRC_BUS_SIZE_16_BITS (0x1 << 16) | ||
224 | #define COH901318_CX_CTRL_SRC_BUS_SIZE_8_BITS (0x0 << 16) | ||
225 | /* Source address increment */ | ||
226 | #define COH901318_CX_CTRL_SRC_ADDR_INC_ENABLE (0x00040000) | ||
227 | #define COH901318_CX_CTRL_SRC_ADDR_INC_DISABLE (0x00000000) | ||
228 | /* Destination Bus Size */ | ||
229 | #define COH901318_CX_CTRL_DST_BUS_SIZE_MASK (0x00180000) | ||
230 | #define COH901318_CX_CTRL_DST_BUS_SIZE_32_BITS (0x2 << 19) | ||
231 | #define COH901318_CX_CTRL_DST_BUS_SIZE_16_BITS (0x1 << 19) | ||
232 | #define COH901318_CX_CTRL_DST_BUS_SIZE_8_BITS (0x0 << 19) | ||
233 | /* Destination address increment */ | ||
234 | #define COH901318_CX_CTRL_DST_ADDR_INC_ENABLE (0x00200000) | ||
235 | #define COH901318_CX_CTRL_DST_ADDR_INC_DISABLE (0x00000000) | ||
236 | /* Master Mode (Master2 is only connected to MSL) */ | ||
237 | #define COH901318_CX_CTRL_MASTER_MODE_MASK (0x00C00000) | ||
238 | #define COH901318_CX_CTRL_MASTER_MODE_M2R_M1W (0x3 << 22) | ||
239 | #define COH901318_CX_CTRL_MASTER_MODE_M1R_M2W (0x2 << 22) | ||
240 | #define COH901318_CX_CTRL_MASTER_MODE_M2RW (0x1 << 22) | ||
241 | #define COH901318_CX_CTRL_MASTER_MODE_M1RW (0x0 << 22) | ||
242 | /* Terminal Count flag to PER enable */ | ||
243 | #define COH901318_CX_CTRL_TCP_ENABLE (0x01000000) | ||
244 | #define COH901318_CX_CTRL_TCP_DISABLE (0x00000000) | ||
245 | /* Terminal Count flags to CPU enable */ | ||
246 | #define COH901318_CX_CTRL_TC_IRQ_ENABLE (0x02000000) | ||
247 | #define COH901318_CX_CTRL_TC_IRQ_DISABLE (0x00000000) | ||
248 | /* Hand shake to peripheral */ | ||
249 | #define COH901318_CX_CTRL_HSP_ENABLE (0x04000000) | ||
250 | #define COH901318_CX_CTRL_HSP_DISABLE (0x00000000) | ||
251 | #define COH901318_CX_CTRL_HSS_ENABLE (0x08000000) | ||
252 | #define COH901318_CX_CTRL_HSS_DISABLE (0x00000000) | ||
253 | /* DMA mode */ | ||
254 | #define COH901318_CX_CTRL_DDMA_MASK (0x30000000) | ||
255 | #define COH901318_CX_CTRL_DDMA_LEGACY (0x0 << 28) | ||
256 | #define COH901318_CX_CTRL_DDMA_DEMAND_DMA1 (0x1 << 28) | ||
257 | #define COH901318_CX_CTRL_DDMA_DEMAND_DMA2 (0x2 << 28) | ||
258 | /* Primary Request Data Destination */ | ||
259 | #define COH901318_CX_CTRL_PRDD_MASK (0x40000000) | ||
260 | #define COH901318_CX_CTRL_PRDD_DEST (0x1 << 30) | ||
261 | #define COH901318_CX_CTRL_PRDD_SOURCE (0x0 << 30) | ||
262 | |||
263 | /* | ||
264 | * CX_SRC_ADDR - Channel Source Address Registers 32bit (R/W) | ||
265 | */ | ||
266 | #define COH901318_CX_SRC_ADDR (0x0404) | ||
267 | #define COH901318_CX_SRC_ADDR_SPACING (0x10) | ||
268 | |||
269 | /* | ||
270 | * CX_DST_ADDR - Channel Destination Address Registers 32bit R/W | ||
271 | */ | ||
272 | #define COH901318_CX_DST_ADDR (0x0408) | ||
273 | #define COH901318_CX_DST_ADDR_SPACING (0x10) | ||
274 | |||
275 | /* | ||
276 | * CX_LNK_ADDR - Channel Link Address Registers 32bit (R/W) | ||
277 | */ | ||
278 | #define COH901318_CX_LNK_ADDR (0x040C) | ||
279 | #define COH901318_CX_LNK_ADDR_SPACING (0x10) | ||
280 | #define COH901318_CX_LNK_LINK_IMMEDIATE (0x00000001) | ||
281 | #endif /* COH901318_H */ | ||
diff --git a/arch/arm/plat-mxc/include/mach/mxc_nand.h b/arch/arm/plat-mxc/include/mach/mxc_nand.h index 2b972df22d12..5d2d21d414e0 100644 --- a/arch/arm/plat-mxc/include/mach/mxc_nand.h +++ b/arch/arm/plat-mxc/include/mach/mxc_nand.h | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | struct mxc_nand_platform_data { | 23 | struct mxc_nand_platform_data { |
24 | int width; /* data bus width in bytes */ | 24 | int width; /* data bus width in bytes */ |
25 | int hw_ecc; /* 0 if supress hardware ECC */ | 25 | int hw_ecc:1; /* 0 if supress hardware ECC */ |
26 | int flash_bbt:1; /* set to 1 to use a flash based bbt */ | ||
26 | }; | 27 | }; |
27 | #endif /* __ASM_ARCH_NAND_H */ | 28 | #endif /* __ASM_ARCH_NAND_H */ |
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h index 065985978413..226147b7e026 100644 --- a/arch/arm/plat-s3c/include/plat/nand.h +++ b/arch/arm/plat-s3c/include/plat/nand.h | |||
@@ -17,6 +17,7 @@ | |||
17 | * Setting this flag will allow the kernel to | 17 | * Setting this flag will allow the kernel to |
18 | * look for it at boot time and also skip the NAND | 18 | * look for it at boot time and also skip the NAND |
19 | * scan. | 19 | * scan. |
20 | * @options: Default value to set into 'struct nand_chip' options. | ||
20 | * @nr_chips: Number of chips in this set | 21 | * @nr_chips: Number of chips in this set |
21 | * @nr_partitions: Number of partitions pointed to by @partitions | 22 | * @nr_partitions: Number of partitions pointed to by @partitions |
22 | * @name: Name of set (optional) | 23 | * @name: Name of set (optional) |
@@ -31,6 +32,7 @@ struct s3c2410_nand_set { | |||
31 | unsigned int disable_ecc:1; | 32 | unsigned int disable_ecc:1; |
32 | unsigned int flash_bbt:1; | 33 | unsigned int flash_bbt:1; |
33 | 34 | ||
35 | unsigned int options; | ||
34 | int nr_chips; | 36 | int nr_chips; |
35 | int nr_partitions; | 37 | int nr_partitions; |
36 | char *name; | 38 | char *name; |
diff --git a/arch/avr32/include/asm/elf.h b/arch/avr32/include/asm/elf.h index d5d1d41c600a..3b3159b710d4 100644 --- a/arch/avr32/include/asm/elf.h +++ b/arch/avr32/include/asm/elf.h | |||
@@ -77,7 +77,6 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
77 | #endif | 77 | #endif |
78 | #define ELF_ARCH EM_AVR32 | 78 | #define ELF_ARCH EM_AVR32 |
79 | 79 | ||
80 | #define USE_ELF_CORE_DUMP | ||
81 | #define ELF_EXEC_PAGESIZE 4096 | 80 | #define ELF_EXEC_PAGESIZE 4096 |
82 | 81 | ||
83 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 82 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index ae6a60f10120..53c1e1d45c68 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -5,6 +5,10 @@ | |||
5 | 5 | ||
6 | mainmenu "Blackfin Kernel Configuration" | 6 | mainmenu "Blackfin Kernel Configuration" |
7 | 7 | ||
8 | config SYMBOL_PREFIX | ||
9 | string | ||
10 | default "_" | ||
11 | |||
8 | config MMU | 12 | config MMU |
9 | def_bool n | 13 | def_bool n |
10 | 14 | ||
@@ -28,6 +32,9 @@ config BLACKFIN | |||
28 | select HAVE_OPROFILE | 32 | select HAVE_OPROFILE |
29 | select ARCH_WANT_OPTIONAL_GPIOLIB | 33 | select ARCH_WANT_OPTIONAL_GPIOLIB |
30 | 34 | ||
35 | config GENERIC_CSUM | ||
36 | def_bool y | ||
37 | |||
31 | config GENERIC_BUG | 38 | config GENERIC_BUG |
32 | def_bool y | 39 | def_bool y |
33 | depends on BUG | 40 | depends on BUG |
@@ -173,7 +180,7 @@ config BF539 | |||
173 | help | 180 | help |
174 | BF539 Processor Support. | 181 | BF539 Processor Support. |
175 | 182 | ||
176 | config BF542 | 183 | config BF542_std |
177 | bool "BF542" | 184 | bool "BF542" |
178 | help | 185 | help |
179 | BF542 Processor Support. | 186 | BF542 Processor Support. |
@@ -183,7 +190,7 @@ config BF542M | |||
183 | help | 190 | help |
184 | BF542 Processor Support. | 191 | BF542 Processor Support. |
185 | 192 | ||
186 | config BF544 | 193 | config BF544_std |
187 | bool "BF544" | 194 | bool "BF544" |
188 | help | 195 | help |
189 | BF544 Processor Support. | 196 | BF544 Processor Support. |
@@ -193,7 +200,7 @@ config BF544M | |||
193 | help | 200 | help |
194 | BF544 Processor Support. | 201 | BF544 Processor Support. |
195 | 202 | ||
196 | config BF547 | 203 | config BF547_std |
197 | bool "BF547" | 204 | bool "BF547" |
198 | help | 205 | help |
199 | BF547 Processor Support. | 206 | BF547 Processor Support. |
@@ -203,7 +210,7 @@ config BF547M | |||
203 | help | 210 | help |
204 | BF547 Processor Support. | 211 | BF547 Processor Support. |
205 | 212 | ||
206 | config BF548 | 213 | config BF548_std |
207 | bool "BF548" | 214 | bool "BF548" |
208 | help | 215 | help |
209 | BF548 Processor Support. | 216 | BF548 Processor Support. |
@@ -213,7 +220,7 @@ config BF548M | |||
213 | help | 220 | help |
214 | BF548 Processor Support. | 221 | BF548 Processor Support. |
215 | 222 | ||
216 | config BF549 | 223 | config BF549_std |
217 | bool "BF549" | 224 | bool "BF549" |
218 | help | 225 | help |
219 | BF549 Processor Support. | 226 | BF549 Processor Support. |
@@ -307,31 +314,11 @@ config BF_REV_NONE | |||
307 | 314 | ||
308 | endchoice | 315 | endchoice |
309 | 316 | ||
310 | config BF51x | ||
311 | bool | ||
312 | depends on (BF512 || BF514 || BF516 || BF518) | ||
313 | default y | ||
314 | |||
315 | config BF52x | ||
316 | bool | ||
317 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) | ||
318 | default y | ||
319 | |||
320 | config BF53x | 317 | config BF53x |
321 | bool | 318 | bool |
322 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) | 319 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) |
323 | default y | 320 | default y |
324 | 321 | ||
325 | config BF54xM | ||
326 | bool | ||
327 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
328 | default y | ||
329 | |||
330 | config BF54x | ||
331 | bool | ||
332 | depends on (BF542 || BF544 || BF547 || BF548 || BF549 || BF54xM) | ||
333 | default y | ||
334 | |||
335 | config MEM_GENERIC_BOARD | 322 | config MEM_GENERIC_BOARD |
336 | bool | 323 | bool |
337 | depends on GENERIC_BOARD | 324 | depends on GENERIC_BOARD |
@@ -913,6 +900,12 @@ config DMA_UNCACHED_2M | |||
913 | bool "Enable 2M DMA region" | 900 | bool "Enable 2M DMA region" |
914 | config DMA_UNCACHED_1M | 901 | config DMA_UNCACHED_1M |
915 | bool "Enable 1M DMA region" | 902 | bool "Enable 1M DMA region" |
903 | config DMA_UNCACHED_512K | ||
904 | bool "Enable 512K DMA region" | ||
905 | config DMA_UNCACHED_256K | ||
906 | bool "Enable 256K DMA region" | ||
907 | config DMA_UNCACHED_128K | ||
908 | bool "Enable 128K DMA region" | ||
916 | config DMA_UNCACHED_NONE | 909 | config DMA_UNCACHED_NONE |
917 | bool "Disable DMA region" | 910 | bool "Disable DMA region" |
918 | endchoice | 911 | endchoice |
@@ -1274,6 +1267,8 @@ source "net/Kconfig" | |||
1274 | 1267 | ||
1275 | source "drivers/Kconfig" | 1268 | source "drivers/Kconfig" |
1276 | 1269 | ||
1270 | source "drivers/firmware/Kconfig" | ||
1271 | |||
1277 | source "fs/Kconfig" | 1272 | source "fs/Kconfig" |
1278 | 1273 | ||
1279 | source "arch/blackfin/Kconfig.debug" | 1274 | source "arch/blackfin/Kconfig.debug" |
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index f063b772934b..d4c7177e7656 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -16,6 +16,7 @@ GZFLAGS := -9 | |||
16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) | 16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) |
17 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) | 17 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) |
18 | CFLAGS_MODULE += -mlong-calls | 18 | CFLAGS_MODULE += -mlong-calls |
19 | LDFLAGS_MODULE += -m elf32bfin | ||
19 | KALLSYMS += --symbol-prefix=_ | 20 | KALLSYMS += --symbol-prefix=_ |
20 | 21 | ||
21 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig | 22 | KBUILD_DEFCONFIG := BF537-STAMP_defconfig |
@@ -137,7 +138,7 @@ archclean: | |||
137 | 138 | ||
138 | INSTALL_PATH ?= /tftpboot | 139 | INSTALL_PATH ?= /tftpboot |
139 | boot := arch/$(ARCH)/boot | 140 | boot := arch/$(ARCH)/boot |
140 | BOOT_TARGETS = vmImage vmImage.bz2 vmImage.gz vmImage.lzma | 141 | BOOT_TARGETS = vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma |
141 | PHONY += $(BOOT_TARGETS) install | 142 | PHONY += $(BOOT_TARGETS) install |
142 | KBUILD_IMAGE := $(boot)/vmImage | 143 | KBUILD_IMAGE := $(boot)/vmImage |
143 | 144 | ||
@@ -151,6 +152,7 @@ install: | |||
151 | 152 | ||
152 | define archhelp | 153 | define archhelp |
153 | echo '* vmImage - Alias to selected kernel format (vmImage.gz by default)' | 154 | echo '* vmImage - Alias to selected kernel format (vmImage.gz by default)' |
155 | echo ' vmImage.bin - Uncompressed Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bin)' | ||
154 | echo ' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)' | 156 | echo ' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)' |
155 | echo '* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)' | 157 | echo '* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)' |
156 | echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)' | 158 | echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)' |
diff --git a/arch/blackfin/boot/Makefile b/arch/blackfin/boot/Makefile index fd9ccc5fea10..e9c48c6f8c1f 100644 --- a/arch/blackfin/boot/Makefile +++ b/arch/blackfin/boot/Makefile | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | MKIMAGE := $(srctree)/scripts/mkuboot.sh | 9 | MKIMAGE := $(srctree)/scripts/mkuboot.sh |
10 | 10 | ||
11 | targets := vmImage vmImage.bz2 vmImage.gz vmImage.lzma | 11 | targets := vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma |
12 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma | 12 | extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma |
13 | 13 | ||
14 | quiet_cmd_uimage = UIMAGE $@ | 14 | quiet_cmd_uimage = UIMAGE $@ |
@@ -29,6 +29,9 @@ $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE | |||
29 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE | 29 | $(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE |
30 | $(call if_changed,lzma) | 30 | $(call if_changed,lzma) |
31 | 31 | ||
32 | $(obj)/vmImage.bin: $(obj)/vmlinux.bin | ||
33 | $(call if_changed,uimage,none) | ||
34 | |||
32 | $(obj)/vmImage.bz2: $(obj)/vmlinux.bin.bz2 | 35 | $(obj)/vmImage.bz2: $(obj)/vmlinux.bin.bz2 |
33 | $(call if_changed,uimage,bzip2) | 36 | $(call if_changed,uimage,bzip2) |
34 | 37 | ||
@@ -38,6 +41,7 @@ $(obj)/vmImage.gz: $(obj)/vmlinux.bin.gz | |||
38 | $(obj)/vmImage.lzma: $(obj)/vmlinux.bin.lzma | 41 | $(obj)/vmImage.lzma: $(obj)/vmlinux.bin.lzma |
39 | $(call if_changed,uimage,lzma) | 42 | $(call if_changed,uimage,lzma) |
40 | 43 | ||
44 | suffix-y := bin | ||
41 | suffix-$(CONFIG_KERNEL_GZIP) := gz | 45 | suffix-$(CONFIG_KERNEL_GZIP) := gz |
42 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 | 46 | suffix-$(CONFIG_KERNEL_BZIP2) := bz2 |
43 | suffix-$(CONFIG_KERNEL_LZMA) := lzma | 47 | suffix-$(CONFIG_KERNEL_LZMA) := lzma |
diff --git a/arch/blackfin/configs/BF518F-EZBRD_defconfig b/arch/blackfin/configs/BF518F-EZBRD_defconfig index 9905b26009e5..e31559419817 100644 --- a/arch/blackfin/configs/BF518F-EZBRD_defconfig +++ b/arch/blackfin/configs/BF518F-EZBRD_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -316,6 +317,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
316 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 317 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
317 | CONFIG_ZONE_DMA_FLAG=1 | 318 | CONFIG_ZONE_DMA_FLAG=1 |
318 | CONFIG_VIRT_TO_BUS=y | 319 | CONFIG_VIRT_TO_BUS=y |
320 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
319 | CONFIG_BFIN_GPTIMERS=m | 321 | CONFIG_BFIN_GPTIMERS=m |
320 | # CONFIG_DMA_UNCACHED_4M is not set | 322 | # CONFIG_DMA_UNCACHED_4M is not set |
321 | # CONFIG_DMA_UNCACHED_2M is not set | 323 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -438,17 +440,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
438 | # CONFIG_TIPC is not set | 440 | # CONFIG_TIPC is not set |
439 | # CONFIG_ATM is not set | 441 | # CONFIG_ATM is not set |
440 | # CONFIG_BRIDGE is not set | 442 | # CONFIG_BRIDGE is not set |
441 | CONFIG_NET_DSA=y | 443 | # CONFIG_NET_DSA is not set |
442 | # CONFIG_NET_DSA_TAG_DSA is not set | ||
443 | # CONFIG_NET_DSA_TAG_EDSA is not set | ||
444 | # CONFIG_NET_DSA_TAG_TRAILER is not set | ||
445 | CONFIG_NET_DSA_TAG_STPID=y | ||
446 | # CONFIG_NET_DSA_MV88E6XXX is not set | ||
447 | # CONFIG_NET_DSA_MV88E6060 is not set | ||
448 | # CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set | ||
449 | # CONFIG_NET_DSA_MV88E6131 is not set | ||
450 | # CONFIG_NET_DSA_MV88E6123_61_65 is not set | ||
451 | CONFIG_NET_DSA_KSZ8893M=y | ||
452 | # CONFIG_VLAN_8021Q is not set | 444 | # CONFIG_VLAN_8021Q is not set |
453 | # CONFIG_DECNET is not set | 445 | # CONFIG_DECNET is not set |
454 | # CONFIG_LLC2 is not set | 446 | # CONFIG_LLC2 is not set |
diff --git a/arch/blackfin/configs/BF526-EZBRD_defconfig b/arch/blackfin/configs/BF526-EZBRD_defconfig index 9dc682088023..075e0fdcb399 100644 --- a/arch/blackfin/configs/BF526-EZBRD_defconfig +++ b/arch/blackfin/configs/BF526-EZBRD_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -321,6 +322,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
321 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 322 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
322 | CONFIG_ZONE_DMA_FLAG=1 | 323 | CONFIG_ZONE_DMA_FLAG=1 |
323 | CONFIG_VIRT_TO_BUS=y | 324 | CONFIG_VIRT_TO_BUS=y |
325 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
324 | CONFIG_BFIN_GPTIMERS=m | 326 | CONFIG_BFIN_GPTIMERS=m |
325 | # CONFIG_DMA_UNCACHED_4M is not set | 327 | # CONFIG_DMA_UNCACHED_4M is not set |
326 | # CONFIG_DMA_UNCACHED_2M is not set | 328 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/BF527-EZKIT_defconfig b/arch/blackfin/configs/BF527-EZKIT_defconfig index 77e35d4baf53..6d1a623fb149 100644 --- a/arch/blackfin/configs/BF527-EZKIT_defconfig +++ b/arch/blackfin/configs/BF527-EZKIT_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -321,6 +322,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
321 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 322 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
322 | CONFIG_ZONE_DMA_FLAG=1 | 323 | CONFIG_ZONE_DMA_FLAG=1 |
323 | CONFIG_VIRT_TO_BUS=y | 324 | CONFIG_VIRT_TO_BUS=y |
325 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
324 | CONFIG_BFIN_GPTIMERS=y | 326 | CONFIG_BFIN_GPTIMERS=y |
325 | # CONFIG_DMA_UNCACHED_4M is not set | 327 | # CONFIG_DMA_UNCACHED_4M is not set |
326 | # CONFIG_DMA_UNCACHED_2M is not set | 328 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/BF533-EZKIT_defconfig b/arch/blackfin/configs/BF533-EZKIT_defconfig index 4c044805cb5c..50f9a23ccdbd 100644 --- a/arch/blackfin/configs/BF533-EZKIT_defconfig +++ b/arch/blackfin/configs/BF533-EZKIT_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -283,6 +284,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
283 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 284 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
284 | CONFIG_ZONE_DMA_FLAG=1 | 285 | CONFIG_ZONE_DMA_FLAG=1 |
285 | CONFIG_VIRT_TO_BUS=y | 286 | CONFIG_VIRT_TO_BUS=y |
287 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
286 | CONFIG_BFIN_GPTIMERS=m | 288 | CONFIG_BFIN_GPTIMERS=m |
287 | # CONFIG_DMA_UNCACHED_4M is not set | 289 | # CONFIG_DMA_UNCACHED_4M is not set |
288 | # CONFIG_DMA_UNCACHED_2M is not set | 290 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/BF533-STAMP_defconfig b/arch/blackfin/configs/BF533-STAMP_defconfig index c99bbcd09a68..6c60c8286318 100644 --- a/arch/blackfin/configs/BF533-STAMP_defconfig +++ b/arch/blackfin/configs/BF533-STAMP_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -283,6 +284,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
283 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 284 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
284 | CONFIG_ZONE_DMA_FLAG=1 | 285 | CONFIG_ZONE_DMA_FLAG=1 |
285 | CONFIG_VIRT_TO_BUS=y | 286 | CONFIG_VIRT_TO_BUS=y |
287 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
286 | CONFIG_BFIN_GPTIMERS=m | 288 | CONFIG_BFIN_GPTIMERS=m |
287 | # CONFIG_DMA_UNCACHED_4M is not set | 289 | # CONFIG_DMA_UNCACHED_4M is not set |
288 | # CONFIG_DMA_UNCACHED_2M is not set | 290 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/BF537-STAMP_defconfig b/arch/blackfin/configs/BF537-STAMP_defconfig index 092ffda80e68..2908595b67c5 100644 --- a/arch/blackfin/configs/BF537-STAMP_defconfig +++ b/arch/blackfin/configs/BF537-STAMP_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -290,6 +291,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
290 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 291 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
291 | CONFIG_ZONE_DMA_FLAG=1 | 292 | CONFIG_ZONE_DMA_FLAG=1 |
292 | CONFIG_VIRT_TO_BUS=y | 293 | CONFIG_VIRT_TO_BUS=y |
294 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
293 | CONFIG_BFIN_GPTIMERS=m | 295 | CONFIG_BFIN_GPTIMERS=m |
294 | # CONFIG_DMA_UNCACHED_4M is not set | 296 | # CONFIG_DMA_UNCACHED_4M is not set |
295 | # CONFIG_DMA_UNCACHED_2M is not set | 297 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -704,10 +706,7 @@ CONFIG_CONFIG_INPUT_PCF8574=m | |||
704 | # | 706 | # |
705 | # Hardware I/O ports | 707 | # Hardware I/O ports |
706 | # | 708 | # |
707 | CONFIG_SERIO=y | 709 | # CONFIG_SERIO is not set |
708 | CONFIG_SERIO_SERPORT=y | ||
709 | CONFIG_SERIO_LIBPS2=y | ||
710 | # CONFIG_SERIO_RAW is not set | ||
711 | # CONFIG_GAMEPORT is not set | 710 | # CONFIG_GAMEPORT is not set |
712 | 711 | ||
713 | # | 712 | # |
diff --git a/arch/blackfin/configs/BF538-EZKIT_defconfig b/arch/blackfin/configs/BF538-EZKIT_defconfig index fa698a89f6fe..09ea2499555e 100644 --- a/arch/blackfin/configs/BF538-EZKIT_defconfig +++ b/arch/blackfin/configs/BF538-EZKIT_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_COMPAT_BRK=y | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 71 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 72 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 73 | CONFIG_HAVE_OPROFILE=y |
@@ -301,6 +302,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
301 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 302 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
302 | CONFIG_ZONE_DMA_FLAG=1 | 303 | CONFIG_ZONE_DMA_FLAG=1 |
303 | CONFIG_VIRT_TO_BUS=y | 304 | CONFIG_VIRT_TO_BUS=y |
305 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
304 | CONFIG_BFIN_GPTIMERS=m | 306 | CONFIG_BFIN_GPTIMERS=m |
305 | # CONFIG_DMA_UNCACHED_4M is not set | 307 | # CONFIG_DMA_UNCACHED_4M is not set |
306 | # CONFIG_DMA_UNCACHED_2M is not set | 308 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/BF548-EZKIT_defconfig b/arch/blackfin/configs/BF548-EZKIT_defconfig index f773ad1155d4..eb3e98b6f3f0 100644 --- a/arch/blackfin/configs/BF548-EZKIT_defconfig +++ b/arch/blackfin/configs/BF548-EZKIT_defconfig | |||
@@ -1,22 +1,29 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.28.10 | 3 | # Linux kernel version: 2.6.31.5 |
4 | # Thu May 21 05:50:01 2009 | 4 | # Mon Nov 2 22:02:56 2009 |
5 | # | 5 | # |
6 | # CONFIG_MMU is not set | 6 | # CONFIG_MMU is not set |
7 | # CONFIG_FPU is not set | 7 | # CONFIG_FPU is not set |
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
10 | CONFIG_BLACKFIN=y | 10 | CONFIG_BLACKFIN=y |
11 | CONFIG_GENERIC_CSUM=y | ||
12 | CONFIG_GENERIC_BUG=y | ||
11 | CONFIG_ZONE_DMA=y | 13 | CONFIG_ZONE_DMA=y |
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 14 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 15 | CONFIG_GENERIC_HWEIGHT=y |
14 | CONFIG_GENERIC_HARDIRQS=y | 16 | CONFIG_GENERIC_HARDIRQS=y |
15 | CONFIG_GENERIC_IRQ_PROBE=y | 17 | CONFIG_GENERIC_IRQ_PROBE=y |
18 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
16 | CONFIG_GENERIC_GPIO=y | 19 | CONFIG_GENERIC_GPIO=y |
17 | CONFIG_FORCE_MAX_ZONEORDER=14 | 20 | CONFIG_FORCE_MAX_ZONEORDER=14 |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 21 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
22 | CONFIG_LOCKDEP_SUPPORT=y | ||
23 | CONFIG_STACKTRACE_SUPPORT=y | ||
24 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 25 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
26 | CONFIG_CONSTRUCTORS=y | ||
20 | 27 | ||
21 | # | 28 | # |
22 | # General setup | 29 | # General setup |
@@ -26,22 +33,40 @@ CONFIG_BROKEN_ON_SMP=y | |||
26 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 33 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
27 | CONFIG_LOCALVERSION="" | 34 | CONFIG_LOCALVERSION="" |
28 | CONFIG_LOCALVERSION_AUTO=y | 35 | CONFIG_LOCALVERSION_AUTO=y |
36 | CONFIG_HAVE_KERNEL_GZIP=y | ||
37 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
38 | CONFIG_HAVE_KERNEL_LZMA=y | ||
39 | CONFIG_KERNEL_GZIP=y | ||
40 | # CONFIG_KERNEL_BZIP2 is not set | ||
41 | # CONFIG_KERNEL_LZMA is not set | ||
29 | CONFIG_SYSVIPC=y | 42 | CONFIG_SYSVIPC=y |
30 | CONFIG_SYSVIPC_SYSCTL=y | 43 | CONFIG_SYSVIPC_SYSCTL=y |
31 | # CONFIG_POSIX_MQUEUE is not set | 44 | # CONFIG_POSIX_MQUEUE is not set |
32 | # CONFIG_BSD_PROCESS_ACCT is not set | 45 | # CONFIG_BSD_PROCESS_ACCT is not set |
33 | # CONFIG_TASKSTATS is not set | 46 | # CONFIG_TASKSTATS is not set |
34 | # CONFIG_AUDIT is not set | 47 | # CONFIG_AUDIT is not set |
48 | |||
49 | # | ||
50 | # RCU Subsystem | ||
51 | # | ||
52 | CONFIG_CLASSIC_RCU=y | ||
53 | # CONFIG_TREE_RCU is not set | ||
54 | # CONFIG_PREEMPT_RCU is not set | ||
55 | # CONFIG_TREE_RCU_TRACE is not set | ||
56 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
35 | CONFIG_IKCONFIG=y | 57 | CONFIG_IKCONFIG=y |
36 | CONFIG_IKCONFIG_PROC=y | 58 | CONFIG_IKCONFIG_PROC=y |
37 | CONFIG_LOG_BUF_SHIFT=14 | 59 | CONFIG_LOG_BUF_SHIFT=14 |
38 | # CONFIG_CGROUPS is not set | ||
39 | # CONFIG_GROUP_SCHED is not set | 60 | # CONFIG_GROUP_SCHED is not set |
61 | # CONFIG_CGROUPS is not set | ||
40 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | 62 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
41 | # CONFIG_RELAY is not set | 63 | # CONFIG_RELAY is not set |
42 | # CONFIG_NAMESPACES is not set | 64 | # CONFIG_NAMESPACES is not set |
43 | CONFIG_BLK_DEV_INITRD=y | 65 | CONFIG_BLK_DEV_INITRD=y |
44 | CONFIG_INITRAMFS_SOURCE="" | 66 | CONFIG_INITRAMFS_SOURCE="" |
67 | CONFIG_RD_GZIP=y | ||
68 | # CONFIG_RD_BZIP2 is not set | ||
69 | # CONFIG_RD_LZMA is not set | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 70 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
46 | CONFIG_SYSCTL=y | 71 | CONFIG_SYSCTL=y |
47 | CONFIG_ANON_INODES=y | 72 | CONFIG_ANON_INODES=y |
@@ -62,17 +87,28 @@ CONFIG_EPOLL=y | |||
62 | # CONFIG_TIMERFD is not set | 87 | # CONFIG_TIMERFD is not set |
63 | # CONFIG_EVENTFD is not set | 88 | # CONFIG_EVENTFD is not set |
64 | # CONFIG_AIO is not set | 89 | # CONFIG_AIO is not set |
90 | |||
91 | # | ||
92 | # Performance Counters | ||
93 | # | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 94 | CONFIG_VM_EVENT_COUNTERS=y |
95 | # CONFIG_STRIP_ASM_SYMS is not set | ||
66 | CONFIG_COMPAT_BRK=y | 96 | CONFIG_COMPAT_BRK=y |
67 | CONFIG_SLAB=y | 97 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 98 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 99 | # CONFIG_SLOB is not set |
100 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 101 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 102 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 103 | CONFIG_HAVE_OPROFILE=y |
104 | |||
105 | # | ||
106 | # GCOV-based kernel profiling | ||
107 | # | ||
108 | # CONFIG_GCOV_KERNEL is not set | ||
109 | # CONFIG_SLOW_WORK is not set | ||
73 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 110 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
74 | CONFIG_SLABINFO=y | 111 | CONFIG_SLABINFO=y |
75 | CONFIG_TINY_SHMEM=y | ||
76 | CONFIG_BASE_SMALL=0 | 112 | CONFIG_BASE_SMALL=0 |
77 | CONFIG_MODULES=y | 113 | CONFIG_MODULES=y |
78 | # CONFIG_MODULE_FORCE_LOAD is not set | 114 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -80,11 +116,8 @@ CONFIG_MODULE_UNLOAD=y | |||
80 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 116 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
81 | # CONFIG_MODVERSIONS is not set | 117 | # CONFIG_MODVERSIONS is not set |
82 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 118 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
83 | CONFIG_KMOD=y | ||
84 | CONFIG_BLOCK=y | 119 | CONFIG_BLOCK=y |
85 | # CONFIG_LBD is not set | 120 | # CONFIG_LBDAF is not set |
86 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
87 | # CONFIG_LSF is not set | ||
88 | # CONFIG_BLK_DEV_BSG is not set | 121 | # CONFIG_BLK_DEV_BSG is not set |
89 | # CONFIG_BLK_DEV_INTEGRITY is not set | 122 | # CONFIG_BLK_DEV_INTEGRITY is not set |
90 | 123 | ||
@@ -94,13 +127,12 @@ CONFIG_BLOCK=y | |||
94 | CONFIG_IOSCHED_NOOP=y | 127 | CONFIG_IOSCHED_NOOP=y |
95 | CONFIG_IOSCHED_AS=y | 128 | CONFIG_IOSCHED_AS=y |
96 | # CONFIG_IOSCHED_DEADLINE is not set | 129 | # CONFIG_IOSCHED_DEADLINE is not set |
97 | CONFIG_IOSCHED_CFQ=y | 130 | # CONFIG_IOSCHED_CFQ is not set |
98 | CONFIG_DEFAULT_AS=y | 131 | CONFIG_DEFAULT_AS=y |
99 | # CONFIG_DEFAULT_DEADLINE is not set | 132 | # CONFIG_DEFAULT_DEADLINE is not set |
100 | # CONFIG_DEFAULT_CFQ is not set | 133 | # CONFIG_DEFAULT_CFQ is not set |
101 | # CONFIG_DEFAULT_NOOP is not set | 134 | # CONFIG_DEFAULT_NOOP is not set |
102 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 135 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
103 | CONFIG_CLASSIC_RCU=y | ||
104 | # CONFIG_PREEMPT_NONE is not set | 136 | # CONFIG_PREEMPT_NONE is not set |
105 | CONFIG_PREEMPT_VOLUNTARY=y | 137 | CONFIG_PREEMPT_VOLUNTARY=y |
106 | # CONFIG_PREEMPT is not set | 138 | # CONFIG_PREEMPT is not set |
@@ -137,7 +169,7 @@ CONFIG_PREEMPT_VOLUNTARY=y | |||
137 | # CONFIG_BF544M is not set | 169 | # CONFIG_BF544M is not set |
138 | # CONFIG_BF547 is not set | 170 | # CONFIG_BF547 is not set |
139 | # CONFIG_BF547M is not set | 171 | # CONFIG_BF547M is not set |
140 | CONFIG_BF548=y | 172 | CONFIG_BF548_std=y |
141 | # CONFIG_BF548M is not set | 173 | # CONFIG_BF548M is not set |
142 | # CONFIG_BF549 is not set | 174 | # CONFIG_BF549 is not set |
143 | # CONFIG_BF549M is not set | 175 | # CONFIG_BF549M is not set |
@@ -195,7 +227,7 @@ CONFIG_BFIN548_EZKIT=y | |||
195 | # | 227 | # |
196 | # BF548 Specific Configuration | 228 | # BF548 Specific Configuration |
197 | # | 229 | # |
198 | # CONFIG_DEB_DMA_URGENT is not set | 230 | CONFIG_DEB_DMA_URGENT=y |
199 | # CONFIG_BF548_ATAPI_ALTERNATIVE_PORT is not set | 231 | # CONFIG_BF548_ATAPI_ALTERNATIVE_PORT is not set |
200 | 232 | ||
201 | # | 233 | # |
@@ -352,10 +384,11 @@ CONFIG_FLATMEM=y | |||
352 | CONFIG_FLAT_NODE_MEM_MAP=y | 384 | CONFIG_FLAT_NODE_MEM_MAP=y |
353 | CONFIG_PAGEFLAGS_EXTENDED=y | 385 | CONFIG_PAGEFLAGS_EXTENDED=y |
354 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 386 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
355 | # CONFIG_RESOURCES_64BIT is not set | ||
356 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 387 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
357 | CONFIG_ZONE_DMA_FLAG=1 | 388 | CONFIG_ZONE_DMA_FLAG=1 |
358 | CONFIG_VIRT_TO_BUS=y | 389 | CONFIG_VIRT_TO_BUS=y |
390 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
391 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
359 | CONFIG_BFIN_GPTIMERS=m | 392 | CONFIG_BFIN_GPTIMERS=m |
360 | # CONFIG_DMA_UNCACHED_4M is not set | 393 | # CONFIG_DMA_UNCACHED_4M is not set |
361 | CONFIG_DMA_UNCACHED_2M=y | 394 | CONFIG_DMA_UNCACHED_2M=y |
@@ -366,14 +399,13 @@ CONFIG_DMA_UNCACHED_2M=y | |||
366 | # Cache Support | 399 | # Cache Support |
367 | # | 400 | # |
368 | CONFIG_BFIN_ICACHE=y | 401 | CONFIG_BFIN_ICACHE=y |
369 | # CONFIG_BFIN_ICACHE_LOCK is not set | 402 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
403 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
370 | CONFIG_BFIN_DCACHE=y | 404 | CONFIG_BFIN_DCACHE=y |
371 | # CONFIG_BFIN_DCACHE_BANKA is not set | 405 | # CONFIG_BFIN_DCACHE_BANKA is not set |
372 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
373 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 406 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
374 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 407 | # CONFIG_BFIN_EXTMEM_WRITEBACK is not set |
375 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 408 | CONFIG_BFIN_EXTMEM_WRITETHROUGH=y |
376 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
377 | # CONFIG_BFIN_L2_DCACHEABLE is not set | 409 | # CONFIG_BFIN_L2_DCACHEABLE is not set |
378 | 410 | ||
379 | # | 411 | # |
@@ -382,7 +414,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
382 | # CONFIG_MPU is not set | 414 | # CONFIG_MPU is not set |
383 | 415 | ||
384 | # | 416 | # |
385 | # Asynchonous Memory Configuration | 417 | # Asynchronous Memory Configuration |
386 | # | 418 | # |
387 | 419 | ||
388 | # | 420 | # |
@@ -441,11 +473,6 @@ CONFIG_NET=y | |||
441 | CONFIG_PACKET=y | 473 | CONFIG_PACKET=y |
442 | # CONFIG_PACKET_MMAP is not set | 474 | # CONFIG_PACKET_MMAP is not set |
443 | CONFIG_UNIX=y | 475 | CONFIG_UNIX=y |
444 | CONFIG_XFRM=y | ||
445 | # CONFIG_XFRM_USER is not set | ||
446 | # CONFIG_XFRM_SUB_POLICY is not set | ||
447 | # CONFIG_XFRM_MIGRATE is not set | ||
448 | # CONFIG_XFRM_STATISTICS is not set | ||
449 | # CONFIG_NET_KEY is not set | 476 | # CONFIG_NET_KEY is not set |
450 | CONFIG_INET=y | 477 | CONFIG_INET=y |
451 | # CONFIG_IP_MULTICAST is not set | 478 | # CONFIG_IP_MULTICAST is not set |
@@ -469,13 +496,11 @@ CONFIG_IP_PNP=y | |||
469 | # CONFIG_INET_XFRM_MODE_BEET is not set | 496 | # CONFIG_INET_XFRM_MODE_BEET is not set |
470 | # CONFIG_INET_LRO is not set | 497 | # CONFIG_INET_LRO is not set |
471 | # CONFIG_INET_DIAG is not set | 498 | # CONFIG_INET_DIAG is not set |
472 | CONFIG_INET_TCP_DIAG=y | ||
473 | # CONFIG_TCP_CONG_ADVANCED is not set | 499 | # CONFIG_TCP_CONG_ADVANCED is not set |
474 | CONFIG_TCP_CONG_CUBIC=y | 500 | CONFIG_TCP_CONG_CUBIC=y |
475 | CONFIG_DEFAULT_TCP_CONG="cubic" | 501 | CONFIG_DEFAULT_TCP_CONG="cubic" |
476 | # CONFIG_TCP_MD5SIG is not set | 502 | # CONFIG_TCP_MD5SIG is not set |
477 | # CONFIG_IPV6 is not set | 503 | # CONFIG_IPV6 is not set |
478 | # CONFIG_NETLABEL is not set | ||
479 | # CONFIG_NETWORK_SECMARK is not set | 504 | # CONFIG_NETWORK_SECMARK is not set |
480 | # CONFIG_NETFILTER is not set | 505 | # CONFIG_NETFILTER is not set |
481 | # CONFIG_IP_DCCP is not set | 506 | # CONFIG_IP_DCCP is not set |
@@ -493,7 +518,10 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
493 | # CONFIG_LAPB is not set | 518 | # CONFIG_LAPB is not set |
494 | # CONFIG_ECONET is not set | 519 | # CONFIG_ECONET is not set |
495 | # CONFIG_WAN_ROUTER is not set | 520 | # CONFIG_WAN_ROUTER is not set |
521 | # CONFIG_PHONET is not set | ||
522 | # CONFIG_IEEE802154 is not set | ||
496 | # CONFIG_NET_SCHED is not set | 523 | # CONFIG_NET_SCHED is not set |
524 | # CONFIG_DCB is not set | ||
497 | 525 | ||
498 | # | 526 | # |
499 | # Network testing | 527 | # Network testing |
@@ -548,14 +576,10 @@ CONFIG_SIR_BFIN_DMA=y | |||
548 | # CONFIG_MCS_FIR is not set | 576 | # CONFIG_MCS_FIR is not set |
549 | # CONFIG_BT is not set | 577 | # CONFIG_BT is not set |
550 | # CONFIG_AF_RXRPC is not set | 578 | # CONFIG_AF_RXRPC is not set |
551 | # CONFIG_PHONET is not set | 579 | # CONFIG_WIRELESS is not set |
552 | CONFIG_WIRELESS=y | ||
553 | # CONFIG_CFG80211 is not set | ||
554 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
555 | CONFIG_WIRELESS_EXT=y | 580 | CONFIG_WIRELESS_EXT=y |
556 | CONFIG_WIRELESS_EXT_SYSFS=y | 581 | CONFIG_LIB80211=m |
557 | # CONFIG_MAC80211 is not set | 582 | # CONFIG_WIMAX is not set |
558 | # CONFIG_IEEE80211 is not set | ||
559 | # CONFIG_RFKILL is not set | 583 | # CONFIG_RFKILL is not set |
560 | # CONFIG_NET_9P is not set | 584 | # CONFIG_NET_9P is not set |
561 | 585 | ||
@@ -578,6 +602,7 @@ CONFIG_EXTRA_FIRMWARE="" | |||
578 | # CONFIG_CONNECTOR is not set | 602 | # CONFIG_CONNECTOR is not set |
579 | CONFIG_MTD=y | 603 | CONFIG_MTD=y |
580 | # CONFIG_MTD_DEBUG is not set | 604 | # CONFIG_MTD_DEBUG is not set |
605 | # CONFIG_MTD_TESTS is not set | ||
581 | # CONFIG_MTD_CONCAT is not set | 606 | # CONFIG_MTD_CONCAT is not set |
582 | CONFIG_MTD_PARTITIONS=y | 607 | CONFIG_MTD_PARTITIONS=y |
583 | # CONFIG_MTD_REDBOOT_PARTS is not set | 608 | # CONFIG_MTD_REDBOOT_PARTS is not set |
@@ -653,7 +678,6 @@ CONFIG_MTD_NAND=y | |||
653 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | 678 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set |
654 | # CONFIG_MTD_NAND_ECC_SMC is not set | 679 | # CONFIG_MTD_NAND_ECC_SMC is not set |
655 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 680 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
656 | # CONFIG_MTD_NAND_BFIN is not set | ||
657 | CONFIG_MTD_NAND_IDS=y | 681 | CONFIG_MTD_NAND_IDS=y |
658 | CONFIG_MTD_NAND_BF5XX=y | 682 | CONFIG_MTD_NAND_BF5XX=y |
659 | CONFIG_MTD_NAND_BF5XX_HWECC=y | 683 | CONFIG_MTD_NAND_BF5XX_HWECC=y |
@@ -665,6 +689,11 @@ CONFIG_MTD_NAND_BF5XX_HWECC=y | |||
665 | # CONFIG_MTD_ONENAND is not set | 689 | # CONFIG_MTD_ONENAND is not set |
666 | 690 | ||
667 | # | 691 | # |
692 | # LPDDR flash memory drivers | ||
693 | # | ||
694 | # CONFIG_MTD_LPDDR is not set | ||
695 | |||
696 | # | ||
668 | # UBI - Unsorted block images | 697 | # UBI - Unsorted block images |
669 | # | 698 | # |
670 | # CONFIG_MTD_UBI is not set | 699 | # CONFIG_MTD_UBI is not set |
@@ -682,10 +711,20 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
682 | # CONFIG_ATA_OVER_ETH is not set | 711 | # CONFIG_ATA_OVER_ETH is not set |
683 | # CONFIG_BLK_DEV_HD is not set | 712 | # CONFIG_BLK_DEV_HD is not set |
684 | CONFIG_MISC_DEVICES=y | 713 | CONFIG_MISC_DEVICES=y |
685 | # CONFIG_EEPROM_93CX6 is not set | ||
686 | # CONFIG_ICS932S401 is not set | 714 | # CONFIG_ICS932S401 is not set |
687 | # CONFIG_ENCLOSURE_SERVICES is not set | 715 | # CONFIG_ENCLOSURE_SERVICES is not set |
716 | # CONFIG_ISL29003 is not set | ||
717 | # CONFIG_AD525X_DPOT is not set | ||
688 | # CONFIG_C2PORT is not set | 718 | # CONFIG_C2PORT is not set |
719 | |||
720 | # | ||
721 | # EEPROM support | ||
722 | # | ||
723 | # CONFIG_EEPROM_AT24 is not set | ||
724 | # CONFIG_EEPROM_AT25 is not set | ||
725 | # CONFIG_EEPROM_LEGACY is not set | ||
726 | # CONFIG_EEPROM_MAX6875 is not set | ||
727 | # CONFIG_EEPROM_93CX6 is not set | ||
689 | CONFIG_HAVE_IDE=y | 728 | CONFIG_HAVE_IDE=y |
690 | # CONFIG_IDE is not set | 729 | # CONFIG_IDE is not set |
691 | 730 | ||
@@ -709,10 +748,6 @@ CONFIG_BLK_DEV_SR=m | |||
709 | # CONFIG_BLK_DEV_SR_VENDOR is not set | 748 | # CONFIG_BLK_DEV_SR_VENDOR is not set |
710 | # CONFIG_CHR_DEV_SG is not set | 749 | # CONFIG_CHR_DEV_SG is not set |
711 | # CONFIG_CHR_DEV_SCH is not set | 750 | # CONFIG_CHR_DEV_SCH is not set |
712 | |||
713 | # | ||
714 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
715 | # | ||
716 | # CONFIG_SCSI_MULTI_LUN is not set | 751 | # CONFIG_SCSI_MULTI_LUN is not set |
717 | # CONFIG_SCSI_CONSTANTS is not set | 752 | # CONFIG_SCSI_CONSTANTS is not set |
718 | # CONFIG_SCSI_LOGGING is not set | 753 | # CONFIG_SCSI_LOGGING is not set |
@@ -729,6 +764,7 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
729 | # CONFIG_SCSI_SRP_ATTRS is not set | 764 | # CONFIG_SCSI_SRP_ATTRS is not set |
730 | # CONFIG_SCSI_LOWLEVEL is not set | 765 | # CONFIG_SCSI_LOWLEVEL is not set |
731 | # CONFIG_SCSI_DH is not set | 766 | # CONFIG_SCSI_DH is not set |
767 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
732 | CONFIG_ATA=y | 768 | CONFIG_ATA=y |
733 | # CONFIG_ATA_NONSTANDARD is not set | 769 | # CONFIG_ATA_NONSTANDARD is not set |
734 | CONFIG_SATA_PMP=y | 770 | CONFIG_SATA_PMP=y |
@@ -744,13 +780,34 @@ CONFIG_NETDEVICES=y | |||
744 | # CONFIG_EQUALIZER is not set | 780 | # CONFIG_EQUALIZER is not set |
745 | # CONFIG_TUN is not set | 781 | # CONFIG_TUN is not set |
746 | # CONFIG_VETH is not set | 782 | # CONFIG_VETH is not set |
747 | # CONFIG_PHYLIB is not set | 783 | CONFIG_PHYLIB=y |
784 | |||
785 | # | ||
786 | # MII PHY device drivers | ||
787 | # | ||
788 | # CONFIG_MARVELL_PHY is not set | ||
789 | # CONFIG_DAVICOM_PHY is not set | ||
790 | # CONFIG_QSEMI_PHY is not set | ||
791 | # CONFIG_LXT_PHY is not set | ||
792 | # CONFIG_CICADA_PHY is not set | ||
793 | # CONFIG_VITESSE_PHY is not set | ||
794 | # CONFIG_SMSC_PHY is not set | ||
795 | # CONFIG_BROADCOM_PHY is not set | ||
796 | # CONFIG_ICPLUS_PHY is not set | ||
797 | # CONFIG_REALTEK_PHY is not set | ||
798 | # CONFIG_NATIONAL_PHY is not set | ||
799 | # CONFIG_STE10XP is not set | ||
800 | # CONFIG_LSI_ET1011C_PHY is not set | ||
801 | # CONFIG_FIXED_PHY is not set | ||
802 | # CONFIG_MDIO_BITBANG is not set | ||
748 | CONFIG_NET_ETHERNET=y | 803 | CONFIG_NET_ETHERNET=y |
749 | CONFIG_MII=y | 804 | CONFIG_MII=y |
750 | # CONFIG_SMC91X is not set | 805 | # CONFIG_SMC91X is not set |
751 | CONFIG_SMSC911X=y | ||
752 | # CONFIG_DM9000 is not set | 806 | # CONFIG_DM9000 is not set |
753 | # CONFIG_ENC28J60 is not set | 807 | # CONFIG_ENC28J60 is not set |
808 | # CONFIG_ETHOC is not set | ||
809 | CONFIG_SMSC911X=y | ||
810 | # CONFIG_DNET is not set | ||
754 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 811 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
755 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 812 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
756 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 813 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
@@ -759,6 +816,8 @@ CONFIG_SMSC911X=y | |||
759 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 816 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
760 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 817 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
761 | # CONFIG_B44 is not set | 818 | # CONFIG_B44 is not set |
819 | # CONFIG_KS8842 is not set | ||
820 | # CONFIG_KS8851 is not set | ||
762 | # CONFIG_NETDEV_1000 is not set | 821 | # CONFIG_NETDEV_1000 is not set |
763 | # CONFIG_NETDEV_10000 is not set | 822 | # CONFIG_NETDEV_10000 is not set |
764 | 823 | ||
@@ -771,13 +830,16 @@ CONFIG_LIBERTAS=m | |||
771 | # CONFIG_LIBERTAS_USB is not set | 830 | # CONFIG_LIBERTAS_USB is not set |
772 | CONFIG_LIBERTAS_SDIO=m | 831 | CONFIG_LIBERTAS_SDIO=m |
773 | CONFIG_POWEROF2_BLOCKSIZE_ONLY=y | 832 | CONFIG_POWEROF2_BLOCKSIZE_ONLY=y |
833 | # CONFIG_LIBERTAS_SPI is not set | ||
774 | # CONFIG_LIBERTAS_DEBUG is not set | 834 | # CONFIG_LIBERTAS_DEBUG is not set |
775 | # CONFIG_USB_ZD1201 is not set | 835 | # CONFIG_USB_ZD1201 is not set |
776 | # CONFIG_USB_NET_RNDIS_WLAN is not set | ||
777 | # CONFIG_IWLWIFI_LEDS is not set | ||
778 | # CONFIG_HOSTAP is not set | 836 | # CONFIG_HOSTAP is not set |
779 | 837 | ||
780 | # | 838 | # |
839 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
840 | # | ||
841 | |||
842 | # | ||
781 | # USB Network Adapters | 843 | # USB Network Adapters |
782 | # | 844 | # |
783 | # CONFIG_USB_CATC is not set | 845 | # CONFIG_USB_CATC is not set |
@@ -813,28 +875,31 @@ CONFIG_INPUT_EVBUG=m | |||
813 | # Input Device Drivers | 875 | # Input Device Drivers |
814 | # | 876 | # |
815 | CONFIG_INPUT_KEYBOARD=y | 877 | CONFIG_INPUT_KEYBOARD=y |
878 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
816 | # CONFIG_KEYBOARD_ATKBD is not set | 879 | # CONFIG_KEYBOARD_ATKBD is not set |
817 | # CONFIG_KEYBOARD_SUNKBD is not set | 880 | CONFIG_KEYBOARD_BFIN=y |
818 | # CONFIG_KEYBOARD_LKKBD is not set | 881 | # CONFIG_KEYBOARD_LKKBD is not set |
819 | # CONFIG_KEYBOARD_XTKBD is not set | ||
820 | # CONFIG_KEYBOARD_NEWTON is not set | ||
821 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
822 | # CONFIG_KEYBOARD_GPIO is not set | 882 | # CONFIG_KEYBOARD_GPIO is not set |
823 | CONFIG_KEYBOARD_BFIN=y | 883 | # CONFIG_KEYBOARD_MATRIX is not set |
884 | # CONFIG_KEYBOARD_NEWTON is not set | ||
824 | # CONFIG_KEYBOARD_OPENCORES is not set | 885 | # CONFIG_KEYBOARD_OPENCORES is not set |
825 | # CONFIG_KEYBOARD_ADP5588 is not set | 886 | # CONFIG_KEYBOARD_STOWAWAY is not set |
887 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
888 | # CONFIG_KEYBOARD_XTKBD is not set | ||
826 | # CONFIG_INPUT_MOUSE is not set | 889 | # CONFIG_INPUT_MOUSE is not set |
827 | # CONFIG_INPUT_JOYSTICK is not set | 890 | # CONFIG_INPUT_JOYSTICK is not set |
828 | # CONFIG_INPUT_TABLET is not set | 891 | # CONFIG_INPUT_TABLET is not set |
829 | CONFIG_INPUT_TOUCHSCREEN=y | 892 | CONFIG_INPUT_TOUCHSCREEN=y |
893 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
830 | CONFIG_TOUCHSCREEN_AD7877=m | 894 | CONFIG_TOUCHSCREEN_AD7877=m |
831 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set | 895 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set |
832 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set | 896 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set |
833 | # CONFIG_TOUCHSCREEN_AD7879 is not set | 897 | # CONFIG_TOUCHSCREEN_AD7879 is not set |
834 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | 898 | # CONFIG_TOUCHSCREEN_EETI is not set |
835 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | 899 | # CONFIG_TOUCHSCREEN_FUJITSU is not set |
836 | # CONFIG_TOUCHSCREEN_GUNZE is not set | 900 | # CONFIG_TOUCHSCREEN_GUNZE is not set |
837 | # CONFIG_TOUCHSCREEN_ELO is not set | 901 | # CONFIG_TOUCHSCREEN_ELO is not set |
902 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
838 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | 903 | # CONFIG_TOUCHSCREEN_MTOUCH is not set |
839 | # CONFIG_TOUCHSCREEN_INEXIO is not set | 904 | # CONFIG_TOUCHSCREEN_INEXIO is not set |
840 | # CONFIG_TOUCHSCREEN_MK712 is not set | 905 | # CONFIG_TOUCHSCREEN_MK712 is not set |
@@ -844,6 +909,8 @@ CONFIG_TOUCHSCREEN_AD7877=m | |||
844 | # CONFIG_TOUCHSCREEN_WM97XX is not set | 909 | # CONFIG_TOUCHSCREEN_WM97XX is not set |
845 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | 910 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set |
846 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | 911 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set |
912 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
913 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
847 | CONFIG_INPUT_MISC=y | 914 | CONFIG_INPUT_MISC=y |
848 | # CONFIG_INPUT_ATI_REMOTE is not set | 915 | # CONFIG_INPUT_ATI_REMOTE is not set |
849 | # CONFIG_INPUT_ATI_REMOTE2 is not set | 916 | # CONFIG_INPUT_ATI_REMOTE2 is not set |
@@ -852,7 +919,11 @@ CONFIG_INPUT_MISC=y | |||
852 | # CONFIG_INPUT_YEALINK is not set | 919 | # CONFIG_INPUT_YEALINK is not set |
853 | # CONFIG_INPUT_CM109 is not set | 920 | # CONFIG_INPUT_CM109 is not set |
854 | # CONFIG_INPUT_UINPUT is not set | 921 | # CONFIG_INPUT_UINPUT is not set |
855 | # CONFIG_CONFIG_INPUT_PCF8574 is not set | 922 | # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set |
923 | # CONFIG_INPUT_BFIN_ROTARY is not set | ||
924 | # CONFIG_INPUT_AD714X is not set | ||
925 | # CONFIG_INPUT_ADXL34X is not set | ||
926 | # CONFIG_INPUT_PCF8574 is not set | ||
856 | 927 | ||
857 | # | 928 | # |
858 | # Hardware I/O ports | 929 | # Hardware I/O ports |
@@ -863,16 +934,13 @@ CONFIG_INPUT_MISC=y | |||
863 | # | 934 | # |
864 | # Character devices | 935 | # Character devices |
865 | # | 936 | # |
866 | # CONFIG_AD9960 is not set | ||
867 | CONFIG_BFIN_DMA_INTERFACE=m | 937 | CONFIG_BFIN_DMA_INTERFACE=m |
868 | # CONFIG_BFIN_PPI is not set | 938 | # CONFIG_BFIN_PPI is not set |
869 | # CONFIG_BFIN_PPIFCD is not set | 939 | # CONFIG_BFIN_PPIFCD is not set |
870 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 940 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
871 | # CONFIG_BFIN_SPI_ADC is not set | 941 | # CONFIG_BFIN_SPI_ADC is not set |
872 | CONFIG_BFIN_SPORT=m | 942 | CONFIG_BFIN_SPORT=m |
873 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
874 | # CONFIG_BFIN_TWI_LCD is not set | 943 | # CONFIG_BFIN_TWI_LCD is not set |
875 | CONFIG_SIMPLE_GPIO=m | ||
876 | CONFIG_VT=y | 944 | CONFIG_VT=y |
877 | CONFIG_CONSOLE_TRANSLATIONS=y | 945 | CONFIG_CONSOLE_TRANSLATIONS=y |
878 | CONFIG_VT_CONSOLE=y | 946 | CONFIG_VT_CONSOLE=y |
@@ -890,6 +958,7 @@ CONFIG_BFIN_JTAG_COMM=m | |||
890 | # | 958 | # |
891 | # Non-8250 serial port support | 959 | # Non-8250 serial port support |
892 | # | 960 | # |
961 | # CONFIG_SERIAL_MAX3100 is not set | ||
893 | CONFIG_SERIAL_BFIN=y | 962 | CONFIG_SERIAL_BFIN=y |
894 | CONFIG_SERIAL_BFIN_CONSOLE=y | 963 | CONFIG_SERIAL_BFIN_CONSOLE=y |
895 | CONFIG_SERIAL_BFIN_DMA=y | 964 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -903,6 +972,7 @@ CONFIG_SERIAL_CORE=y | |||
903 | CONFIG_SERIAL_CORE_CONSOLE=y | 972 | CONFIG_SERIAL_CORE_CONSOLE=y |
904 | # CONFIG_SERIAL_BFIN_SPORT is not set | 973 | # CONFIG_SERIAL_BFIN_SPORT is not set |
905 | CONFIG_UNIX98_PTYS=y | 974 | CONFIG_UNIX98_PTYS=y |
975 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
906 | # CONFIG_LEGACY_PTYS is not set | 976 | # CONFIG_LEGACY_PTYS is not set |
907 | CONFIG_BFIN_OTP=y | 977 | CONFIG_BFIN_OTP=y |
908 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | 978 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set |
@@ -951,14 +1021,9 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100 | |||
951 | # Miscellaneous I2C Chip support | 1021 | # Miscellaneous I2C Chip support |
952 | # | 1022 | # |
953 | # CONFIG_DS1682 is not set | 1023 | # CONFIG_DS1682 is not set |
954 | # CONFIG_EEPROM_AT24 is not set | ||
955 | # CONFIG_SENSORS_AD5252 is not set | ||
956 | # CONFIG_EEPROM_LEGACY is not set | ||
957 | # CONFIG_SENSORS_PCF8574 is not set | 1024 | # CONFIG_SENSORS_PCF8574 is not set |
958 | # CONFIG_PCF8575 is not set | 1025 | # CONFIG_PCF8575 is not set |
959 | # CONFIG_SENSORS_PCA9539 is not set | 1026 | # CONFIG_SENSORS_PCA9539 is not set |
960 | # CONFIG_SENSORS_PCF8591 is not set | ||
961 | # CONFIG_SENSORS_MAX6875 is not set | ||
962 | # CONFIG_SENSORS_TSL2550 is not set | 1027 | # CONFIG_SENSORS_TSL2550 is not set |
963 | # CONFIG_I2C_DEBUG_CORE is not set | 1028 | # CONFIG_I2C_DEBUG_CORE is not set |
964 | # CONFIG_I2C_DEBUG_ALGO is not set | 1029 | # CONFIG_I2C_DEBUG_ALGO is not set |
@@ -975,13 +1040,18 @@ CONFIG_SPI_BFIN=y | |||
975 | # CONFIG_SPI_BFIN_LOCK is not set | 1040 | # CONFIG_SPI_BFIN_LOCK is not set |
976 | # CONFIG_SPI_BFIN_SPORT is not set | 1041 | # CONFIG_SPI_BFIN_SPORT is not set |
977 | # CONFIG_SPI_BITBANG is not set | 1042 | # CONFIG_SPI_BITBANG is not set |
1043 | # CONFIG_SPI_GPIO is not set | ||
978 | 1044 | ||
979 | # | 1045 | # |
980 | # SPI Protocol Masters | 1046 | # SPI Protocol Masters |
981 | # | 1047 | # |
982 | # CONFIG_EEPROM_AT25 is not set | ||
983 | # CONFIG_SPI_SPIDEV is not set | 1048 | # CONFIG_SPI_SPIDEV is not set |
984 | # CONFIG_SPI_TLE62X0 is not set | 1049 | # CONFIG_SPI_TLE62X0 is not set |
1050 | |||
1051 | # | ||
1052 | # PPS support | ||
1053 | # | ||
1054 | # CONFIG_PPS is not set | ||
985 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 1055 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
986 | CONFIG_GPIOLIB=y | 1056 | CONFIG_GPIOLIB=y |
987 | # CONFIG_DEBUG_GPIO is not set | 1057 | # CONFIG_DEBUG_GPIO is not set |
@@ -997,6 +1067,7 @@ CONFIG_GPIO_SYSFS=y | |||
997 | # CONFIG_GPIO_MAX732X is not set | 1067 | # CONFIG_GPIO_MAX732X is not set |
998 | # CONFIG_GPIO_PCA953X is not set | 1068 | # CONFIG_GPIO_PCA953X is not set |
999 | # CONFIG_GPIO_PCF857X is not set | 1069 | # CONFIG_GPIO_PCF857X is not set |
1070 | # CONFIG_GPIO_ADP5588 is not set | ||
1000 | 1071 | ||
1001 | # | 1072 | # |
1002 | # PCI GPIO expanders: | 1073 | # PCI GPIO expanders: |
@@ -1038,28 +1109,19 @@ CONFIG_SSB_POSSIBLE=y | |||
1038 | # CONFIG_MFD_CORE is not set | 1109 | # CONFIG_MFD_CORE is not set |
1039 | # CONFIG_MFD_SM501 is not set | 1110 | # CONFIG_MFD_SM501 is not set |
1040 | # CONFIG_HTC_PASIC3 is not set | 1111 | # CONFIG_HTC_PASIC3 is not set |
1112 | # CONFIG_UCB1400_CORE is not set | ||
1113 | # CONFIG_TPS65010 is not set | ||
1114 | # CONFIG_TWL4030_CORE is not set | ||
1041 | # CONFIG_MFD_TMIO is not set | 1115 | # CONFIG_MFD_TMIO is not set |
1042 | # CONFIG_PMIC_DA903X is not set | 1116 | # CONFIG_PMIC_DA903X is not set |
1043 | # CONFIG_PMIC_ADP5520 is not set | 1117 | # CONFIG_PMIC_ADP5520 is not set |
1044 | # CONFIG_MFD_WM8400 is not set | 1118 | # CONFIG_MFD_WM8400 is not set |
1045 | # CONFIG_MFD_WM8350_I2C is not set | 1119 | # CONFIG_MFD_WM8350_I2C is not set |
1120 | # CONFIG_MFD_PCF50633 is not set | ||
1121 | # CONFIG_AB3100_CORE is not set | ||
1122 | # CONFIG_EZX_PCAP is not set | ||
1046 | # CONFIG_REGULATOR is not set | 1123 | # CONFIG_REGULATOR is not set |
1047 | 1124 | # CONFIG_MEDIA_SUPPORT is not set | |
1048 | # | ||
1049 | # Multimedia devices | ||
1050 | # | ||
1051 | |||
1052 | # | ||
1053 | # Multimedia core support | ||
1054 | # | ||
1055 | # CONFIG_VIDEO_DEV is not set | ||
1056 | # CONFIG_DVB_CORE is not set | ||
1057 | # CONFIG_VIDEO_MEDIA is not set | ||
1058 | |||
1059 | # | ||
1060 | # Multimedia drivers | ||
1061 | # | ||
1062 | # CONFIG_DAB is not set | ||
1063 | 1125 | ||
1064 | # | 1126 | # |
1065 | # Graphics support | 1127 | # Graphics support |
@@ -1096,6 +1158,7 @@ CONFIG_FB_BF54X_LQ043=y | |||
1096 | # CONFIG_FB_VIRTUAL is not set | 1158 | # CONFIG_FB_VIRTUAL is not set |
1097 | # CONFIG_FB_METRONOME is not set | 1159 | # CONFIG_FB_METRONOME is not set |
1098 | # CONFIG_FB_MB862XX is not set | 1160 | # CONFIG_FB_MB862XX is not set |
1161 | # CONFIG_FB_BROADSHEET is not set | ||
1099 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 1162 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
1100 | 1163 | ||
1101 | # | 1164 | # |
@@ -1132,6 +1195,7 @@ CONFIG_SOUND_OSS_CORE=y | |||
1132 | CONFIG_SND=y | 1195 | CONFIG_SND=y |
1133 | CONFIG_SND_TIMER=y | 1196 | CONFIG_SND_TIMER=y |
1134 | CONFIG_SND_PCM=y | 1197 | CONFIG_SND_PCM=y |
1198 | CONFIG_SND_JACK=y | ||
1135 | # CONFIG_SND_SEQUENCER is not set | 1199 | # CONFIG_SND_SEQUENCER is not set |
1136 | CONFIG_SND_OSSEMUL=y | 1200 | CONFIG_SND_OSSEMUL=y |
1137 | CONFIG_SND_MIXER_OSS=y | 1201 | CONFIG_SND_MIXER_OSS=y |
@@ -1142,6 +1206,11 @@ CONFIG_SND_SUPPORT_OLD_API=y | |||
1142 | CONFIG_SND_VERBOSE_PROCFS=y | 1206 | CONFIG_SND_VERBOSE_PROCFS=y |
1143 | # CONFIG_SND_VERBOSE_PRINTK is not set | 1207 | # CONFIG_SND_VERBOSE_PRINTK is not set |
1144 | # CONFIG_SND_DEBUG is not set | 1208 | # CONFIG_SND_DEBUG is not set |
1209 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1210 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1211 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1212 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1213 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1145 | CONFIG_SND_DRIVERS=y | 1214 | CONFIG_SND_DRIVERS=y |
1146 | # CONFIG_SND_DUMMY is not set | 1215 | # CONFIG_SND_DUMMY is not set |
1147 | # CONFIG_SND_MTPAV is not set | 1216 | # CONFIG_SND_MTPAV is not set |
@@ -1152,7 +1221,6 @@ CONFIG_SND_SPI=y | |||
1152 | # | 1221 | # |
1153 | # ALSA Blackfin devices | 1222 | # ALSA Blackfin devices |
1154 | # | 1223 | # |
1155 | # CONFIG_SND_BLACKFIN_AD1836 is not set | ||
1156 | # CONFIG_SND_BFIN_AD73322 is not set | 1224 | # CONFIG_SND_BFIN_AD73322 is not set |
1157 | CONFIG_SND_USB=y | 1225 | CONFIG_SND_USB=y |
1158 | # CONFIG_SND_USB_AUDIO is not set | 1226 | # CONFIG_SND_USB_AUDIO is not set |
@@ -1160,15 +1228,17 @@ CONFIG_SND_USB=y | |||
1160 | CONFIG_SND_SOC=y | 1228 | CONFIG_SND_SOC=y |
1161 | CONFIG_SND_SOC_AC97_BUS=y | 1229 | CONFIG_SND_SOC_AC97_BUS=y |
1162 | # CONFIG_SND_BF5XX_I2S is not set | 1230 | # CONFIG_SND_BF5XX_I2S is not set |
1231 | # CONFIG_SND_BF5XX_TDM is not set | ||
1163 | CONFIG_SND_BF5XX_AC97=y | 1232 | CONFIG_SND_BF5XX_AC97=y |
1164 | CONFIG_SND_BF5XX_MMAP_SUPPORT=y | 1233 | CONFIG_SND_BF5XX_MMAP_SUPPORT=y |
1165 | # CONFIG_SND_BF5XX_MULTICHAN_SUPPORT is not set | 1234 | # CONFIG_SND_BF5XX_MULTICHAN_SUPPORT is not set |
1235 | CONFIG_SND_BF5XX_HAVE_COLD_RESET=y | ||
1236 | CONFIG_SND_BF5XX_RESET_GPIO_NUM=19 | ||
1237 | CONFIG_SND_BF5XX_SOC_AD1980=y | ||
1166 | CONFIG_SND_BF5XX_SOC_SPORT=y | 1238 | CONFIG_SND_BF5XX_SOC_SPORT=y |
1167 | CONFIG_SND_BF5XX_SOC_AC97=y | 1239 | CONFIG_SND_BF5XX_SOC_AC97=y |
1168 | CONFIG_SND_BF5XX_SOC_AD1980=y | ||
1169 | CONFIG_SND_BF5XX_SPORT_NUM=0 | 1240 | CONFIG_SND_BF5XX_SPORT_NUM=0 |
1170 | CONFIG_SND_BF5XX_HAVE_COLD_RESET=y | 1241 | CONFIG_SND_SOC_I2C_AND_SPI=y |
1171 | CONFIG_SND_BF5XX_RESET_GPIO_NUM=19 | ||
1172 | # CONFIG_SND_SOC_ALL_CODECS is not set | 1242 | # CONFIG_SND_SOC_ALL_CODECS is not set |
1173 | CONFIG_SND_SOC_AD1980=y | 1243 | CONFIG_SND_SOC_AD1980=y |
1174 | # CONFIG_SOUND_PRIME is not set | 1244 | # CONFIG_SOUND_PRIME is not set |
@@ -1188,30 +1258,34 @@ CONFIG_USB_HID=y | |||
1188 | # | 1258 | # |
1189 | # Special HID drivers | 1259 | # Special HID drivers |
1190 | # | 1260 | # |
1191 | CONFIG_HID_COMPAT=y | ||
1192 | CONFIG_HID_A4TECH=y | 1261 | CONFIG_HID_A4TECH=y |
1193 | CONFIG_HID_APPLE=y | 1262 | CONFIG_HID_APPLE=y |
1194 | CONFIG_HID_BELKIN=y | 1263 | CONFIG_HID_BELKIN=y |
1195 | CONFIG_HID_BRIGHT=y | ||
1196 | CONFIG_HID_CHERRY=y | 1264 | CONFIG_HID_CHERRY=y |
1197 | CONFIG_HID_CHICONY=y | 1265 | CONFIG_HID_CHICONY=y |
1198 | CONFIG_HID_CYPRESS=y | 1266 | CONFIG_HID_CYPRESS=y |
1199 | CONFIG_HID_DELL=y | 1267 | # CONFIG_HID_DRAGONRISE is not set |
1200 | CONFIG_HID_EZKEY=y | 1268 | CONFIG_HID_EZKEY=y |
1269 | # CONFIG_HID_KYE is not set | ||
1201 | CONFIG_HID_GYRATION=y | 1270 | CONFIG_HID_GYRATION=y |
1271 | # CONFIG_HID_KENSINGTON is not set | ||
1202 | CONFIG_HID_LOGITECH=y | 1272 | CONFIG_HID_LOGITECH=y |
1203 | # CONFIG_LOGITECH_FF is not set | 1273 | # CONFIG_LOGITECH_FF is not set |
1204 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | 1274 | # CONFIG_LOGIRUMBLEPAD2_FF is not set |
1205 | CONFIG_HID_MICROSOFT=y | 1275 | CONFIG_HID_MICROSOFT=y |
1206 | CONFIG_HID_MONTEREY=y | 1276 | CONFIG_HID_MONTEREY=y |
1277 | # CONFIG_HID_NTRIG is not set | ||
1207 | CONFIG_HID_PANTHERLORD=y | 1278 | CONFIG_HID_PANTHERLORD=y |
1208 | # CONFIG_PANTHERLORD_FF is not set | 1279 | # CONFIG_PANTHERLORD_FF is not set |
1209 | CONFIG_HID_PETALYNX=y | 1280 | CONFIG_HID_PETALYNX=y |
1210 | CONFIG_HID_SAMSUNG=y | 1281 | CONFIG_HID_SAMSUNG=y |
1211 | CONFIG_HID_SONY=y | 1282 | CONFIG_HID_SONY=y |
1212 | CONFIG_HID_SUNPLUS=y | 1283 | CONFIG_HID_SUNPLUS=y |
1213 | CONFIG_THRUSTMASTER_FF=m | 1284 | # CONFIG_HID_GREENASIA is not set |
1214 | CONFIG_ZEROPLUS_FF=m | 1285 | # CONFIG_HID_SMARTJOYPLUS is not set |
1286 | # CONFIG_HID_TOPSEED is not set | ||
1287 | # CONFIG_HID_THRUSTMASTER is not set | ||
1288 | # CONFIG_HID_ZEROPLUS is not set | ||
1215 | CONFIG_USB_SUPPORT=y | 1289 | CONFIG_USB_SUPPORT=y |
1216 | CONFIG_USB_ARCH_HAS_HCD=y | 1290 | CONFIG_USB_ARCH_HAS_HCD=y |
1217 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 1291 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
@@ -1237,6 +1311,7 @@ CONFIG_USB_MON=y | |||
1237 | # USB Host Controller Drivers | 1311 | # USB Host Controller Drivers |
1238 | # | 1312 | # |
1239 | # CONFIG_USB_C67X00_HCD is not set | 1313 | # CONFIG_USB_C67X00_HCD is not set |
1314 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1240 | # CONFIG_USB_ISP116X_HCD is not set | 1315 | # CONFIG_USB_ISP116X_HCD is not set |
1241 | # CONFIG_USB_ISP1760_HCD is not set | 1316 | # CONFIG_USB_ISP1760_HCD is not set |
1242 | # CONFIG_USB_ISP1362_HCD is not set | 1317 | # CONFIG_USB_ISP1362_HCD is not set |
@@ -1267,18 +1342,17 @@ CONFIG_USB_INVENTRA_DMA=y | |||
1267 | # CONFIG_USB_TMC is not set | 1342 | # CONFIG_USB_TMC is not set |
1268 | 1343 | ||
1269 | # | 1344 | # |
1270 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 1345 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
1271 | # | 1346 | # |
1272 | 1347 | ||
1273 | # | 1348 | # |
1274 | # see USB_STORAGE Help for more information | 1349 | # also be needed; see USB_STORAGE Help for more info |
1275 | # | 1350 | # |
1276 | CONFIG_USB_STORAGE=y | 1351 | CONFIG_USB_STORAGE=y |
1277 | # CONFIG_USB_STORAGE_DEBUG is not set | 1352 | # CONFIG_USB_STORAGE_DEBUG is not set |
1278 | # CONFIG_USB_STORAGE_DATAFAB is not set | 1353 | # CONFIG_USB_STORAGE_DATAFAB is not set |
1279 | # CONFIG_USB_STORAGE_FREECOM is not set | 1354 | # CONFIG_USB_STORAGE_FREECOM is not set |
1280 | # CONFIG_USB_STORAGE_ISD200 is not set | 1355 | # CONFIG_USB_STORAGE_ISD200 is not set |
1281 | # CONFIG_USB_STORAGE_DPCM is not set | ||
1282 | # CONFIG_USB_STORAGE_USBAT is not set | 1356 | # CONFIG_USB_STORAGE_USBAT is not set |
1283 | # CONFIG_USB_STORAGE_SDDR09 is not set | 1357 | # CONFIG_USB_STORAGE_SDDR09 is not set |
1284 | # CONFIG_USB_STORAGE_SDDR55 is not set | 1358 | # CONFIG_USB_STORAGE_SDDR55 is not set |
@@ -1314,7 +1388,6 @@ CONFIG_USB_STORAGE=y | |||
1314 | # CONFIG_USB_LED is not set | 1388 | # CONFIG_USB_LED is not set |
1315 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1389 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
1316 | # CONFIG_USB_CYTHERM is not set | 1390 | # CONFIG_USB_CYTHERM is not set |
1317 | # CONFIG_USB_PHIDGET is not set | ||
1318 | # CONFIG_USB_IDMOUSE is not set | 1391 | # CONFIG_USB_IDMOUSE is not set |
1319 | # CONFIG_USB_FTDI_ELAN is not set | 1392 | # CONFIG_USB_FTDI_ELAN is not set |
1320 | # CONFIG_USB_APPLEDISPLAY is not set | 1393 | # CONFIG_USB_APPLEDISPLAY is not set |
@@ -1326,6 +1399,13 @@ CONFIG_USB_STORAGE=y | |||
1326 | # CONFIG_USB_ISIGHTFW is not set | 1399 | # CONFIG_USB_ISIGHTFW is not set |
1327 | # CONFIG_USB_VST is not set | 1400 | # CONFIG_USB_VST is not set |
1328 | # CONFIG_USB_GADGET is not set | 1401 | # CONFIG_USB_GADGET is not set |
1402 | |||
1403 | # | ||
1404 | # OTG and related infrastructure | ||
1405 | # | ||
1406 | CONFIG_USB_OTG_UTILS=y | ||
1407 | # CONFIG_USB_GPIO_VBUS is not set | ||
1408 | CONFIG_NOP_USB_XCEIV=y | ||
1329 | CONFIG_MMC=y | 1409 | CONFIG_MMC=y |
1330 | # CONFIG_MMC_DEBUG is not set | 1410 | # CONFIG_MMC_DEBUG is not set |
1331 | # CONFIG_MMC_UNSAFE_RESUME is not set | 1411 | # CONFIG_MMC_UNSAFE_RESUME is not set |
@@ -1380,6 +1460,7 @@ CONFIG_RTC_INTF_DEV=y | |||
1380 | # CONFIG_RTC_DRV_S35390A is not set | 1460 | # CONFIG_RTC_DRV_S35390A is not set |
1381 | # CONFIG_RTC_DRV_FM3130 is not set | 1461 | # CONFIG_RTC_DRV_FM3130 is not set |
1382 | # CONFIG_RTC_DRV_RX8581 is not set | 1462 | # CONFIG_RTC_DRV_RX8581 is not set |
1463 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1383 | 1464 | ||
1384 | # | 1465 | # |
1385 | # SPI RTC drivers | 1466 | # SPI RTC drivers |
@@ -1411,10 +1492,21 @@ CONFIG_RTC_INTF_DEV=y | |||
1411 | # | 1492 | # |
1412 | CONFIG_RTC_DRV_BFIN=y | 1493 | CONFIG_RTC_DRV_BFIN=y |
1413 | # CONFIG_DMADEVICES is not set | 1494 | # CONFIG_DMADEVICES is not set |
1495 | # CONFIG_AUXDISPLAY is not set | ||
1414 | # CONFIG_UIO is not set | 1496 | # CONFIG_UIO is not set |
1497 | |||
1498 | # | ||
1499 | # TI VLYNQ | ||
1500 | # | ||
1415 | # CONFIG_STAGING is not set | 1501 | # CONFIG_STAGING is not set |
1416 | 1502 | ||
1417 | # | 1503 | # |
1504 | # Firmware Drivers | ||
1505 | # | ||
1506 | # CONFIG_FIRMWARE_MEMMAP is not set | ||
1507 | # CONFIG_SIGMA is not set | ||
1508 | |||
1509 | # | ||
1418 | # File systems | 1510 | # File systems |
1419 | # | 1511 | # |
1420 | CONFIG_EXT2_FS=y | 1512 | CONFIG_EXT2_FS=y |
@@ -1427,9 +1519,11 @@ CONFIG_FS_MBCACHE=y | |||
1427 | # CONFIG_REISERFS_FS is not set | 1519 | # CONFIG_REISERFS_FS is not set |
1428 | # CONFIG_JFS_FS is not set | 1520 | # CONFIG_JFS_FS is not set |
1429 | # CONFIG_FS_POSIX_ACL is not set | 1521 | # CONFIG_FS_POSIX_ACL is not set |
1430 | CONFIG_FILE_LOCKING=y | ||
1431 | # CONFIG_XFS_FS is not set | 1522 | # CONFIG_XFS_FS is not set |
1432 | # CONFIG_OCFS2_FS is not set | 1523 | # CONFIG_OCFS2_FS is not set |
1524 | # CONFIG_BTRFS_FS is not set | ||
1525 | CONFIG_FILE_LOCKING=y | ||
1526 | CONFIG_FSNOTIFY=y | ||
1433 | # CONFIG_DNOTIFY is not set | 1527 | # CONFIG_DNOTIFY is not set |
1434 | CONFIG_INOTIFY=y | 1528 | CONFIG_INOTIFY=y |
1435 | CONFIG_INOTIFY_USER=y | 1529 | CONFIG_INOTIFY_USER=y |
@@ -1439,6 +1533,11 @@ CONFIG_INOTIFY_USER=y | |||
1439 | # CONFIG_FUSE_FS is not set | 1533 | # CONFIG_FUSE_FS is not set |
1440 | 1534 | ||
1441 | # | 1535 | # |
1536 | # Caches | ||
1537 | # | ||
1538 | # CONFIG_FSCACHE is not set | ||
1539 | |||
1540 | # | ||
1442 | # CD-ROM/DVD Filesystems | 1541 | # CD-ROM/DVD Filesystems |
1443 | # | 1542 | # |
1444 | CONFIG_ISO9660_FS=m | 1543 | CONFIG_ISO9660_FS=m |
@@ -1467,10 +1566,7 @@ CONFIG_SYSFS=y | |||
1467 | # CONFIG_TMPFS is not set | 1566 | # CONFIG_TMPFS is not set |
1468 | # CONFIG_HUGETLB_PAGE is not set | 1567 | # CONFIG_HUGETLB_PAGE is not set |
1469 | # CONFIG_CONFIGFS_FS is not set | 1568 | # CONFIG_CONFIGFS_FS is not set |
1470 | 1569 | CONFIG_MISC_FILESYSTEMS=y | |
1471 | # | ||
1472 | # Miscellaneous filesystems | ||
1473 | # | ||
1474 | # CONFIG_ADFS_FS is not set | 1570 | # CONFIG_ADFS_FS is not set |
1475 | # CONFIG_AFFS_FS is not set | 1571 | # CONFIG_AFFS_FS is not set |
1476 | # CONFIG_HFS_FS is not set | 1572 | # CONFIG_HFS_FS is not set |
@@ -1489,17 +1585,8 @@ CONFIG_JFFS2_ZLIB=y | |||
1489 | # CONFIG_JFFS2_LZO is not set | 1585 | # CONFIG_JFFS2_LZO is not set |
1490 | CONFIG_JFFS2_RTIME=y | 1586 | CONFIG_JFFS2_RTIME=y |
1491 | # CONFIG_JFFS2_RUBIN is not set | 1587 | # CONFIG_JFFS2_RUBIN is not set |
1492 | CONFIG_YAFFS_FS=m | ||
1493 | CONFIG_YAFFS_YAFFS1=y | ||
1494 | # CONFIG_YAFFS_9BYTE_TAGS is not set | ||
1495 | # CONFIG_YAFFS_DOES_ECC is not set | ||
1496 | CONFIG_YAFFS_YAFFS2=y | ||
1497 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
1498 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
1499 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
1500 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
1501 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
1502 | # CONFIG_CRAMFS is not set | 1588 | # CONFIG_CRAMFS is not set |
1589 | # CONFIG_SQUASHFS is not set | ||
1503 | # CONFIG_VXFS_FS is not set | 1590 | # CONFIG_VXFS_FS is not set |
1504 | # CONFIG_MINIX_FS is not set | 1591 | # CONFIG_MINIX_FS is not set |
1505 | # CONFIG_OMFS_FS is not set | 1592 | # CONFIG_OMFS_FS is not set |
@@ -1508,6 +1595,7 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
1508 | # CONFIG_ROMFS_FS is not set | 1595 | # CONFIG_ROMFS_FS is not set |
1509 | # CONFIG_SYSV_FS is not set | 1596 | # CONFIG_SYSV_FS is not set |
1510 | # CONFIG_UFS_FS is not set | 1597 | # CONFIG_UFS_FS is not set |
1598 | # CONFIG_NILFS2_FS is not set | ||
1511 | CONFIG_NETWORK_FILESYSTEMS=y | 1599 | CONFIG_NETWORK_FILESYSTEMS=y |
1512 | CONFIG_NFS_FS=m | 1600 | CONFIG_NFS_FS=m |
1513 | CONFIG_NFS_V3=y | 1601 | CONFIG_NFS_V3=y |
@@ -1522,7 +1610,6 @@ CONFIG_LOCKD_V4=y | |||
1522 | CONFIG_EXPORTFS=m | 1610 | CONFIG_EXPORTFS=m |
1523 | CONFIG_NFS_COMMON=y | 1611 | CONFIG_NFS_COMMON=y |
1524 | CONFIG_SUNRPC=m | 1612 | CONFIG_SUNRPC=m |
1525 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
1526 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1613 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1527 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1614 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1528 | CONFIG_SMB_FS=m | 1615 | CONFIG_SMB_FS=m |
@@ -1596,11 +1683,15 @@ CONFIG_FRAME_WARN=1024 | |||
1596 | # CONFIG_UNUSED_SYMBOLS is not set | 1683 | # CONFIG_UNUSED_SYMBOLS is not set |
1597 | CONFIG_DEBUG_FS=y | 1684 | CONFIG_DEBUG_FS=y |
1598 | # CONFIG_HEADERS_CHECK is not set | 1685 | # CONFIG_HEADERS_CHECK is not set |
1686 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
1599 | CONFIG_DEBUG_KERNEL=y | 1687 | CONFIG_DEBUG_KERNEL=y |
1600 | CONFIG_DEBUG_SHIRQ=y | 1688 | CONFIG_DEBUG_SHIRQ=y |
1601 | CONFIG_DETECT_SOFTLOCKUP=y | 1689 | CONFIG_DETECT_SOFTLOCKUP=y |
1602 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1690 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
1603 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1691 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
1692 | CONFIG_DETECT_HUNG_TASK=y | ||
1693 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1694 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1604 | CONFIG_SCHED_DEBUG=y | 1695 | CONFIG_SCHED_DEBUG=y |
1605 | # CONFIG_SCHEDSTATS is not set | 1696 | # CONFIG_SCHEDSTATS is not set |
1606 | # CONFIG_TIMER_STATS is not set | 1697 | # CONFIG_TIMER_STATS is not set |
@@ -1608,16 +1699,21 @@ CONFIG_SCHED_DEBUG=y | |||
1608 | # CONFIG_DEBUG_SLAB is not set | 1699 | # CONFIG_DEBUG_SLAB is not set |
1609 | # CONFIG_DEBUG_SPINLOCK is not set | 1700 | # CONFIG_DEBUG_SPINLOCK is not set |
1610 | # CONFIG_DEBUG_MUTEXES is not set | 1701 | # CONFIG_DEBUG_MUTEXES is not set |
1702 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1703 | # CONFIG_PROVE_LOCKING is not set | ||
1704 | # CONFIG_LOCK_STAT is not set | ||
1611 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1705 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1612 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1706 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1613 | # CONFIG_DEBUG_KOBJECT is not set | 1707 | # CONFIG_DEBUG_KOBJECT is not set |
1614 | CONFIG_DEBUG_BUGVERBOSE=y | 1708 | CONFIG_DEBUG_BUGVERBOSE=y |
1615 | CONFIG_DEBUG_INFO=y | 1709 | CONFIG_DEBUG_INFO=y |
1616 | # CONFIG_DEBUG_VM is not set | 1710 | # CONFIG_DEBUG_VM is not set |
1711 | # CONFIG_DEBUG_NOMMU_REGIONS is not set | ||
1617 | # CONFIG_DEBUG_WRITECOUNT is not set | 1712 | # CONFIG_DEBUG_WRITECOUNT is not set |
1618 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1713 | # CONFIG_DEBUG_MEMORY_INIT is not set |
1619 | # CONFIG_DEBUG_LIST is not set | 1714 | # CONFIG_DEBUG_LIST is not set |
1620 | # CONFIG_DEBUG_SG is not set | 1715 | # CONFIG_DEBUG_SG is not set |
1716 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
1621 | # CONFIG_FRAME_POINTER is not set | 1717 | # CONFIG_FRAME_POINTER is not set |
1622 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1718 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1623 | # CONFIG_RCU_TORTURE_TEST is not set | 1719 | # CONFIG_RCU_TORTURE_TEST is not set |
@@ -1625,17 +1721,16 @@ CONFIG_DEBUG_INFO=y | |||
1625 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1721 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1626 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1722 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1627 | # CONFIG_FAULT_INJECTION is not set | 1723 | # CONFIG_FAULT_INJECTION is not set |
1628 | 1724 | # CONFIG_PAGE_POISONING is not set | |
1629 | # | 1725 | CONFIG_HAVE_FUNCTION_TRACER=y |
1630 | # Tracers | 1726 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y |
1631 | # | 1727 | CONFIG_TRACING_SUPPORT=y |
1632 | # CONFIG_SCHED_TRACER is not set | 1728 | # CONFIG_FTRACE is not set |
1633 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1729 | # CONFIG_DYNAMIC_DEBUG is not set |
1634 | # CONFIG_BOOT_TRACER is not set | ||
1635 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | ||
1636 | # CONFIG_SAMPLES is not set | 1730 | # CONFIG_SAMPLES is not set |
1637 | CONFIG_HAVE_ARCH_KGDB=y | 1731 | CONFIG_HAVE_ARCH_KGDB=y |
1638 | # CONFIG_KGDB is not set | 1732 | # CONFIG_KGDB is not set |
1733 | # CONFIG_KMEMCHECK is not set | ||
1639 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1734 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1640 | # CONFIG_DEBUG_STACK_USAGE is not set | 1735 | # CONFIG_DEBUG_STACK_USAGE is not set |
1641 | CONFIG_DEBUG_VERBOSE=y | 1736 | CONFIG_DEBUG_VERBOSE=y |
@@ -1657,17 +1752,15 @@ CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE=y | |||
1657 | CONFIG_EARLY_PRINTK=y | 1752 | CONFIG_EARLY_PRINTK=y |
1658 | CONFIG_CPLB_INFO=y | 1753 | CONFIG_CPLB_INFO=y |
1659 | CONFIG_ACCESS_CHECK=y | 1754 | CONFIG_ACCESS_CHECK=y |
1755 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
1660 | 1756 | ||
1661 | # | 1757 | # |
1662 | # Security options | 1758 | # Security options |
1663 | # | 1759 | # |
1664 | # CONFIG_KEYS is not set | 1760 | # CONFIG_KEYS is not set |
1665 | CONFIG_SECURITY=y | 1761 | # CONFIG_SECURITY is not set |
1666 | # CONFIG_SECURITYFS is not set | 1762 | # CONFIG_SECURITYFS is not set |
1667 | # CONFIG_SECURITY_NETWORK is not set | ||
1668 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1763 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1669 | # CONFIG_SECURITY_ROOTPLUG is not set | ||
1670 | CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0 | ||
1671 | CONFIG_CRYPTO=y | 1764 | CONFIG_CRYPTO=y |
1672 | 1765 | ||
1673 | # | 1766 | # |
@@ -1746,6 +1839,7 @@ CONFIG_CRYPTO=y | |||
1746 | # Compression | 1839 | # Compression |
1747 | # | 1840 | # |
1748 | # CONFIG_CRYPTO_DEFLATE is not set | 1841 | # CONFIG_CRYPTO_DEFLATE is not set |
1842 | # CONFIG_CRYPTO_ZLIB is not set | ||
1749 | # CONFIG_CRYPTO_LZO is not set | 1843 | # CONFIG_CRYPTO_LZO is not set |
1750 | 1844 | ||
1751 | # | 1845 | # |
@@ -1753,11 +1847,13 @@ CONFIG_CRYPTO=y | |||
1753 | # | 1847 | # |
1754 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1848 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
1755 | CONFIG_CRYPTO_HW=y | 1849 | CONFIG_CRYPTO_HW=y |
1850 | # CONFIG_BINARY_PRINTF is not set | ||
1756 | 1851 | ||
1757 | # | 1852 | # |
1758 | # Library routines | 1853 | # Library routines |
1759 | # | 1854 | # |
1760 | CONFIG_BITREVERSE=y | 1855 | CONFIG_BITREVERSE=y |
1856 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1761 | CONFIG_CRC_CCITT=m | 1857 | CONFIG_CRC_CCITT=m |
1762 | # CONFIG_CRC16 is not set | 1858 | # CONFIG_CRC16 is not set |
1763 | # CONFIG_CRC_T10DIF is not set | 1859 | # CONFIG_CRC_T10DIF is not set |
@@ -1767,6 +1863,8 @@ CONFIG_CRC32=y | |||
1767 | # CONFIG_LIBCRC32C is not set | 1863 | # CONFIG_LIBCRC32C is not set |
1768 | CONFIG_ZLIB_INFLATE=y | 1864 | CONFIG_ZLIB_INFLATE=y |
1769 | CONFIG_ZLIB_DEFLATE=m | 1865 | CONFIG_ZLIB_DEFLATE=m |
1866 | CONFIG_DECOMPRESS_GZIP=y | ||
1770 | CONFIG_HAS_IOMEM=y | 1867 | CONFIG_HAS_IOMEM=y |
1771 | CONFIG_HAS_IOPORT=y | 1868 | CONFIG_HAS_IOPORT=y |
1772 | CONFIG_HAS_DMA=y | 1869 | CONFIG_HAS_DMA=y |
1870 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/BF561-ACVILON_defconfig b/arch/blackfin/configs/BF561-ACVILON_defconfig new file mode 100644 index 000000000000..b9b0f93d0bd3 --- /dev/null +++ b/arch/blackfin/configs/BF561-ACVILON_defconfig | |||
@@ -0,0 +1,1643 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.31.4 | ||
4 | # Sat Oct 24 12:15:32 2009 | ||
5 | # | ||
6 | # CONFIG_MMU is not set | ||
7 | # CONFIG_FPU is not set | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
10 | CONFIG_BLACKFIN=y | ||
11 | CONFIG_GENERIC_CSUM=y | ||
12 | CONFIG_GENERIC_BUG=y | ||
13 | CONFIG_ZONE_DMA=y | ||
14 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
15 | CONFIG_GENERIC_HWEIGHT=y | ||
16 | CONFIG_GENERIC_HARDIRQS=y | ||
17 | CONFIG_GENERIC_IRQ_PROBE=y | ||
18 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
19 | CONFIG_GENERIC_GPIO=y | ||
20 | CONFIG_FORCE_MAX_ZONEORDER=14 | ||
21 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
22 | CONFIG_LOCKDEP_SUPPORT=y | ||
23 | CONFIG_STACKTRACE_SUPPORT=y | ||
24 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
25 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
26 | CONFIG_CONSTRUCTORS=y | ||
27 | |||
28 | # | ||
29 | # General setup | ||
30 | # | ||
31 | CONFIG_EXPERIMENTAL=y | ||
32 | CONFIG_BROKEN_ON_SMP=y | ||
33 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
34 | CONFIG_LOCALVERSION="" | ||
35 | CONFIG_LOCALVERSION_AUTO=y | ||
36 | CONFIG_HAVE_KERNEL_GZIP=y | ||
37 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
38 | CONFIG_HAVE_KERNEL_LZMA=y | ||
39 | CONFIG_KERNEL_GZIP=y | ||
40 | # CONFIG_KERNEL_BZIP2 is not set | ||
41 | # CONFIG_KERNEL_LZMA is not set | ||
42 | CONFIG_SYSVIPC=y | ||
43 | CONFIG_SYSVIPC_SYSCTL=y | ||
44 | # CONFIG_POSIX_MQUEUE is not set | ||
45 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
46 | # CONFIG_TASKSTATS is not set | ||
47 | # CONFIG_AUDIT is not set | ||
48 | |||
49 | # | ||
50 | # RCU Subsystem | ||
51 | # | ||
52 | CONFIG_CLASSIC_RCU=y | ||
53 | # CONFIG_TREE_RCU is not set | ||
54 | # CONFIG_PREEMPT_RCU is not set | ||
55 | # CONFIG_TREE_RCU_TRACE is not set | ||
56 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
57 | CONFIG_IKCONFIG=y | ||
58 | CONFIG_IKCONFIG_PROC=y | ||
59 | CONFIG_LOG_BUF_SHIFT=14 | ||
60 | # CONFIG_GROUP_SCHED is not set | ||
61 | # CONFIG_CGROUPS is not set | ||
62 | CONFIG_SYSFS_DEPRECATED=y | ||
63 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
64 | # CONFIG_RELAY is not set | ||
65 | # CONFIG_NAMESPACES is not set | ||
66 | # CONFIG_BLK_DEV_INITRD is not set | ||
67 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
68 | CONFIG_SYSCTL=y | ||
69 | CONFIG_ANON_INODES=y | ||
70 | CONFIG_EMBEDDED=y | ||
71 | CONFIG_UID16=y | ||
72 | # CONFIG_SYSCTL_SYSCALL is not set | ||
73 | CONFIG_KALLSYMS=y | ||
74 | # CONFIG_KALLSYMS_ALL is not set | ||
75 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
76 | CONFIG_HOTPLUG=y | ||
77 | CONFIG_PRINTK=y | ||
78 | CONFIG_BUG=y | ||
79 | # CONFIG_ELF_CORE is not set | ||
80 | CONFIG_BASE_FULL=y | ||
81 | # CONFIG_FUTEX is not set | ||
82 | CONFIG_EPOLL=y | ||
83 | # CONFIG_SIGNALFD is not set | ||
84 | # CONFIG_TIMERFD is not set | ||
85 | # CONFIG_EVENTFD is not set | ||
86 | # CONFIG_AIO is not set | ||
87 | |||
88 | # | ||
89 | # Performance Counters | ||
90 | # | ||
91 | CONFIG_VM_EVENT_COUNTERS=y | ||
92 | # CONFIG_STRIP_ASM_SYMS is not set | ||
93 | CONFIG_COMPAT_BRK=y | ||
94 | CONFIG_SLAB=y | ||
95 | # CONFIG_SLUB is not set | ||
96 | # CONFIG_SLOB is not set | ||
97 | # CONFIG_MMAP_ALLOW_UNINITIALIZED is not set | ||
98 | # CONFIG_PROFILING is not set | ||
99 | # CONFIG_MARKERS is not set | ||
100 | CONFIG_HAVE_OPROFILE=y | ||
101 | |||
102 | # | ||
103 | # GCOV-based kernel profiling | ||
104 | # | ||
105 | # CONFIG_GCOV_KERNEL is not set | ||
106 | # CONFIG_SLOW_WORK is not set | ||
107 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
108 | CONFIG_SLABINFO=y | ||
109 | CONFIG_BASE_SMALL=0 | ||
110 | CONFIG_MODULES=y | ||
111 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
112 | CONFIG_MODULE_UNLOAD=y | ||
113 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
114 | # CONFIG_MODVERSIONS is not set | ||
115 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
116 | CONFIG_BLOCK=y | ||
117 | CONFIG_LBDAF=y | ||
118 | # CONFIG_BLK_DEV_BSG is not set | ||
119 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
120 | |||
121 | # | ||
122 | # IO Schedulers | ||
123 | # | ||
124 | CONFIG_IOSCHED_NOOP=y | ||
125 | CONFIG_IOSCHED_AS=y | ||
126 | # CONFIG_IOSCHED_DEADLINE is not set | ||
127 | CONFIG_IOSCHED_CFQ=y | ||
128 | CONFIG_DEFAULT_AS=y | ||
129 | # CONFIG_DEFAULT_DEADLINE is not set | ||
130 | # CONFIG_DEFAULT_CFQ is not set | ||
131 | # CONFIG_DEFAULT_NOOP is not set | ||
132 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
133 | # CONFIG_PREEMPT_NONE is not set | ||
134 | CONFIG_PREEMPT_VOLUNTARY=y | ||
135 | # CONFIG_PREEMPT is not set | ||
136 | # CONFIG_FREEZER is not set | ||
137 | |||
138 | # | ||
139 | # Blackfin Processor Options | ||
140 | # | ||
141 | |||
142 | # | ||
143 | # Processor and Board Settings | ||
144 | # | ||
145 | # CONFIG_BF512 is not set | ||
146 | # CONFIG_BF514 is not set | ||
147 | # CONFIG_BF516 is not set | ||
148 | # CONFIG_BF518 is not set | ||
149 | # CONFIG_BF522 is not set | ||
150 | # CONFIG_BF523 is not set | ||
151 | # CONFIG_BF524 is not set | ||
152 | # CONFIG_BF525 is not set | ||
153 | # CONFIG_BF526 is not set | ||
154 | # CONFIG_BF527 is not set | ||
155 | # CONFIG_BF531 is not set | ||
156 | # CONFIG_BF532 is not set | ||
157 | # CONFIG_BF533 is not set | ||
158 | # CONFIG_BF534 is not set | ||
159 | # CONFIG_BF536 is not set | ||
160 | # CONFIG_BF537 is not set | ||
161 | # CONFIG_BF538 is not set | ||
162 | # CONFIG_BF539 is not set | ||
163 | # CONFIG_BF542 is not set | ||
164 | # CONFIG_BF542M is not set | ||
165 | # CONFIG_BF544 is not set | ||
166 | # CONFIG_BF544M is not set | ||
167 | # CONFIG_BF547 is not set | ||
168 | # CONFIG_BF547M is not set | ||
169 | # CONFIG_BF548 is not set | ||
170 | # CONFIG_BF548M is not set | ||
171 | # CONFIG_BF549 is not set | ||
172 | # CONFIG_BF549M is not set | ||
173 | CONFIG_BF561=y | ||
174 | # CONFIG_SMP is not set | ||
175 | CONFIG_BF_REV_MIN=3 | ||
176 | CONFIG_BF_REV_MAX=5 | ||
177 | # CONFIG_BF_REV_0_0 is not set | ||
178 | # CONFIG_BF_REV_0_1 is not set | ||
179 | # CONFIG_BF_REV_0_2 is not set | ||
180 | # CONFIG_BF_REV_0_3 is not set | ||
181 | # CONFIG_BF_REV_0_4 is not set | ||
182 | CONFIG_BF_REV_0_5=y | ||
183 | # CONFIG_BF_REV_0_6 is not set | ||
184 | # CONFIG_BF_REV_ANY is not set | ||
185 | # CONFIG_BF_REV_NONE is not set | ||
186 | CONFIG_IRQ_PLL_WAKEUP=7 | ||
187 | CONFIG_IRQ_SPORT0_ERROR=7 | ||
188 | CONFIG_IRQ_SPORT1_ERROR=7 | ||
189 | CONFIG_IRQ_TIMER0=10 | ||
190 | CONFIG_IRQ_TIMER1=10 | ||
191 | CONFIG_IRQ_TIMER2=10 | ||
192 | CONFIG_IRQ_TIMER3=10 | ||
193 | CONFIG_IRQ_TIMER4=10 | ||
194 | CONFIG_IRQ_TIMER5=10 | ||
195 | CONFIG_IRQ_TIMER6=10 | ||
196 | CONFIG_IRQ_TIMER7=10 | ||
197 | CONFIG_IRQ_SPI_ERROR=7 | ||
198 | # CONFIG_BFIN561_EZKIT is not set | ||
199 | # CONFIG_BFIN561_TEPLA is not set | ||
200 | # CONFIG_BFIN561_BLUETECHNIX_CM is not set | ||
201 | CONFIG_BFIN561_ACVILON=y | ||
202 | |||
203 | # | ||
204 | # BF561 Specific Configuration | ||
205 | # | ||
206 | |||
207 | # | ||
208 | # Core B Support | ||
209 | # | ||
210 | # CONFIG_BF561_COREB is not set | ||
211 | |||
212 | # | ||
213 | # Interrupt Priority Assignment | ||
214 | # | ||
215 | |||
216 | # | ||
217 | # Priority | ||
218 | # | ||
219 | CONFIG_IRQ_DMA1_ERROR=7 | ||
220 | CONFIG_IRQ_DMA2_ERROR=7 | ||
221 | CONFIG_IRQ_IMDMA_ERROR=7 | ||
222 | CONFIG_IRQ_PPI0_ERROR=7 | ||
223 | CONFIG_IRQ_PPI1_ERROR=7 | ||
224 | CONFIG_IRQ_UART_ERROR=7 | ||
225 | CONFIG_IRQ_RESERVED_ERROR=7 | ||
226 | CONFIG_IRQ_DMA1_0=8 | ||
227 | CONFIG_IRQ_DMA1_1=8 | ||
228 | CONFIG_IRQ_DMA1_2=8 | ||
229 | CONFIG_IRQ_DMA1_3=8 | ||
230 | CONFIG_IRQ_DMA1_4=8 | ||
231 | CONFIG_IRQ_DMA1_5=8 | ||
232 | CONFIG_IRQ_DMA1_6=8 | ||
233 | CONFIG_IRQ_DMA1_7=8 | ||
234 | CONFIG_IRQ_DMA1_8=8 | ||
235 | CONFIG_IRQ_DMA1_9=8 | ||
236 | CONFIG_IRQ_DMA1_10=8 | ||
237 | CONFIG_IRQ_DMA1_11=8 | ||
238 | CONFIG_IRQ_DMA2_0=9 | ||
239 | CONFIG_IRQ_DMA2_1=9 | ||
240 | CONFIG_IRQ_DMA2_2=9 | ||
241 | CONFIG_IRQ_DMA2_3=9 | ||
242 | CONFIG_IRQ_DMA2_4=9 | ||
243 | CONFIG_IRQ_DMA2_5=9 | ||
244 | CONFIG_IRQ_DMA2_6=9 | ||
245 | CONFIG_IRQ_DMA2_7=9 | ||
246 | CONFIG_IRQ_DMA2_8=9 | ||
247 | CONFIG_IRQ_DMA2_9=9 | ||
248 | CONFIG_IRQ_DMA2_10=9 | ||
249 | CONFIG_IRQ_DMA2_11=9 | ||
250 | CONFIG_IRQ_TIMER8=10 | ||
251 | CONFIG_IRQ_TIMER9=10 | ||
252 | CONFIG_IRQ_TIMER10=10 | ||
253 | CONFIG_IRQ_TIMER11=10 | ||
254 | CONFIG_IRQ_PROG0_INTA=11 | ||
255 | CONFIG_IRQ_PROG0_INTB=11 | ||
256 | CONFIG_IRQ_PROG1_INTA=11 | ||
257 | CONFIG_IRQ_PROG1_INTB=11 | ||
258 | CONFIG_IRQ_PROG2_INTA=11 | ||
259 | CONFIG_IRQ_PROG2_INTB=11 | ||
260 | CONFIG_IRQ_DMA1_WRRD0=8 | ||
261 | CONFIG_IRQ_DMA1_WRRD1=8 | ||
262 | CONFIG_IRQ_DMA2_WRRD0=9 | ||
263 | CONFIG_IRQ_DMA2_WRRD1=9 | ||
264 | CONFIG_IRQ_IMDMA_WRRD0=12 | ||
265 | CONFIG_IRQ_IMDMA_WRRD1=12 | ||
266 | CONFIG_IRQ_WDTIMER=13 | ||
267 | |||
268 | # | ||
269 | # Board customizations | ||
270 | # | ||
271 | # CONFIG_CMDLINE_BOOL is not set | ||
272 | CONFIG_BOOT_LOAD=0x1000 | ||
273 | |||
274 | # | ||
275 | # Clock/PLL Setup | ||
276 | # | ||
277 | CONFIG_CLKIN_HZ=12000000 | ||
278 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
279 | CONFIG_MAX_VCO_HZ=600000000 | ||
280 | CONFIG_MIN_VCO_HZ=50000000 | ||
281 | CONFIG_MAX_SCLK_HZ=133333333 | ||
282 | CONFIG_MIN_SCLK_HZ=27000000 | ||
283 | |||
284 | # | ||
285 | # Kernel Timer/Scheduler | ||
286 | # | ||
287 | # CONFIG_HZ_100 is not set | ||
288 | CONFIG_HZ_250=y | ||
289 | # CONFIG_HZ_300 is not set | ||
290 | # CONFIG_HZ_1000 is not set | ||
291 | CONFIG_HZ=250 | ||
292 | CONFIG_SCHED_HRTICK=y | ||
293 | CONFIG_GENERIC_TIME=y | ||
294 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
295 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
296 | CONFIG_TICKSOURCE_CORETMR=y | ||
297 | CONFIG_CYCLES_CLOCKSOURCE=y | ||
298 | # CONFIG_GPTMR0_CLOCKSOURCE is not set | ||
299 | CONFIG_TICK_ONESHOT=y | ||
300 | # CONFIG_NO_HZ is not set | ||
301 | CONFIG_HIGH_RES_TIMERS=y | ||
302 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
303 | |||
304 | # | ||
305 | # Misc | ||
306 | # | ||
307 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
308 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
309 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
310 | |||
311 | # | ||
312 | # Blackfin Kernel Optimizations | ||
313 | # | ||
314 | |||
315 | # | ||
316 | # Memory Optimizations | ||
317 | # | ||
318 | CONFIG_I_ENTRY_L1=y | ||
319 | CONFIG_EXCPT_IRQ_SYSC_L1=y | ||
320 | CONFIG_DO_IRQ_L1=y | ||
321 | CONFIG_CORE_TIMER_IRQ_L1=y | ||
322 | CONFIG_IDLE_L1=y | ||
323 | CONFIG_SCHEDULE_L1=y | ||
324 | CONFIG_ARITHMETIC_OPS_L1=y | ||
325 | CONFIG_ACCESS_OK_L1=y | ||
326 | CONFIG_MEMSET_L1=y | ||
327 | CONFIG_MEMCPY_L1=y | ||
328 | CONFIG_SYS_BFIN_SPINLOCK_L1=y | ||
329 | # CONFIG_IP_CHECKSUM_L1 is not set | ||
330 | CONFIG_CACHELINE_ALIGNED_L1=y | ||
331 | # CONFIG_SYSCALL_TAB_L1 is not set | ||
332 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | ||
333 | CONFIG_APP_STACK_L1=y | ||
334 | |||
335 | # | ||
336 | # Speed Optimizations | ||
337 | # | ||
338 | CONFIG_BFIN_INS_LOWOVERHEAD=y | ||
339 | CONFIG_RAMKERNEL=y | ||
340 | # CONFIG_ROMKERNEL is not set | ||
341 | CONFIG_SELECT_MEMORY_MODEL=y | ||
342 | CONFIG_FLATMEM_MANUAL=y | ||
343 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
344 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
345 | CONFIG_FLATMEM=y | ||
346 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
347 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
348 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
349 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
350 | CONFIG_ZONE_DMA_FLAG=1 | ||
351 | CONFIG_VIRT_TO_BUS=y | ||
352 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
353 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
354 | CONFIG_BFIN_GPTIMERS=y | ||
355 | CONFIG_DMA_UNCACHED_4M=y | ||
356 | # CONFIG_DMA_UNCACHED_2M is not set | ||
357 | # CONFIG_DMA_UNCACHED_1M is not set | ||
358 | # CONFIG_DMA_UNCACHED_NONE is not set | ||
359 | |||
360 | # | ||
361 | # Cache Support | ||
362 | # | ||
363 | CONFIG_BFIN_ICACHE=y | ||
364 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
365 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
366 | CONFIG_BFIN_DCACHE=y | ||
367 | # CONFIG_BFIN_DCACHE_BANKA is not set | ||
368 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | ||
369 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | ||
370 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | ||
371 | # CONFIG_BFIN_L2_DCACHEABLE is not set | ||
372 | |||
373 | # | ||
374 | # Memory Protection Unit | ||
375 | # | ||
376 | # CONFIG_MPU is not set | ||
377 | |||
378 | # | ||
379 | # Asynchronous Memory Configuration | ||
380 | # | ||
381 | |||
382 | # | ||
383 | # EBIU_AMGCTL Global Control | ||
384 | # | ||
385 | CONFIG_C_AMCKEN=y | ||
386 | CONFIG_C_CDPRIO=y | ||
387 | CONFIG_C_B0PEN=y | ||
388 | CONFIG_C_B1PEN=y | ||
389 | CONFIG_C_B2PEN=y | ||
390 | # CONFIG_C_B3PEN is not set | ||
391 | # CONFIG_C_AMBEN is not set | ||
392 | # CONFIG_C_AMBEN_B0 is not set | ||
393 | # CONFIG_C_AMBEN_B0_B1 is not set | ||
394 | # CONFIG_C_AMBEN_B0_B1_B2 is not set | ||
395 | CONFIG_C_AMBEN_ALL=y | ||
396 | |||
397 | # | ||
398 | # EBIU_AMBCTL Control | ||
399 | # | ||
400 | CONFIG_BANK_0=0x99b2 | ||
401 | CONFIG_BANK_1=0x3350 | ||
402 | CONFIG_BANK_2=0x7BB0 | ||
403 | CONFIG_BANK_3=0xAAC2 | ||
404 | |||
405 | # | ||
406 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | ||
407 | # | ||
408 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
409 | # CONFIG_PCCARD is not set | ||
410 | |||
411 | # | ||
412 | # Executable file formats | ||
413 | # | ||
414 | CONFIG_BINFMT_ELF_FDPIC=y | ||
415 | CONFIG_BINFMT_FLAT=y | ||
416 | CONFIG_BINFMT_ZFLAT=y | ||
417 | # CONFIG_BINFMT_SHARED_FLAT is not set | ||
418 | # CONFIG_HAVE_AOUT is not set | ||
419 | # CONFIG_BINFMT_MISC is not set | ||
420 | |||
421 | # | ||
422 | # Power management options | ||
423 | # | ||
424 | # CONFIG_PM is not set | ||
425 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
426 | |||
427 | # | ||
428 | # CPU Frequency scaling | ||
429 | # | ||
430 | # CONFIG_CPU_FREQ is not set | ||
431 | CONFIG_NET=y | ||
432 | |||
433 | # | ||
434 | # Networking options | ||
435 | # | ||
436 | CONFIG_PACKET=y | ||
437 | # CONFIG_PACKET_MMAP is not set | ||
438 | CONFIG_UNIX=y | ||
439 | CONFIG_XFRM=y | ||
440 | # CONFIG_XFRM_USER is not set | ||
441 | # CONFIG_XFRM_SUB_POLICY is not set | ||
442 | # CONFIG_XFRM_MIGRATE is not set | ||
443 | # CONFIG_XFRM_STATISTICS is not set | ||
444 | # CONFIG_NET_KEY is not set | ||
445 | CONFIG_INET=y | ||
446 | # CONFIG_IP_MULTICAST is not set | ||
447 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
448 | CONFIG_IP_FIB_HASH=y | ||
449 | CONFIG_IP_PNP=y | ||
450 | # CONFIG_IP_PNP_DHCP is not set | ||
451 | # CONFIG_IP_PNP_BOOTP is not set | ||
452 | # CONFIG_IP_PNP_RARP is not set | ||
453 | # CONFIG_NET_IPIP is not set | ||
454 | # CONFIG_NET_IPGRE is not set | ||
455 | # CONFIG_ARPD is not set | ||
456 | CONFIG_SYN_COOKIES=y | ||
457 | # CONFIG_INET_AH is not set | ||
458 | # CONFIG_INET_ESP is not set | ||
459 | # CONFIG_INET_IPCOMP is not set | ||
460 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
461 | # CONFIG_INET_TUNNEL is not set | ||
462 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
463 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
464 | CONFIG_INET_XFRM_MODE_BEET=y | ||
465 | # CONFIG_INET_LRO is not set | ||
466 | CONFIG_INET_DIAG=y | ||
467 | CONFIG_INET_TCP_DIAG=y | ||
468 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
469 | CONFIG_TCP_CONG_CUBIC=y | ||
470 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
471 | # CONFIG_TCP_MD5SIG is not set | ||
472 | # CONFIG_IPV6 is not set | ||
473 | # CONFIG_NETLABEL is not set | ||
474 | # CONFIG_NETWORK_SECMARK is not set | ||
475 | # CONFIG_NETFILTER is not set | ||
476 | # CONFIG_IP_DCCP is not set | ||
477 | # CONFIG_IP_SCTP is not set | ||
478 | # CONFIG_TIPC is not set | ||
479 | # CONFIG_ATM is not set | ||
480 | # CONFIG_BRIDGE is not set | ||
481 | # CONFIG_NET_DSA is not set | ||
482 | # CONFIG_VLAN_8021Q is not set | ||
483 | # CONFIG_DECNET is not set | ||
484 | # CONFIG_LLC2 is not set | ||
485 | # CONFIG_IPX is not set | ||
486 | # CONFIG_ATALK is not set | ||
487 | # CONFIG_X25 is not set | ||
488 | # CONFIG_LAPB is not set | ||
489 | # CONFIG_ECONET is not set | ||
490 | # CONFIG_WAN_ROUTER is not set | ||
491 | # CONFIG_PHONET is not set | ||
492 | # CONFIG_IEEE802154 is not set | ||
493 | # CONFIG_NET_SCHED is not set | ||
494 | # CONFIG_DCB is not set | ||
495 | |||
496 | # | ||
497 | # Network testing | ||
498 | # | ||
499 | # CONFIG_NET_PKTGEN is not set | ||
500 | # CONFIG_HAMRADIO is not set | ||
501 | # CONFIG_CAN is not set | ||
502 | # CONFIG_IRDA is not set | ||
503 | # CONFIG_BT is not set | ||
504 | # CONFIG_AF_RXRPC is not set | ||
505 | # CONFIG_WIRELESS is not set | ||
506 | # CONFIG_WIMAX is not set | ||
507 | # CONFIG_RFKILL is not set | ||
508 | # CONFIG_NET_9P is not set | ||
509 | |||
510 | # | ||
511 | # Device Drivers | ||
512 | # | ||
513 | |||
514 | # | ||
515 | # Generic Driver Options | ||
516 | # | ||
517 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
518 | CONFIG_STANDALONE=y | ||
519 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
520 | # CONFIG_FW_LOADER is not set | ||
521 | # CONFIG_DEBUG_DRIVER is not set | ||
522 | # CONFIG_DEBUG_DEVRES is not set | ||
523 | # CONFIG_SYS_HYPERVISOR is not set | ||
524 | # CONFIG_CONNECTOR is not set | ||
525 | CONFIG_MTD=y | ||
526 | # CONFIG_MTD_DEBUG is not set | ||
527 | # CONFIG_MTD_TESTS is not set | ||
528 | # CONFIG_MTD_CONCAT is not set | ||
529 | CONFIG_MTD_PARTITIONS=y | ||
530 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
531 | CONFIG_MTD_CMDLINE_PARTS=y | ||
532 | # CONFIG_MTD_AR7_PARTS is not set | ||
533 | |||
534 | # | ||
535 | # User Modules And Translation Layers | ||
536 | # | ||
537 | CONFIG_MTD_CHAR=y | ||
538 | CONFIG_MTD_BLKDEVS=y | ||
539 | CONFIG_MTD_BLOCK=y | ||
540 | # CONFIG_FTL is not set | ||
541 | # CONFIG_NFTL is not set | ||
542 | # CONFIG_INFTL is not set | ||
543 | # CONFIG_RFD_FTL is not set | ||
544 | # CONFIG_SSFDC is not set | ||
545 | # CONFIG_MTD_OOPS is not set | ||
546 | |||
547 | # | ||
548 | # RAM/ROM/Flash chip drivers | ||
549 | # | ||
550 | # CONFIG_MTD_CFI is not set | ||
551 | # CONFIG_MTD_JEDECPROBE is not set | ||
552 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
553 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
554 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
555 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
556 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
557 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
558 | CONFIG_MTD_CFI_I1=y | ||
559 | CONFIG_MTD_CFI_I2=y | ||
560 | # CONFIG_MTD_CFI_I4 is not set | ||
561 | # CONFIG_MTD_CFI_I8 is not set | ||
562 | CONFIG_MTD_RAM=y | ||
563 | # CONFIG_MTD_ROM is not set | ||
564 | # CONFIG_MTD_ABSENT is not set | ||
565 | |||
566 | # | ||
567 | # Mapping drivers for chip access | ||
568 | # | ||
569 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
570 | # CONFIG_MTD_UCLINUX is not set | ||
571 | CONFIG_MTD_PLATRAM=y | ||
572 | |||
573 | # | ||
574 | # Self-contained MTD device drivers | ||
575 | # | ||
576 | # CONFIG_MTD_DATAFLASH is not set | ||
577 | # CONFIG_MTD_M25P80 is not set | ||
578 | # CONFIG_MTD_SLRAM is not set | ||
579 | CONFIG_MTD_PHRAM=y | ||
580 | # CONFIG_MTD_MTDRAM is not set | ||
581 | CONFIG_MTD_BLOCK2MTD=y | ||
582 | |||
583 | # | ||
584 | # Disk-On-Chip Device Drivers | ||
585 | # | ||
586 | # CONFIG_MTD_DOC2000 is not set | ||
587 | # CONFIG_MTD_DOC2001 is not set | ||
588 | # CONFIG_MTD_DOC2001PLUS is not set | ||
589 | CONFIG_MTD_NAND=y | ||
590 | CONFIG_MTD_NAND_VERIFY_WRITE=y | ||
591 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
592 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
593 | CONFIG_MTD_NAND_IDS=y | ||
594 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
595 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
596 | CONFIG_MTD_NAND_PLATFORM=y | ||
597 | # CONFIG_MTD_ALAUDA is not set | ||
598 | # CONFIG_MTD_ONENAND is not set | ||
599 | |||
600 | # | ||
601 | # LPDDR flash memory drivers | ||
602 | # | ||
603 | # CONFIG_MTD_LPDDR is not set | ||
604 | |||
605 | # | ||
606 | # UBI - Unsorted block images | ||
607 | # | ||
608 | # CONFIG_MTD_UBI is not set | ||
609 | # CONFIG_PARPORT is not set | ||
610 | CONFIG_BLK_DEV=y | ||
611 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
612 | CONFIG_BLK_DEV_LOOP=y | ||
613 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
614 | # CONFIG_BLK_DEV_NBD is not set | ||
615 | # CONFIG_BLK_DEV_UB is not set | ||
616 | CONFIG_BLK_DEV_RAM=y | ||
617 | CONFIG_BLK_DEV_RAM_COUNT=2 | ||
618 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
619 | # CONFIG_BLK_DEV_XIP is not set | ||
620 | # CONFIG_CDROM_PKTCDVD is not set | ||
621 | # CONFIG_ATA_OVER_ETH is not set | ||
622 | # CONFIG_BLK_DEV_HD is not set | ||
623 | # CONFIG_MISC_DEVICES is not set | ||
624 | CONFIG_HAVE_IDE=y | ||
625 | # CONFIG_IDE is not set | ||
626 | |||
627 | # | ||
628 | # SCSI device support | ||
629 | # | ||
630 | # CONFIG_RAID_ATTRS is not set | ||
631 | CONFIG_SCSI=y | ||
632 | CONFIG_SCSI_DMA=y | ||
633 | # CONFIG_SCSI_TGT is not set | ||
634 | # CONFIG_SCSI_NETLINK is not set | ||
635 | # CONFIG_SCSI_PROC_FS is not set | ||
636 | |||
637 | # | ||
638 | # SCSI support type (disk, tape, CD-ROM) | ||
639 | # | ||
640 | CONFIG_BLK_DEV_SD=y | ||
641 | # CONFIG_CHR_DEV_ST is not set | ||
642 | # CONFIG_CHR_DEV_OSST is not set | ||
643 | # CONFIG_BLK_DEV_SR is not set | ||
644 | # CONFIG_CHR_DEV_SG is not set | ||
645 | # CONFIG_CHR_DEV_SCH is not set | ||
646 | # CONFIG_SCSI_MULTI_LUN is not set | ||
647 | # CONFIG_SCSI_CONSTANTS is not set | ||
648 | # CONFIG_SCSI_LOGGING is not set | ||
649 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
650 | CONFIG_SCSI_WAIT_SCAN=y | ||
651 | |||
652 | # | ||
653 | # SCSI Transports | ||
654 | # | ||
655 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
656 | # CONFIG_SCSI_FC_ATTRS is not set | ||
657 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
658 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
659 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
660 | # CONFIG_SCSI_LOWLEVEL is not set | ||
661 | # CONFIG_SCSI_DH is not set | ||
662 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
663 | # CONFIG_ATA is not set | ||
664 | # CONFIG_MD is not set | ||
665 | CONFIG_NETDEVICES=y | ||
666 | # CONFIG_DUMMY is not set | ||
667 | # CONFIG_BONDING is not set | ||
668 | # CONFIG_MACVLAN is not set | ||
669 | # CONFIG_EQUALIZER is not set | ||
670 | # CONFIG_TUN is not set | ||
671 | # CONFIG_VETH is not set | ||
672 | CONFIG_PHYLIB=y | ||
673 | |||
674 | # | ||
675 | # MII PHY device drivers | ||
676 | # | ||
677 | # CONFIG_MARVELL_PHY is not set | ||
678 | # CONFIG_DAVICOM_PHY is not set | ||
679 | # CONFIG_QSEMI_PHY is not set | ||
680 | # CONFIG_LXT_PHY is not set | ||
681 | # CONFIG_CICADA_PHY is not set | ||
682 | # CONFIG_VITESSE_PHY is not set | ||
683 | # CONFIG_SMSC_PHY is not set | ||
684 | # CONFIG_BROADCOM_PHY is not set | ||
685 | # CONFIG_ICPLUS_PHY is not set | ||
686 | # CONFIG_REALTEK_PHY is not set | ||
687 | # CONFIG_NATIONAL_PHY is not set | ||
688 | # CONFIG_STE10XP is not set | ||
689 | # CONFIG_LSI_ET1011C_PHY is not set | ||
690 | # CONFIG_FIXED_PHY is not set | ||
691 | # CONFIG_MDIO_BITBANG is not set | ||
692 | CONFIG_NET_ETHERNET=y | ||
693 | CONFIG_MII=y | ||
694 | # CONFIG_SMC91X is not set | ||
695 | # CONFIG_DM9000 is not set | ||
696 | # CONFIG_ENC28J60 is not set | ||
697 | # CONFIG_ETHOC is not set | ||
698 | CONFIG_SMSC911X=y | ||
699 | # CONFIG_DNET is not set | ||
700 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
701 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
702 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
703 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
704 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
705 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
706 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
707 | # CONFIG_B44 is not set | ||
708 | # CONFIG_KS8842 is not set | ||
709 | # CONFIG_KS8851 is not set | ||
710 | # CONFIG_NETDEV_1000 is not set | ||
711 | # CONFIG_NETDEV_10000 is not set | ||
712 | |||
713 | # | ||
714 | # Wireless LAN | ||
715 | # | ||
716 | # CONFIG_WLAN_PRE80211 is not set | ||
717 | # CONFIG_WLAN_80211 is not set | ||
718 | |||
719 | # | ||
720 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
721 | # | ||
722 | |||
723 | # | ||
724 | # USB Network Adapters | ||
725 | # | ||
726 | # CONFIG_USB_CATC is not set | ||
727 | # CONFIG_USB_KAWETH is not set | ||
728 | # CONFIG_USB_PEGASUS is not set | ||
729 | # CONFIG_USB_RTL8150 is not set | ||
730 | # CONFIG_USB_USBNET is not set | ||
731 | # CONFIG_WAN is not set | ||
732 | # CONFIG_PPP is not set | ||
733 | # CONFIG_SLIP is not set | ||
734 | # CONFIG_NETCONSOLE is not set | ||
735 | # CONFIG_NETPOLL is not set | ||
736 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
737 | # CONFIG_ISDN is not set | ||
738 | # CONFIG_PHONE is not set | ||
739 | |||
740 | # | ||
741 | # Input device support | ||
742 | # | ||
743 | # CONFIG_INPUT is not set | ||
744 | |||
745 | # | ||
746 | # Hardware I/O ports | ||
747 | # | ||
748 | # CONFIG_SERIO is not set | ||
749 | # CONFIG_GAMEPORT is not set | ||
750 | |||
751 | # | ||
752 | # Character devices | ||
753 | # | ||
754 | # CONFIG_BFIN_DMA_INTERFACE is not set | ||
755 | # CONFIG_BFIN_PPI is not set | ||
756 | # CONFIG_BFIN_PPIFCD is not set | ||
757 | CONFIG_BFIN_SIMPLE_TIMER=y | ||
758 | # CONFIG_BFIN_SPI_ADC is not set | ||
759 | # CONFIG_BFIN_SPORT is not set | ||
760 | # CONFIG_BFIN_TWI_LCD is not set | ||
761 | # CONFIG_VT is not set | ||
762 | # CONFIG_DEVKMEM is not set | ||
763 | # CONFIG_BFIN_JTAG_COMM is not set | ||
764 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
765 | |||
766 | # | ||
767 | # Serial drivers | ||
768 | # | ||
769 | # CONFIG_SERIAL_8250 is not set | ||
770 | |||
771 | # | ||
772 | # Non-8250 serial port support | ||
773 | # | ||
774 | # CONFIG_SERIAL_MAX3100 is not set | ||
775 | CONFIG_SERIAL_BFIN=y | ||
776 | CONFIG_SERIAL_BFIN_CONSOLE=y | ||
777 | # CONFIG_SERIAL_BFIN_DMA is not set | ||
778 | CONFIG_SERIAL_BFIN_PIO=y | ||
779 | CONFIG_SERIAL_BFIN_UART0=y | ||
780 | # CONFIG_BFIN_UART0_CTSRTS is not set | ||
781 | CONFIG_SERIAL_CORE=y | ||
782 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
783 | # CONFIG_SERIAL_BFIN_SPORT is not set | ||
784 | CONFIG_UNIX98_PTYS=y | ||
785 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
786 | CONFIG_LEGACY_PTYS=y | ||
787 | CONFIG_LEGACY_PTY_COUNT=256 | ||
788 | |||
789 | # | ||
790 | # CAN, the car bus and industrial fieldbus | ||
791 | # | ||
792 | # CONFIG_CAN4LINUX is not set | ||
793 | # CONFIG_IPMI_HANDLER is not set | ||
794 | # CONFIG_HW_RANDOM is not set | ||
795 | # CONFIG_R3964 is not set | ||
796 | # CONFIG_RAW_DRIVER is not set | ||
797 | # CONFIG_TCG_TPM is not set | ||
798 | CONFIG_I2C=y | ||
799 | CONFIG_I2C_BOARDINFO=y | ||
800 | CONFIG_I2C_CHARDEV=y | ||
801 | CONFIG_I2C_HELPER_AUTO=y | ||
802 | CONFIG_I2C_ALGOPCA=y | ||
803 | |||
804 | # | ||
805 | # I2C Hardware Bus support | ||
806 | # | ||
807 | |||
808 | # | ||
809 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
810 | # | ||
811 | # CONFIG_I2C_GPIO is not set | ||
812 | # CONFIG_I2C_OCORES is not set | ||
813 | # CONFIG_I2C_SIMTEC is not set | ||
814 | |||
815 | # | ||
816 | # External I2C/SMBus adapter drivers | ||
817 | # | ||
818 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
819 | # CONFIG_I2C_TAOS_EVM is not set | ||
820 | # CONFIG_I2C_TINY_USB is not set | ||
821 | |||
822 | # | ||
823 | # Other I2C/SMBus bus drivers | ||
824 | # | ||
825 | CONFIG_I2C_PCA_PLATFORM=y | ||
826 | # CONFIG_I2C_STUB is not set | ||
827 | |||
828 | # | ||
829 | # Miscellaneous I2C Chip support | ||
830 | # | ||
831 | # CONFIG_DS1682 is not set | ||
832 | # CONFIG_SENSORS_PCA9539 is not set | ||
833 | # CONFIG_SENSORS_TSL2550 is not set | ||
834 | # CONFIG_I2C_DEBUG_CORE is not set | ||
835 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
836 | # CONFIG_I2C_DEBUG_BUS is not set | ||
837 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
838 | CONFIG_SPI=y | ||
839 | # CONFIG_SPI_DEBUG is not set | ||
840 | CONFIG_SPI_MASTER=y | ||
841 | |||
842 | # | ||
843 | # SPI Master Controller Drivers | ||
844 | # | ||
845 | CONFIG_SPI_BFIN=y | ||
846 | # CONFIG_SPI_BFIN_LOCK is not set | ||
847 | # CONFIG_SPI_BFIN_SPORT is not set | ||
848 | # CONFIG_SPI_BITBANG is not set | ||
849 | # CONFIG_SPI_GPIO is not set | ||
850 | |||
851 | # | ||
852 | # SPI Protocol Masters | ||
853 | # | ||
854 | CONFIG_SPI_SPIDEV=y | ||
855 | # CONFIG_SPI_TLE62X0 is not set | ||
856 | |||
857 | # | ||
858 | # PPS support | ||
859 | # | ||
860 | # CONFIG_PPS is not set | ||
861 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
862 | CONFIG_GPIOLIB=y | ||
863 | # CONFIG_DEBUG_GPIO is not set | ||
864 | CONFIG_GPIO_SYSFS=y | ||
865 | |||
866 | # | ||
867 | # Memory mapped GPIO expanders: | ||
868 | # | ||
869 | |||
870 | # | ||
871 | # I2C GPIO expanders: | ||
872 | # | ||
873 | # CONFIG_GPIO_MAX732X is not set | ||
874 | # CONFIG_GPIO_PCA953X is not set | ||
875 | CONFIG_GPIO_PCF857X=y | ||
876 | # CONFIG_GPIO_ADP5588 is not set | ||
877 | |||
878 | # | ||
879 | # PCI GPIO expanders: | ||
880 | # | ||
881 | |||
882 | # | ||
883 | # SPI GPIO expanders: | ||
884 | # | ||
885 | # CONFIG_GPIO_MAX7301 is not set | ||
886 | # CONFIG_GPIO_MCP23S08 is not set | ||
887 | # CONFIG_W1 is not set | ||
888 | # CONFIG_POWER_SUPPLY is not set | ||
889 | CONFIG_HWMON=y | ||
890 | # CONFIG_HWMON_VID is not set | ||
891 | # CONFIG_SENSORS_AD7414 is not set | ||
892 | # CONFIG_SENSORS_AD7418 is not set | ||
893 | # CONFIG_SENSORS_ADCXX is not set | ||
894 | # CONFIG_SENSORS_ADM1021 is not set | ||
895 | # CONFIG_SENSORS_ADM1025 is not set | ||
896 | # CONFIG_SENSORS_ADM1026 is not set | ||
897 | # CONFIG_SENSORS_ADM1029 is not set | ||
898 | # CONFIG_SENSORS_ADM1031 is not set | ||
899 | # CONFIG_SENSORS_ADM9240 is not set | ||
900 | # CONFIG_SENSORS_ADT7462 is not set | ||
901 | # CONFIG_SENSORS_ADT7470 is not set | ||
902 | # CONFIG_SENSORS_ADT7473 is not set | ||
903 | # CONFIG_SENSORS_ADT7475 is not set | ||
904 | # CONFIG_SENSORS_ATXP1 is not set | ||
905 | # CONFIG_SENSORS_DS1621 is not set | ||
906 | # CONFIG_SENSORS_F71805F is not set | ||
907 | # CONFIG_SENSORS_F71882FG is not set | ||
908 | # CONFIG_SENSORS_F75375S is not set | ||
909 | # CONFIG_SENSORS_G760A is not set | ||
910 | # CONFIG_SENSORS_GL518SM is not set | ||
911 | # CONFIG_SENSORS_GL520SM is not set | ||
912 | # CONFIG_SENSORS_IT87 is not set | ||
913 | # CONFIG_SENSORS_LM63 is not set | ||
914 | # CONFIG_SENSORS_LM70 is not set | ||
915 | CONFIG_SENSORS_LM75=y | ||
916 | # CONFIG_SENSORS_LM77 is not set | ||
917 | # CONFIG_SENSORS_LM78 is not set | ||
918 | # CONFIG_SENSORS_LM80 is not set | ||
919 | # CONFIG_SENSORS_LM83 is not set | ||
920 | # CONFIG_SENSORS_LM85 is not set | ||
921 | # CONFIG_SENSORS_LM87 is not set | ||
922 | # CONFIG_SENSORS_LM90 is not set | ||
923 | # CONFIG_SENSORS_LM92 is not set | ||
924 | # CONFIG_SENSORS_LM93 is not set | ||
925 | # CONFIG_SENSORS_LTC4215 is not set | ||
926 | # CONFIG_SENSORS_LTC4245 is not set | ||
927 | # CONFIG_SENSORS_LM95241 is not set | ||
928 | # CONFIG_SENSORS_MAX1111 is not set | ||
929 | # CONFIG_SENSORS_MAX1619 is not set | ||
930 | # CONFIG_SENSORS_MAX6650 is not set | ||
931 | # CONFIG_SENSORS_PC87360 is not set | ||
932 | # CONFIG_SENSORS_PC87427 is not set | ||
933 | # CONFIG_SENSORS_PCF8591 is not set | ||
934 | # CONFIG_SENSORS_SHT15 is not set | ||
935 | # CONFIG_SENSORS_DME1737 is not set | ||
936 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
937 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
938 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
939 | # CONFIG_SENSORS_ADS7828 is not set | ||
940 | # CONFIG_SENSORS_THMC50 is not set | ||
941 | # CONFIG_SENSORS_TMP401 is not set | ||
942 | # CONFIG_SENSORS_VT1211 is not set | ||
943 | # CONFIG_SENSORS_W83781D is not set | ||
944 | # CONFIG_SENSORS_W83791D is not set | ||
945 | # CONFIG_SENSORS_W83792D is not set | ||
946 | # CONFIG_SENSORS_W83793 is not set | ||
947 | # CONFIG_SENSORS_W83L785TS is not set | ||
948 | # CONFIG_SENSORS_W83L786NG is not set | ||
949 | # CONFIG_SENSORS_W83627HF is not set | ||
950 | # CONFIG_SENSORS_W83627EHF is not set | ||
951 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
952 | # CONFIG_THERMAL is not set | ||
953 | # CONFIG_THERMAL_HWMON is not set | ||
954 | CONFIG_WATCHDOG=y | ||
955 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
956 | |||
957 | # | ||
958 | # Watchdog Device Drivers | ||
959 | # | ||
960 | # CONFIG_SOFT_WATCHDOG is not set | ||
961 | CONFIG_BFIN_WDT=y | ||
962 | |||
963 | # | ||
964 | # USB-based Watchdog Cards | ||
965 | # | ||
966 | # CONFIG_USBPCWATCHDOG is not set | ||
967 | CONFIG_SSB_POSSIBLE=y | ||
968 | |||
969 | # | ||
970 | # Sonics Silicon Backplane | ||
971 | # | ||
972 | # CONFIG_SSB is not set | ||
973 | |||
974 | # | ||
975 | # Multifunction device drivers | ||
976 | # | ||
977 | # CONFIG_MFD_CORE is not set | ||
978 | # CONFIG_MFD_SM501 is not set | ||
979 | # CONFIG_HTC_PASIC3 is not set | ||
980 | # CONFIG_TPS65010 is not set | ||
981 | # CONFIG_TWL4030_CORE is not set | ||
982 | # CONFIG_MFD_TMIO is not set | ||
983 | # CONFIG_PMIC_DA903X is not set | ||
984 | # CONFIG_PMIC_ADP5520 is not set | ||
985 | # CONFIG_MFD_WM8400 is not set | ||
986 | # CONFIG_MFD_WM8350_I2C is not set | ||
987 | # CONFIG_MFD_PCF50633 is not set | ||
988 | # CONFIG_AB3100_CORE is not set | ||
989 | # CONFIG_EZX_PCAP is not set | ||
990 | # CONFIG_REGULATOR is not set | ||
991 | # CONFIG_MEDIA_SUPPORT is not set | ||
992 | |||
993 | # | ||
994 | # Graphics support | ||
995 | # | ||
996 | # CONFIG_VGASTATE is not set | ||
997 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
998 | # CONFIG_FB is not set | ||
999 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
1000 | |||
1001 | # | ||
1002 | # Display device support | ||
1003 | # | ||
1004 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1005 | CONFIG_SOUND=y | ||
1006 | CONFIG_SOUND_OSS_CORE=y | ||
1007 | CONFIG_SND=y | ||
1008 | CONFIG_SND_TIMER=y | ||
1009 | CONFIG_SND_PCM=y | ||
1010 | # CONFIG_SND_SEQUENCER is not set | ||
1011 | CONFIG_SND_OSSEMUL=y | ||
1012 | CONFIG_SND_MIXER_OSS=y | ||
1013 | CONFIG_SND_PCM_OSS=y | ||
1014 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
1015 | # CONFIG_SND_HRTIMER is not set | ||
1016 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1017 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1018 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1019 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1020 | # CONFIG_SND_DEBUG is not set | ||
1021 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1022 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1023 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1024 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1025 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1026 | # CONFIG_SND_DRIVERS is not set | ||
1027 | CONFIG_SND_SPI=y | ||
1028 | |||
1029 | # | ||
1030 | # ALSA Blackfin devices | ||
1031 | # | ||
1032 | # CONFIG_SND_BFIN_AD73322 is not set | ||
1033 | # CONFIG_SND_USB is not set | ||
1034 | CONFIG_SND_SOC=y | ||
1035 | CONFIG_SND_BF5XX_I2S=y | ||
1036 | # CONFIG_SND_BF5XX_SOC_SSM2602 is not set | ||
1037 | # CONFIG_SND_BF5XX_SOC_AD73311 is not set | ||
1038 | # CONFIG_SND_BF5XX_SOC_ADAU1371 is not set | ||
1039 | # CONFIG_SND_BF5XX_SOC_ADAU1761 is not set | ||
1040 | # CONFIG_SND_BF5XX_TDM is not set | ||
1041 | # CONFIG_SND_BF5XX_AC97 is not set | ||
1042 | CONFIG_SND_BF5XX_SOC_SPORT=y | ||
1043 | CONFIG_SND_BF5XX_SPORT_NUM=1 | ||
1044 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
1045 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
1046 | # CONFIG_SOUND_PRIME is not set | ||
1047 | CONFIG_USB_SUPPORT=y | ||
1048 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1049 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
1050 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
1051 | CONFIG_USB=y | ||
1052 | # CONFIG_USB_DEBUG is not set | ||
1053 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
1054 | |||
1055 | # | ||
1056 | # Miscellaneous USB options | ||
1057 | # | ||
1058 | # CONFIG_USB_DEVICEFS is not set | ||
1059 | # CONFIG_USB_DEVICE_CLASS is not set | ||
1060 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1061 | # CONFIG_USB_OTG is not set | ||
1062 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1063 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1064 | CONFIG_USB_MON=y | ||
1065 | # CONFIG_USB_WUSB is not set | ||
1066 | # CONFIG_USB_WUSB_CBAF is not set | ||
1067 | |||
1068 | # | ||
1069 | # USB Host Controller Drivers | ||
1070 | # | ||
1071 | # CONFIG_USB_C67X00_HCD is not set | ||
1072 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1073 | # CONFIG_USB_ISP116X_HCD is not set | ||
1074 | # CONFIG_USB_ISP1760_HCD is not set | ||
1075 | # CONFIG_USB_ISP1362_HCD is not set | ||
1076 | # CONFIG_USB_SL811_HCD is not set | ||
1077 | # CONFIG_USB_R8A66597_HCD is not set | ||
1078 | # CONFIG_USB_HWA_HCD is not set | ||
1079 | |||
1080 | # | ||
1081 | # USB Device Class drivers | ||
1082 | # | ||
1083 | # CONFIG_USB_ACM is not set | ||
1084 | # CONFIG_USB_PRINTER is not set | ||
1085 | # CONFIG_USB_WDM is not set | ||
1086 | # CONFIG_USB_TMC is not set | ||
1087 | |||
1088 | # | ||
1089 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1090 | # | ||
1091 | |||
1092 | # | ||
1093 | # also be needed; see USB_STORAGE Help for more info | ||
1094 | # | ||
1095 | CONFIG_USB_STORAGE=y | ||
1096 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1097 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1098 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1099 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1100 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1101 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1102 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1103 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1104 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1105 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1106 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1107 | # CONFIG_USB_LIBUSUAL is not set | ||
1108 | |||
1109 | # | ||
1110 | # USB Imaging devices | ||
1111 | # | ||
1112 | # CONFIG_USB_MDC800 is not set | ||
1113 | # CONFIG_USB_MICROTEK is not set | ||
1114 | |||
1115 | # | ||
1116 | # USB port drivers | ||
1117 | # | ||
1118 | CONFIG_USB_SERIAL=y | ||
1119 | # CONFIG_USB_SERIAL_CONSOLE is not set | ||
1120 | # CONFIG_USB_EZUSB is not set | ||
1121 | # CONFIG_USB_SERIAL_GENERIC is not set | ||
1122 | # CONFIG_USB_SERIAL_AIRCABLE is not set | ||
1123 | # CONFIG_USB_SERIAL_ARK3116 is not set | ||
1124 | # CONFIG_USB_SERIAL_BELKIN is not set | ||
1125 | # CONFIG_USB_SERIAL_CH341 is not set | ||
1126 | # CONFIG_USB_SERIAL_WHITEHEAT is not set | ||
1127 | # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set | ||
1128 | # CONFIG_USB_SERIAL_CP210X is not set | ||
1129 | # CONFIG_USB_SERIAL_CYPRESS_M8 is not set | ||
1130 | # CONFIG_USB_SERIAL_EMPEG is not set | ||
1131 | CONFIG_USB_SERIAL_FTDI_SIO=y | ||
1132 | # CONFIG_USB_SERIAL_FUNSOFT is not set | ||
1133 | # CONFIG_USB_SERIAL_VISOR is not set | ||
1134 | # CONFIG_USB_SERIAL_IPAQ is not set | ||
1135 | # CONFIG_USB_SERIAL_IR is not set | ||
1136 | # CONFIG_USB_SERIAL_EDGEPORT is not set | ||
1137 | # CONFIG_USB_SERIAL_EDGEPORT_TI is not set | ||
1138 | # CONFIG_USB_SERIAL_GARMIN is not set | ||
1139 | # CONFIG_USB_SERIAL_IPW is not set | ||
1140 | # CONFIG_USB_SERIAL_IUU is not set | ||
1141 | # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set | ||
1142 | # CONFIG_USB_SERIAL_KEYSPAN is not set | ||
1143 | # CONFIG_USB_SERIAL_KLSI is not set | ||
1144 | # CONFIG_USB_SERIAL_KOBIL_SCT is not set | ||
1145 | # CONFIG_USB_SERIAL_MCT_U232 is not set | ||
1146 | # CONFIG_USB_SERIAL_MOS7720 is not set | ||
1147 | # CONFIG_USB_SERIAL_MOS7840 is not set | ||
1148 | # CONFIG_USB_SERIAL_MOTOROLA is not set | ||
1149 | # CONFIG_USB_SERIAL_NAVMAN is not set | ||
1150 | CONFIG_USB_SERIAL_PL2303=y | ||
1151 | # CONFIG_USB_SERIAL_OTI6858 is not set | ||
1152 | # CONFIG_USB_SERIAL_QUALCOMM is not set | ||
1153 | # CONFIG_USB_SERIAL_SPCP8X5 is not set | ||
1154 | # CONFIG_USB_SERIAL_HP4X is not set | ||
1155 | # CONFIG_USB_SERIAL_SAFE is not set | ||
1156 | # CONFIG_USB_SERIAL_SIEMENS_MPI is not set | ||
1157 | # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set | ||
1158 | # CONFIG_USB_SERIAL_SYMBOL is not set | ||
1159 | # CONFIG_USB_SERIAL_TI is not set | ||
1160 | # CONFIG_USB_SERIAL_CYBERJACK is not set | ||
1161 | # CONFIG_USB_SERIAL_XIRCOM is not set | ||
1162 | # CONFIG_USB_SERIAL_OPTION is not set | ||
1163 | # CONFIG_USB_SERIAL_OMNINET is not set | ||
1164 | # CONFIG_USB_SERIAL_OPTICON is not set | ||
1165 | # CONFIG_USB_SERIAL_DEBUG is not set | ||
1166 | |||
1167 | # | ||
1168 | # USB Miscellaneous drivers | ||
1169 | # | ||
1170 | # CONFIG_USB_EMI62 is not set | ||
1171 | # CONFIG_USB_EMI26 is not set | ||
1172 | # CONFIG_USB_ADUTUX is not set | ||
1173 | # CONFIG_USB_SEVSEG is not set | ||
1174 | # CONFIG_USB_RIO500 is not set | ||
1175 | # CONFIG_USB_LEGOTOWER is not set | ||
1176 | # CONFIG_USB_LCD is not set | ||
1177 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1178 | # CONFIG_USB_LED is not set | ||
1179 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1180 | # CONFIG_USB_CYTHERM is not set | ||
1181 | # CONFIG_USB_IDMOUSE is not set | ||
1182 | # CONFIG_USB_FTDI_ELAN is not set | ||
1183 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1184 | # CONFIG_USB_LD is not set | ||
1185 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1186 | # CONFIG_USB_IOWARRIOR is not set | ||
1187 | # CONFIG_USB_TEST is not set | ||
1188 | # CONFIG_USB_ISIGHTFW is not set | ||
1189 | # CONFIG_USB_VST is not set | ||
1190 | # CONFIG_USB_GADGET is not set | ||
1191 | |||
1192 | # | ||
1193 | # OTG and related infrastructure | ||
1194 | # | ||
1195 | # CONFIG_USB_GPIO_VBUS is not set | ||
1196 | # CONFIG_NOP_USB_XCEIV is not set | ||
1197 | # CONFIG_MMC is not set | ||
1198 | # CONFIG_MEMSTICK is not set | ||
1199 | # CONFIG_NEW_LEDS is not set | ||
1200 | # CONFIG_ACCESSIBILITY is not set | ||
1201 | CONFIG_RTC_LIB=y | ||
1202 | CONFIG_RTC_CLASS=y | ||
1203 | CONFIG_RTC_HCTOSYS=y | ||
1204 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1205 | # CONFIG_RTC_DEBUG is not set | ||
1206 | |||
1207 | # | ||
1208 | # RTC interfaces | ||
1209 | # | ||
1210 | CONFIG_RTC_INTF_SYSFS=y | ||
1211 | CONFIG_RTC_INTF_PROC=y | ||
1212 | CONFIG_RTC_INTF_DEV=y | ||
1213 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1214 | # CONFIG_RTC_DRV_TEST is not set | ||
1215 | |||
1216 | # | ||
1217 | # I2C RTC drivers | ||
1218 | # | ||
1219 | CONFIG_RTC_DRV_DS1307=y | ||
1220 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1221 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1222 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1223 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1224 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1225 | # CONFIG_RTC_DRV_X1205 is not set | ||
1226 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1227 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1228 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1229 | # CONFIG_RTC_DRV_S35390A is not set | ||
1230 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1231 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1232 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1233 | |||
1234 | # | ||
1235 | # SPI RTC drivers | ||
1236 | # | ||
1237 | # CONFIG_RTC_DRV_M41T94 is not set | ||
1238 | # CONFIG_RTC_DRV_DS1305 is not set | ||
1239 | # CONFIG_RTC_DRV_DS1390 is not set | ||
1240 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1241 | # CONFIG_RTC_DRV_R9701 is not set | ||
1242 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1243 | # CONFIG_RTC_DRV_DS3234 is not set | ||
1244 | |||
1245 | # | ||
1246 | # Platform RTC drivers | ||
1247 | # | ||
1248 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1249 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1250 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1251 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1252 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1253 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1254 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1255 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1256 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1257 | # CONFIG_RTC_DRV_V3020 is not set | ||
1258 | |||
1259 | # | ||
1260 | # on-CPU RTC drivers | ||
1261 | # | ||
1262 | # CONFIG_DMADEVICES is not set | ||
1263 | # CONFIG_AUXDISPLAY is not set | ||
1264 | # CONFIG_UIO is not set | ||
1265 | |||
1266 | # | ||
1267 | # TI VLYNQ | ||
1268 | # | ||
1269 | # CONFIG_STAGING is not set | ||
1270 | |||
1271 | # | ||
1272 | # Firmware Drivers | ||
1273 | # | ||
1274 | # CONFIG_FIRMWARE_MEMMAP is not set | ||
1275 | # CONFIG_SIGMA is not set | ||
1276 | |||
1277 | # | ||
1278 | # File systems | ||
1279 | # | ||
1280 | CONFIG_EXT2_FS=y | ||
1281 | CONFIG_EXT2_FS_XATTR=y | ||
1282 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
1283 | CONFIG_EXT2_FS_SECURITY=y | ||
1284 | # CONFIG_EXT3_FS is not set | ||
1285 | # CONFIG_EXT4_FS is not set | ||
1286 | CONFIG_FS_MBCACHE=y | ||
1287 | # CONFIG_REISERFS_FS is not set | ||
1288 | # CONFIG_JFS_FS is not set | ||
1289 | CONFIG_FS_POSIX_ACL=y | ||
1290 | # CONFIG_XFS_FS is not set | ||
1291 | # CONFIG_GFS2_FS is not set | ||
1292 | # CONFIG_OCFS2_FS is not set | ||
1293 | # CONFIG_BTRFS_FS is not set | ||
1294 | CONFIG_FILE_LOCKING=y | ||
1295 | CONFIG_FSNOTIFY=y | ||
1296 | # CONFIG_DNOTIFY is not set | ||
1297 | CONFIG_INOTIFY=y | ||
1298 | CONFIG_INOTIFY_USER=y | ||
1299 | # CONFIG_QUOTA is not set | ||
1300 | # CONFIG_AUTOFS_FS is not set | ||
1301 | # CONFIG_AUTOFS4_FS is not set | ||
1302 | # CONFIG_FUSE_FS is not set | ||
1303 | |||
1304 | # | ||
1305 | # Caches | ||
1306 | # | ||
1307 | # CONFIG_FSCACHE is not set | ||
1308 | |||
1309 | # | ||
1310 | # CD-ROM/DVD Filesystems | ||
1311 | # | ||
1312 | # CONFIG_ISO9660_FS is not set | ||
1313 | # CONFIG_UDF_FS is not set | ||
1314 | |||
1315 | # | ||
1316 | # DOS/FAT/NT Filesystems | ||
1317 | # | ||
1318 | CONFIG_FAT_FS=y | ||
1319 | CONFIG_MSDOS_FS=y | ||
1320 | CONFIG_VFAT_FS=y | ||
1321 | CONFIG_FAT_DEFAULT_CODEPAGE=866 | ||
1322 | CONFIG_FAT_DEFAULT_IOCHARSET="cp1251" | ||
1323 | CONFIG_NTFS_FS=y | ||
1324 | # CONFIG_NTFS_DEBUG is not set | ||
1325 | # CONFIG_NTFS_RW is not set | ||
1326 | |||
1327 | # | ||
1328 | # Pseudo filesystems | ||
1329 | # | ||
1330 | CONFIG_PROC_FS=y | ||
1331 | CONFIG_PROC_SYSCTL=y | ||
1332 | CONFIG_SYSFS=y | ||
1333 | # CONFIG_TMPFS is not set | ||
1334 | # CONFIG_HUGETLB_PAGE is not set | ||
1335 | CONFIG_CONFIGFS_FS=y | ||
1336 | CONFIG_MISC_FILESYSTEMS=y | ||
1337 | # CONFIG_ADFS_FS is not set | ||
1338 | # CONFIG_AFFS_FS is not set | ||
1339 | # CONFIG_HFS_FS is not set | ||
1340 | # CONFIG_HFSPLUS_FS is not set | ||
1341 | # CONFIG_BEFS_FS is not set | ||
1342 | # CONFIG_BFS_FS is not set | ||
1343 | # CONFIG_EFS_FS is not set | ||
1344 | CONFIG_JFFS2_FS=y | ||
1345 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1346 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1347 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1348 | # CONFIG_JFFS2_SUMMARY is not set | ||
1349 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1350 | CONFIG_JFFS2_COMPRESSION_OPTIONS=y | ||
1351 | # CONFIG_JFFS2_ZLIB is not set | ||
1352 | CONFIG_JFFS2_LZO=y | ||
1353 | # CONFIG_JFFS2_RTIME is not set | ||
1354 | # CONFIG_JFFS2_RUBIN is not set | ||
1355 | # CONFIG_JFFS2_CMODE_NONE is not set | ||
1356 | # CONFIG_JFFS2_CMODE_PRIORITY is not set | ||
1357 | # CONFIG_JFFS2_CMODE_SIZE is not set | ||
1358 | CONFIG_JFFS2_CMODE_FAVOURLZO=y | ||
1359 | CONFIG_CRAMFS=y | ||
1360 | # CONFIG_SQUASHFS is not set | ||
1361 | # CONFIG_VXFS_FS is not set | ||
1362 | CONFIG_MINIX_FS=y | ||
1363 | # CONFIG_OMFS_FS is not set | ||
1364 | # CONFIG_HPFS_FS is not set | ||
1365 | # CONFIG_QNX4FS_FS is not set | ||
1366 | # CONFIG_ROMFS_FS is not set | ||
1367 | # CONFIG_SYSV_FS is not set | ||
1368 | # CONFIG_UFS_FS is not set | ||
1369 | # CONFIG_NILFS2_FS is not set | ||
1370 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1371 | CONFIG_NFS_FS=y | ||
1372 | CONFIG_NFS_V3=y | ||
1373 | # CONFIG_NFS_V3_ACL is not set | ||
1374 | # CONFIG_NFS_V4 is not set | ||
1375 | CONFIG_ROOT_NFS=y | ||
1376 | # CONFIG_NFSD is not set | ||
1377 | CONFIG_LOCKD=y | ||
1378 | CONFIG_LOCKD_V4=y | ||
1379 | CONFIG_NFS_COMMON=y | ||
1380 | CONFIG_SUNRPC=y | ||
1381 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1382 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1383 | # CONFIG_SMB_FS is not set | ||
1384 | # CONFIG_CIFS is not set | ||
1385 | # CONFIG_NCP_FS is not set | ||
1386 | # CONFIG_CODA_FS is not set | ||
1387 | # CONFIG_AFS_FS is not set | ||
1388 | |||
1389 | # | ||
1390 | # Partition Types | ||
1391 | # | ||
1392 | # CONFIG_PARTITION_ADVANCED is not set | ||
1393 | CONFIG_MSDOS_PARTITION=y | ||
1394 | CONFIG_NLS=y | ||
1395 | CONFIG_NLS_DEFAULT="cp1251" | ||
1396 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
1397 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1398 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1399 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1400 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1401 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1402 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1403 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1404 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1405 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1406 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1407 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1408 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1409 | CONFIG_NLS_CODEPAGE_866=y | ||
1410 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1411 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1412 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1413 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1414 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1415 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1416 | # CONFIG_NLS_ISO8859_8 is not set | ||
1417 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1418 | CONFIG_NLS_CODEPAGE_1251=y | ||
1419 | # CONFIG_NLS_ASCII is not set | ||
1420 | # CONFIG_NLS_ISO8859_1 is not set | ||
1421 | # CONFIG_NLS_ISO8859_2 is not set | ||
1422 | # CONFIG_NLS_ISO8859_3 is not set | ||
1423 | # CONFIG_NLS_ISO8859_4 is not set | ||
1424 | # CONFIG_NLS_ISO8859_5 is not set | ||
1425 | # CONFIG_NLS_ISO8859_6 is not set | ||
1426 | # CONFIG_NLS_ISO8859_7 is not set | ||
1427 | # CONFIG_NLS_ISO8859_9 is not set | ||
1428 | # CONFIG_NLS_ISO8859_13 is not set | ||
1429 | # CONFIG_NLS_ISO8859_14 is not set | ||
1430 | # CONFIG_NLS_ISO8859_15 is not set | ||
1431 | CONFIG_NLS_KOI8_R=y | ||
1432 | # CONFIG_NLS_KOI8_U is not set | ||
1433 | CONFIG_NLS_UTF8=y | ||
1434 | # CONFIG_DLM is not set | ||
1435 | |||
1436 | # | ||
1437 | # Kernel hacking | ||
1438 | # | ||
1439 | # CONFIG_PRINTK_TIME is not set | ||
1440 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1441 | CONFIG_ENABLE_MUST_CHECK=y | ||
1442 | CONFIG_FRAME_WARN=1024 | ||
1443 | # CONFIG_MAGIC_SYSRQ is not set | ||
1444 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1445 | CONFIG_DEBUG_FS=y | ||
1446 | # CONFIG_HEADERS_CHECK is not set | ||
1447 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
1448 | CONFIG_DEBUG_KERNEL=y | ||
1449 | CONFIG_DEBUG_SHIRQ=y | ||
1450 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1451 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1452 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1453 | CONFIG_DETECT_HUNG_TASK=y | ||
1454 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1455 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1456 | CONFIG_SCHED_DEBUG=y | ||
1457 | # CONFIG_SCHEDSTATS is not set | ||
1458 | # CONFIG_TIMER_STATS is not set | ||
1459 | # CONFIG_DEBUG_OBJECTS is not set | ||
1460 | # CONFIG_DEBUG_SLAB is not set | ||
1461 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1462 | # CONFIG_DEBUG_MUTEXES is not set | ||
1463 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1464 | # CONFIG_PROVE_LOCKING is not set | ||
1465 | # CONFIG_LOCK_STAT is not set | ||
1466 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1467 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1468 | # CONFIG_DEBUG_KOBJECT is not set | ||
1469 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1470 | CONFIG_DEBUG_INFO=y | ||
1471 | # CONFIG_DEBUG_VM is not set | ||
1472 | # CONFIG_DEBUG_NOMMU_REGIONS is not set | ||
1473 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1474 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1475 | # CONFIG_DEBUG_LIST is not set | ||
1476 | # CONFIG_DEBUG_SG is not set | ||
1477 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
1478 | # CONFIG_FRAME_POINTER is not set | ||
1479 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
1480 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1481 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1482 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
1483 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
1484 | # CONFIG_FAULT_INJECTION is not set | ||
1485 | # CONFIG_PAGE_POISONING is not set | ||
1486 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1487 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1488 | CONFIG_TRACING_SUPPORT=y | ||
1489 | CONFIG_FTRACE=y | ||
1490 | # CONFIG_FUNCTION_TRACER is not set | ||
1491 | # CONFIG_IRQSOFF_TRACER is not set | ||
1492 | # CONFIG_SCHED_TRACER is not set | ||
1493 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set | ||
1494 | # CONFIG_BOOT_TRACER is not set | ||
1495 | CONFIG_BRANCH_PROFILE_NONE=y | ||
1496 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
1497 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
1498 | # CONFIG_STACK_TRACER is not set | ||
1499 | # CONFIG_KMEMTRACE is not set | ||
1500 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1501 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1502 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1503 | # CONFIG_SAMPLES is not set | ||
1504 | CONFIG_HAVE_ARCH_KGDB=y | ||
1505 | # CONFIG_KGDB is not set | ||
1506 | # CONFIG_KMEMCHECK is not set | ||
1507 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
1508 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
1509 | CONFIG_DEBUG_VERBOSE=y | ||
1510 | CONFIG_DEBUG_MMRS=y | ||
1511 | # CONFIG_DEBUG_HWERR is not set | ||
1512 | # CONFIG_DEBUG_DOUBLEFAULT is not set | ||
1513 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | ||
1514 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1515 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1516 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1517 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1518 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1519 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1520 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | ||
1521 | # CONFIG_EARLY_PRINTK is not set | ||
1522 | CONFIG_CPLB_INFO=y | ||
1523 | CONFIG_ACCESS_CHECK=y | ||
1524 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
1525 | |||
1526 | # | ||
1527 | # Security options | ||
1528 | # | ||
1529 | # CONFIG_KEYS is not set | ||
1530 | CONFIG_SECURITY=y | ||
1531 | # CONFIG_SECURITYFS is not set | ||
1532 | # CONFIG_SECURITY_NETWORK is not set | ||
1533 | # CONFIG_SECURITY_PATH is not set | ||
1534 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
1535 | # CONFIG_SECURITY_ROOTPLUG is not set | ||
1536 | # CONFIG_SECURITY_TOMOYO is not set | ||
1537 | CONFIG_CRYPTO=y | ||
1538 | |||
1539 | # | ||
1540 | # Crypto core or helper | ||
1541 | # | ||
1542 | # CONFIG_CRYPTO_FIPS is not set | ||
1543 | # CONFIG_CRYPTO_MANAGER is not set | ||
1544 | # CONFIG_CRYPTO_MANAGER2 is not set | ||
1545 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1546 | # CONFIG_CRYPTO_NULL is not set | ||
1547 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1548 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1549 | # CONFIG_CRYPTO_TEST is not set | ||
1550 | |||
1551 | # | ||
1552 | # Authenticated Encryption with Associated Data | ||
1553 | # | ||
1554 | # CONFIG_CRYPTO_CCM is not set | ||
1555 | # CONFIG_CRYPTO_GCM is not set | ||
1556 | # CONFIG_CRYPTO_SEQIV is not set | ||
1557 | |||
1558 | # | ||
1559 | # Block modes | ||
1560 | # | ||
1561 | # CONFIG_CRYPTO_CBC is not set | ||
1562 | # CONFIG_CRYPTO_CTR is not set | ||
1563 | # CONFIG_CRYPTO_CTS is not set | ||
1564 | # CONFIG_CRYPTO_ECB is not set | ||
1565 | # CONFIG_CRYPTO_LRW is not set | ||
1566 | # CONFIG_CRYPTO_PCBC is not set | ||
1567 | # CONFIG_CRYPTO_XTS is not set | ||
1568 | |||
1569 | # | ||
1570 | # Hash modes | ||
1571 | # | ||
1572 | # CONFIG_CRYPTO_HMAC is not set | ||
1573 | # CONFIG_CRYPTO_XCBC is not set | ||
1574 | |||
1575 | # | ||
1576 | # Digest | ||
1577 | # | ||
1578 | # CONFIG_CRYPTO_CRC32C is not set | ||
1579 | # CONFIG_CRYPTO_MD4 is not set | ||
1580 | # CONFIG_CRYPTO_MD5 is not set | ||
1581 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1582 | # CONFIG_CRYPTO_RMD128 is not set | ||
1583 | # CONFIG_CRYPTO_RMD160 is not set | ||
1584 | # CONFIG_CRYPTO_RMD256 is not set | ||
1585 | # CONFIG_CRYPTO_RMD320 is not set | ||
1586 | # CONFIG_CRYPTO_SHA1 is not set | ||
1587 | # CONFIG_CRYPTO_SHA256 is not set | ||
1588 | # CONFIG_CRYPTO_SHA512 is not set | ||
1589 | # CONFIG_CRYPTO_TGR192 is not set | ||
1590 | # CONFIG_CRYPTO_WP512 is not set | ||
1591 | |||
1592 | # | ||
1593 | # Ciphers | ||
1594 | # | ||
1595 | # CONFIG_CRYPTO_AES is not set | ||
1596 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1597 | # CONFIG_CRYPTO_ARC4 is not set | ||
1598 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1599 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1600 | # CONFIG_CRYPTO_CAST5 is not set | ||
1601 | # CONFIG_CRYPTO_CAST6 is not set | ||
1602 | # CONFIG_CRYPTO_DES is not set | ||
1603 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1604 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1605 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1606 | # CONFIG_CRYPTO_SEED is not set | ||
1607 | # CONFIG_CRYPTO_SERPENT is not set | ||
1608 | # CONFIG_CRYPTO_TEA is not set | ||
1609 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1610 | |||
1611 | # | ||
1612 | # Compression | ||
1613 | # | ||
1614 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1615 | # CONFIG_CRYPTO_ZLIB is not set | ||
1616 | # CONFIG_CRYPTO_LZO is not set | ||
1617 | |||
1618 | # | ||
1619 | # Random Number Generation | ||
1620 | # | ||
1621 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
1622 | CONFIG_CRYPTO_HW=y | ||
1623 | # CONFIG_BINARY_PRINTF is not set | ||
1624 | |||
1625 | # | ||
1626 | # Library routines | ||
1627 | # | ||
1628 | CONFIG_BITREVERSE=y | ||
1629 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1630 | # CONFIG_CRC_CCITT is not set | ||
1631 | # CONFIG_CRC16 is not set | ||
1632 | # CONFIG_CRC_T10DIF is not set | ||
1633 | # CONFIG_CRC_ITU_T is not set | ||
1634 | CONFIG_CRC32=y | ||
1635 | # CONFIG_CRC7 is not set | ||
1636 | # CONFIG_LIBCRC32C is not set | ||
1637 | CONFIG_ZLIB_INFLATE=y | ||
1638 | CONFIG_LZO_COMPRESS=y | ||
1639 | CONFIG_LZO_DECOMPRESS=y | ||
1640 | CONFIG_HAS_IOMEM=y | ||
1641 | CONFIG_HAS_IOPORT=y | ||
1642 | CONFIG_HAS_DMA=y | ||
1643 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/BF561-EZKIT_defconfig b/arch/blackfin/configs/BF561-EZKIT_defconfig index 0313cd1d9824..e3ecdcc3e76b 100644 --- a/arch/blackfin/configs/BF561-EZKIT_defconfig +++ b/arch/blackfin/configs/BF561-EZKIT_defconfig | |||
@@ -1,22 +1,29 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.28.10 | 3 | # Linux kernel version: 2.6.31.5 |
4 | # Thu May 21 05:50:01 2009 | 4 | # Mon Nov 2 21:59:31 2009 |
5 | # | 5 | # |
6 | # CONFIG_MMU is not set | 6 | # CONFIG_MMU is not set |
7 | # CONFIG_FPU is not set | 7 | # CONFIG_FPU is not set |
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
10 | CONFIG_BLACKFIN=y | 10 | CONFIG_BLACKFIN=y |
11 | CONFIG_GENERIC_CSUM=y | ||
12 | CONFIG_GENERIC_BUG=y | ||
11 | CONFIG_ZONE_DMA=y | 13 | CONFIG_ZONE_DMA=y |
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 14 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 15 | CONFIG_GENERIC_HWEIGHT=y |
14 | CONFIG_GENERIC_HARDIRQS=y | 16 | CONFIG_GENERIC_HARDIRQS=y |
15 | CONFIG_GENERIC_IRQ_PROBE=y | 17 | CONFIG_GENERIC_IRQ_PROBE=y |
18 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
16 | CONFIG_GENERIC_GPIO=y | 19 | CONFIG_GENERIC_GPIO=y |
17 | CONFIG_FORCE_MAX_ZONEORDER=14 | 20 | CONFIG_FORCE_MAX_ZONEORDER=14 |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 21 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
22 | CONFIG_LOCKDEP_SUPPORT=y | ||
23 | CONFIG_STACKTRACE_SUPPORT=y | ||
24 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 25 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
26 | CONFIG_CONSTRUCTORS=y | ||
20 | 27 | ||
21 | # | 28 | # |
22 | # General setup | 29 | # General setup |
@@ -26,22 +33,40 @@ CONFIG_BROKEN_ON_SMP=y | |||
26 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 33 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
27 | CONFIG_LOCALVERSION="" | 34 | CONFIG_LOCALVERSION="" |
28 | CONFIG_LOCALVERSION_AUTO=y | 35 | CONFIG_LOCALVERSION_AUTO=y |
36 | CONFIG_HAVE_KERNEL_GZIP=y | ||
37 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
38 | CONFIG_HAVE_KERNEL_LZMA=y | ||
39 | CONFIG_KERNEL_GZIP=y | ||
40 | # CONFIG_KERNEL_BZIP2 is not set | ||
41 | # CONFIG_KERNEL_LZMA is not set | ||
29 | CONFIG_SYSVIPC=y | 42 | CONFIG_SYSVIPC=y |
30 | CONFIG_SYSVIPC_SYSCTL=y | 43 | CONFIG_SYSVIPC_SYSCTL=y |
31 | # CONFIG_POSIX_MQUEUE is not set | 44 | # CONFIG_POSIX_MQUEUE is not set |
32 | # CONFIG_BSD_PROCESS_ACCT is not set | 45 | # CONFIG_BSD_PROCESS_ACCT is not set |
33 | # CONFIG_TASKSTATS is not set | 46 | # CONFIG_TASKSTATS is not set |
34 | # CONFIG_AUDIT is not set | 47 | # CONFIG_AUDIT is not set |
48 | |||
49 | # | ||
50 | # RCU Subsystem | ||
51 | # | ||
52 | CONFIG_CLASSIC_RCU=y | ||
53 | # CONFIG_TREE_RCU is not set | ||
54 | # CONFIG_PREEMPT_RCU is not set | ||
55 | # CONFIG_TREE_RCU_TRACE is not set | ||
56 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
35 | CONFIG_IKCONFIG=y | 57 | CONFIG_IKCONFIG=y |
36 | CONFIG_IKCONFIG_PROC=y | 58 | CONFIG_IKCONFIG_PROC=y |
37 | CONFIG_LOG_BUF_SHIFT=14 | 59 | CONFIG_LOG_BUF_SHIFT=14 |
38 | # CONFIG_CGROUPS is not set | ||
39 | # CONFIG_GROUP_SCHED is not set | 60 | # CONFIG_GROUP_SCHED is not set |
61 | # CONFIG_CGROUPS is not set | ||
40 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | 62 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
41 | # CONFIG_RELAY is not set | 63 | # CONFIG_RELAY is not set |
42 | # CONFIG_NAMESPACES is not set | 64 | # CONFIG_NAMESPACES is not set |
43 | CONFIG_BLK_DEV_INITRD=y | 65 | CONFIG_BLK_DEV_INITRD=y |
44 | CONFIG_INITRAMFS_SOURCE="" | 66 | CONFIG_INITRAMFS_SOURCE="" |
67 | CONFIG_RD_GZIP=y | ||
68 | # CONFIG_RD_BZIP2 is not set | ||
69 | # CONFIG_RD_LZMA is not set | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 70 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
46 | CONFIG_SYSCTL=y | 71 | CONFIG_SYSCTL=y |
47 | CONFIG_ANON_INODES=y | 72 | CONFIG_ANON_INODES=y |
@@ -62,17 +87,28 @@ CONFIG_EPOLL=y | |||
62 | # CONFIG_TIMERFD is not set | 87 | # CONFIG_TIMERFD is not set |
63 | # CONFIG_EVENTFD is not set | 88 | # CONFIG_EVENTFD is not set |
64 | # CONFIG_AIO is not set | 89 | # CONFIG_AIO is not set |
90 | |||
91 | # | ||
92 | # Performance Counters | ||
93 | # | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 94 | CONFIG_VM_EVENT_COUNTERS=y |
95 | # CONFIG_STRIP_ASM_SYMS is not set | ||
66 | CONFIG_COMPAT_BRK=y | 96 | CONFIG_COMPAT_BRK=y |
67 | CONFIG_SLAB=y | 97 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 98 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 99 | # CONFIG_SLOB is not set |
100 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 101 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 102 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 103 | CONFIG_HAVE_OPROFILE=y |
104 | |||
105 | # | ||
106 | # GCOV-based kernel profiling | ||
107 | # | ||
108 | # CONFIG_GCOV_KERNEL is not set | ||
109 | # CONFIG_SLOW_WORK is not set | ||
73 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 110 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
74 | CONFIG_SLABINFO=y | 111 | CONFIG_SLABINFO=y |
75 | CONFIG_TINY_SHMEM=y | ||
76 | CONFIG_BASE_SMALL=0 | 112 | CONFIG_BASE_SMALL=0 |
77 | CONFIG_MODULES=y | 113 | CONFIG_MODULES=y |
78 | # CONFIG_MODULE_FORCE_LOAD is not set | 114 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -80,11 +116,8 @@ CONFIG_MODULE_UNLOAD=y | |||
80 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 116 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
81 | # CONFIG_MODVERSIONS is not set | 117 | # CONFIG_MODVERSIONS is not set |
82 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 118 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
83 | CONFIG_KMOD=y | ||
84 | CONFIG_BLOCK=y | 119 | CONFIG_BLOCK=y |
85 | # CONFIG_LBD is not set | 120 | # CONFIG_LBDAF is not set |
86 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
87 | # CONFIG_LSF is not set | ||
88 | # CONFIG_BLK_DEV_BSG is not set | 121 | # CONFIG_BLK_DEV_BSG is not set |
89 | # CONFIG_BLK_DEV_INTEGRITY is not set | 122 | # CONFIG_BLK_DEV_INTEGRITY is not set |
90 | 123 | ||
@@ -94,13 +127,12 @@ CONFIG_BLOCK=y | |||
94 | CONFIG_IOSCHED_NOOP=y | 127 | CONFIG_IOSCHED_NOOP=y |
95 | CONFIG_IOSCHED_AS=y | 128 | CONFIG_IOSCHED_AS=y |
96 | # CONFIG_IOSCHED_DEADLINE is not set | 129 | # CONFIG_IOSCHED_DEADLINE is not set |
97 | CONFIG_IOSCHED_CFQ=y | 130 | # CONFIG_IOSCHED_CFQ is not set |
98 | CONFIG_DEFAULT_AS=y | 131 | CONFIG_DEFAULT_AS=y |
99 | # CONFIG_DEFAULT_DEADLINE is not set | 132 | # CONFIG_DEFAULT_DEADLINE is not set |
100 | # CONFIG_DEFAULT_CFQ is not set | 133 | # CONFIG_DEFAULT_CFQ is not set |
101 | # CONFIG_DEFAULT_NOOP is not set | 134 | # CONFIG_DEFAULT_NOOP is not set |
102 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 135 | CONFIG_DEFAULT_IOSCHED="anticipatory" |
103 | CONFIG_CLASSIC_RCU=y | ||
104 | # CONFIG_PREEMPT_NONE is not set | 136 | # CONFIG_PREEMPT_NONE is not set |
105 | CONFIG_PREEMPT_VOLUNTARY=y | 137 | CONFIG_PREEMPT_VOLUNTARY=y |
106 | # CONFIG_PREEMPT is not set | 138 | # CONFIG_PREEMPT is not set |
@@ -170,6 +202,7 @@ CONFIG_IRQ_SPI_ERROR=7 | |||
170 | CONFIG_BFIN561_EZKIT=y | 202 | CONFIG_BFIN561_EZKIT=y |
171 | # CONFIG_BFIN561_TEPLA is not set | 203 | # CONFIG_BFIN561_TEPLA is not set |
172 | # CONFIG_BFIN561_BLUETECHNIX_CM is not set | 204 | # CONFIG_BFIN561_BLUETECHNIX_CM is not set |
205 | # CONFIG_BFIN561_ACVILON is not set | ||
173 | 206 | ||
174 | # | 207 | # |
175 | # BF561 Specific Configuration | 208 | # BF561 Specific Configuration |
@@ -317,10 +350,11 @@ CONFIG_FLATMEM=y | |||
317 | CONFIG_FLAT_NODE_MEM_MAP=y | 350 | CONFIG_FLAT_NODE_MEM_MAP=y |
318 | CONFIG_PAGEFLAGS_EXTENDED=y | 351 | CONFIG_PAGEFLAGS_EXTENDED=y |
319 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 352 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
320 | # CONFIG_RESOURCES_64BIT is not set | ||
321 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 353 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
322 | CONFIG_ZONE_DMA_FLAG=1 | 354 | CONFIG_ZONE_DMA_FLAG=1 |
323 | CONFIG_VIRT_TO_BUS=y | 355 | CONFIG_VIRT_TO_BUS=y |
356 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
357 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
324 | CONFIG_BFIN_GPTIMERS=m | 358 | CONFIG_BFIN_GPTIMERS=m |
325 | # CONFIG_DMA_UNCACHED_4M is not set | 359 | # CONFIG_DMA_UNCACHED_4M is not set |
326 | # CONFIG_DMA_UNCACHED_2M is not set | 360 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -331,14 +365,13 @@ CONFIG_DMA_UNCACHED_1M=y | |||
331 | # Cache Support | 365 | # Cache Support |
332 | # | 366 | # |
333 | CONFIG_BFIN_ICACHE=y | 367 | CONFIG_BFIN_ICACHE=y |
334 | # CONFIG_BFIN_ICACHE_LOCK is not set | 368 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
369 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
335 | CONFIG_BFIN_DCACHE=y | 370 | CONFIG_BFIN_DCACHE=y |
336 | # CONFIG_BFIN_DCACHE_BANKA is not set | 371 | # CONFIG_BFIN_DCACHE_BANKA is not set |
337 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
338 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 372 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
339 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 373 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
340 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 374 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
341 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
342 | # CONFIG_BFIN_L2_DCACHEABLE is not set | 375 | # CONFIG_BFIN_L2_DCACHEABLE is not set |
343 | 376 | ||
344 | # | 377 | # |
@@ -347,7 +380,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
347 | # CONFIG_MPU is not set | 380 | # CONFIG_MPU is not set |
348 | 381 | ||
349 | # | 382 | # |
350 | # Asynchonous Memory Configuration | 383 | # Asynchronous Memory Configuration |
351 | # | 384 | # |
352 | 385 | ||
353 | # | 386 | # |
@@ -407,11 +440,6 @@ CONFIG_NET=y | |||
407 | CONFIG_PACKET=y | 440 | CONFIG_PACKET=y |
408 | # CONFIG_PACKET_MMAP is not set | 441 | # CONFIG_PACKET_MMAP is not set |
409 | CONFIG_UNIX=y | 442 | CONFIG_UNIX=y |
410 | CONFIG_XFRM=y | ||
411 | # CONFIG_XFRM_USER is not set | ||
412 | # CONFIG_XFRM_SUB_POLICY is not set | ||
413 | # CONFIG_XFRM_MIGRATE is not set | ||
414 | # CONFIG_XFRM_STATISTICS is not set | ||
415 | # CONFIG_NET_KEY is not set | 443 | # CONFIG_NET_KEY is not set |
416 | CONFIG_INET=y | 444 | CONFIG_INET=y |
417 | # CONFIG_IP_MULTICAST is not set | 445 | # CONFIG_IP_MULTICAST is not set |
@@ -435,13 +463,11 @@ CONFIG_IP_PNP=y | |||
435 | # CONFIG_INET_XFRM_MODE_BEET is not set | 463 | # CONFIG_INET_XFRM_MODE_BEET is not set |
436 | # CONFIG_INET_LRO is not set | 464 | # CONFIG_INET_LRO is not set |
437 | # CONFIG_INET_DIAG is not set | 465 | # CONFIG_INET_DIAG is not set |
438 | CONFIG_INET_TCP_DIAG=y | ||
439 | # CONFIG_TCP_CONG_ADVANCED is not set | 466 | # CONFIG_TCP_CONG_ADVANCED is not set |
440 | CONFIG_TCP_CONG_CUBIC=y | 467 | CONFIG_TCP_CONG_CUBIC=y |
441 | CONFIG_DEFAULT_TCP_CONG="cubic" | 468 | CONFIG_DEFAULT_TCP_CONG="cubic" |
442 | # CONFIG_TCP_MD5SIG is not set | 469 | # CONFIG_TCP_MD5SIG is not set |
443 | # CONFIG_IPV6 is not set | 470 | # CONFIG_IPV6 is not set |
444 | # CONFIG_NETLABEL is not set | ||
445 | # CONFIG_NETWORK_SECMARK is not set | 471 | # CONFIG_NETWORK_SECMARK is not set |
446 | # CONFIG_NETFILTER is not set | 472 | # CONFIG_NETFILTER is not set |
447 | # CONFIG_IP_DCCP is not set | 473 | # CONFIG_IP_DCCP is not set |
@@ -459,7 +485,10 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
459 | # CONFIG_LAPB is not set | 485 | # CONFIG_LAPB is not set |
460 | # CONFIG_ECONET is not set | 486 | # CONFIG_ECONET is not set |
461 | # CONFIG_WAN_ROUTER is not set | 487 | # CONFIG_WAN_ROUTER is not set |
488 | # CONFIG_PHONET is not set | ||
489 | # CONFIG_IEEE802154 is not set | ||
462 | # CONFIG_NET_SCHED is not set | 490 | # CONFIG_NET_SCHED is not set |
491 | # CONFIG_DCB is not set | ||
463 | 492 | ||
464 | # | 493 | # |
465 | # Network testing | 494 | # Network testing |
@@ -503,13 +532,8 @@ CONFIG_IRTTY_SIR=m | |||
503 | # | 532 | # |
504 | # CONFIG_BT is not set | 533 | # CONFIG_BT is not set |
505 | # CONFIG_AF_RXRPC is not set | 534 | # CONFIG_AF_RXRPC is not set |
506 | # CONFIG_PHONET is not set | 535 | # CONFIG_WIRELESS is not set |
507 | CONFIG_WIRELESS=y | 536 | # CONFIG_WIMAX is not set |
508 | # CONFIG_CFG80211 is not set | ||
509 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
510 | # CONFIG_WIRELESS_EXT is not set | ||
511 | # CONFIG_MAC80211 is not set | ||
512 | # CONFIG_IEEE80211 is not set | ||
513 | # CONFIG_RFKILL is not set | 537 | # CONFIG_RFKILL is not set |
514 | # CONFIG_NET_9P is not set | 538 | # CONFIG_NET_9P is not set |
515 | 539 | ||
@@ -530,6 +554,7 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
530 | # CONFIG_CONNECTOR is not set | 554 | # CONFIG_CONNECTOR is not set |
531 | CONFIG_MTD=y | 555 | CONFIG_MTD=y |
532 | # CONFIG_MTD_DEBUG is not set | 556 | # CONFIG_MTD_DEBUG is not set |
557 | # CONFIG_MTD_TESTS is not set | ||
533 | # CONFIG_MTD_CONCAT is not set | 558 | # CONFIG_MTD_CONCAT is not set |
534 | CONFIG_MTD_PARTITIONS=y | 559 | CONFIG_MTD_PARTITIONS=y |
535 | # CONFIG_MTD_REDBOOT_PARTS is not set | 560 | # CONFIG_MTD_REDBOOT_PARTS is not set |
@@ -603,6 +628,11 @@ CONFIG_MTD_PHYSMAP=m | |||
603 | # CONFIG_MTD_ONENAND is not set | 628 | # CONFIG_MTD_ONENAND is not set |
604 | 629 | ||
605 | # | 630 | # |
631 | # LPDDR flash memory drivers | ||
632 | # | ||
633 | # CONFIG_MTD_LPDDR is not set | ||
634 | |||
635 | # | ||
606 | # UBI - Unsorted block images | 636 | # UBI - Unsorted block images |
607 | # | 637 | # |
608 | # CONFIG_MTD_UBI is not set | 638 | # CONFIG_MTD_UBI is not set |
@@ -619,9 +649,14 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
619 | # CONFIG_ATA_OVER_ETH is not set | 649 | # CONFIG_ATA_OVER_ETH is not set |
620 | # CONFIG_BLK_DEV_HD is not set | 650 | # CONFIG_BLK_DEV_HD is not set |
621 | CONFIG_MISC_DEVICES=y | 651 | CONFIG_MISC_DEVICES=y |
622 | # CONFIG_EEPROM_93CX6 is not set | ||
623 | # CONFIG_ENCLOSURE_SERVICES is not set | 652 | # CONFIG_ENCLOSURE_SERVICES is not set |
624 | # CONFIG_C2PORT is not set | 653 | # CONFIG_C2PORT is not set |
654 | |||
655 | # | ||
656 | # EEPROM support | ||
657 | # | ||
658 | # CONFIG_EEPROM_AT25 is not set | ||
659 | # CONFIG_EEPROM_93CX6 is not set | ||
625 | CONFIG_HAVE_IDE=y | 660 | CONFIG_HAVE_IDE=y |
626 | # CONFIG_IDE is not set | 661 | # CONFIG_IDE is not set |
627 | 662 | ||
@@ -645,9 +680,11 @@ CONFIG_NETDEVICES=y | |||
645 | CONFIG_NET_ETHERNET=y | 680 | CONFIG_NET_ETHERNET=y |
646 | CONFIG_MII=y | 681 | CONFIG_MII=y |
647 | CONFIG_SMC91X=y | 682 | CONFIG_SMC91X=y |
648 | # CONFIG_SMSC911X is not set | ||
649 | # CONFIG_DM9000 is not set | 683 | # CONFIG_DM9000 is not set |
650 | # CONFIG_ENC28J60 is not set | 684 | # CONFIG_ENC28J60 is not set |
685 | # CONFIG_ETHOC is not set | ||
686 | # CONFIG_SMSC911X is not set | ||
687 | # CONFIG_DNET is not set | ||
651 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 688 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
652 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 689 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
653 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 690 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
@@ -656,6 +693,8 @@ CONFIG_SMC91X=y | |||
656 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 693 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
657 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 694 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
658 | # CONFIG_B44 is not set | 695 | # CONFIG_B44 is not set |
696 | # CONFIG_KS8842 is not set | ||
697 | # CONFIG_KS8851 is not set | ||
659 | # CONFIG_NETDEV_1000 is not set | 698 | # CONFIG_NETDEV_1000 is not set |
660 | # CONFIG_NETDEV_10000 is not set | 699 | # CONFIG_NETDEV_10000 is not set |
661 | 700 | ||
@@ -664,7 +703,10 @@ CONFIG_SMC91X=y | |||
664 | # | 703 | # |
665 | # CONFIG_WLAN_PRE80211 is not set | 704 | # CONFIG_WLAN_PRE80211 is not set |
666 | # CONFIG_WLAN_80211 is not set | 705 | # CONFIG_WLAN_80211 is not set |
667 | # CONFIG_IWLWIFI_LEDS is not set | 706 | |
707 | # | ||
708 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
709 | # | ||
668 | # CONFIG_WAN is not set | 710 | # CONFIG_WAN is not set |
669 | # CONFIG_PPP is not set | 711 | # CONFIG_PPP is not set |
670 | # CONFIG_SLIP is not set | 712 | # CONFIG_SLIP is not set |
@@ -708,15 +750,12 @@ CONFIG_INPUT_EVDEV=m | |||
708 | # | 750 | # |
709 | # Character devices | 751 | # Character devices |
710 | # | 752 | # |
711 | # CONFIG_AD9960 is not set | ||
712 | CONFIG_BFIN_DMA_INTERFACE=m | 753 | CONFIG_BFIN_DMA_INTERFACE=m |
713 | # CONFIG_BFIN_PPI is not set | 754 | # CONFIG_BFIN_PPI is not set |
714 | # CONFIG_BFIN_PPIFCD is not set | 755 | # CONFIG_BFIN_PPIFCD is not set |
715 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 756 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
716 | # CONFIG_BFIN_SPI_ADC is not set | 757 | # CONFIG_BFIN_SPI_ADC is not set |
717 | # CONFIG_BFIN_SPORT is not set | 758 | # CONFIG_BFIN_SPORT is not set |
718 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
719 | CONFIG_SIMPLE_GPIO=m | ||
720 | # CONFIG_VT is not set | 759 | # CONFIG_VT is not set |
721 | # CONFIG_DEVKMEM is not set | 760 | # CONFIG_DEVKMEM is not set |
722 | CONFIG_BFIN_JTAG_COMM=m | 761 | CONFIG_BFIN_JTAG_COMM=m |
@@ -730,6 +769,7 @@ CONFIG_BFIN_JTAG_COMM=m | |||
730 | # | 769 | # |
731 | # Non-8250 serial port support | 770 | # Non-8250 serial port support |
732 | # | 771 | # |
772 | # CONFIG_SERIAL_MAX3100 is not set | ||
733 | CONFIG_SERIAL_BFIN=y | 773 | CONFIG_SERIAL_BFIN=y |
734 | CONFIG_SERIAL_BFIN_CONSOLE=y | 774 | CONFIG_SERIAL_BFIN_CONSOLE=y |
735 | CONFIG_SERIAL_BFIN_DMA=y | 775 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -740,6 +780,7 @@ CONFIG_SERIAL_CORE=y | |||
740 | CONFIG_SERIAL_CORE_CONSOLE=y | 780 | CONFIG_SERIAL_CORE_CONSOLE=y |
741 | # CONFIG_SERIAL_BFIN_SPORT is not set | 781 | # CONFIG_SERIAL_BFIN_SPORT is not set |
742 | CONFIG_UNIX98_PTYS=y | 782 | CONFIG_UNIX98_PTYS=y |
783 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
743 | # CONFIG_LEGACY_PTYS is not set | 784 | # CONFIG_LEGACY_PTYS is not set |
744 | 785 | ||
745 | # | 786 | # |
@@ -763,13 +804,18 @@ CONFIG_SPI_BFIN=y | |||
763 | # CONFIG_SPI_BFIN_LOCK is not set | 804 | # CONFIG_SPI_BFIN_LOCK is not set |
764 | # CONFIG_SPI_BFIN_SPORT is not set | 805 | # CONFIG_SPI_BFIN_SPORT is not set |
765 | # CONFIG_SPI_BITBANG is not set | 806 | # CONFIG_SPI_BITBANG is not set |
807 | # CONFIG_SPI_GPIO is not set | ||
766 | 808 | ||
767 | # | 809 | # |
768 | # SPI Protocol Masters | 810 | # SPI Protocol Masters |
769 | # | 811 | # |
770 | # CONFIG_EEPROM_AT25 is not set | ||
771 | # CONFIG_SPI_SPIDEV is not set | 812 | # CONFIG_SPI_SPIDEV is not set |
772 | # CONFIG_SPI_TLE62X0 is not set | 813 | # CONFIG_SPI_TLE62X0 is not set |
814 | |||
815 | # | ||
816 | # PPS support | ||
817 | # | ||
818 | # CONFIG_PPS is not set | ||
773 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 819 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
774 | CONFIG_GPIOLIB=y | 820 | CONFIG_GPIOLIB=y |
775 | # CONFIG_DEBUG_GPIO is not set | 821 | # CONFIG_DEBUG_GPIO is not set |
@@ -782,9 +828,6 @@ CONFIG_GPIO_SYSFS=y | |||
782 | # | 828 | # |
783 | # I2C GPIO expanders: | 829 | # I2C GPIO expanders: |
784 | # | 830 | # |
785 | # CONFIG_GPIO_MAX732X is not set | ||
786 | # CONFIG_GPIO_PCA953X is not set | ||
787 | # CONFIG_GPIO_PCF857X is not set | ||
788 | 831 | ||
789 | # | 832 | # |
790 | # PCI GPIO expanders: | 833 | # PCI GPIO expanders: |
@@ -822,23 +865,9 @@ CONFIG_SSB_POSSIBLE=y | |||
822 | # CONFIG_MFD_SM501 is not set | 865 | # CONFIG_MFD_SM501 is not set |
823 | # CONFIG_HTC_PASIC3 is not set | 866 | # CONFIG_HTC_PASIC3 is not set |
824 | # CONFIG_MFD_TMIO is not set | 867 | # CONFIG_MFD_TMIO is not set |
868 | # CONFIG_EZX_PCAP is not set | ||
825 | # CONFIG_REGULATOR is not set | 869 | # CONFIG_REGULATOR is not set |
826 | 870 | # CONFIG_MEDIA_SUPPORT is not set | |
827 | # | ||
828 | # Multimedia devices | ||
829 | # | ||
830 | |||
831 | # | ||
832 | # Multimedia core support | ||
833 | # | ||
834 | # CONFIG_VIDEO_DEV is not set | ||
835 | # CONFIG_DVB_CORE is not set | ||
836 | # CONFIG_VIDEO_MEDIA is not set | ||
837 | |||
838 | # | ||
839 | # Multimedia drivers | ||
840 | # | ||
841 | # CONFIG_DAB is not set | ||
842 | 871 | ||
843 | # | 872 | # |
844 | # Graphics support | 873 | # Graphics support |
@@ -862,7 +891,6 @@ CONFIG_HID=m | |||
862 | # | 891 | # |
863 | # Special HID drivers | 892 | # Special HID drivers |
864 | # | 893 | # |
865 | CONFIG_HID_COMPAT=y | ||
866 | # CONFIG_USB_SUPPORT is not set | 894 | # CONFIG_USB_SUPPORT is not set |
867 | # CONFIG_MMC is not set | 895 | # CONFIG_MMC is not set |
868 | # CONFIG_MEMSTICK is not set | 896 | # CONFIG_MEMSTICK is not set |
@@ -870,10 +898,20 @@ CONFIG_HID_COMPAT=y | |||
870 | # CONFIG_ACCESSIBILITY is not set | 898 | # CONFIG_ACCESSIBILITY is not set |
871 | # CONFIG_RTC_CLASS is not set | 899 | # CONFIG_RTC_CLASS is not set |
872 | # CONFIG_DMADEVICES is not set | 900 | # CONFIG_DMADEVICES is not set |
901 | # CONFIG_AUXDISPLAY is not set | ||
873 | # CONFIG_UIO is not set | 902 | # CONFIG_UIO is not set |
903 | |||
904 | # | ||
905 | # TI VLYNQ | ||
906 | # | ||
874 | # CONFIG_STAGING is not set | 907 | # CONFIG_STAGING is not set |
875 | 908 | ||
876 | # | 909 | # |
910 | # Firmware Drivers | ||
911 | # | ||
912 | # CONFIG_FIRMWARE_MEMMAP is not set | ||
913 | |||
914 | # | ||
877 | # File systems | 915 | # File systems |
878 | # | 916 | # |
879 | # CONFIG_EXT2_FS is not set | 917 | # CONFIG_EXT2_FS is not set |
@@ -882,9 +920,11 @@ CONFIG_HID_COMPAT=y | |||
882 | # CONFIG_REISERFS_FS is not set | 920 | # CONFIG_REISERFS_FS is not set |
883 | # CONFIG_JFS_FS is not set | 921 | # CONFIG_JFS_FS is not set |
884 | # CONFIG_FS_POSIX_ACL is not set | 922 | # CONFIG_FS_POSIX_ACL is not set |
885 | CONFIG_FILE_LOCKING=y | ||
886 | # CONFIG_XFS_FS is not set | 923 | # CONFIG_XFS_FS is not set |
887 | # CONFIG_OCFS2_FS is not set | 924 | # CONFIG_OCFS2_FS is not set |
925 | # CONFIG_BTRFS_FS is not set | ||
926 | CONFIG_FILE_LOCKING=y | ||
927 | CONFIG_FSNOTIFY=y | ||
888 | # CONFIG_DNOTIFY is not set | 928 | # CONFIG_DNOTIFY is not set |
889 | CONFIG_INOTIFY=y | 929 | CONFIG_INOTIFY=y |
890 | CONFIG_INOTIFY_USER=y | 930 | CONFIG_INOTIFY_USER=y |
@@ -894,6 +934,11 @@ CONFIG_INOTIFY_USER=y | |||
894 | # CONFIG_FUSE_FS is not set | 934 | # CONFIG_FUSE_FS is not set |
895 | 935 | ||
896 | # | 936 | # |
937 | # Caches | ||
938 | # | ||
939 | # CONFIG_FSCACHE is not set | ||
940 | |||
941 | # | ||
897 | # CD-ROM/DVD Filesystems | 942 | # CD-ROM/DVD Filesystems |
898 | # | 943 | # |
899 | # CONFIG_ISO9660_FS is not set | 944 | # CONFIG_ISO9660_FS is not set |
@@ -915,10 +960,7 @@ CONFIG_SYSFS=y | |||
915 | # CONFIG_TMPFS is not set | 960 | # CONFIG_TMPFS is not set |
916 | # CONFIG_HUGETLB_PAGE is not set | 961 | # CONFIG_HUGETLB_PAGE is not set |
917 | # CONFIG_CONFIGFS_FS is not set | 962 | # CONFIG_CONFIGFS_FS is not set |
918 | 963 | CONFIG_MISC_FILESYSTEMS=y | |
919 | # | ||
920 | # Miscellaneous filesystems | ||
921 | # | ||
922 | # CONFIG_ADFS_FS is not set | 964 | # CONFIG_ADFS_FS is not set |
923 | # CONFIG_AFFS_FS is not set | 965 | # CONFIG_AFFS_FS is not set |
924 | # CONFIG_HFS_FS is not set | 966 | # CONFIG_HFS_FS is not set |
@@ -937,17 +979,8 @@ CONFIG_JFFS2_ZLIB=y | |||
937 | # CONFIG_JFFS2_LZO is not set | 979 | # CONFIG_JFFS2_LZO is not set |
938 | CONFIG_JFFS2_RTIME=y | 980 | CONFIG_JFFS2_RTIME=y |
939 | # CONFIG_JFFS2_RUBIN is not set | 981 | # CONFIG_JFFS2_RUBIN is not set |
940 | CONFIG_YAFFS_FS=m | ||
941 | CONFIG_YAFFS_YAFFS1=y | ||
942 | # CONFIG_YAFFS_9BYTE_TAGS is not set | ||
943 | # CONFIG_YAFFS_DOES_ECC is not set | ||
944 | CONFIG_YAFFS_YAFFS2=y | ||
945 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
946 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
947 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
948 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
949 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
950 | # CONFIG_CRAMFS is not set | 982 | # CONFIG_CRAMFS is not set |
983 | # CONFIG_SQUASHFS is not set | ||
951 | # CONFIG_VXFS_FS is not set | 984 | # CONFIG_VXFS_FS is not set |
952 | # CONFIG_MINIX_FS is not set | 985 | # CONFIG_MINIX_FS is not set |
953 | # CONFIG_OMFS_FS is not set | 986 | # CONFIG_OMFS_FS is not set |
@@ -956,6 +989,7 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
956 | # CONFIG_ROMFS_FS is not set | 989 | # CONFIG_ROMFS_FS is not set |
957 | # CONFIG_SYSV_FS is not set | 990 | # CONFIG_SYSV_FS is not set |
958 | # CONFIG_UFS_FS is not set | 991 | # CONFIG_UFS_FS is not set |
992 | # CONFIG_NILFS2_FS is not set | ||
959 | CONFIG_NETWORK_FILESYSTEMS=y | 993 | CONFIG_NETWORK_FILESYSTEMS=y |
960 | CONFIG_NFS_FS=m | 994 | CONFIG_NFS_FS=m |
961 | CONFIG_NFS_V3=y | 995 | CONFIG_NFS_V3=y |
@@ -966,7 +1000,6 @@ CONFIG_LOCKD=m | |||
966 | CONFIG_LOCKD_V4=y | 1000 | CONFIG_LOCKD_V4=y |
967 | CONFIG_NFS_COMMON=y | 1001 | CONFIG_NFS_COMMON=y |
968 | CONFIG_SUNRPC=m | 1002 | CONFIG_SUNRPC=m |
969 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
970 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1003 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
971 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1004 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
972 | CONFIG_SMB_FS=m | 1005 | CONFIG_SMB_FS=m |
@@ -1034,11 +1067,15 @@ CONFIG_FRAME_WARN=1024 | |||
1034 | # CONFIG_UNUSED_SYMBOLS is not set | 1067 | # CONFIG_UNUSED_SYMBOLS is not set |
1035 | CONFIG_DEBUG_FS=y | 1068 | CONFIG_DEBUG_FS=y |
1036 | # CONFIG_HEADERS_CHECK is not set | 1069 | # CONFIG_HEADERS_CHECK is not set |
1070 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
1037 | CONFIG_DEBUG_KERNEL=y | 1071 | CONFIG_DEBUG_KERNEL=y |
1038 | CONFIG_DEBUG_SHIRQ=y | 1072 | CONFIG_DEBUG_SHIRQ=y |
1039 | CONFIG_DETECT_SOFTLOCKUP=y | 1073 | CONFIG_DETECT_SOFTLOCKUP=y |
1040 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | 1074 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set |
1041 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | 1075 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 |
1076 | CONFIG_DETECT_HUNG_TASK=y | ||
1077 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1078 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1042 | CONFIG_SCHED_DEBUG=y | 1079 | CONFIG_SCHED_DEBUG=y |
1043 | # CONFIG_SCHEDSTATS is not set | 1080 | # CONFIG_SCHEDSTATS is not set |
1044 | # CONFIG_TIMER_STATS is not set | 1081 | # CONFIG_TIMER_STATS is not set |
@@ -1046,16 +1083,21 @@ CONFIG_SCHED_DEBUG=y | |||
1046 | # CONFIG_DEBUG_SLAB is not set | 1083 | # CONFIG_DEBUG_SLAB is not set |
1047 | # CONFIG_DEBUG_SPINLOCK is not set | 1084 | # CONFIG_DEBUG_SPINLOCK is not set |
1048 | # CONFIG_DEBUG_MUTEXES is not set | 1085 | # CONFIG_DEBUG_MUTEXES is not set |
1086 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1087 | # CONFIG_PROVE_LOCKING is not set | ||
1088 | # CONFIG_LOCK_STAT is not set | ||
1049 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1089 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
1050 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | 1090 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set |
1051 | # CONFIG_DEBUG_KOBJECT is not set | 1091 | # CONFIG_DEBUG_KOBJECT is not set |
1052 | CONFIG_DEBUG_BUGVERBOSE=y | 1092 | CONFIG_DEBUG_BUGVERBOSE=y |
1053 | CONFIG_DEBUG_INFO=y | 1093 | CONFIG_DEBUG_INFO=y |
1054 | # CONFIG_DEBUG_VM is not set | 1094 | # CONFIG_DEBUG_VM is not set |
1095 | # CONFIG_DEBUG_NOMMU_REGIONS is not set | ||
1055 | # CONFIG_DEBUG_WRITECOUNT is not set | 1096 | # CONFIG_DEBUG_WRITECOUNT is not set |
1056 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1097 | # CONFIG_DEBUG_MEMORY_INIT is not set |
1057 | # CONFIG_DEBUG_LIST is not set | 1098 | # CONFIG_DEBUG_LIST is not set |
1058 | # CONFIG_DEBUG_SG is not set | 1099 | # CONFIG_DEBUG_SG is not set |
1100 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
1059 | # CONFIG_FRAME_POINTER is not set | 1101 | # CONFIG_FRAME_POINTER is not set |
1060 | # CONFIG_BOOT_PRINTK_DELAY is not set | 1102 | # CONFIG_BOOT_PRINTK_DELAY is not set |
1061 | # CONFIG_RCU_TORTURE_TEST is not set | 1103 | # CONFIG_RCU_TORTURE_TEST is not set |
@@ -1063,17 +1105,19 @@ CONFIG_DEBUG_INFO=y | |||
1063 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1105 | # CONFIG_BACKTRACE_SELF_TEST is not set |
1064 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1106 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set |
1065 | # CONFIG_FAULT_INJECTION is not set | 1107 | # CONFIG_FAULT_INJECTION is not set |
1066 | 1108 | # CONFIG_PAGE_POISONING is not set | |
1067 | # | 1109 | CONFIG_HAVE_FUNCTION_TRACER=y |
1068 | # Tracers | 1110 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y |
1069 | # | 1111 | CONFIG_TRACING_SUPPORT=y |
1070 | # CONFIG_SCHED_TRACER is not set | 1112 | # CONFIG_FTRACE is not set |
1071 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1113 | # CONFIG_BRANCH_PROFILE_NONE is not set |
1072 | # CONFIG_BOOT_TRACER is not set | 1114 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set |
1073 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1115 | # CONFIG_PROFILE_ALL_BRANCHES is not set |
1116 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1074 | # CONFIG_SAMPLES is not set | 1117 | # CONFIG_SAMPLES is not set |
1075 | CONFIG_HAVE_ARCH_KGDB=y | 1118 | CONFIG_HAVE_ARCH_KGDB=y |
1076 | # CONFIG_KGDB is not set | 1119 | # CONFIG_KGDB is not set |
1120 | # CONFIG_KMEMCHECK is not set | ||
1077 | # CONFIG_DEBUG_STACKOVERFLOW is not set | 1121 | # CONFIG_DEBUG_STACKOVERFLOW is not set |
1078 | # CONFIG_DEBUG_STACK_USAGE is not set | 1122 | # CONFIG_DEBUG_STACK_USAGE is not set |
1079 | CONFIG_DEBUG_VERBOSE=y | 1123 | CONFIG_DEBUG_VERBOSE=y |
@@ -1095,16 +1139,15 @@ CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE=y | |||
1095 | CONFIG_EARLY_PRINTK=y | 1139 | CONFIG_EARLY_PRINTK=y |
1096 | CONFIG_CPLB_INFO=y | 1140 | CONFIG_CPLB_INFO=y |
1097 | CONFIG_ACCESS_CHECK=y | 1141 | CONFIG_ACCESS_CHECK=y |
1142 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
1098 | 1143 | ||
1099 | # | 1144 | # |
1100 | # Security options | 1145 | # Security options |
1101 | # | 1146 | # |
1102 | # CONFIG_KEYS is not set | 1147 | # CONFIG_KEYS is not set |
1103 | CONFIG_SECURITY=y | 1148 | # CONFIG_SECURITY is not set |
1104 | # CONFIG_SECURITYFS is not set | 1149 | # CONFIG_SECURITYFS is not set |
1105 | # CONFIG_SECURITY_NETWORK is not set | ||
1106 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1150 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1107 | CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0 | ||
1108 | CONFIG_CRYPTO=y | 1151 | CONFIG_CRYPTO=y |
1109 | 1152 | ||
1110 | # | 1153 | # |
@@ -1183,6 +1226,7 @@ CONFIG_CRYPTO=y | |||
1183 | # Compression | 1226 | # Compression |
1184 | # | 1227 | # |
1185 | # CONFIG_CRYPTO_DEFLATE is not set | 1228 | # CONFIG_CRYPTO_DEFLATE is not set |
1229 | # CONFIG_CRYPTO_ZLIB is not set | ||
1186 | # CONFIG_CRYPTO_LZO is not set | 1230 | # CONFIG_CRYPTO_LZO is not set |
1187 | 1231 | ||
1188 | # | 1232 | # |
@@ -1190,11 +1234,13 @@ CONFIG_CRYPTO=y | |||
1190 | # | 1234 | # |
1191 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1235 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
1192 | CONFIG_CRYPTO_HW=y | 1236 | CONFIG_CRYPTO_HW=y |
1237 | # CONFIG_BINARY_PRINTF is not set | ||
1193 | 1238 | ||
1194 | # | 1239 | # |
1195 | # Library routines | 1240 | # Library routines |
1196 | # | 1241 | # |
1197 | CONFIG_BITREVERSE=y | 1242 | CONFIG_BITREVERSE=y |
1243 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1198 | CONFIG_CRC_CCITT=m | 1244 | CONFIG_CRC_CCITT=m |
1199 | # CONFIG_CRC16 is not set | 1245 | # CONFIG_CRC16 is not set |
1200 | # CONFIG_CRC_T10DIF is not set | 1246 | # CONFIG_CRC_T10DIF is not set |
@@ -1204,6 +1250,8 @@ CONFIG_CRC32=y | |||
1204 | # CONFIG_LIBCRC32C is not set | 1250 | # CONFIG_LIBCRC32C is not set |
1205 | CONFIG_ZLIB_INFLATE=y | 1251 | CONFIG_ZLIB_INFLATE=y |
1206 | CONFIG_ZLIB_DEFLATE=m | 1252 | CONFIG_ZLIB_DEFLATE=m |
1253 | CONFIG_DECOMPRESS_GZIP=y | ||
1207 | CONFIG_HAS_IOMEM=y | 1254 | CONFIG_HAS_IOMEM=y |
1208 | CONFIG_HAS_IOPORT=y | 1255 | CONFIG_HAS_IOPORT=y |
1209 | CONFIG_HAS_DMA=y | 1256 | CONFIG_HAS_DMA=y |
1257 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/BlackStamp_defconfig b/arch/blackfin/configs/BlackStamp_defconfig index 5d944ffd4ab0..9e65d885ec0b 100644 --- a/arch/blackfin/configs/BlackStamp_defconfig +++ b/arch/blackfin/configs/BlackStamp_defconfig | |||
@@ -66,6 +66,7 @@ CONFIG_VM_EVENT_COUNTERS=y | |||
66 | CONFIG_SLAB=y | 66 | CONFIG_SLAB=y |
67 | # CONFIG_SLUB is not set | 67 | # CONFIG_SLUB is not set |
68 | # CONFIG_SLOB is not set | 68 | # CONFIG_SLOB is not set |
69 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
69 | # CONFIG_PROFILING is not set | 70 | # CONFIG_PROFILING is not set |
70 | # CONFIG_MARKERS is not set | 71 | # CONFIG_MARKERS is not set |
71 | CONFIG_HAVE_OPROFILE=y | 72 | CONFIG_HAVE_OPROFILE=y |
@@ -275,6 +276,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
275 | # CONFIG_RESOURCES_64BIT is not set | 276 | # CONFIG_RESOURCES_64BIT is not set |
276 | CONFIG_ZONE_DMA_FLAG=1 | 277 | CONFIG_ZONE_DMA_FLAG=1 |
277 | CONFIG_VIRT_TO_BUS=y | 278 | CONFIG_VIRT_TO_BUS=y |
279 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
278 | CONFIG_BFIN_GPTIMERS=y | 280 | CONFIG_BFIN_GPTIMERS=y |
279 | # CONFIG_DMA_UNCACHED_4M is not set | 281 | # CONFIG_DMA_UNCACHED_4M is not set |
280 | # CONFIG_DMA_UNCACHED_2M is not set | 282 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/CM-BF527_defconfig b/arch/blackfin/configs/CM-BF527_defconfig index 648a31d01bf4..4432150d89e3 100644 --- a/arch/blackfin/configs/CM-BF527_defconfig +++ b/arch/blackfin/configs/CM-BF527_defconfig | |||
@@ -1,12 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.28 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
9 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
11 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
12 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
@@ -15,6 +16,9 @@ CONFIG_GENERIC_IRQ_PROBE=y | |||
15 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
16 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
17 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
18 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
19 | 23 | ||
20 | # | 24 | # |
@@ -25,55 +29,72 @@ CONFIG_BROKEN_ON_SMP=y | |||
25 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
26 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
27 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
28 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
29 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
30 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
32 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
33 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
34 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
35 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
36 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
37 | # CONFIG_CGROUPS is not set | ||
38 | # CONFIG_GROUP_SCHED is not set | 56 | # CONFIG_GROUP_SCHED is not set |
39 | CONFIG_SYSFS_DEPRECATED=y | 57 | # CONFIG_CGROUPS is not set |
40 | CONFIG_SYSFS_DEPRECATED_V2=y | 58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
41 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
42 | # CONFIG_NAMESPACES is not set | 60 | # CONFIG_NAMESPACES is not set |
43 | CONFIG_BLK_DEV_INITRD=y | 61 | CONFIG_BLK_DEV_INITRD=y |
44 | CONFIG_INITRAMFS_SOURCE="" | 62 | CONFIG_INITRAMFS_SOURCE="" |
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
46 | # CONFIG_SYSCTL is not set | 67 | CONFIG_SYSCTL=y |
68 | CONFIG_ANON_INODES=y | ||
47 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
48 | CONFIG_UID16=y | 70 | CONFIG_UID16=y |
49 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
50 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
51 | # CONFIG_KALLSYMS_ALL is not set | ||
52 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
74 | # CONFIG_STRIP_ASM_SYMS is not set | ||
53 | CONFIG_HOTPLUG=y | 75 | CONFIG_HOTPLUG=y |
54 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
55 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
56 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
57 | CONFIG_COMPAT_BRK=y | ||
58 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
59 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
60 | CONFIG_ANON_INODES=y | ||
61 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
62 | CONFIG_SIGNALFD=y | 82 | CONFIG_SIGNALFD=y |
63 | CONFIG_TIMERFD=y | 83 | CONFIG_TIMERFD=y |
64 | CONFIG_EVENTFD=y | 84 | CONFIG_EVENTFD=y |
65 | # CONFIG_AIO is not set | 85 | # CONFIG_AIO is not set |
66 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
87 | CONFIG_COMPAT_BRK=y | ||
67 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | # CONFIG_PROFILING is not set | 92 | # CONFIG_PROFILING is not set |
71 | # CONFIG_MARKERS is not set | 93 | # CONFIG_MARKERS is not set |
72 | CONFIG_HAVE_OPROFILE=y | 94 | CONFIG_HAVE_OPROFILE=y |
95 | # CONFIG_SLOW_WORK is not set | ||
73 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
74 | CONFIG_SLABINFO=y | 97 | CONFIG_SLABINFO=y |
75 | CONFIG_RT_MUTEXES=y | ||
76 | CONFIG_TINY_SHMEM=y | ||
77 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
78 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
79 | # CONFIG_MODULE_FORCE_LOAD is not set | 100 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -81,11 +102,8 @@ CONFIG_MODULE_UNLOAD=y | |||
81 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
82 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
83 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
84 | CONFIG_KMOD=y | ||
85 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
86 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
87 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
88 | # CONFIG_LSF is not set | ||
89 | # CONFIG_BLK_DEV_BSG is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
90 | # CONFIG_BLK_DEV_INTEGRITY is not set | 108 | # CONFIG_BLK_DEV_INTEGRITY is not set |
91 | 109 | ||
@@ -101,7 +119,6 @@ CONFIG_IOSCHED_CFQ=y | |||
101 | CONFIG_DEFAULT_CFQ=y | 119 | CONFIG_DEFAULT_CFQ=y |
102 | # CONFIG_DEFAULT_NOOP is not set | 120 | # CONFIG_DEFAULT_NOOP is not set |
103 | CONFIG_DEFAULT_IOSCHED="cfq" | 121 | CONFIG_DEFAULT_IOSCHED="cfq" |
104 | CONFIG_CLASSIC_RCU=y | ||
105 | # CONFIG_PREEMPT_NONE is not set | 122 | # CONFIG_PREEMPT_NONE is not set |
106 | CONFIG_PREEMPT_VOLUNTARY=y | 123 | CONFIG_PREEMPT_VOLUNTARY=y |
107 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
@@ -265,7 +282,10 @@ CONFIG_HZ=250 | |||
265 | # CONFIG_SCHED_HRTICK is not set | 282 | # CONFIG_SCHED_HRTICK is not set |
266 | CONFIG_GENERIC_TIME=y | 283 | CONFIG_GENERIC_TIME=y |
267 | CONFIG_GENERIC_CLOCKEVENTS=y | 284 | CONFIG_GENERIC_CLOCKEVENTS=y |
285 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
286 | CONFIG_TICKSOURCE_CORETMR=y | ||
268 | # CONFIG_CYCLES_CLOCKSOURCE is not set | 287 | # CONFIG_CYCLES_CLOCKSOURCE is not set |
288 | # CONFIG_GPTMR0_CLOCKSOURCE is not set | ||
269 | # CONFIG_NO_HZ is not set | 289 | # CONFIG_NO_HZ is not set |
270 | # CONFIG_HIGH_RES_TIMERS is not set | 290 | # CONFIG_HIGH_RES_TIMERS is not set |
271 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | 291 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y |
@@ -315,10 +335,12 @@ CONFIG_FLATMEM=y | |||
315 | CONFIG_FLAT_NODE_MEM_MAP=y | 335 | CONFIG_FLAT_NODE_MEM_MAP=y |
316 | CONFIG_PAGEFLAGS_EXTENDED=y | 336 | CONFIG_PAGEFLAGS_EXTENDED=y |
317 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 337 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
318 | # CONFIG_RESOURCES_64BIT is not set | ||
319 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 338 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
320 | CONFIG_ZONE_DMA_FLAG=1 | 339 | CONFIG_ZONE_DMA_FLAG=1 |
321 | CONFIG_VIRT_TO_BUS=y | 340 | CONFIG_VIRT_TO_BUS=y |
341 | CONFIG_UNEVICTABLE_LRU=y | ||
342 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
343 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
322 | CONFIG_BFIN_GPTIMERS=y | 344 | CONFIG_BFIN_GPTIMERS=y |
323 | # CONFIG_DMA_UNCACHED_4M is not set | 345 | # CONFIG_DMA_UNCACHED_4M is not set |
324 | # CONFIG_DMA_UNCACHED_2M is not set | 346 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -329,10 +351,9 @@ CONFIG_DMA_UNCACHED_1M=y | |||
329 | # Cache Support | 351 | # Cache Support |
330 | # | 352 | # |
331 | CONFIG_BFIN_ICACHE=y | 353 | CONFIG_BFIN_ICACHE=y |
332 | # CONFIG_BFIN_ICACHE_LOCK is not set | 354 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
333 | CONFIG_BFIN_DCACHE=y | 355 | CONFIG_BFIN_DCACHE=y |
334 | # CONFIG_BFIN_DCACHE_BANKA is not set | 356 | # CONFIG_BFIN_DCACHE_BANKA is not set |
335 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
336 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 357 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
337 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 358 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
338 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 359 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
@@ -343,7 +364,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
343 | # CONFIG_MPU is not set | 364 | # CONFIG_MPU is not set |
344 | 365 | ||
345 | # | 366 | # |
346 | # Asynchonous Memory Configuration | 367 | # Asynchronous Memory Configuration |
347 | # | 368 | # |
348 | 369 | ||
349 | # | 370 | # |
@@ -361,7 +382,7 @@ CONFIG_C_AMBEN_ALL=y | |||
361 | # EBIU_AMBCTL Control | 382 | # EBIU_AMBCTL Control |
362 | # | 383 | # |
363 | CONFIG_BANK_0=0x7BB0 | 384 | CONFIG_BANK_0=0x7BB0 |
364 | CONFIG_BANK_1=0x5554 | 385 | CONFIG_BANK_1=0x7BB0 |
365 | CONFIG_BANK_2=0x7BB0 | 386 | CONFIG_BANK_2=0x7BB0 |
366 | CONFIG_BANK_3=0xFFC0 | 387 | CONFIG_BANK_3=0xFFC0 |
367 | 388 | ||
@@ -386,7 +407,6 @@ CONFIG_BINFMT_ZFLAT=y | |||
386 | # | 407 | # |
387 | # CONFIG_PM is not set | 408 | # CONFIG_PM is not set |
388 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 409 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
389 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
390 | 410 | ||
391 | # | 411 | # |
392 | # CPU Frequency scaling | 412 | # CPU Frequency scaling |
@@ -400,11 +420,6 @@ CONFIG_NET=y | |||
400 | CONFIG_PACKET=y | 420 | CONFIG_PACKET=y |
401 | # CONFIG_PACKET_MMAP is not set | 421 | # CONFIG_PACKET_MMAP is not set |
402 | CONFIG_UNIX=y | 422 | CONFIG_UNIX=y |
403 | CONFIG_XFRM=y | ||
404 | # CONFIG_XFRM_USER is not set | ||
405 | # CONFIG_XFRM_SUB_POLICY is not set | ||
406 | # CONFIG_XFRM_MIGRATE is not set | ||
407 | # CONFIG_XFRM_STATISTICS is not set | ||
408 | # CONFIG_NET_KEY is not set | 423 | # CONFIG_NET_KEY is not set |
409 | CONFIG_INET=y | 424 | CONFIG_INET=y |
410 | # CONFIG_IP_MULTICAST is not set | 425 | # CONFIG_IP_MULTICAST is not set |
@@ -428,7 +443,6 @@ CONFIG_IP_PNP=y | |||
428 | # CONFIG_INET_XFRM_MODE_BEET is not set | 443 | # CONFIG_INET_XFRM_MODE_BEET is not set |
429 | # CONFIG_INET_LRO is not set | 444 | # CONFIG_INET_LRO is not set |
430 | # CONFIG_INET_DIAG is not set | 445 | # CONFIG_INET_DIAG is not set |
431 | CONFIG_INET_TCP_DIAG=y | ||
432 | # CONFIG_TCP_CONG_ADVANCED is not set | 446 | # CONFIG_TCP_CONG_ADVANCED is not set |
433 | CONFIG_TCP_CONG_CUBIC=y | 447 | CONFIG_TCP_CONG_CUBIC=y |
434 | CONFIG_DEFAULT_TCP_CONG="cubic" | 448 | CONFIG_DEFAULT_TCP_CONG="cubic" |
@@ -452,7 +466,9 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
452 | # CONFIG_LAPB is not set | 466 | # CONFIG_LAPB is not set |
453 | # CONFIG_ECONET is not set | 467 | # CONFIG_ECONET is not set |
454 | # CONFIG_WAN_ROUTER is not set | 468 | # CONFIG_WAN_ROUTER is not set |
469 | # CONFIG_PHONET is not set | ||
455 | # CONFIG_NET_SCHED is not set | 470 | # CONFIG_NET_SCHED is not set |
471 | # CONFIG_DCB is not set | ||
456 | 472 | ||
457 | # | 473 | # |
458 | # Network testing | 474 | # Network testing |
@@ -463,13 +479,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
463 | # CONFIG_IRDA is not set | 479 | # CONFIG_IRDA is not set |
464 | # CONFIG_BT is not set | 480 | # CONFIG_BT is not set |
465 | # CONFIG_AF_RXRPC is not set | 481 | # CONFIG_AF_RXRPC is not set |
466 | # CONFIG_PHONET is not set | 482 | # CONFIG_WIRELESS is not set |
467 | CONFIG_WIRELESS=y | 483 | # CONFIG_WIMAX is not set |
468 | # CONFIG_CFG80211 is not set | ||
469 | CONFIG_WIRELESS_OLD_REGULATORY=y | ||
470 | # CONFIG_WIRELESS_EXT is not set | ||
471 | # CONFIG_MAC80211 is not set | ||
472 | # CONFIG_IEEE80211 is not set | ||
473 | # CONFIG_RFKILL is not set | 484 | # CONFIG_RFKILL is not set |
474 | # CONFIG_NET_9P is not set | 485 | # CONFIG_NET_9P is not set |
475 | 486 | ||
@@ -484,22 +495,21 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | |||
484 | CONFIG_STANDALONE=y | 495 | CONFIG_STANDALONE=y |
485 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 496 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
486 | # CONFIG_FW_LOADER is not set | 497 | # CONFIG_FW_LOADER is not set |
487 | # CONFIG_DEBUG_DRIVER is not set | ||
488 | # CONFIG_DEBUG_DEVRES is not set | ||
489 | # CONFIG_SYS_HYPERVISOR is not set | 498 | # CONFIG_SYS_HYPERVISOR is not set |
490 | # CONFIG_CONNECTOR is not set | 499 | # CONFIG_CONNECTOR is not set |
491 | CONFIG_MTD=y | 500 | CONFIG_MTD=y |
492 | # CONFIG_MTD_DEBUG is not set | 501 | # CONFIG_MTD_DEBUG is not set |
502 | # CONFIG_MTD_TESTS is not set | ||
493 | # CONFIG_MTD_CONCAT is not set | 503 | # CONFIG_MTD_CONCAT is not set |
494 | CONFIG_MTD_PARTITIONS=y | 504 | CONFIG_MTD_PARTITIONS=y |
495 | # CONFIG_MTD_REDBOOT_PARTS is not set | 505 | # CONFIG_MTD_REDBOOT_PARTS is not set |
496 | # CONFIG_MTD_CMDLINE_PARTS is not set | 506 | CONFIG_MTD_CMDLINE_PARTS=y |
497 | # CONFIG_MTD_AR7_PARTS is not set | 507 | # CONFIG_MTD_AR7_PARTS is not set |
498 | 508 | ||
499 | # | 509 | # |
500 | # User Modules And Translation Layers | 510 | # User Modules And Translation Layers |
501 | # | 511 | # |
502 | CONFIG_MTD_CHAR=m | 512 | CONFIG_MTD_CHAR=y |
503 | CONFIG_MTD_BLKDEVS=y | 513 | CONFIG_MTD_BLKDEVS=y |
504 | CONFIG_MTD_BLOCK=y | 514 | CONFIG_MTD_BLOCK=y |
505 | # CONFIG_FTL is not set | 515 | # CONFIG_FTL is not set |
@@ -512,9 +522,9 @@ CONFIG_MTD_BLOCK=y | |||
512 | # | 522 | # |
513 | # RAM/ROM/Flash chip drivers | 523 | # RAM/ROM/Flash chip drivers |
514 | # | 524 | # |
515 | # CONFIG_MTD_CFI is not set | 525 | CONFIG_MTD_CFI=y |
516 | CONFIG_MTD_JEDECPROBE=m | 526 | # CONFIG_MTD_JEDECPROBE is not set |
517 | CONFIG_MTD_GEN_PROBE=m | 527 | CONFIG_MTD_GEN_PROBE=y |
518 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | 528 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set |
519 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | 529 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
520 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | 530 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
@@ -526,9 +536,11 @@ CONFIG_MTD_CFI_I1=y | |||
526 | CONFIG_MTD_CFI_I2=y | 536 | CONFIG_MTD_CFI_I2=y |
527 | # CONFIG_MTD_CFI_I4 is not set | 537 | # CONFIG_MTD_CFI_I4 is not set |
528 | # CONFIG_MTD_CFI_I8 is not set | 538 | # CONFIG_MTD_CFI_I8 is not set |
529 | # CONFIG_MTD_CFI_INTELEXT is not set | 539 | CONFIG_MTD_CFI_INTELEXT=y |
530 | # CONFIG_MTD_CFI_AMDSTD is not set | 540 | # CONFIG_MTD_CFI_AMDSTD is not set |
531 | # CONFIG_MTD_CFI_STAA is not set | 541 | # CONFIG_MTD_CFI_STAA is not set |
542 | # CONFIG_MTD_PSD4256G is not set | ||
543 | CONFIG_MTD_CFI_UTIL=y | ||
532 | CONFIG_MTD_RAM=y | 544 | CONFIG_MTD_RAM=y |
533 | CONFIG_MTD_ROM=m | 545 | CONFIG_MTD_ROM=m |
534 | # CONFIG_MTD_ABSENT is not set | 546 | # CONFIG_MTD_ABSENT is not set |
@@ -538,7 +550,7 @@ CONFIG_MTD_ROM=m | |||
538 | # | 550 | # |
539 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 551 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
540 | # CONFIG_MTD_PHYSMAP is not set | 552 | # CONFIG_MTD_PHYSMAP is not set |
541 | # CONFIG_MTD_GPIO_ADDR is not set | 553 | CONFIG_MTD_GPIO_ADDR=y |
542 | # CONFIG_MTD_UCLINUX is not set | 554 | # CONFIG_MTD_UCLINUX is not set |
543 | # CONFIG_MTD_PLATRAM is not set | 555 | # CONFIG_MTD_PLATRAM is not set |
544 | 556 | ||
@@ -562,6 +574,11 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y | |||
562 | # CONFIG_MTD_ONENAND is not set | 574 | # CONFIG_MTD_ONENAND is not set |
563 | 575 | ||
564 | # | 576 | # |
577 | # LPDDR flash memory drivers | ||
578 | # | ||
579 | # CONFIG_MTD_LPDDR is not set | ||
580 | |||
581 | # | ||
565 | # UBI - Unsorted block images | 582 | # UBI - Unsorted block images |
566 | # | 583 | # |
567 | # CONFIG_MTD_UBI is not set | 584 | # CONFIG_MTD_UBI is not set |
@@ -586,12 +603,46 @@ CONFIG_HAVE_IDE=y | |||
586 | # SCSI device support | 603 | # SCSI device support |
587 | # | 604 | # |
588 | # CONFIG_RAID_ATTRS is not set | 605 | # CONFIG_RAID_ATTRS is not set |
589 | # CONFIG_SCSI is not set | 606 | CONFIG_SCSI=y |
590 | # CONFIG_SCSI_DMA is not set | 607 | CONFIG_SCSI_DMA=y |
608 | # CONFIG_SCSI_TGT is not set | ||
591 | # CONFIG_SCSI_NETLINK is not set | 609 | # CONFIG_SCSI_NETLINK is not set |
610 | CONFIG_SCSI_PROC_FS=y | ||
611 | |||
612 | # | ||
613 | # SCSI support type (disk, tape, CD-ROM) | ||
614 | # | ||
615 | CONFIG_BLK_DEV_SD=y | ||
616 | # CONFIG_CHR_DEV_ST is not set | ||
617 | # CONFIG_CHR_DEV_OSST is not set | ||
618 | # CONFIG_BLK_DEV_SR is not set | ||
619 | # CONFIG_CHR_DEV_SG is not set | ||
620 | # CONFIG_CHR_DEV_SCH is not set | ||
621 | |||
622 | # | ||
623 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
624 | # | ||
625 | # CONFIG_SCSI_MULTI_LUN is not set | ||
626 | # CONFIG_SCSI_CONSTANTS is not set | ||
627 | # CONFIG_SCSI_LOGGING is not set | ||
628 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
629 | CONFIG_SCSI_WAIT_SCAN=m | ||
630 | |||
631 | # | ||
632 | # SCSI Transports | ||
633 | # | ||
634 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
635 | # CONFIG_SCSI_FC_ATTRS is not set | ||
636 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
637 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
638 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
639 | # CONFIG_SCSI_LOWLEVEL is not set | ||
640 | # CONFIG_SCSI_DH is not set | ||
641 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
592 | # CONFIG_ATA is not set | 642 | # CONFIG_ATA is not set |
593 | # CONFIG_MD is not set | 643 | # CONFIG_MD is not set |
594 | CONFIG_NETDEVICES=y | 644 | CONFIG_NETDEVICES=y |
645 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
595 | # CONFIG_DUMMY is not set | 646 | # CONFIG_DUMMY is not set |
596 | # CONFIG_BONDING is not set | 647 | # CONFIG_BONDING is not set |
597 | # CONFIG_MACVLAN is not set | 648 | # CONFIG_MACVLAN is not set |
@@ -613,6 +664,9 @@ CONFIG_PHYLIB=y | |||
613 | # CONFIG_BROADCOM_PHY is not set | 664 | # CONFIG_BROADCOM_PHY is not set |
614 | # CONFIG_ICPLUS_PHY is not set | 665 | # CONFIG_ICPLUS_PHY is not set |
615 | # CONFIG_REALTEK_PHY is not set | 666 | # CONFIG_REALTEK_PHY is not set |
667 | # CONFIG_NATIONAL_PHY is not set | ||
668 | # CONFIG_STE10XP is not set | ||
669 | # CONFIG_LSI_ET1011C_PHY is not set | ||
616 | # CONFIG_FIXED_PHY is not set | 670 | # CONFIG_FIXED_PHY is not set |
617 | # CONFIG_MDIO_BITBANG is not set | 671 | # CONFIG_MDIO_BITBANG is not set |
618 | CONFIG_NET_ETHERNET=y | 672 | CONFIG_NET_ETHERNET=y |
@@ -623,9 +677,11 @@ CONFIG_BFIN_TX_DESC_NUM=10 | |||
623 | CONFIG_BFIN_RX_DESC_NUM=20 | 677 | CONFIG_BFIN_RX_DESC_NUM=20 |
624 | CONFIG_BFIN_MAC_RMII=y | 678 | CONFIG_BFIN_MAC_RMII=y |
625 | # CONFIG_SMC91X is not set | 679 | # CONFIG_SMC91X is not set |
626 | # CONFIG_SMSC911X is not set | ||
627 | # CONFIG_DM9000 is not set | 680 | # CONFIG_DM9000 is not set |
628 | # CONFIG_ENC28J60 is not set | 681 | # CONFIG_ENC28J60 is not set |
682 | # CONFIG_ETHOC is not set | ||
683 | # CONFIG_SMSC911X is not set | ||
684 | # CONFIG_DNET is not set | ||
629 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 685 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
630 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 686 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
631 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 687 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
@@ -633,6 +689,7 @@ CONFIG_BFIN_MAC_RMII=y | |||
633 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | 689 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set |
634 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | 690 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set |
635 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | 691 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set |
692 | # CONFIG_B44 is not set | ||
636 | # CONFIG_NETDEV_1000 is not set | 693 | # CONFIG_NETDEV_1000 is not set |
637 | # CONFIG_NETDEV_10000 is not set | 694 | # CONFIG_NETDEV_10000 is not set |
638 | 695 | ||
@@ -641,7 +698,10 @@ CONFIG_BFIN_MAC_RMII=y | |||
641 | # | 698 | # |
642 | # CONFIG_WLAN_PRE80211 is not set | 699 | # CONFIG_WLAN_PRE80211 is not set |
643 | # CONFIG_WLAN_80211 is not set | 700 | # CONFIG_WLAN_80211 is not set |
644 | # CONFIG_IWLWIFI_LEDS is not set | 701 | |
702 | # | ||
703 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
704 | # | ||
645 | 705 | ||
646 | # | 706 | # |
647 | # USB Network Adapters | 707 | # USB Network Adapters |
@@ -674,17 +734,13 @@ CONFIG_BFIN_MAC_RMII=y | |||
674 | # | 734 | # |
675 | # Character devices | 735 | # Character devices |
676 | # | 736 | # |
677 | # CONFIG_AD9960 is not set | 737 | CONFIG_BFIN_DMA_INTERFACE=m |
678 | # CONFIG_SPI_ADC_BF533 is not set | 738 | # CONFIG_BFIN_PPI is not set |
679 | # CONFIG_BF5xx_PPIFCD is not set | 739 | # CONFIG_BFIN_PPIFCD is not set |
680 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 740 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
681 | # CONFIG_BF5xx_PPI is not set | 741 | # CONFIG_BFIN_SPI_ADC is not set |
682 | # CONFIG_BF5xx_EPPI is not set | ||
683 | # CONFIG_BFIN_SPORT is not set | 742 | # CONFIG_BFIN_SPORT is not set |
684 | # CONFIG_BFIN_TIMER_LATENCY is not set | 743 | # CONFIG_BFIN_TWI_LCD is not set |
685 | # CONFIG_TWI_LCD is not set | ||
686 | CONFIG_BFIN_DMA_INTERFACE=m | ||
687 | CONFIG_SIMPLE_GPIO=m | ||
688 | # CONFIG_VT is not set | 744 | # CONFIG_VT is not set |
689 | # CONFIG_DEVKMEM is not set | 745 | # CONFIG_DEVKMEM is not set |
690 | # CONFIG_BFIN_JTAG_COMM is not set | 746 | # CONFIG_BFIN_JTAG_COMM is not set |
@@ -698,6 +754,7 @@ CONFIG_SIMPLE_GPIO=m | |||
698 | # | 754 | # |
699 | # Non-8250 serial port support | 755 | # Non-8250 serial port support |
700 | # | 756 | # |
757 | # CONFIG_SERIAL_MAX3100 is not set | ||
701 | CONFIG_SERIAL_BFIN=y | 758 | CONFIG_SERIAL_BFIN=y |
702 | CONFIG_SERIAL_BFIN_CONSOLE=y | 759 | CONFIG_SERIAL_BFIN_CONSOLE=y |
703 | CONFIG_SERIAL_BFIN_DMA=y | 760 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -710,6 +767,7 @@ CONFIG_SERIAL_CORE=y | |||
710 | CONFIG_SERIAL_CORE_CONSOLE=y | 767 | CONFIG_SERIAL_CORE_CONSOLE=y |
711 | # CONFIG_SERIAL_BFIN_SPORT is not set | 768 | # CONFIG_SERIAL_BFIN_SPORT is not set |
712 | CONFIG_UNIX98_PTYS=y | 769 | CONFIG_UNIX98_PTYS=y |
770 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
713 | # CONFIG_LEGACY_PTYS is not set | 771 | # CONFIG_LEGACY_PTYS is not set |
714 | CONFIG_BFIN_OTP=y | 772 | CONFIG_BFIN_OTP=y |
715 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | 773 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set |
@@ -758,13 +816,9 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100 | |||
758 | # Miscellaneous I2C Chip support | 816 | # Miscellaneous I2C Chip support |
759 | # | 817 | # |
760 | # CONFIG_DS1682 is not set | 818 | # CONFIG_DS1682 is not set |
761 | # CONFIG_AT24 is not set | ||
762 | # CONFIG_SENSORS_AD5252 is not set | ||
763 | # CONFIG_SENSORS_EEPROM is not set | ||
764 | # CONFIG_SENSORS_PCF8574 is not set | 819 | # CONFIG_SENSORS_PCF8574 is not set |
765 | # CONFIG_PCF8575 is not set | 820 | # CONFIG_PCF8575 is not set |
766 | # CONFIG_SENSORS_PCA9539 is not set | 821 | # CONFIG_SENSORS_PCA9539 is not set |
767 | # CONFIG_SENSORS_PCF8591 is not set | ||
768 | # CONFIG_SENSORS_MAX6875 is not set | 822 | # CONFIG_SENSORS_MAX6875 is not set |
769 | # CONFIG_SENSORS_TSL2550 is not set | 823 | # CONFIG_SENSORS_TSL2550 is not set |
770 | # CONFIG_I2C_DEBUG_CORE is not set | 824 | # CONFIG_I2C_DEBUG_CORE is not set |
@@ -772,7 +826,6 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100 | |||
772 | # CONFIG_I2C_DEBUG_BUS is not set | 826 | # CONFIG_I2C_DEBUG_BUS is not set |
773 | # CONFIG_I2C_DEBUG_CHIP is not set | 827 | # CONFIG_I2C_DEBUG_CHIP is not set |
774 | CONFIG_SPI=y | 828 | CONFIG_SPI=y |
775 | # CONFIG_SPI_DEBUG is not set | ||
776 | CONFIG_SPI_MASTER=y | 829 | CONFIG_SPI_MASTER=y |
777 | 830 | ||
778 | # | 831 | # |
@@ -780,17 +833,17 @@ CONFIG_SPI_MASTER=y | |||
780 | # | 833 | # |
781 | CONFIG_SPI_BFIN=y | 834 | CONFIG_SPI_BFIN=y |
782 | # CONFIG_SPI_BFIN_LOCK is not set | 835 | # CONFIG_SPI_BFIN_LOCK is not set |
836 | # CONFIG_SPI_BFIN_SPORT is not set | ||
783 | # CONFIG_SPI_BITBANG is not set | 837 | # CONFIG_SPI_BITBANG is not set |
838 | # CONFIG_SPI_GPIO is not set | ||
784 | 839 | ||
785 | # | 840 | # |
786 | # SPI Protocol Masters | 841 | # SPI Protocol Masters |
787 | # | 842 | # |
788 | # CONFIG_SPI_AT25 is not set | ||
789 | # CONFIG_SPI_SPIDEV is not set | 843 | # CONFIG_SPI_SPIDEV is not set |
790 | # CONFIG_SPI_TLE62X0 is not set | 844 | # CONFIG_SPI_TLE62X0 is not set |
791 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 845 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
792 | CONFIG_GPIOLIB=y | 846 | CONFIG_GPIOLIB=y |
793 | # CONFIG_DEBUG_GPIO is not set | ||
794 | CONFIG_GPIO_SYSFS=y | 847 | CONFIG_GPIO_SYSFS=y |
795 | 848 | ||
796 | # | 849 | # |
@@ -803,6 +856,7 @@ CONFIG_GPIO_SYSFS=y | |||
803 | # CONFIG_GPIO_MAX732X is not set | 856 | # CONFIG_GPIO_MAX732X is not set |
804 | # CONFIG_GPIO_PCA953X is not set | 857 | # CONFIG_GPIO_PCA953X is not set |
805 | # CONFIG_GPIO_PCF857X is not set | 858 | # CONFIG_GPIO_PCF857X is not set |
859 | # CONFIG_GPIO_ADP5588 is not set | ||
806 | 860 | ||
807 | # | 861 | # |
808 | # PCI GPIO expanders: | 862 | # PCI GPIO expanders: |
@@ -829,11 +883,13 @@ CONFIG_HWMON=y | |||
829 | # CONFIG_SENSORS_ADT7462 is not set | 883 | # CONFIG_SENSORS_ADT7462 is not set |
830 | # CONFIG_SENSORS_ADT7470 is not set | 884 | # CONFIG_SENSORS_ADT7470 is not set |
831 | # CONFIG_SENSORS_ADT7473 is not set | 885 | # CONFIG_SENSORS_ADT7473 is not set |
886 | # CONFIG_SENSORS_ADT7475 is not set | ||
832 | # CONFIG_SENSORS_ATXP1 is not set | 887 | # CONFIG_SENSORS_ATXP1 is not set |
833 | # CONFIG_SENSORS_DS1621 is not set | 888 | # CONFIG_SENSORS_DS1621 is not set |
834 | # CONFIG_SENSORS_F71805F is not set | 889 | # CONFIG_SENSORS_F71805F is not set |
835 | # CONFIG_SENSORS_F71882FG is not set | 890 | # CONFIG_SENSORS_F71882FG is not set |
836 | # CONFIG_SENSORS_F75375S is not set | 891 | # CONFIG_SENSORS_F75375S is not set |
892 | # CONFIG_SENSORS_G760A is not set | ||
837 | # CONFIG_SENSORS_GL518SM is not set | 893 | # CONFIG_SENSORS_GL518SM is not set |
838 | # CONFIG_SENSORS_GL520SM is not set | 894 | # CONFIG_SENSORS_GL520SM is not set |
839 | # CONFIG_SENSORS_IT87 is not set | 895 | # CONFIG_SENSORS_IT87 is not set |
@@ -849,11 +905,16 @@ CONFIG_HWMON=y | |||
849 | # CONFIG_SENSORS_LM90 is not set | 905 | # CONFIG_SENSORS_LM90 is not set |
850 | # CONFIG_SENSORS_LM92 is not set | 906 | # CONFIG_SENSORS_LM92 is not set |
851 | # CONFIG_SENSORS_LM93 is not set | 907 | # CONFIG_SENSORS_LM93 is not set |
908 | # CONFIG_SENSORS_LTC4215 is not set | ||
909 | # CONFIG_SENSORS_LTC4245 is not set | ||
910 | # CONFIG_SENSORS_LM95241 is not set | ||
852 | # CONFIG_SENSORS_MAX1111 is not set | 911 | # CONFIG_SENSORS_MAX1111 is not set |
853 | # CONFIG_SENSORS_MAX1619 is not set | 912 | # CONFIG_SENSORS_MAX1619 is not set |
854 | # CONFIG_SENSORS_MAX6650 is not set | 913 | # CONFIG_SENSORS_MAX6650 is not set |
855 | # CONFIG_SENSORS_PC87360 is not set | 914 | # CONFIG_SENSORS_PC87360 is not set |
856 | # CONFIG_SENSORS_PC87427 is not set | 915 | # CONFIG_SENSORS_PC87427 is not set |
916 | # CONFIG_SENSORS_PCF8591 is not set | ||
917 | # CONFIG_SENSORS_SHT15 is not set | ||
857 | # CONFIG_SENSORS_DME1737 is not set | 918 | # CONFIG_SENSORS_DME1737 is not set |
858 | # CONFIG_SENSORS_SMSC47M1 is not set | 919 | # CONFIG_SENSORS_SMSC47M1 is not set |
859 | # CONFIG_SENSORS_SMSC47M192 is not set | 920 | # CONFIG_SENSORS_SMSC47M192 is not set |
@@ -885,6 +946,12 @@ CONFIG_BFIN_WDT=y | |||
885 | # USB-based Watchdog Cards | 946 | # USB-based Watchdog Cards |
886 | # | 947 | # |
887 | # CONFIG_USBPCWATCHDOG is not set | 948 | # CONFIG_USBPCWATCHDOG is not set |
949 | CONFIG_SSB_POSSIBLE=y | ||
950 | |||
951 | # | ||
952 | # Sonics Silicon Backplane | ||
953 | # | ||
954 | # CONFIG_SSB is not set | ||
888 | 955 | ||
889 | # | 956 | # |
890 | # Multifunction device drivers | 957 | # Multifunction device drivers |
@@ -892,10 +959,14 @@ CONFIG_BFIN_WDT=y | |||
892 | # CONFIG_MFD_CORE is not set | 959 | # CONFIG_MFD_CORE is not set |
893 | # CONFIG_MFD_SM501 is not set | 960 | # CONFIG_MFD_SM501 is not set |
894 | # CONFIG_HTC_PASIC3 is not set | 961 | # CONFIG_HTC_PASIC3 is not set |
962 | # CONFIG_TPS65010 is not set | ||
963 | # CONFIG_TWL4030_CORE is not set | ||
895 | # CONFIG_MFD_TMIO is not set | 964 | # CONFIG_MFD_TMIO is not set |
896 | # CONFIG_PMIC_DA903X is not set | 965 | # CONFIG_PMIC_DA903X is not set |
966 | # CONFIG_PMIC_ADP5520 is not set | ||
897 | # CONFIG_MFD_WM8400 is not set | 967 | # CONFIG_MFD_WM8400 is not set |
898 | # CONFIG_MFD_WM8350_I2C is not set | 968 | # CONFIG_MFD_WM8350_I2C is not set |
969 | # CONFIG_MFD_PCF50633 is not set | ||
899 | # CONFIG_REGULATOR is not set | 970 | # CONFIG_REGULATOR is not set |
900 | 971 | ||
901 | # | 972 | # |
@@ -931,20 +1002,20 @@ CONFIG_USB_SUPPORT=y | |||
931 | CONFIG_USB_ARCH_HAS_HCD=y | 1002 | CONFIG_USB_ARCH_HAS_HCD=y |
932 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 1003 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
933 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 1004 | # CONFIG_USB_ARCH_HAS_EHCI is not set |
934 | CONFIG_USB=y | 1005 | CONFIG_USB=m |
935 | # CONFIG_USB_DEBUG is not set | 1006 | # CONFIG_USB_DEBUG is not set |
936 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | 1007 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y |
937 | 1008 | ||
938 | # | 1009 | # |
939 | # Miscellaneous USB options | 1010 | # Miscellaneous USB options |
940 | # | 1011 | # |
941 | # CONFIG_USB_DEVICEFS is not set | 1012 | CONFIG_USB_DEVICEFS=y |
942 | CONFIG_USB_DEVICE_CLASS=y | 1013 | # CONFIG_USB_DEVICE_CLASS is not set |
943 | # CONFIG_USB_DYNAMIC_MINORS is not set | 1014 | # CONFIG_USB_DYNAMIC_MINORS is not set |
944 | # CONFIG_USB_OTG is not set | 1015 | # CONFIG_USB_OTG is not set |
945 | # CONFIG_USB_OTG_WHITELIST is not set | 1016 | # CONFIG_USB_OTG_WHITELIST is not set |
946 | CONFIG_USB_OTG_BLACKLIST_HUB=y | 1017 | CONFIG_USB_OTG_BLACKLIST_HUB=y |
947 | CONFIG_USB_MON=y | 1018 | CONFIG_USB_MON=m |
948 | # CONFIG_USB_WUSB is not set | 1019 | # CONFIG_USB_WUSB is not set |
949 | # CONFIG_USB_WUSB_CBAF is not set | 1020 | # CONFIG_USB_WUSB_CBAF is not set |
950 | 1021 | ||
@@ -952,24 +1023,24 @@ CONFIG_USB_MON=y | |||
952 | # USB Host Controller Drivers | 1023 | # USB Host Controller Drivers |
953 | # | 1024 | # |
954 | # CONFIG_USB_C67X00_HCD is not set | 1025 | # CONFIG_USB_C67X00_HCD is not set |
1026 | # CONFIG_USB_OXU210HP_HCD is not set | ||
955 | # CONFIG_USB_ISP116X_HCD is not set | 1027 | # CONFIG_USB_ISP116X_HCD is not set |
956 | # CONFIG_USB_ISP1760_HCD is not set | 1028 | # CONFIG_USB_ISP1760_HCD is not set |
957 | # CONFIG_USB_ISP1362_HCD is not set | 1029 | # CONFIG_USB_ISP1362_HCD is not set |
958 | # CONFIG_USB_SL811_HCD is not set | 1030 | # CONFIG_USB_SL811_HCD is not set |
959 | # CONFIG_USB_R8A66597_HCD is not set | 1031 | # CONFIG_USB_R8A66597_HCD is not set |
960 | # CONFIG_USB_HWA_HCD is not set | 1032 | # CONFIG_USB_HWA_HCD is not set |
961 | CONFIG_USB_MUSB_HDRC=y | 1033 | CONFIG_USB_MUSB_HDRC=m |
962 | CONFIG_USB_MUSB_SOC=y | 1034 | CONFIG_USB_MUSB_SOC=y |
963 | 1035 | ||
964 | # | 1036 | # |
965 | # Blackfin high speed USB Support | 1037 | # Blackfin high speed USB Support |
966 | # | 1038 | # |
967 | CONFIG_USB_MUSB_HOST=y | 1039 | # CONFIG_USB_MUSB_HOST is not set |
968 | # CONFIG_USB_MUSB_PERIPHERAL is not set | 1040 | CONFIG_USB_MUSB_PERIPHERAL=y |
969 | # CONFIG_USB_MUSB_OTG is not set | 1041 | # CONFIG_USB_MUSB_OTG is not set |
970 | CONFIG_USB_MUSB_HDRC_HCD=y | 1042 | CONFIG_USB_GADGET_MUSB_HDRC=y |
971 | CONFIG_MUSB_PIO_ONLY=y | 1043 | CONFIG_MUSB_PIO_ONLY=y |
972 | CONFIG_MUSB_DMA_POLL=y | ||
973 | # CONFIG_USB_MUSB_DEBUG is not set | 1044 | # CONFIG_USB_MUSB_DEBUG is not set |
974 | 1045 | ||
975 | # | 1046 | # |
@@ -981,18 +1052,31 @@ CONFIG_MUSB_DMA_POLL=y | |||
981 | # CONFIG_USB_TMC is not set | 1052 | # CONFIG_USB_TMC is not set |
982 | 1053 | ||
983 | # | 1054 | # |
984 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 1055 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
985 | # | 1056 | # |
986 | 1057 | ||
987 | # | 1058 | # |
988 | # see USB_STORAGE Help for more information | 1059 | # also be needed; see USB_STORAGE Help for more info |
989 | # | 1060 | # |
1061 | CONFIG_USB_STORAGE=m | ||
1062 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1063 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1064 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1065 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1066 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1067 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1068 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1069 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1070 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1071 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1072 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
990 | # CONFIG_USB_LIBUSUAL is not set | 1073 | # CONFIG_USB_LIBUSUAL is not set |
991 | 1074 | ||
992 | # | 1075 | # |
993 | # USB Imaging devices | 1076 | # USB Imaging devices |
994 | # | 1077 | # |
995 | # CONFIG_USB_MDC800 is not set | 1078 | # CONFIG_USB_MDC800 is not set |
1079 | # CONFIG_USB_MICROTEK is not set | ||
996 | 1080 | ||
997 | # | 1081 | # |
998 | # USB port drivers | 1082 | # USB port drivers |
@@ -1013,7 +1097,6 @@ CONFIG_MUSB_DMA_POLL=y | |||
1013 | # CONFIG_USB_LED is not set | 1097 | # CONFIG_USB_LED is not set |
1014 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1098 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
1015 | # CONFIG_USB_CYTHERM is not set | 1099 | # CONFIG_USB_CYTHERM is not set |
1016 | # CONFIG_USB_PHIDGET is not set | ||
1017 | # CONFIG_USB_IDMOUSE is not set | 1100 | # CONFIG_USB_IDMOUSE is not set |
1018 | # CONFIG_USB_FTDI_ELAN is not set | 1101 | # CONFIG_USB_FTDI_ELAN is not set |
1019 | # CONFIG_USB_APPLEDISPLAY is not set | 1102 | # CONFIG_USB_APPLEDISPLAY is not set |
@@ -1021,9 +1104,50 @@ CONFIG_MUSB_DMA_POLL=y | |||
1021 | # CONFIG_USB_LD is not set | 1104 | # CONFIG_USB_LD is not set |
1022 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1105 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1023 | # CONFIG_USB_IOWARRIOR is not set | 1106 | # CONFIG_USB_IOWARRIOR is not set |
1107 | # CONFIG_USB_TEST is not set | ||
1024 | # CONFIG_USB_ISIGHTFW is not set | 1108 | # CONFIG_USB_ISIGHTFW is not set |
1025 | # CONFIG_USB_VST is not set | 1109 | # CONFIG_USB_VST is not set |
1026 | # CONFIG_USB_GADGET is not set | 1110 | CONFIG_USB_GADGET=m |
1111 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1112 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
1113 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
1114 | CONFIG_USB_GADGET_SELECTED=y | ||
1115 | # CONFIG_USB_GADGET_AT91 is not set | ||
1116 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1117 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1118 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1119 | # CONFIG_USB_GADGET_OMAP is not set | ||
1120 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1121 | # CONFIG_USB_GADGET_PXA27X is not set | ||
1122 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1123 | # CONFIG_USB_GADGET_IMX is not set | ||
1124 | # CONFIG_USB_GADGET_M66592 is not set | ||
1125 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1126 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1127 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1128 | # CONFIG_USB_GADGET_NET2272 is not set | ||
1129 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1130 | # CONFIG_USB_GADGET_GOKU is not set | ||
1131 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1132 | CONFIG_USB_GADGET_DUALSPEED=y | ||
1133 | # CONFIG_USB_ZERO is not set | ||
1134 | # CONFIG_USB_AUDIO is not set | ||
1135 | CONFIG_USB_ETH=m | ||
1136 | CONFIG_USB_ETH_RNDIS=y | ||
1137 | # CONFIG_USB_GADGETFS is not set | ||
1138 | CONFIG_USB_FILE_STORAGE=m | ||
1139 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1140 | CONFIG_USB_G_SERIAL=m | ||
1141 | # CONFIG_USB_MIDI_GADGET is not set | ||
1142 | CONFIG_USB_G_PRINTER=m | ||
1143 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
1144 | |||
1145 | # | ||
1146 | # OTG and related infrastructure | ||
1147 | # | ||
1148 | CONFIG_USB_OTG_UTILS=y | ||
1149 | # CONFIG_USB_GPIO_VBUS is not set | ||
1150 | # CONFIG_NOP_USB_XCEIV is not set | ||
1027 | # CONFIG_MMC is not set | 1151 | # CONFIG_MMC is not set |
1028 | # CONFIG_MEMSTICK is not set | 1152 | # CONFIG_MEMSTICK is not set |
1029 | # CONFIG_NEW_LEDS is not set | 1153 | # CONFIG_NEW_LEDS is not set |
@@ -1090,6 +1214,7 @@ CONFIG_RTC_INTF_DEV=y | |||
1090 | # | 1214 | # |
1091 | CONFIG_RTC_DRV_BFIN=y | 1215 | CONFIG_RTC_DRV_BFIN=y |
1092 | # CONFIG_DMADEVICES is not set | 1216 | # CONFIG_DMADEVICES is not set |
1217 | # CONFIG_AUXDISPLAY is not set | ||
1093 | # CONFIG_UIO is not set | 1218 | # CONFIG_UIO is not set |
1094 | # CONFIG_STAGING is not set | 1219 | # CONFIG_STAGING is not set |
1095 | 1220 | ||
@@ -1102,9 +1227,10 @@ CONFIG_RTC_DRV_BFIN=y | |||
1102 | # CONFIG_REISERFS_FS is not set | 1227 | # CONFIG_REISERFS_FS is not set |
1103 | # CONFIG_JFS_FS is not set | 1228 | # CONFIG_JFS_FS is not set |
1104 | # CONFIG_FS_POSIX_ACL is not set | 1229 | # CONFIG_FS_POSIX_ACL is not set |
1105 | CONFIG_FILE_LOCKING=y | ||
1106 | # CONFIG_XFS_FS is not set | 1230 | # CONFIG_XFS_FS is not set |
1107 | # CONFIG_OCFS2_FS is not set | 1231 | # CONFIG_OCFS2_FS is not set |
1232 | # CONFIG_BTRFS_FS is not set | ||
1233 | CONFIG_FILE_LOCKING=y | ||
1108 | # CONFIG_DNOTIFY is not set | 1234 | # CONFIG_DNOTIFY is not set |
1109 | CONFIG_INOTIFY=y | 1235 | CONFIG_INOTIFY=y |
1110 | CONFIG_INOTIFY_USER=y | 1236 | CONFIG_INOTIFY_USER=y |
@@ -1114,6 +1240,11 @@ CONFIG_INOTIFY_USER=y | |||
1114 | # CONFIG_FUSE_FS is not set | 1240 | # CONFIG_FUSE_FS is not set |
1115 | 1241 | ||
1116 | # | 1242 | # |
1243 | # Caches | ||
1244 | # | ||
1245 | # CONFIG_FSCACHE is not set | ||
1246 | |||
1247 | # | ||
1117 | # CD-ROM/DVD Filesystems | 1248 | # CD-ROM/DVD Filesystems |
1118 | # | 1249 | # |
1119 | # CONFIG_ISO9660_FS is not set | 1250 | # CONFIG_ISO9660_FS is not set |
@@ -1122,8 +1253,11 @@ CONFIG_INOTIFY_USER=y | |||
1122 | # | 1253 | # |
1123 | # DOS/FAT/NT Filesystems | 1254 | # DOS/FAT/NT Filesystems |
1124 | # | 1255 | # |
1125 | # CONFIG_MSDOS_FS is not set | 1256 | CONFIG_FAT_FS=y |
1126 | # CONFIG_VFAT_FS is not set | 1257 | CONFIG_MSDOS_FS=y |
1258 | CONFIG_VFAT_FS=y | ||
1259 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1260 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1127 | # CONFIG_NTFS_FS is not set | 1261 | # CONFIG_NTFS_FS is not set |
1128 | 1262 | ||
1129 | # | 1263 | # |
@@ -1135,10 +1269,7 @@ CONFIG_SYSFS=y | |||
1135 | # CONFIG_TMPFS is not set | 1269 | # CONFIG_TMPFS is not set |
1136 | # CONFIG_HUGETLB_PAGE is not set | 1270 | # CONFIG_HUGETLB_PAGE is not set |
1137 | # CONFIG_CONFIGFS_FS is not set | 1271 | # CONFIG_CONFIGFS_FS is not set |
1138 | 1272 | CONFIG_MISC_FILESYSTEMS=y | |
1139 | # | ||
1140 | # Miscellaneous filesystems | ||
1141 | # | ||
1142 | # CONFIG_ADFS_FS is not set | 1273 | # CONFIG_ADFS_FS is not set |
1143 | # CONFIG_AFFS_FS is not set | 1274 | # CONFIG_AFFS_FS is not set |
1144 | # CONFIG_HFS_FS is not set | 1275 | # CONFIG_HFS_FS is not set |
@@ -1146,9 +1277,19 @@ CONFIG_SYSFS=y | |||
1146 | # CONFIG_BEFS_FS is not set | 1277 | # CONFIG_BEFS_FS is not set |
1147 | # CONFIG_BFS_FS is not set | 1278 | # CONFIG_BFS_FS is not set |
1148 | # CONFIG_EFS_FS is not set | 1279 | # CONFIG_EFS_FS is not set |
1149 | # CONFIG_YAFFS_FS is not set | 1280 | CONFIG_JFFS2_FS=y |
1150 | # CONFIG_JFFS2_FS is not set | 1281 | CONFIG_JFFS2_FS_DEBUG=0 |
1282 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1283 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1284 | # CONFIG_JFFS2_SUMMARY is not set | ||
1285 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1286 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1287 | CONFIG_JFFS2_ZLIB=y | ||
1288 | # CONFIG_JFFS2_LZO is not set | ||
1289 | CONFIG_JFFS2_RTIME=y | ||
1290 | # CONFIG_JFFS2_RUBIN is not set | ||
1151 | # CONFIG_CRAMFS is not set | 1291 | # CONFIG_CRAMFS is not set |
1292 | # CONFIG_SQUASHFS is not set | ||
1152 | # CONFIG_VXFS_FS is not set | 1293 | # CONFIG_VXFS_FS is not set |
1153 | # CONFIG_MINIX_FS is not set | 1294 | # CONFIG_MINIX_FS is not set |
1154 | # CONFIG_OMFS_FS is not set | 1295 | # CONFIG_OMFS_FS is not set |
@@ -1157,6 +1298,7 @@ CONFIG_SYSFS=y | |||
1157 | # CONFIG_ROMFS_FS is not set | 1298 | # CONFIG_ROMFS_FS is not set |
1158 | # CONFIG_SYSV_FS is not set | 1299 | # CONFIG_SYSV_FS is not set |
1159 | # CONFIG_UFS_FS is not set | 1300 | # CONFIG_UFS_FS is not set |
1301 | # CONFIG_NILFS2_FS is not set | ||
1160 | CONFIG_NETWORK_FILESYSTEMS=y | 1302 | CONFIG_NETWORK_FILESYSTEMS=y |
1161 | CONFIG_NFS_FS=m | 1303 | CONFIG_NFS_FS=m |
1162 | CONFIG_NFS_V3=y | 1304 | CONFIG_NFS_V3=y |
@@ -1167,7 +1309,6 @@ CONFIG_LOCKD=m | |||
1167 | CONFIG_LOCKD_V4=y | 1309 | CONFIG_LOCKD_V4=y |
1168 | CONFIG_NFS_COMMON=y | 1310 | CONFIG_NFS_COMMON=y |
1169 | CONFIG_SUNRPC=m | 1311 | CONFIG_SUNRPC=m |
1170 | # CONFIG_SUNRPC_REGISTER_V4 is not set | ||
1171 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1312 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1172 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1313 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1173 | CONFIG_SMB_FS=m | 1314 | CONFIG_SMB_FS=m |
@@ -1182,9 +1323,9 @@ CONFIG_SMB_FS=m | |||
1182 | # | 1323 | # |
1183 | # CONFIG_PARTITION_ADVANCED is not set | 1324 | # CONFIG_PARTITION_ADVANCED is not set |
1184 | CONFIG_MSDOS_PARTITION=y | 1325 | CONFIG_MSDOS_PARTITION=y |
1185 | CONFIG_NLS=m | 1326 | CONFIG_NLS=y |
1186 | CONFIG_NLS_DEFAULT="iso8859-1" | 1327 | CONFIG_NLS_DEFAULT="iso8859-1" |
1187 | # CONFIG_NLS_CODEPAGE_437 is not set | 1328 | CONFIG_NLS_CODEPAGE_437=y |
1188 | # CONFIG_NLS_CODEPAGE_737 is not set | 1329 | # CONFIG_NLS_CODEPAGE_737 is not set |
1189 | # CONFIG_NLS_CODEPAGE_775 is not set | 1330 | # CONFIG_NLS_CODEPAGE_775 is not set |
1190 | # CONFIG_NLS_CODEPAGE_850 is not set | 1331 | # CONFIG_NLS_CODEPAGE_850 is not set |
@@ -1208,7 +1349,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
1208 | # CONFIG_NLS_CODEPAGE_1250 is not set | 1349 | # CONFIG_NLS_CODEPAGE_1250 is not set |
1209 | # CONFIG_NLS_CODEPAGE_1251 is not set | 1350 | # CONFIG_NLS_CODEPAGE_1251 is not set |
1210 | # CONFIG_NLS_ASCII is not set | 1351 | # CONFIG_NLS_ASCII is not set |
1211 | # CONFIG_NLS_ISO8859_1 is not set | 1352 | CONFIG_NLS_ISO8859_1=y |
1212 | # CONFIG_NLS_ISO8859_2 is not set | 1353 | # CONFIG_NLS_ISO8859_2 is not set |
1213 | # CONFIG_NLS_ISO8859_3 is not set | 1354 | # CONFIG_NLS_ISO8859_3 is not set |
1214 | # CONFIG_NLS_ISO8859_4 is not set | 1355 | # CONFIG_NLS_ISO8859_4 is not set |
@@ -1235,55 +1376,34 @@ CONFIG_FRAME_WARN=1024 | |||
1235 | # CONFIG_UNUSED_SYMBOLS is not set | 1376 | # CONFIG_UNUSED_SYMBOLS is not set |
1236 | CONFIG_DEBUG_FS=y | 1377 | CONFIG_DEBUG_FS=y |
1237 | # CONFIG_HEADERS_CHECK is not set | 1378 | # CONFIG_HEADERS_CHECK is not set |
1238 | CONFIG_DEBUG_KERNEL=y | 1379 | CONFIG_DEBUG_SECTION_MISMATCH=y |
1239 | # CONFIG_DEBUG_SHIRQ is not set | 1380 | # CONFIG_DEBUG_KERNEL is not set |
1240 | CONFIG_DETECT_SOFTLOCKUP=y | 1381 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1241 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1242 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1243 | # CONFIG_SCHED_DEBUG is not set | ||
1244 | # CONFIG_SCHEDSTATS is not set | ||
1245 | # CONFIG_TIMER_STATS is not set | ||
1246 | # CONFIG_DEBUG_OBJECTS is not set | ||
1247 | # CONFIG_DEBUG_SLAB is not set | ||
1248 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
1249 | # CONFIG_RT_MUTEX_TESTER is not set | ||
1250 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1251 | # CONFIG_DEBUG_MUTEXES is not set | ||
1252 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1253 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1254 | # CONFIG_DEBUG_KOBJECT is not set | ||
1255 | CONFIG_DEBUG_BUGVERBOSE=y | ||
1256 | # CONFIG_DEBUG_INFO is not set | ||
1257 | # CONFIG_DEBUG_VM is not set | ||
1258 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1259 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1382 | # CONFIG_DEBUG_MEMORY_INIT is not set |
1260 | # CONFIG_DEBUG_LIST is not set | ||
1261 | # CONFIG_DEBUG_SG is not set | ||
1262 | # CONFIG_FRAME_POINTER is not set | ||
1263 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
1264 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1265 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1383 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1266 | # CONFIG_BACKTRACE_SELF_TEST is not set | 1384 | CONFIG_HAVE_FUNCTION_TRACER=y |
1267 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | 1385 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y |
1268 | # CONFIG_FAULT_INJECTION is not set | 1386 | CONFIG_TRACING_SUPPORT=y |
1269 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | ||
1270 | 1387 | ||
1271 | # | 1388 | # |
1272 | # Tracers | 1389 | # Tracers |
1273 | # | 1390 | # |
1391 | # CONFIG_FUNCTION_TRACER is not set | ||
1392 | # CONFIG_IRQSOFF_TRACER is not set | ||
1274 | # CONFIG_SCHED_TRACER is not set | 1393 | # CONFIG_SCHED_TRACER is not set |
1275 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | 1394 | # CONFIG_CONTEXT_SWITCH_TRACER is not set |
1395 | # CONFIG_EVENT_TRACER is not set | ||
1276 | # CONFIG_BOOT_TRACER is not set | 1396 | # CONFIG_BOOT_TRACER is not set |
1277 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1397 | # CONFIG_TRACE_BRANCH_PROFILING is not set |
1398 | # CONFIG_STACK_TRACER is not set | ||
1399 | # CONFIG_KMEMTRACE is not set | ||
1400 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1401 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1402 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1278 | # CONFIG_SAMPLES is not set | 1403 | # CONFIG_SAMPLES is not set |
1279 | CONFIG_HAVE_ARCH_KGDB=y | 1404 | CONFIG_HAVE_ARCH_KGDB=y |
1280 | # CONFIG_KGDB is not set | ||
1281 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
1282 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
1283 | # CONFIG_KGDB_TESTCASE is not set | ||
1284 | CONFIG_DEBUG_VERBOSE=y | 1405 | CONFIG_DEBUG_VERBOSE=y |
1285 | CONFIG_DEBUG_MMRS=y | 1406 | # CONFIG_DEBUG_MMRS is not set |
1286 | # CONFIG_DEBUG_HWERR is not set | ||
1287 | # CONFIG_DEBUG_DOUBLEFAULT is not set | 1407 | # CONFIG_DEBUG_DOUBLEFAULT is not set |
1288 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1408 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1289 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1409 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
@@ -1293,9 +1413,10 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
1293 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1413 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
1294 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1414 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
1295 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1415 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1296 | # CONFIG_EARLY_PRINTK is not set | 1416 | CONFIG_EARLY_PRINTK=y |
1297 | # CONFIG_CPLB_INFO is not set | 1417 | # CONFIG_CPLB_INFO is not set |
1298 | CONFIG_ACCESS_CHECK=y | 1418 | CONFIG_ACCESS_CHECK=y |
1419 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
1299 | 1420 | ||
1300 | # | 1421 | # |
1301 | # Security options | 1422 | # Security options |
@@ -1304,9 +1425,9 @@ CONFIG_ACCESS_CHECK=y | |||
1304 | CONFIG_SECURITY=y | 1425 | CONFIG_SECURITY=y |
1305 | # CONFIG_SECURITYFS is not set | 1426 | # CONFIG_SECURITYFS is not set |
1306 | # CONFIG_SECURITY_NETWORK is not set | 1427 | # CONFIG_SECURITY_NETWORK is not set |
1428 | # CONFIG_SECURITY_PATH is not set | ||
1307 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1429 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1308 | # CONFIG_SECURITY_ROOTPLUG is not set | 1430 | # CONFIG_SECURITY_TOMOYO is not set |
1309 | CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0 | ||
1310 | CONFIG_CRYPTO=y | 1431 | CONFIG_CRYPTO=y |
1311 | 1432 | ||
1312 | # | 1433 | # |
@@ -1385,6 +1506,7 @@ CONFIG_CRYPTO=y | |||
1385 | # Compression | 1506 | # Compression |
1386 | # | 1507 | # |
1387 | # CONFIG_CRYPTO_DEFLATE is not set | 1508 | # CONFIG_CRYPTO_DEFLATE is not set |
1509 | # CONFIG_CRYPTO_ZLIB is not set | ||
1388 | # CONFIG_CRYPTO_LZO is not set | 1510 | # CONFIG_CRYPTO_LZO is not set |
1389 | 1511 | ||
1390 | # | 1512 | # |
@@ -1392,20 +1514,24 @@ CONFIG_CRYPTO=y | |||
1392 | # | 1514 | # |
1393 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1515 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
1394 | CONFIG_CRYPTO_HW=y | 1516 | CONFIG_CRYPTO_HW=y |
1517 | # CONFIG_BINARY_PRINTF is not set | ||
1395 | 1518 | ||
1396 | # | 1519 | # |
1397 | # Library routines | 1520 | # Library routines |
1398 | # | 1521 | # |
1399 | CONFIG_BITREVERSE=y | 1522 | CONFIG_BITREVERSE=y |
1523 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1400 | CONFIG_CRC_CCITT=m | 1524 | CONFIG_CRC_CCITT=m |
1401 | # CONFIG_CRC16 is not set | 1525 | # CONFIG_CRC16 is not set |
1402 | # CONFIG_CRC_T10DIF is not set | 1526 | # CONFIG_CRC_T10DIF is not set |
1403 | # CONFIG_CRC_ITU_T is not set | 1527 | CONFIG_CRC_ITU_T=y |
1404 | CONFIG_CRC32=y | 1528 | CONFIG_CRC32=y |
1405 | # CONFIG_CRC7 is not set | 1529 | CONFIG_CRC7=y |
1406 | # CONFIG_LIBCRC32C is not set | 1530 | # CONFIG_LIBCRC32C is not set |
1407 | CONFIG_ZLIB_INFLATE=y | 1531 | CONFIG_ZLIB_INFLATE=y |
1408 | CONFIG_PLIST=y | 1532 | CONFIG_ZLIB_DEFLATE=y |
1533 | CONFIG_DECOMPRESS_LZMA=y | ||
1409 | CONFIG_HAS_IOMEM=y | 1534 | CONFIG_HAS_IOMEM=y |
1410 | CONFIG_HAS_IOPORT=y | 1535 | CONFIG_HAS_IOPORT=y |
1411 | CONFIG_HAS_DMA=y | 1536 | CONFIG_HAS_DMA=y |
1537 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/CM-BF533_defconfig b/arch/blackfin/configs/CM-BF533_defconfig index ae665b93b875..df56639ab2f2 100644 --- a/arch/blackfin/configs/CM-BF533_defconfig +++ b/arch/blackfin/configs/CM-BF533_defconfig | |||
@@ -1,94 +1,110 @@ | |||
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.16 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
9 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
11 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
16 | CONFIG_GENERIC_TIME=y | ||
17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
21 | 23 | ||
22 | # | 24 | # |
23 | # Code maturity level options | 25 | # General setup |
24 | # | 26 | # |
25 | CONFIG_EXPERIMENTAL=y | 27 | CONFIG_EXPERIMENTAL=y |
26 | CONFIG_BROKEN_ON_SMP=y | 28 | CONFIG_BROKEN_ON_SMP=y |
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
28 | |||
29 | # | ||
30 | # General setup | ||
31 | # | ||
32 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
33 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
34 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
35 | # CONFIG_IPC_NS is not set | ||
36 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
37 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
38 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
39 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
40 | # CONFIG_UTS_NS is not set | ||
41 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
42 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
43 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
44 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
45 | # CONFIG_SYSFS_DEPRECATED is not set | 56 | # CONFIG_GROUP_SCHED is not set |
57 | # CONFIG_CGROUPS is not set | ||
58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
46 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
47 | # CONFIG_BLK_DEV_INITRD is not set | 60 | # CONFIG_NAMESPACES is not set |
48 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 61 | CONFIG_BLK_DEV_INITRD=y |
49 | # CONFIG_SYSCTL is not set | 62 | CONFIG_INITRAMFS_SOURCE="" |
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
66 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
67 | CONFIG_SYSCTL=y | ||
68 | CONFIG_ANON_INODES=y | ||
50 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
51 | # CONFIG_UID16 is not set | 70 | # CONFIG_UID16 is not set |
52 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
53 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
54 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
55 | # CONFIG_HOTPLUG is not set | 74 | # CONFIG_STRIP_ASM_SYMS is not set |
75 | CONFIG_HOTPLUG=y | ||
56 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
57 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
58 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
59 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
60 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
63 | CONFIG_SIGNALFD=y | 82 | CONFIG_SIGNALFD=y |
83 | CONFIG_TIMERFD=y | ||
64 | CONFIG_EVENTFD=y | 84 | CONFIG_EVENTFD=y |
85 | CONFIG_AIO=y | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
66 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 87 | CONFIG_COMPAT_BRK=y |
67 | # CONFIG_NP2 is not set | ||
68 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
69 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
70 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
71 | CONFIG_RT_MUTEXES=y | 91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y |
72 | CONFIG_TINY_SHMEM=y | 92 | # CONFIG_PROFILING is not set |
93 | # CONFIG_MARKERS is not set | ||
94 | CONFIG_HAVE_OPROFILE=y | ||
95 | # CONFIG_SLOW_WORK is not set | ||
96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
97 | CONFIG_SLABINFO=y | ||
73 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
74 | |||
75 | # | ||
76 | # Loadable module support | ||
77 | # | ||
78 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
79 | CONFIG_MODULE_UNLOAD=y | 100 | # CONFIG_MODULE_FORCE_LOAD is not set |
80 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 101 | # CONFIG_MODULE_UNLOAD is not set |
81 | # CONFIG_MODVERSIONS is not set | 102 | # CONFIG_MODVERSIONS is not set |
82 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 103 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
83 | CONFIG_KMOD=y | ||
84 | |||
85 | # | ||
86 | # Block layer | ||
87 | # | ||
88 | CONFIG_BLOCK=y | 104 | CONFIG_BLOCK=y |
89 | # CONFIG_LBD is not set | 105 | # CONFIG_LBD is not set |
90 | # CONFIG_BLK_DEV_IO_TRACE is not set | 106 | # CONFIG_BLK_DEV_BSG is not set |
91 | # CONFIG_LSF is not set | 107 | # CONFIG_BLK_DEV_INTEGRITY is not set |
92 | 108 | ||
93 | # | 109 | # |
94 | # IO Schedulers | 110 | # IO Schedulers |
@@ -96,7 +112,7 @@ CONFIG_BLOCK=y | |||
96 | CONFIG_IOSCHED_NOOP=y | 112 | CONFIG_IOSCHED_NOOP=y |
97 | # CONFIG_IOSCHED_AS is not set | 113 | # CONFIG_IOSCHED_AS is not set |
98 | # CONFIG_IOSCHED_DEADLINE is not set | 114 | # CONFIG_IOSCHED_DEADLINE is not set |
99 | CONFIG_IOSCHED_CFQ=y | 115 | # CONFIG_IOSCHED_CFQ is not set |
100 | # CONFIG_DEFAULT_AS is not set | 116 | # CONFIG_DEFAULT_AS is not set |
101 | # CONFIG_DEFAULT_DEADLINE is not set | 117 | # CONFIG_DEFAULT_DEADLINE is not set |
102 | # CONFIG_DEFAULT_CFQ is not set | 118 | # CONFIG_DEFAULT_CFQ is not set |
@@ -105,6 +121,7 @@ CONFIG_DEFAULT_IOSCHED="noop" | |||
105 | CONFIG_PREEMPT_NONE=y | 121 | CONFIG_PREEMPT_NONE=y |
106 | # CONFIG_PREEMPT_VOLUNTARY is not set | 122 | # CONFIG_PREEMPT_VOLUNTARY is not set |
107 | # CONFIG_PREEMPT is not set | 123 | # CONFIG_PREEMPT is not set |
124 | # CONFIG_FREEZER is not set | ||
108 | 125 | ||
109 | # | 126 | # |
110 | # Blackfin Processor Options | 127 | # Blackfin Processor Options |
@@ -113,6 +130,10 @@ CONFIG_PREEMPT_NONE=y | |||
113 | # | 130 | # |
114 | # Processor and Board Settings | 131 | # Processor and Board Settings |
115 | # | 132 | # |
133 | # CONFIG_BF512 is not set | ||
134 | # CONFIG_BF514 is not set | ||
135 | # CONFIG_BF516 is not set | ||
136 | # CONFIG_BF518 is not set | ||
116 | # CONFIG_BF522 is not set | 137 | # CONFIG_BF522 is not set |
117 | # CONFIG_BF523 is not set | 138 | # CONFIG_BF523 is not set |
118 | # CONFIG_BF524 is not set | 139 | # CONFIG_BF524 is not set |
@@ -125,28 +146,38 @@ CONFIG_BF533=y | |||
125 | # CONFIG_BF534 is not set | 146 | # CONFIG_BF534 is not set |
126 | # CONFIG_BF536 is not set | 147 | # CONFIG_BF536 is not set |
127 | # CONFIG_BF537 is not set | 148 | # CONFIG_BF537 is not set |
149 | # CONFIG_BF538 is not set | ||
150 | # CONFIG_BF539 is not set | ||
128 | # CONFIG_BF542 is not set | 151 | # CONFIG_BF542 is not set |
152 | # CONFIG_BF542M is not set | ||
129 | # CONFIG_BF544 is not set | 153 | # CONFIG_BF544 is not set |
154 | # CONFIG_BF544M is not set | ||
130 | # CONFIG_BF547 is not set | 155 | # CONFIG_BF547 is not set |
156 | # CONFIG_BF547M is not set | ||
131 | # CONFIG_BF548 is not set | 157 | # CONFIG_BF548 is not set |
158 | # CONFIG_BF548M is not set | ||
132 | # CONFIG_BF549 is not set | 159 | # CONFIG_BF549 is not set |
160 | # CONFIG_BF549M is not set | ||
133 | # CONFIG_BF561 is not set | 161 | # CONFIG_BF561 is not set |
162 | CONFIG_BF_REV_MIN=3 | ||
163 | CONFIG_BF_REV_MAX=6 | ||
134 | # CONFIG_BF_REV_0_0 is not set | 164 | # CONFIG_BF_REV_0_0 is not set |
135 | # CONFIG_BF_REV_0_1 is not set | 165 | # CONFIG_BF_REV_0_1 is not set |
136 | # CONFIG_BF_REV_0_2 is not set | 166 | # CONFIG_BF_REV_0_2 is not set |
137 | CONFIG_BF_REV_0_3=y | 167 | CONFIG_BF_REV_0_3=y |
138 | # CONFIG_BF_REV_0_4 is not set | 168 | # CONFIG_BF_REV_0_4 is not set |
139 | # CONFIG_BF_REV_0_5 is not set | 169 | # CONFIG_BF_REV_0_5 is not set |
170 | # CONFIG_BF_REV_0_6 is not set | ||
140 | # CONFIG_BF_REV_ANY is not set | 171 | # CONFIG_BF_REV_ANY is not set |
141 | # CONFIG_BF_REV_NONE is not set | 172 | # CONFIG_BF_REV_NONE is not set |
142 | CONFIG_BF53x=y | 173 | CONFIG_BF53x=y |
143 | CONFIG_BFIN_SINGLE_CORE=y | ||
144 | CONFIG_MEM_MT48LC16M16A2TG_75=y | 174 | CONFIG_MEM_MT48LC16M16A2TG_75=y |
145 | # CONFIG_BFIN533_EZKIT is not set | 175 | # CONFIG_BFIN533_EZKIT is not set |
146 | # CONFIG_BFIN533_STAMP is not set | 176 | # CONFIG_BFIN533_STAMP is not set |
177 | # CONFIG_BLACKSTAMP is not set | ||
147 | CONFIG_BFIN533_BLUETECHNIX_CM=y | 178 | CONFIG_BFIN533_BLUETECHNIX_CM=y |
148 | # CONFIG_H8606_HVSISTEMAS is not set | 179 | # CONFIG_H8606_HVSISTEMAS is not set |
149 | # CONFIG_GENERIC_BF533_BOARD is not set | 180 | # CONFIG_BFIN532_IP0X is not set |
150 | 181 | ||
151 | # | 182 | # |
152 | # BF533/2/1 Specific Configuration | 183 | # BF533/2/1 Specific Configuration |
@@ -188,6 +219,7 @@ CONFIG_WDTIMER=13 | |||
188 | # Board customizations | 219 | # Board customizations |
189 | # | 220 | # |
190 | # CONFIG_CMDLINE_BOOL is not set | 221 | # CONFIG_CMDLINE_BOOL is not set |
222 | CONFIG_BOOT_LOAD=0x1000 | ||
191 | 223 | ||
192 | # | 224 | # |
193 | # Clock/PLL Setup | 225 | # Clock/PLL Setup |
@@ -207,13 +239,20 @@ CONFIG_HZ_250=y | |||
207 | # CONFIG_HZ_300 is not set | 239 | # CONFIG_HZ_300 is not set |
208 | # CONFIG_HZ_1000 is not set | 240 | # CONFIG_HZ_1000 is not set |
209 | CONFIG_HZ=250 | 241 | CONFIG_HZ=250 |
242 | # CONFIG_SCHED_HRTICK is not set | ||
243 | CONFIG_GENERIC_TIME=y | ||
244 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
245 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
246 | CONFIG_TICKSOURCE_CORETMR=y | ||
247 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
248 | # CONFIG_GPTMR0_CLOCKSOURCE is not set | ||
249 | # CONFIG_NO_HZ is not set | ||
250 | # CONFIG_HIGH_RES_TIMERS is not set | ||
251 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
210 | 252 | ||
211 | # | 253 | # |
212 | # Memory Setup | 254 | # Misc |
213 | # | 255 | # |
214 | CONFIG_MAX_MEM_SIZE=32 | ||
215 | CONFIG_MEM_ADD_WIDTH=9 | ||
216 | CONFIG_BOOT_LOAD=0x1000 | ||
217 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 256 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
218 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 257 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
219 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 258 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
@@ -240,6 +279,12 @@ CONFIG_IP_CHECKSUM_L1=y | |||
240 | CONFIG_CACHELINE_ALIGNED_L1=y | 279 | CONFIG_CACHELINE_ALIGNED_L1=y |
241 | CONFIG_SYSCALL_TAB_L1=y | 280 | CONFIG_SYSCALL_TAB_L1=y |
242 | CONFIG_CPLB_SWITCH_TAB_L1=y | 281 | CONFIG_CPLB_SWITCH_TAB_L1=y |
282 | CONFIG_APP_STACK_L1=y | ||
283 | |||
284 | # | ||
285 | # Speed Optimizations | ||
286 | # | ||
287 | CONFIG_BFIN_INS_LOWOVERHEAD=y | ||
243 | CONFIG_RAMKERNEL=y | 288 | CONFIG_RAMKERNEL=y |
244 | # CONFIG_ROMKERNEL is not set | 289 | # CONFIG_ROMKERNEL is not set |
245 | CONFIG_SELECT_MEMORY_MODEL=y | 290 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -248,12 +293,16 @@ CONFIG_FLATMEM_MANUAL=y | |||
248 | # CONFIG_SPARSEMEM_MANUAL is not set | 293 | # CONFIG_SPARSEMEM_MANUAL is not set |
249 | CONFIG_FLATMEM=y | 294 | CONFIG_FLATMEM=y |
250 | CONFIG_FLAT_NODE_MEM_MAP=y | 295 | CONFIG_FLAT_NODE_MEM_MAP=y |
251 | # CONFIG_SPARSEMEM_STATIC is not set | 296 | CONFIG_PAGEFLAGS_EXTENDED=y |
252 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 297 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
253 | # CONFIG_RESOURCES_64BIT is not set | 298 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
254 | CONFIG_ZONE_DMA_FLAG=1 | 299 | CONFIG_ZONE_DMA_FLAG=1 |
255 | CONFIG_LARGE_ALLOCS=y | 300 | CONFIG_VIRT_TO_BUS=y |
301 | CONFIG_UNEVICTABLE_LRU=y | ||
302 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
303 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
256 | # CONFIG_BFIN_GPTIMERS is not set | 304 | # CONFIG_BFIN_GPTIMERS is not set |
305 | # CONFIG_DMA_UNCACHED_4M is not set | ||
257 | # CONFIG_DMA_UNCACHED_2M is not set | 306 | # CONFIG_DMA_UNCACHED_2M is not set |
258 | CONFIG_DMA_UNCACHED_1M=y | 307 | CONFIG_DMA_UNCACHED_1M=y |
259 | # CONFIG_DMA_UNCACHED_NONE is not set | 308 | # CONFIG_DMA_UNCACHED_NONE is not set |
@@ -262,10 +311,9 @@ CONFIG_DMA_UNCACHED_1M=y | |||
262 | # Cache Support | 311 | # Cache Support |
263 | # | 312 | # |
264 | CONFIG_BFIN_ICACHE=y | 313 | CONFIG_BFIN_ICACHE=y |
265 | # CONFIG_BFIN_ICACHE_LOCK is not set | 314 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
266 | CONFIG_BFIN_DCACHE=y | 315 | CONFIG_BFIN_DCACHE=y |
267 | # CONFIG_BFIN_DCACHE_BANKA is not set | 316 | # CONFIG_BFIN_DCACHE_BANKA is not set |
268 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
269 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 317 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
270 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 318 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
271 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 319 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
@@ -276,7 +324,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
276 | # CONFIG_MPU is not set | 324 | # CONFIG_MPU is not set |
277 | 325 | ||
278 | # | 326 | # |
279 | # Asynchonous Memory Configuration | 327 | # Asynchronous Memory Configuration |
280 | # | 328 | # |
281 | 329 | ||
282 | # | 330 | # |
@@ -301,12 +349,8 @@ CONFIG_BANK_3=0xFFC2 | |||
301 | # | 349 | # |
302 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 350 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
303 | # | 351 | # |
304 | # CONFIG_PCI is not set | ||
305 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 352 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
306 | 353 | # CONFIG_PCCARD is not set | |
307 | # | ||
308 | # PCCARD (PCMCIA/CardBus) support | ||
309 | # | ||
310 | 354 | ||
311 | # | 355 | # |
312 | # Executable file formats | 356 | # Executable file formats |
@@ -315,22 +359,19 @@ CONFIG_BINFMT_ELF_FDPIC=y | |||
315 | CONFIG_BINFMT_FLAT=y | 359 | CONFIG_BINFMT_FLAT=y |
316 | CONFIG_BINFMT_ZFLAT=y | 360 | CONFIG_BINFMT_ZFLAT=y |
317 | CONFIG_BINFMT_SHARED_FLAT=y | 361 | CONFIG_BINFMT_SHARED_FLAT=y |
362 | # CONFIG_HAVE_AOUT is not set | ||
318 | # CONFIG_BINFMT_MISC is not set | 363 | # CONFIG_BINFMT_MISC is not set |
319 | 364 | ||
320 | # | 365 | # |
321 | # Power management options | 366 | # Power management options |
322 | # | 367 | # |
323 | # CONFIG_PM is not set | 368 | # CONFIG_PM is not set |
324 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 369 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
325 | 370 | ||
326 | # | 371 | # |
327 | # CPU Frequency scaling | 372 | # CPU Frequency scaling |
328 | # | 373 | # |
329 | # CONFIG_CPU_FREQ is not set | 374 | # CONFIG_CPU_FREQ is not set |
330 | |||
331 | # | ||
332 | # Networking | ||
333 | # | ||
334 | CONFIG_NET=y | 375 | CONFIG_NET=y |
335 | 376 | ||
336 | # | 377 | # |
@@ -339,45 +380,13 @@ CONFIG_NET=y | |||
339 | CONFIG_PACKET=y | 380 | CONFIG_PACKET=y |
340 | # CONFIG_PACKET_MMAP is not set | 381 | # CONFIG_PACKET_MMAP is not set |
341 | CONFIG_UNIX=y | 382 | CONFIG_UNIX=y |
342 | CONFIG_XFRM=y | ||
343 | # CONFIG_XFRM_USER is not set | ||
344 | # CONFIG_XFRM_SUB_POLICY is not set | ||
345 | # CONFIG_XFRM_MIGRATE is not set | ||
346 | # CONFIG_NET_KEY is not set | 383 | # CONFIG_NET_KEY is not set |
347 | CONFIG_INET=y | 384 | # CONFIG_INET is not set |
348 | # CONFIG_IP_MULTICAST is not set | ||
349 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
350 | CONFIG_IP_FIB_HASH=y | ||
351 | # CONFIG_IP_PNP is not set | ||
352 | # CONFIG_NET_IPIP is not set | ||
353 | # CONFIG_NET_IPGRE is not set | ||
354 | # CONFIG_ARPD is not set | ||
355 | # CONFIG_SYN_COOKIES is not set | ||
356 | # CONFIG_INET_AH is not set | ||
357 | # CONFIG_INET_ESP is not set | ||
358 | # CONFIG_INET_IPCOMP is not set | ||
359 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
360 | # CONFIG_INET_TUNNEL is not set | ||
361 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
362 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
363 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
364 | # CONFIG_INET_DIAG is not set | ||
365 | CONFIG_INET_TCP_DIAG=y | ||
366 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
367 | CONFIG_TCP_CONG_CUBIC=y | ||
368 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
369 | # CONFIG_TCP_MD5SIG is not set | ||
370 | # CONFIG_IPV6 is not set | ||
371 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
372 | # CONFIG_INET6_TUNNEL is not set | ||
373 | # CONFIG_NETLABEL is not set | ||
374 | # CONFIG_NETWORK_SECMARK is not set | 385 | # CONFIG_NETWORK_SECMARK is not set |
375 | # CONFIG_NETFILTER is not set | 386 | # CONFIG_NETFILTER is not set |
376 | # CONFIG_IP_DCCP is not set | ||
377 | # CONFIG_IP_SCTP is not set | ||
378 | # CONFIG_TIPC is not set | ||
379 | # CONFIG_ATM is not set | 387 | # CONFIG_ATM is not set |
380 | # CONFIG_BRIDGE is not set | 388 | # CONFIG_BRIDGE is not set |
389 | # CONFIG_NET_DSA is not set | ||
381 | # CONFIG_VLAN_8021Q is not set | 390 | # CONFIG_VLAN_8021Q is not set |
382 | # CONFIG_DECNET is not set | 391 | # CONFIG_DECNET is not set |
383 | # CONFIG_LLC2 is not set | 392 | # CONFIG_LLC2 is not set |
@@ -385,31 +394,23 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
385 | # CONFIG_ATALK is not set | 394 | # CONFIG_ATALK is not set |
386 | # CONFIG_X25 is not set | 395 | # CONFIG_X25 is not set |
387 | # CONFIG_LAPB is not set | 396 | # CONFIG_LAPB is not set |
388 | # CONFIG_ECONET is not set | ||
389 | # CONFIG_WAN_ROUTER is not set | 397 | # CONFIG_WAN_ROUTER is not set |
390 | 398 | # CONFIG_PHONET is not set | |
391 | # | ||
392 | # QoS and/or fair queueing | ||
393 | # | ||
394 | # CONFIG_NET_SCHED is not set | 399 | # CONFIG_NET_SCHED is not set |
400 | # CONFIG_DCB is not set | ||
395 | 401 | ||
396 | # | 402 | # |
397 | # Network testing | 403 | # Network testing |
398 | # | 404 | # |
399 | # CONFIG_NET_PKTGEN is not set | 405 | # CONFIG_NET_PKTGEN is not set |
400 | # CONFIG_HAMRADIO is not set | 406 | # CONFIG_HAMRADIO is not set |
407 | # CONFIG_CAN is not set | ||
401 | # CONFIG_IRDA is not set | 408 | # CONFIG_IRDA is not set |
402 | # CONFIG_BT is not set | 409 | # CONFIG_BT is not set |
403 | # CONFIG_AF_RXRPC is not set | 410 | # CONFIG_WIRELESS is not set |
404 | 411 | # CONFIG_WIMAX is not set | |
405 | # | ||
406 | # Wireless | ||
407 | # | ||
408 | # CONFIG_CFG80211 is not set | ||
409 | # CONFIG_WIRELESS_EXT is not set | ||
410 | # CONFIG_MAC80211 is not set | ||
411 | # CONFIG_IEEE80211 is not set | ||
412 | # CONFIG_RFKILL is not set | 412 | # CONFIG_RFKILL is not set |
413 | # CONFIG_NET_9P is not set | ||
413 | 414 | ||
414 | # | 415 | # |
415 | # Device Drivers | 416 | # Device Drivers |
@@ -418,20 +419,22 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
418 | # | 419 | # |
419 | # Generic Driver Options | 420 | # Generic Driver Options |
420 | # | 421 | # |
422 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
421 | CONFIG_STANDALONE=y | 423 | CONFIG_STANDALONE=y |
422 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 424 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
425 | CONFIG_FW_LOADER=y | ||
426 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
427 | CONFIG_EXTRA_FIRMWARE="" | ||
423 | # CONFIG_SYS_HYPERVISOR is not set | 428 | # CONFIG_SYS_HYPERVISOR is not set |
424 | |||
425 | # | ||
426 | # Connector - unified userspace <-> kernelspace linker | ||
427 | # | ||
428 | # CONFIG_CONNECTOR is not set | 429 | # CONFIG_CONNECTOR is not set |
429 | CONFIG_MTD=y | 430 | CONFIG_MTD=y |
430 | # CONFIG_MTD_DEBUG is not set | 431 | # CONFIG_MTD_DEBUG is not set |
432 | # CONFIG_MTD_TESTS is not set | ||
431 | # CONFIG_MTD_CONCAT is not set | 433 | # CONFIG_MTD_CONCAT is not set |
432 | CONFIG_MTD_PARTITIONS=y | 434 | CONFIG_MTD_PARTITIONS=y |
433 | # CONFIG_MTD_REDBOOT_PARTS is not set | 435 | # CONFIG_MTD_REDBOOT_PARTS is not set |
434 | # CONFIG_MTD_CMDLINE_PARTS is not set | 436 | CONFIG_MTD_CMDLINE_PARTS=y |
437 | # CONFIG_MTD_AR7_PARTS is not set | ||
435 | 438 | ||
436 | # | 439 | # |
437 | # User Modules And Translation Layers | 440 | # User Modules And Translation Layers |
@@ -444,12 +447,15 @@ CONFIG_MTD_BLOCK=y | |||
444 | # CONFIG_INFTL is not set | 447 | # CONFIG_INFTL is not set |
445 | # CONFIG_RFD_FTL is not set | 448 | # CONFIG_RFD_FTL is not set |
446 | # CONFIG_SSFDC is not set | 449 | # CONFIG_SSFDC is not set |
450 | # CONFIG_MTD_OOPS is not set | ||
447 | 451 | ||
448 | # | 452 | # |
449 | # RAM/ROM/Flash chip drivers | 453 | # RAM/ROM/Flash chip drivers |
450 | # | 454 | # |
451 | # CONFIG_MTD_CFI is not set | 455 | CONFIG_MTD_CFI=y |
452 | # CONFIG_MTD_JEDECPROBE is not set | 456 | # CONFIG_MTD_JEDECPROBE is not set |
457 | CONFIG_MTD_GEN_PROBE=y | ||
458 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
453 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | 459 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
454 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | 460 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
455 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | 461 | CONFIG_MTD_MAP_BANK_WIDTH_4=y |
@@ -460,6 +466,11 @@ CONFIG_MTD_CFI_I1=y | |||
460 | CONFIG_MTD_CFI_I2=y | 466 | CONFIG_MTD_CFI_I2=y |
461 | # CONFIG_MTD_CFI_I4 is not set | 467 | # CONFIG_MTD_CFI_I4 is not set |
462 | # CONFIG_MTD_CFI_I8 is not set | 468 | # CONFIG_MTD_CFI_I8 is not set |
469 | CONFIG_MTD_CFI_INTELEXT=y | ||
470 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
471 | # CONFIG_MTD_CFI_STAA is not set | ||
472 | # CONFIG_MTD_PSD4256G is not set | ||
473 | CONFIG_MTD_CFI_UTIL=y | ||
463 | CONFIG_MTD_RAM=y | 474 | CONFIG_MTD_RAM=y |
464 | # CONFIG_MTD_ROM is not set | 475 | # CONFIG_MTD_ROM is not set |
465 | # CONFIG_MTD_ABSENT is not set | 476 | # CONFIG_MTD_ABSENT is not set |
@@ -468,12 +479,16 @@ CONFIG_MTD_RAM=y | |||
468 | # Mapping drivers for chip access | 479 | # Mapping drivers for chip access |
469 | # | 480 | # |
470 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 481 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
471 | CONFIG_MTD_UCLINUX=y | 482 | CONFIG_MTD_PHYSMAP=y |
483 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | ||
484 | # CONFIG_MTD_UCLINUX is not set | ||
472 | # CONFIG_MTD_PLATRAM is not set | 485 | # CONFIG_MTD_PLATRAM is not set |
473 | 486 | ||
474 | # | 487 | # |
475 | # Self-contained MTD device drivers | 488 | # Self-contained MTD device drivers |
476 | # | 489 | # |
490 | # CONFIG_MTD_DATAFLASH is not set | ||
491 | # CONFIG_MTD_M25P80 is not set | ||
477 | # CONFIG_MTD_SLRAM is not set | 492 | # CONFIG_MTD_SLRAM is not set |
478 | # CONFIG_MTD_PHRAM is not set | 493 | # CONFIG_MTD_PHRAM is not set |
479 | # CONFIG_MTD_MTDRAM is not set | 494 | # CONFIG_MTD_MTDRAM is not set |
@@ -489,36 +504,25 @@ CONFIG_MTD_UCLINUX=y | |||
489 | # CONFIG_MTD_ONENAND is not set | 504 | # CONFIG_MTD_ONENAND is not set |
490 | 505 | ||
491 | # | 506 | # |
492 | # UBI - Unsorted block images | 507 | # LPDDR flash memory drivers |
493 | # | 508 | # |
494 | # CONFIG_MTD_UBI is not set | 509 | # CONFIG_MTD_LPDDR is not set |
495 | 510 | ||
496 | # | 511 | # |
497 | # Parallel port support | 512 | # UBI - Unsorted block images |
498 | # | 513 | # |
514 | # CONFIG_MTD_UBI is not set | ||
499 | # CONFIG_PARPORT is not set | 515 | # CONFIG_PARPORT is not set |
500 | 516 | CONFIG_BLK_DEV=y | |
501 | # | ||
502 | # Plug and Play support | ||
503 | # | ||
504 | # CONFIG_PNPACPI is not set | ||
505 | |||
506 | # | ||
507 | # Block devices | ||
508 | # | ||
509 | # CONFIG_BLK_DEV_COW_COMMON is not set | 517 | # CONFIG_BLK_DEV_COW_COMMON is not set |
510 | # CONFIG_BLK_DEV_LOOP is not set | 518 | # CONFIG_BLK_DEV_LOOP is not set |
511 | # CONFIG_BLK_DEV_NBD is not set | 519 | # CONFIG_BLK_DEV_NBD is not set |
512 | CONFIG_BLK_DEV_RAM=y | 520 | # CONFIG_BLK_DEV_RAM is not set |
513 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
514 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
515 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
516 | # CONFIG_CDROM_PKTCDVD is not set | 521 | # CONFIG_CDROM_PKTCDVD is not set |
517 | # CONFIG_ATA_OVER_ETH is not set | 522 | # CONFIG_ATA_OVER_ETH is not set |
518 | 523 | # CONFIG_BLK_DEV_HD is not set | |
519 | # | 524 | # CONFIG_MISC_DEVICES is not set |
520 | # Misc devices | 525 | CONFIG_HAVE_IDE=y |
521 | # | ||
522 | # CONFIG_IDE is not set | 526 | # CONFIG_IDE is not set |
523 | 527 | ||
524 | # | 528 | # |
@@ -526,34 +530,19 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
526 | # | 530 | # |
527 | # CONFIG_RAID_ATTRS is not set | 531 | # CONFIG_RAID_ATTRS is not set |
528 | # CONFIG_SCSI is not set | 532 | # CONFIG_SCSI is not set |
533 | # CONFIG_SCSI_DMA is not set | ||
529 | # CONFIG_SCSI_NETLINK is not set | 534 | # CONFIG_SCSI_NETLINK is not set |
530 | # CONFIG_ATA is not set | 535 | # CONFIG_ATA is not set |
531 | |||
532 | # | ||
533 | # Multi-device support (RAID and LVM) | ||
534 | # | ||
535 | # CONFIG_MD is not set | 536 | # CONFIG_MD is not set |
536 | |||
537 | # | ||
538 | # Network device support | ||
539 | # | ||
540 | CONFIG_NETDEVICES=y | 537 | CONFIG_NETDEVICES=y |
538 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
541 | # CONFIG_DUMMY is not set | 539 | # CONFIG_DUMMY is not set |
542 | # CONFIG_BONDING is not set | 540 | # CONFIG_MACVLAN is not set |
543 | # CONFIG_EQUALIZER is not set | 541 | # CONFIG_EQUALIZER is not set |
544 | # CONFIG_TUN is not set | 542 | # CONFIG_TUN is not set |
545 | # CONFIG_PHYLIB is not set | 543 | # CONFIG_VETH is not set |
546 | 544 | # CONFIG_NET_ETHERNET is not set | |
547 | # | ||
548 | # Ethernet (10 or 100Mbit) | ||
549 | # | ||
550 | CONFIG_NET_ETHERNET=y | ||
551 | CONFIG_MII=y | ||
552 | CONFIG_SMC91X=y | ||
553 | # CONFIG_SMSC911X is not set | ||
554 | # CONFIG_DM9000 is not set | ||
555 | # CONFIG_NETDEV_1000 is not set | 545 | # CONFIG_NETDEV_1000 is not set |
556 | # CONFIG_AX88180 is not set | ||
557 | # CONFIG_NETDEV_10000 is not set | 546 | # CONFIG_NETDEV_10000 is not set |
558 | 547 | ||
559 | # | 548 | # |
@@ -561,22 +550,17 @@ CONFIG_SMC91X=y | |||
561 | # | 550 | # |
562 | # CONFIG_WLAN_PRE80211 is not set | 551 | # CONFIG_WLAN_PRE80211 is not set |
563 | # CONFIG_WLAN_80211 is not set | 552 | # CONFIG_WLAN_80211 is not set |
553 | |||
554 | # | ||
555 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
556 | # | ||
564 | # CONFIG_WAN is not set | 557 | # CONFIG_WAN is not set |
565 | # CONFIG_PPP is not set | 558 | # CONFIG_PPP is not set |
566 | # CONFIG_SLIP is not set | 559 | # CONFIG_SLIP is not set |
567 | # CONFIG_SHAPER is not set | ||
568 | # CONFIG_NETCONSOLE is not set | 560 | # CONFIG_NETCONSOLE is not set |
569 | # CONFIG_NETPOLL is not set | 561 | # CONFIG_NETPOLL is not set |
570 | # CONFIG_NET_POLL_CONTROLLER is not set | 562 | # CONFIG_NET_POLL_CONTROLLER is not set |
571 | |||
572 | # | ||
573 | # ISDN subsystem | ||
574 | # | ||
575 | # CONFIG_ISDN is not set | 563 | # CONFIG_ISDN is not set |
576 | |||
577 | # | ||
578 | # Telephony Support | ||
579 | # | ||
580 | # CONFIG_PHONE is not set | 564 | # CONFIG_PHONE is not set |
581 | 565 | ||
582 | # | 566 | # |
@@ -593,16 +577,15 @@ CONFIG_SMC91X=y | |||
593 | # | 577 | # |
594 | # Character devices | 578 | # Character devices |
595 | # | 579 | # |
596 | # CONFIG_AD9960 is not set | 580 | # CONFIG_BFIN_DMA_INTERFACE is not set |
597 | # CONFIG_SPI_ADC_BF533 is not set | 581 | # CONFIG_BFIN_PPI is not set |
598 | # CONFIG_BF5xx_PFLAGS is not set | 582 | # CONFIG_BFIN_PPIFCD is not set |
599 | # CONFIG_BF5xx_PPIFCD is not set | ||
600 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 583 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
601 | # CONFIG_BF5xx_PPI is not set | 584 | # CONFIG_BFIN_SPI_ADC is not set |
602 | CONFIG_BFIN_SPORT=y | 585 | # CONFIG_BFIN_SPORT is not set |
603 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
604 | # CONFIG_VT is not set | 586 | # CONFIG_VT is not set |
605 | # CONFIG_DEVKMEM is not set | 587 | # CONFIG_DEVKMEM is not set |
588 | # CONFIG_BFIN_JTAG_COMM is not set | ||
606 | # CONFIG_SERIAL_NONSTANDARD is not set | 589 | # CONFIG_SERIAL_NONSTANDARD is not set |
607 | 590 | ||
608 | # | 591 | # |
@@ -613,6 +596,7 @@ CONFIG_BFIN_SPORT=y | |||
613 | # | 596 | # |
614 | # Non-8250 serial port support | 597 | # Non-8250 serial port support |
615 | # | 598 | # |
599 | # CONFIG_SERIAL_MAX3100 is not set | ||
616 | CONFIG_SERIAL_BFIN=y | 600 | CONFIG_SERIAL_BFIN=y |
617 | CONFIG_SERIAL_BFIN_CONSOLE=y | 601 | CONFIG_SERIAL_BFIN_CONSOLE=y |
618 | CONFIG_SERIAL_BFIN_DMA=y | 602 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -623,176 +607,141 @@ CONFIG_SERIAL_CORE=y | |||
623 | CONFIG_SERIAL_CORE_CONSOLE=y | 607 | CONFIG_SERIAL_CORE_CONSOLE=y |
624 | # CONFIG_SERIAL_BFIN_SPORT is not set | 608 | # CONFIG_SERIAL_BFIN_SPORT is not set |
625 | CONFIG_UNIX98_PTYS=y | 609 | CONFIG_UNIX98_PTYS=y |
610 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
626 | # CONFIG_LEGACY_PTYS is not set | 611 | # CONFIG_LEGACY_PTYS is not set |
627 | 612 | ||
628 | # | 613 | # |
629 | # CAN, the car bus and industrial fieldbus | 614 | # CAN, the car bus and industrial fieldbus |
630 | # | 615 | # |
631 | # CONFIG_CAN4LINUX is not set | 616 | # CONFIG_CAN4LINUX is not set |
632 | |||
633 | # | ||
634 | # IPMI | ||
635 | # | ||
636 | # CONFIG_IPMI_HANDLER is not set | 617 | # CONFIG_IPMI_HANDLER is not set |
637 | # CONFIG_WATCHDOG is not set | ||
638 | # CONFIG_HW_RANDOM is not set | 618 | # CONFIG_HW_RANDOM is not set |
639 | # CONFIG_GEN_RTC is not set | ||
640 | # CONFIG_R3964 is not set | 619 | # CONFIG_R3964 is not set |
641 | # CONFIG_RAW_DRIVER is not set | 620 | # CONFIG_RAW_DRIVER is not set |
642 | |||
643 | # | ||
644 | # TPM devices | ||
645 | # | ||
646 | # CONFIG_TCG_TPM is not set | 621 | # CONFIG_TCG_TPM is not set |
647 | # CONFIG_I2C is not set | 622 | # CONFIG_I2C is not set |
648 | 623 | CONFIG_SPI=y | |
649 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 624 | CONFIG_SPI_MASTER=y |
650 | CONFIG_GPIOLIB=y | ||
651 | CONFIG_GPIO_SYSFS=y | ||
652 | 625 | ||
653 | # | 626 | # |
654 | # SPI support | 627 | # SPI Master Controller Drivers |
655 | # | 628 | # |
656 | # CONFIG_SPI is not set | 629 | CONFIG_SPI_BFIN=y |
657 | # CONFIG_SPI_MASTER is not set | 630 | # CONFIG_SPI_BFIN_LOCK is not set |
631 | # CONFIG_SPI_BFIN_SPORT is not set | ||
632 | # CONFIG_SPI_BITBANG is not set | ||
633 | # CONFIG_SPI_GPIO is not set | ||
658 | 634 | ||
659 | # | 635 | # |
660 | # Dallas's 1-wire bus | 636 | # SPI Protocol Masters |
661 | # | 637 | # |
638 | # CONFIG_SPI_SPIDEV is not set | ||
639 | # CONFIG_SPI_TLE62X0 is not set | ||
640 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
641 | # CONFIG_GPIOLIB is not set | ||
662 | # CONFIG_W1 is not set | 642 | # CONFIG_W1 is not set |
663 | CONFIG_HWMON=y | 643 | # CONFIG_POWER_SUPPLY is not set |
664 | # CONFIG_HWMON_VID is not set | 644 | # CONFIG_HWMON is not set |
665 | # CONFIG_SENSORS_ABITUGURU is not set | 645 | # CONFIG_THERMAL is not set |
666 | # CONFIG_SENSORS_F71805F is not set | 646 | # CONFIG_THERMAL_HWMON is not set |
667 | # CONFIG_SENSORS_PC87427 is not set | 647 | # CONFIG_WATCHDOG is not set |
668 | # CONFIG_SENSORS_SMSC47M1 is not set | 648 | CONFIG_SSB_POSSIBLE=y |
669 | # CONFIG_SENSORS_SMSC47B397 is not set | 649 | |
670 | # CONFIG_SENSORS_VT1211 is not set | 650 | # |
671 | # CONFIG_SENSORS_W83627HF is not set | 651 | # Sonics Silicon Backplane |
672 | # CONFIG_HWMON_DEBUG_CHIP is not set | 652 | # |
653 | # CONFIG_SSB is not set | ||
673 | 654 | ||
674 | # | 655 | # |
675 | # Multifunction device drivers | 656 | # Multifunction device drivers |
676 | # | 657 | # |
658 | # CONFIG_MFD_CORE is not set | ||
677 | # CONFIG_MFD_SM501 is not set | 659 | # CONFIG_MFD_SM501 is not set |
660 | # CONFIG_HTC_PASIC3 is not set | ||
661 | # CONFIG_MFD_TMIO is not set | ||
662 | # CONFIG_REGULATOR is not set | ||
678 | 663 | ||
679 | # | 664 | # |
680 | # Multimedia devices | 665 | # Multimedia devices |
681 | # | 666 | # |
667 | |||
668 | # | ||
669 | # Multimedia core support | ||
670 | # | ||
682 | # CONFIG_VIDEO_DEV is not set | 671 | # CONFIG_VIDEO_DEV is not set |
683 | # CONFIG_DVB_CORE is not set | 672 | # CONFIG_VIDEO_MEDIA is not set |
684 | # CONFIG_DAB is not set | ||
685 | 673 | ||
686 | # | 674 | # |
687 | # Graphics support | 675 | # Multimedia drivers |
688 | # | 676 | # |
689 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 677 | # CONFIG_DAB is not set |
690 | 678 | ||
691 | # | 679 | # |
692 | # Display device support | 680 | # Graphics support |
693 | # | 681 | # |
694 | # CONFIG_DISPLAY_SUPPORT is not set | ||
695 | # CONFIG_VGASTATE is not set | 682 | # CONFIG_VGASTATE is not set |
683 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
696 | # CONFIG_FB is not set | 684 | # CONFIG_FB is not set |
685 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
697 | 686 | ||
698 | # | 687 | # |
699 | # Sound | 688 | # Display device support |
700 | # | 689 | # |
690 | # CONFIG_DISPLAY_SUPPORT is not set | ||
701 | # CONFIG_SOUND is not set | 691 | # CONFIG_SOUND is not set |
692 | # CONFIG_USB_SUPPORT is not set | ||
693 | CONFIG_MMC=y | ||
694 | # CONFIG_MMC_DEBUG is not set | ||
695 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
702 | 696 | ||
703 | # | 697 | # |
704 | # USB support | 698 | # MMC/SD/SDIO Card Drivers |
705 | # | 699 | # |
706 | CONFIG_USB_ARCH_HAS_HCD=y | 700 | CONFIG_MMC_BLOCK=y |
707 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 701 | # CONFIG_MMC_BLOCK_BOUNCE is not set |
708 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 702 | # CONFIG_SDIO_UART is not set |
709 | # CONFIG_USB is not set | 703 | # CONFIG_MMC_TEST is not set |
710 | 704 | ||
711 | # | 705 | # |
712 | # Enable Host or Gadget support to see Inventra options | 706 | # MMC/SD/SDIO Host Controller Drivers |
713 | # | ||
714 | |||
715 | # | ||
716 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
717 | # | ||
718 | |||
719 | # | ||
720 | # USB Gadget Support | ||
721 | # | ||
722 | # CONFIG_USB_GADGET is not set | ||
723 | # CONFIG_MMC is not set | ||
724 | |||
725 | # | ||
726 | # LED devices | ||
727 | # | 707 | # |
708 | # CONFIG_MMC_SDHCI is not set | ||
709 | CONFIG_MMC_SPI=m | ||
710 | # CONFIG_MEMSTICK is not set | ||
728 | # CONFIG_NEW_LEDS is not set | 711 | # CONFIG_NEW_LEDS is not set |
729 | 712 | # CONFIG_ACCESSIBILITY is not set | |
730 | # | ||
731 | # LED drivers | ||
732 | # | ||
733 | |||
734 | # | ||
735 | # LED Triggers | ||
736 | # | ||
737 | |||
738 | # | ||
739 | # InfiniBand support | ||
740 | # | ||
741 | |||
742 | # | ||
743 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
744 | # | ||
745 | |||
746 | # | ||
747 | # Real Time Clock | ||
748 | # | ||
749 | # CONFIG_RTC_CLASS is not set | 713 | # CONFIG_RTC_CLASS is not set |
750 | 714 | # CONFIG_DMADEVICES is not set | |
751 | # | 715 | # CONFIG_AUXDISPLAY is not set |
752 | # DMA Engine support | 716 | # CONFIG_UIO is not set |
753 | # | 717 | # CONFIG_STAGING is not set |
754 | # CONFIG_DMA_ENGINE is not set | ||
755 | |||
756 | # | ||
757 | # DMA Clients | ||
758 | # | ||
759 | |||
760 | # | ||
761 | # DMA Devices | ||
762 | # | ||
763 | |||
764 | # | ||
765 | # PBX support | ||
766 | # | ||
767 | # CONFIG_PBX is not set | ||
768 | 718 | ||
769 | # | 719 | # |
770 | # File systems | 720 | # File systems |
771 | # | 721 | # |
772 | CONFIG_EXT2_FS=y | 722 | # CONFIG_EXT2_FS is not set |
773 | CONFIG_EXT2_FS_XATTR=y | ||
774 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
775 | # CONFIG_EXT2_FS_SECURITY is not set | ||
776 | # CONFIG_EXT3_FS is not set | 723 | # CONFIG_EXT3_FS is not set |
777 | # CONFIG_EXT4DEV_FS is not set | 724 | # CONFIG_EXT4_FS is not set |
778 | CONFIG_FS_MBCACHE=y | ||
779 | # CONFIG_REISERFS_FS is not set | 725 | # CONFIG_REISERFS_FS is not set |
780 | # CONFIG_JFS_FS is not set | 726 | # CONFIG_JFS_FS is not set |
781 | # CONFIG_FS_POSIX_ACL is not set | 727 | # CONFIG_FS_POSIX_ACL is not set |
782 | # CONFIG_XFS_FS is not set | 728 | # CONFIG_XFS_FS is not set |
783 | # CONFIG_GFS2_FS is not set | ||
784 | # CONFIG_OCFS2_FS is not set | 729 | # CONFIG_OCFS2_FS is not set |
785 | # CONFIG_MINIX_FS is not set | 730 | # CONFIG_BTRFS_FS is not set |
786 | # CONFIG_ROMFS_FS is not set | 731 | CONFIG_FILE_LOCKING=y |
787 | CONFIG_INOTIFY=y | ||
788 | CONFIG_INOTIFY_USER=y | ||
789 | # CONFIG_QUOTA is not set | ||
790 | # CONFIG_DNOTIFY is not set | 732 | # CONFIG_DNOTIFY is not set |
733 | # CONFIG_INOTIFY is not set | ||
734 | # CONFIG_QUOTA is not set | ||
791 | # CONFIG_AUTOFS_FS is not set | 735 | # CONFIG_AUTOFS_FS is not set |
792 | # CONFIG_AUTOFS4_FS is not set | 736 | # CONFIG_AUTOFS4_FS is not set |
793 | # CONFIG_FUSE_FS is not set | 737 | # CONFIG_FUSE_FS is not set |
794 | 738 | ||
795 | # | 739 | # |
740 | # Caches | ||
741 | # | ||
742 | # CONFIG_FSCACHE is not set | ||
743 | |||
744 | # | ||
796 | # CD-ROM/DVD Filesystems | 745 | # CD-ROM/DVD Filesystems |
797 | # | 746 | # |
798 | # CONFIG_ISO9660_FS is not set | 747 | # CONFIG_ISO9660_FS is not set |
@@ -801,8 +750,11 @@ CONFIG_INOTIFY_USER=y | |||
801 | # | 750 | # |
802 | # DOS/FAT/NT Filesystems | 751 | # DOS/FAT/NT Filesystems |
803 | # | 752 | # |
753 | CONFIG_FAT_FS=y | ||
804 | # CONFIG_MSDOS_FS is not set | 754 | # CONFIG_MSDOS_FS is not set |
805 | # CONFIG_VFAT_FS is not set | 755 | CONFIG_VFAT_FS=y |
756 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
757 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
806 | # CONFIG_NTFS_FS is not set | 758 | # CONFIG_NTFS_FS is not set |
807 | 759 | ||
808 | # | 760 | # |
@@ -813,12 +765,8 @@ CONFIG_PROC_SYSCTL=y | |||
813 | CONFIG_SYSFS=y | 765 | CONFIG_SYSFS=y |
814 | # CONFIG_TMPFS is not set | 766 | # CONFIG_TMPFS is not set |
815 | # CONFIG_HUGETLB_PAGE is not set | 767 | # CONFIG_HUGETLB_PAGE is not set |
816 | CONFIG_RAMFS=y | ||
817 | # CONFIG_CONFIGFS_FS is not set | 768 | # CONFIG_CONFIGFS_FS is not set |
818 | 769 | CONFIG_MISC_FILESYSTEMS=y | |
819 | # | ||
820 | # Miscellaneous filesystems | ||
821 | # | ||
822 | # CONFIG_ADFS_FS is not set | 770 | # CONFIG_ADFS_FS is not set |
823 | # CONFIG_AFFS_FS is not set | 771 | # CONFIG_AFFS_FS is not set |
824 | # CONFIG_HFS_FS is not set | 772 | # CONFIG_HFS_FS is not set |
@@ -826,60 +774,106 @@ CONFIG_RAMFS=y | |||
826 | # CONFIG_BEFS_FS is not set | 774 | # CONFIG_BEFS_FS is not set |
827 | # CONFIG_BFS_FS is not set | 775 | # CONFIG_BFS_FS is not set |
828 | # CONFIG_EFS_FS is not set | 776 | # CONFIG_EFS_FS is not set |
829 | # CONFIG_YAFFS_FS is not set | ||
830 | # CONFIG_JFFS2_FS is not set | 777 | # CONFIG_JFFS2_FS is not set |
831 | # CONFIG_CRAMFS is not set | 778 | # CONFIG_CRAMFS is not set |
779 | # CONFIG_SQUASHFS is not set | ||
832 | # CONFIG_VXFS_FS is not set | 780 | # CONFIG_VXFS_FS is not set |
781 | # CONFIG_MINIX_FS is not set | ||
782 | # CONFIG_OMFS_FS is not set | ||
833 | # CONFIG_HPFS_FS is not set | 783 | # CONFIG_HPFS_FS is not set |
834 | # CONFIG_QNX4FS_FS is not set | 784 | # CONFIG_QNX4FS_FS is not set |
785 | # CONFIG_ROMFS_FS is not set | ||
835 | # CONFIG_SYSV_FS is not set | 786 | # CONFIG_SYSV_FS is not set |
836 | # CONFIG_UFS_FS is not set | 787 | # CONFIG_UFS_FS is not set |
837 | 788 | # CONFIG_NILFS2_FS is not set | |
838 | # | 789 | # CONFIG_NETWORK_FILESYSTEMS is not set |
839 | # Network File Systems | ||
840 | # | ||
841 | # CONFIG_NFS_FS is not set | ||
842 | # CONFIG_NFSD is not set | ||
843 | # CONFIG_SMB_FS is not set | ||
844 | # CONFIG_CIFS is not set | ||
845 | # CONFIG_NCP_FS is not set | ||
846 | # CONFIG_CODA_FS is not set | ||
847 | # CONFIG_AFS_FS is not set | ||
848 | # CONFIG_9P_FS is not set | ||
849 | 790 | ||
850 | # | 791 | # |
851 | # Partition Types | 792 | # Partition Types |
852 | # | 793 | # |
853 | # CONFIG_PARTITION_ADVANCED is not set | 794 | # CONFIG_PARTITION_ADVANCED is not set |
854 | CONFIG_MSDOS_PARTITION=y | 795 | CONFIG_MSDOS_PARTITION=y |
855 | 796 | CONFIG_NLS=y | |
856 | # | 797 | CONFIG_NLS_DEFAULT="iso8859-1" |
857 | # Native Language Support | 798 | CONFIG_NLS_CODEPAGE_437=y |
858 | # | 799 | # CONFIG_NLS_CODEPAGE_737 is not set |
859 | # CONFIG_NLS is not set | 800 | # CONFIG_NLS_CODEPAGE_775 is not set |
860 | 801 | # CONFIG_NLS_CODEPAGE_850 is not set | |
861 | # | 802 | # CONFIG_NLS_CODEPAGE_852 is not set |
862 | # Distributed Lock Manager | 803 | # CONFIG_NLS_CODEPAGE_855 is not set |
863 | # | 804 | # CONFIG_NLS_CODEPAGE_857 is not set |
864 | # CONFIG_DLM is not set | 805 | # CONFIG_NLS_CODEPAGE_860 is not set |
865 | 806 | # CONFIG_NLS_CODEPAGE_861 is not set | |
866 | # | 807 | # CONFIG_NLS_CODEPAGE_862 is not set |
867 | # Profiling support | 808 | # CONFIG_NLS_CODEPAGE_863 is not set |
868 | # | 809 | # CONFIG_NLS_CODEPAGE_864 is not set |
869 | # CONFIG_PROFILING is not set | 810 | # CONFIG_NLS_CODEPAGE_865 is not set |
811 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
812 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
813 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
814 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
815 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
816 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
817 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
818 | # CONFIG_NLS_ISO8859_8 is not set | ||
819 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
820 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
821 | # CONFIG_NLS_ASCII is not set | ||
822 | CONFIG_NLS_ISO8859_1=y | ||
823 | # CONFIG_NLS_ISO8859_2 is not set | ||
824 | # CONFIG_NLS_ISO8859_3 is not set | ||
825 | # CONFIG_NLS_ISO8859_4 is not set | ||
826 | # CONFIG_NLS_ISO8859_5 is not set | ||
827 | # CONFIG_NLS_ISO8859_6 is not set | ||
828 | # CONFIG_NLS_ISO8859_7 is not set | ||
829 | # CONFIG_NLS_ISO8859_9 is not set | ||
830 | # CONFIG_NLS_ISO8859_13 is not set | ||
831 | # CONFIG_NLS_ISO8859_14 is not set | ||
832 | # CONFIG_NLS_ISO8859_15 is not set | ||
833 | # CONFIG_NLS_KOI8_R is not set | ||
834 | # CONFIG_NLS_KOI8_U is not set | ||
835 | # CONFIG_NLS_UTF8 is not set | ||
870 | 836 | ||
871 | # | 837 | # |
872 | # Kernel hacking | 838 | # Kernel hacking |
873 | # | 839 | # |
874 | # CONFIG_PRINTK_TIME is not set | 840 | # CONFIG_PRINTK_TIME is not set |
841 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
875 | CONFIG_ENABLE_MUST_CHECK=y | 842 | CONFIG_ENABLE_MUST_CHECK=y |
843 | CONFIG_FRAME_WARN=1024 | ||
876 | # CONFIG_MAGIC_SYSRQ is not set | 844 | # CONFIG_MAGIC_SYSRQ is not set |
877 | # CONFIG_UNUSED_SYMBOLS is not set | 845 | # CONFIG_UNUSED_SYMBOLS is not set |
878 | CONFIG_DEBUG_FS=y | 846 | CONFIG_DEBUG_FS=y |
879 | # CONFIG_HEADERS_CHECK is not set | 847 | # CONFIG_HEADERS_CHECK is not set |
848 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
880 | # CONFIG_DEBUG_KERNEL is not set | 849 | # CONFIG_DEBUG_KERNEL is not set |
881 | CONFIG_DEBUG_BUGVERBOSE=y | 850 | # CONFIG_DEBUG_BUGVERBOSE is not set |
851 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
852 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
853 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
854 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
855 | CONFIG_TRACING_SUPPORT=y | ||
856 | |||
857 | # | ||
858 | # Tracers | ||
859 | # | ||
860 | # CONFIG_FUNCTION_TRACER is not set | ||
861 | # CONFIG_IRQSOFF_TRACER is not set | ||
862 | # CONFIG_SCHED_TRACER is not set | ||
863 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
864 | # CONFIG_EVENT_TRACER is not set | ||
865 | # CONFIG_BOOT_TRACER is not set | ||
866 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
867 | # CONFIG_STACK_TRACER is not set | ||
868 | # CONFIG_KMEMTRACE is not set | ||
869 | # CONFIG_WORKQUEUE_TRACER is not set | ||
870 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
871 | # CONFIG_DYNAMIC_DEBUG is not set | ||
872 | # CONFIG_SAMPLES is not set | ||
873 | CONFIG_HAVE_ARCH_KGDB=y | ||
874 | CONFIG_DEBUG_VERBOSE=y | ||
882 | CONFIG_DEBUG_MMRS=y | 875 | CONFIG_DEBUG_MMRS=y |
876 | # CONFIG_DEBUG_DOUBLEFAULT is not set | ||
883 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 877 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
884 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 878 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
885 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 879 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
@@ -888,34 +882,39 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
888 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 882 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
889 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 883 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
890 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 884 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
891 | # CONFIG_EARLY_PRINTK is not set | 885 | CONFIG_EARLY_PRINTK=y |
892 | CONFIG_CPLB_INFO=y | 886 | CONFIG_CPLB_INFO=y |
893 | CONFIG_ACCESS_CHECK=y | 887 | CONFIG_ACCESS_CHECK=y |
888 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
894 | 889 | ||
895 | # | 890 | # |
896 | # Security options | 891 | # Security options |
897 | # | 892 | # |
898 | # CONFIG_KEYS is not set | 893 | # CONFIG_KEYS is not set |
899 | CONFIG_SECURITY=y | 894 | CONFIG_SECURITY=y |
895 | # CONFIG_SECURITYFS is not set | ||
900 | # CONFIG_SECURITY_NETWORK is not set | 896 | # CONFIG_SECURITY_NETWORK is not set |
901 | CONFIG_SECURITY_CAPABILITIES=y | 897 | # CONFIG_SECURITY_PATH is not set |
902 | 898 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | |
903 | # | 899 | # CONFIG_SECURITY_TOMOYO is not set |
904 | # Cryptographic options | ||
905 | # | ||
906 | # CONFIG_CRYPTO is not set | 900 | # CONFIG_CRYPTO is not set |
901 | # CONFIG_BINARY_PRINTF is not set | ||
907 | 902 | ||
908 | # | 903 | # |
909 | # Library routines | 904 | # Library routines |
910 | # | 905 | # |
911 | CONFIG_BITREVERSE=y | 906 | CONFIG_BITREVERSE=y |
912 | CONFIG_CRC_CCITT=m | 907 | CONFIG_GENERIC_FIND_LAST_BIT=y |
908 | CONFIG_CRC_CCITT=y | ||
913 | # CONFIG_CRC16 is not set | 909 | # CONFIG_CRC16 is not set |
914 | # CONFIG_CRC_ITU_T is not set | 910 | # CONFIG_CRC_T10DIF is not set |
911 | CONFIG_CRC_ITU_T=y | ||
915 | CONFIG_CRC32=y | 912 | CONFIG_CRC32=y |
913 | CONFIG_CRC7=y | ||
916 | # CONFIG_LIBCRC32C is not set | 914 | # CONFIG_LIBCRC32C is not set |
917 | CONFIG_ZLIB_INFLATE=y | 915 | CONFIG_ZLIB_INFLATE=y |
918 | CONFIG_PLIST=y | 916 | CONFIG_DECOMPRESS_LZMA=y |
919 | CONFIG_HAS_IOMEM=y | 917 | CONFIG_HAS_IOMEM=y |
920 | CONFIG_HAS_IOPORT=y | 918 | CONFIG_HAS_IOPORT=y |
921 | CONFIG_HAS_DMA=y | 919 | CONFIG_HAS_DMA=y |
920 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/CM-BF537E_defconfig b/arch/blackfin/configs/CM-BF537E_defconfig index d74b6f4db35d..22e565c51d66 100644 --- a/arch/blackfin/configs/CM-BF537E_defconfig +++ b/arch/blackfin/configs/CM-BF537E_defconfig | |||
@@ -1,13 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.28.10 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # Wed Jun 3 06:27:41 2009 | ||
5 | # | 4 | # |
6 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
7 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
10 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
11 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
@@ -16,6 +16,9 @@ CONFIG_GENERIC_IRQ_PROBE=y | |||
16 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
17 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
20 | 23 | ||
21 | # | 24 | # |
@@ -26,21 +29,40 @@ CONFIG_BROKEN_ON_SMP=y | |||
26 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
27 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
28 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
29 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
30 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
31 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
32 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
33 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
34 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
35 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
36 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
37 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
38 | # CONFIG_CGROUPS is not set | ||
39 | # CONFIG_GROUP_SCHED is not set | 56 | # CONFIG_GROUP_SCHED is not set |
57 | # CONFIG_CGROUPS is not set | ||
40 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | 58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
41 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
42 | # CONFIG_NAMESPACES is not set | 60 | # CONFIG_NAMESPACES is not set |
43 | # CONFIG_BLK_DEV_INITRD is not set | 61 | CONFIG_BLK_DEV_INITRD=y |
62 | CONFIG_INITRAMFS_SOURCE="" | ||
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
44 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
45 | CONFIG_SYSCTL=y | 67 | CONFIG_SYSCTL=y |
46 | CONFIG_ANON_INODES=y | 68 | CONFIG_ANON_INODES=y |
@@ -49,7 +71,8 @@ CONFIG_EMBEDDED=y | |||
49 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
50 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
51 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
52 | # CONFIG_HOTPLUG is not set | 74 | # CONFIG_STRIP_ASM_SYMS is not set |
75 | CONFIG_HOTPLUG=y | ||
53 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
54 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
55 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
@@ -65,12 +88,13 @@ CONFIG_COMPAT_BRK=y | |||
65 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
66 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
67 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
68 | # CONFIG_PROFILING is not set | 92 | # CONFIG_PROFILING is not set |
69 | # CONFIG_MARKERS is not set | 93 | # CONFIG_MARKERS is not set |
70 | CONFIG_HAVE_OPROFILE=y | 94 | CONFIG_HAVE_OPROFILE=y |
95 | # CONFIG_SLOW_WORK is not set | ||
71 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
72 | CONFIG_SLABINFO=y | 97 | CONFIG_SLABINFO=y |
73 | CONFIG_TINY_SHMEM=y | ||
74 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
75 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
76 | # CONFIG_MODULE_FORCE_LOAD is not set | 100 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -78,11 +102,8 @@ CONFIG_MODULE_UNLOAD=y | |||
78 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
79 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
80 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
81 | CONFIG_KMOD=y | ||
82 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
83 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
84 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
85 | # CONFIG_LSF is not set | ||
86 | # CONFIG_BLK_DEV_BSG is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
87 | # CONFIG_BLK_DEV_INTEGRITY is not set | 108 | # CONFIG_BLK_DEV_INTEGRITY is not set |
88 | 109 | ||
@@ -98,7 +119,6 @@ CONFIG_IOSCHED_CFQ=y | |||
98 | # CONFIG_DEFAULT_CFQ is not set | 119 | # CONFIG_DEFAULT_CFQ is not set |
99 | CONFIG_DEFAULT_NOOP=y | 120 | CONFIG_DEFAULT_NOOP=y |
100 | CONFIG_DEFAULT_IOSCHED="noop" | 121 | CONFIG_DEFAULT_IOSCHED="noop" |
101 | CONFIG_CLASSIC_RCU=y | ||
102 | CONFIG_PREEMPT_NONE=y | 122 | CONFIG_PREEMPT_NONE=y |
103 | # CONFIG_PREEMPT_VOLUNTARY is not set | 123 | # CONFIG_PREEMPT_VOLUNTARY is not set |
104 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
@@ -181,7 +201,8 @@ CONFIG_IRQ_MEM_DMA1=13 | |||
181 | CONFIG_IRQ_WATCH=13 | 201 | CONFIG_IRQ_WATCH=13 |
182 | CONFIG_IRQ_SPI=10 | 202 | CONFIG_IRQ_SPI=10 |
183 | # CONFIG_BFIN537_STAMP is not set | 203 | # CONFIG_BFIN537_STAMP is not set |
184 | CONFIG_BFIN537_BLUETECHNIX_CM=y | 204 | CONFIG_BFIN537_BLUETECHNIX_CM_E=y |
205 | # CONFIG_BFIN537_BLUETECHNIX_CM_U is not set | ||
185 | # CONFIG_BFIN537_BLUETECHNIX_TCM is not set | 206 | # CONFIG_BFIN537_BLUETECHNIX_TCM is not set |
186 | # CONFIG_PNAV10 is not set | 207 | # CONFIG_PNAV10 is not set |
187 | # CONFIG_CAMSIG_MINOTAUR is not set | 208 | # CONFIG_CAMSIG_MINOTAUR is not set |
@@ -283,10 +304,12 @@ CONFIG_FLATMEM=y | |||
283 | CONFIG_FLAT_NODE_MEM_MAP=y | 304 | CONFIG_FLAT_NODE_MEM_MAP=y |
284 | CONFIG_PAGEFLAGS_EXTENDED=y | 305 | CONFIG_PAGEFLAGS_EXTENDED=y |
285 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 306 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
286 | # CONFIG_RESOURCES_64BIT is not set | ||
287 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 307 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
288 | CONFIG_ZONE_DMA_FLAG=1 | 308 | CONFIG_ZONE_DMA_FLAG=1 |
289 | CONFIG_VIRT_TO_BUS=y | 309 | CONFIG_VIRT_TO_BUS=y |
310 | CONFIG_UNEVICTABLE_LRU=y | ||
311 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
312 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
290 | # CONFIG_BFIN_GPTIMERS is not set | 313 | # CONFIG_BFIN_GPTIMERS is not set |
291 | # CONFIG_DMA_UNCACHED_4M is not set | 314 | # CONFIG_DMA_UNCACHED_4M is not set |
292 | # CONFIG_DMA_UNCACHED_2M is not set | 315 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -297,10 +320,9 @@ CONFIG_DMA_UNCACHED_1M=y | |||
297 | # Cache Support | 320 | # Cache Support |
298 | # | 321 | # |
299 | CONFIG_BFIN_ICACHE=y | 322 | CONFIG_BFIN_ICACHE=y |
300 | # CONFIG_BFIN_ICACHE_LOCK is not set | 323 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
301 | CONFIG_BFIN_DCACHE=y | 324 | CONFIG_BFIN_DCACHE=y |
302 | # CONFIG_BFIN_DCACHE_BANKA is not set | 325 | # CONFIG_BFIN_DCACHE_BANKA is not set |
303 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
304 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 326 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
305 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 327 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
306 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 328 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
@@ -311,7 +333,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
311 | # CONFIG_MPU is not set | 333 | # CONFIG_MPU is not set |
312 | 334 | ||
313 | # | 335 | # |
314 | # Asynchonous Memory Configuration | 336 | # Asynchronous Memory Configuration |
315 | # | 337 | # |
316 | 338 | ||
317 | # | 339 | # |
@@ -337,6 +359,7 @@ CONFIG_BANK_3=0xFFC2 | |||
337 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 359 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
338 | # | 360 | # |
339 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 361 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
362 | # CONFIG_PCCARD is not set | ||
340 | 363 | ||
341 | # | 364 | # |
342 | # Executable file formats | 365 | # Executable file formats |
@@ -366,11 +389,6 @@ CONFIG_NET=y | |||
366 | CONFIG_PACKET=y | 389 | CONFIG_PACKET=y |
367 | # CONFIG_PACKET_MMAP is not set | 390 | # CONFIG_PACKET_MMAP is not set |
368 | CONFIG_UNIX=y | 391 | CONFIG_UNIX=y |
369 | CONFIG_XFRM=y | ||
370 | # CONFIG_XFRM_USER is not set | ||
371 | # CONFIG_XFRM_SUB_POLICY is not set | ||
372 | # CONFIG_XFRM_MIGRATE is not set | ||
373 | # CONFIG_XFRM_STATISTICS is not set | ||
374 | # CONFIG_NET_KEY is not set | 392 | # CONFIG_NET_KEY is not set |
375 | CONFIG_INET=y | 393 | CONFIG_INET=y |
376 | # CONFIG_IP_MULTICAST is not set | 394 | # CONFIG_IP_MULTICAST is not set |
@@ -394,7 +412,6 @@ CONFIG_IP_PNP=y | |||
394 | # CONFIG_INET_XFRM_MODE_BEET is not set | 412 | # CONFIG_INET_XFRM_MODE_BEET is not set |
395 | # CONFIG_INET_LRO is not set | 413 | # CONFIG_INET_LRO is not set |
396 | # CONFIG_INET_DIAG is not set | 414 | # CONFIG_INET_DIAG is not set |
397 | CONFIG_INET_TCP_DIAG=y | ||
398 | # CONFIG_TCP_CONG_ADVANCED is not set | 415 | # CONFIG_TCP_CONG_ADVANCED is not set |
399 | CONFIG_TCP_CONG_CUBIC=y | 416 | CONFIG_TCP_CONG_CUBIC=y |
400 | CONFIG_DEFAULT_TCP_CONG="cubic" | 417 | CONFIG_DEFAULT_TCP_CONG="cubic" |
@@ -418,7 +435,9 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
418 | # CONFIG_LAPB is not set | 435 | # CONFIG_LAPB is not set |
419 | # CONFIG_ECONET is not set | 436 | # CONFIG_ECONET is not set |
420 | # CONFIG_WAN_ROUTER is not set | 437 | # CONFIG_WAN_ROUTER is not set |
438 | # CONFIG_PHONET is not set | ||
421 | # CONFIG_NET_SCHED is not set | 439 | # CONFIG_NET_SCHED is not set |
440 | # CONFIG_DCB is not set | ||
422 | 441 | ||
423 | # | 442 | # |
424 | # Network testing | 443 | # Network testing |
@@ -429,8 +448,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
429 | # CONFIG_IRDA is not set | 448 | # CONFIG_IRDA is not set |
430 | # CONFIG_BT is not set | 449 | # CONFIG_BT is not set |
431 | # CONFIG_AF_RXRPC is not set | 450 | # CONFIG_AF_RXRPC is not set |
432 | # CONFIG_PHONET is not set | ||
433 | # CONFIG_WIRELESS is not set | 451 | # CONFIG_WIRELESS is not set |
452 | # CONFIG_WIMAX is not set | ||
434 | # CONFIG_RFKILL is not set | 453 | # CONFIG_RFKILL is not set |
435 | # CONFIG_NET_9P is not set | 454 | # CONFIG_NET_9P is not set |
436 | 455 | ||
@@ -441,16 +460,21 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
441 | # | 460 | # |
442 | # Generic Driver Options | 461 | # Generic Driver Options |
443 | # | 462 | # |
463 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
444 | CONFIG_STANDALONE=y | 464 | CONFIG_STANDALONE=y |
445 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 465 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
466 | CONFIG_FW_LOADER=y | ||
467 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
468 | CONFIG_EXTRA_FIRMWARE="" | ||
446 | # CONFIG_SYS_HYPERVISOR is not set | 469 | # CONFIG_SYS_HYPERVISOR is not set |
447 | # CONFIG_CONNECTOR is not set | 470 | # CONFIG_CONNECTOR is not set |
448 | CONFIG_MTD=y | 471 | CONFIG_MTD=y |
449 | # CONFIG_MTD_DEBUG is not set | 472 | # CONFIG_MTD_DEBUG is not set |
473 | # CONFIG_MTD_TESTS is not set | ||
450 | # CONFIG_MTD_CONCAT is not set | 474 | # CONFIG_MTD_CONCAT is not set |
451 | CONFIG_MTD_PARTITIONS=y | 475 | CONFIG_MTD_PARTITIONS=y |
452 | # CONFIG_MTD_REDBOOT_PARTS is not set | 476 | # CONFIG_MTD_REDBOOT_PARTS is not set |
453 | # CONFIG_MTD_CMDLINE_PARTS is not set | 477 | CONFIG_MTD_CMDLINE_PARTS=y |
454 | # CONFIG_MTD_AR7_PARTS is not set | 478 | # CONFIG_MTD_AR7_PARTS is not set |
455 | 479 | ||
456 | # | 480 | # |
@@ -486,22 +510,26 @@ CONFIG_MTD_CFI_I2=y | |||
486 | CONFIG_MTD_CFI_INTELEXT=y | 510 | CONFIG_MTD_CFI_INTELEXT=y |
487 | # CONFIG_MTD_CFI_AMDSTD is not set | 511 | # CONFIG_MTD_CFI_AMDSTD is not set |
488 | # CONFIG_MTD_CFI_STAA is not set | 512 | # CONFIG_MTD_CFI_STAA is not set |
513 | # CONFIG_MTD_PSD4256G is not set | ||
489 | CONFIG_MTD_CFI_UTIL=y | 514 | CONFIG_MTD_CFI_UTIL=y |
490 | CONFIG_MTD_RAM=y | 515 | CONFIG_MTD_RAM=y |
491 | # CONFIG_MTD_ROM is not set | 516 | CONFIG_MTD_ROM=m |
492 | # CONFIG_MTD_ABSENT is not set | 517 | # CONFIG_MTD_ABSENT is not set |
493 | 518 | ||
494 | # | 519 | # |
495 | # Mapping drivers for chip access | 520 | # Mapping drivers for chip access |
496 | # | 521 | # |
497 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 522 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
523 | # CONFIG_MTD_PHYSMAP is not set | ||
498 | CONFIG_MTD_GPIO_ADDR=y | 524 | CONFIG_MTD_GPIO_ADDR=y |
499 | CONFIG_MTD_UCLINUX=y | 525 | # CONFIG_MTD_UCLINUX is not set |
500 | # CONFIG_MTD_PLATRAM is not set | 526 | # CONFIG_MTD_PLATRAM is not set |
501 | 527 | ||
502 | # | 528 | # |
503 | # Self-contained MTD device drivers | 529 | # Self-contained MTD device drivers |
504 | # | 530 | # |
531 | # CONFIG_MTD_DATAFLASH is not set | ||
532 | # CONFIG_MTD_M25P80 is not set | ||
505 | # CONFIG_MTD_SLRAM is not set | 533 | # CONFIG_MTD_SLRAM is not set |
506 | # CONFIG_MTD_PHRAM is not set | 534 | # CONFIG_MTD_PHRAM is not set |
507 | # CONFIG_MTD_MTDRAM is not set | 535 | # CONFIG_MTD_MTDRAM is not set |
@@ -517,6 +545,11 @@ CONFIG_MTD_UCLINUX=y | |||
517 | # CONFIG_MTD_ONENAND is not set | 545 | # CONFIG_MTD_ONENAND is not set |
518 | 546 | ||
519 | # | 547 | # |
548 | # LPDDR flash memory drivers | ||
549 | # | ||
550 | # CONFIG_MTD_LPDDR is not set | ||
551 | |||
552 | # | ||
520 | # UBI - Unsorted block images | 553 | # UBI - Unsorted block images |
521 | # | 554 | # |
522 | # CONFIG_MTD_UBI is not set | 555 | # CONFIG_MTD_UBI is not set |
@@ -533,9 +566,14 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
533 | # CONFIG_ATA_OVER_ETH is not set | 566 | # CONFIG_ATA_OVER_ETH is not set |
534 | # CONFIG_BLK_DEV_HD is not set | 567 | # CONFIG_BLK_DEV_HD is not set |
535 | CONFIG_MISC_DEVICES=y | 568 | CONFIG_MISC_DEVICES=y |
536 | # CONFIG_EEPROM_93CX6 is not set | ||
537 | # CONFIG_ENCLOSURE_SERVICES is not set | 569 | # CONFIG_ENCLOSURE_SERVICES is not set |
538 | # CONFIG_C2PORT is not set | 570 | # CONFIG_C2PORT is not set |
571 | |||
572 | # | ||
573 | # EEPROM support | ||
574 | # | ||
575 | # CONFIG_EEPROM_AT25 is not set | ||
576 | # CONFIG_EEPROM_93CX6 is not set | ||
539 | CONFIG_HAVE_IDE=y | 577 | CONFIG_HAVE_IDE=y |
540 | # CONFIG_IDE is not set | 578 | # CONFIG_IDE is not set |
541 | 579 | ||
@@ -549,6 +587,7 @@ CONFIG_HAVE_IDE=y | |||
549 | # CONFIG_ATA is not set | 587 | # CONFIG_ATA is not set |
550 | # CONFIG_MD is not set | 588 | # CONFIG_MD is not set |
551 | CONFIG_NETDEVICES=y | 589 | CONFIG_NETDEVICES=y |
590 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
552 | # CONFIG_DUMMY is not set | 591 | # CONFIG_DUMMY is not set |
553 | # CONFIG_BONDING is not set | 592 | # CONFIG_BONDING is not set |
554 | # CONFIG_MACVLAN is not set | 593 | # CONFIG_MACVLAN is not set |
@@ -570,6 +609,9 @@ CONFIG_PHYLIB=y | |||
570 | # CONFIG_BROADCOM_PHY is not set | 609 | # CONFIG_BROADCOM_PHY is not set |
571 | # CONFIG_ICPLUS_PHY is not set | 610 | # CONFIG_ICPLUS_PHY is not set |
572 | # CONFIG_REALTEK_PHY is not set | 611 | # CONFIG_REALTEK_PHY is not set |
612 | # CONFIG_NATIONAL_PHY is not set | ||
613 | # CONFIG_STE10XP is not set | ||
614 | # CONFIG_LSI_ET1011C_PHY is not set | ||
573 | # CONFIG_FIXED_PHY is not set | 615 | # CONFIG_FIXED_PHY is not set |
574 | # CONFIG_MDIO_BITBANG is not set | 616 | # CONFIG_MDIO_BITBANG is not set |
575 | CONFIG_NET_ETHERNET=y | 617 | CONFIG_NET_ETHERNET=y |
@@ -580,8 +622,11 @@ CONFIG_BFIN_TX_DESC_NUM=10 | |||
580 | CONFIG_BFIN_RX_DESC_NUM=20 | 622 | CONFIG_BFIN_RX_DESC_NUM=20 |
581 | # CONFIG_BFIN_MAC_RMII is not set | 623 | # CONFIG_BFIN_MAC_RMII is not set |
582 | # CONFIG_SMC91X is not set | 624 | # CONFIG_SMC91X is not set |
583 | # CONFIG_SMSC911X is not set | ||
584 | # CONFIG_DM9000 is not set | 625 | # CONFIG_DM9000 is not set |
626 | # CONFIG_ENC28J60 is not set | ||
627 | # CONFIG_ETHOC is not set | ||
628 | # CONFIG_SMSC911X is not set | ||
629 | # CONFIG_DNET is not set | ||
585 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 630 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
586 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 631 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
587 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 632 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
@@ -598,7 +643,10 @@ CONFIG_BFIN_RX_DESC_NUM=20 | |||
598 | # | 643 | # |
599 | # CONFIG_WLAN_PRE80211 is not set | 644 | # CONFIG_WLAN_PRE80211 is not set |
600 | # CONFIG_WLAN_80211 is not set | 645 | # CONFIG_WLAN_80211 is not set |
601 | # CONFIG_IWLWIFI_LEDS is not set | 646 | |
647 | # | ||
648 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
649 | # | ||
602 | # CONFIG_WAN is not set | 650 | # CONFIG_WAN is not set |
603 | # CONFIG_PPP is not set | 651 | # CONFIG_PPP is not set |
604 | # CONFIG_SLIP is not set | 652 | # CONFIG_SLIP is not set |
@@ -622,15 +670,12 @@ CONFIG_BFIN_RX_DESC_NUM=20 | |||
622 | # | 670 | # |
623 | # Character devices | 671 | # Character devices |
624 | # | 672 | # |
625 | # CONFIG_AD9960 is not set | ||
626 | CONFIG_BFIN_DMA_INTERFACE=m | 673 | CONFIG_BFIN_DMA_INTERFACE=m |
627 | # CONFIG_BFIN_PPI is not set | 674 | # CONFIG_BFIN_PPI is not set |
628 | # CONFIG_BFIN_PPIFCD is not set | 675 | # CONFIG_BFIN_PPIFCD is not set |
629 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 676 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
630 | # CONFIG_BFIN_SPI_ADC is not set | 677 | # CONFIG_BFIN_SPI_ADC is not set |
631 | CONFIG_BFIN_SPORT=y | 678 | CONFIG_BFIN_SPORT=y |
632 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
633 | # CONFIG_SIMPLE_GPIO is not set | ||
634 | # CONFIG_VT is not set | 679 | # CONFIG_VT is not set |
635 | # CONFIG_DEVKMEM is not set | 680 | # CONFIG_DEVKMEM is not set |
636 | # CONFIG_BFIN_JTAG_COMM is not set | 681 | # CONFIG_BFIN_JTAG_COMM is not set |
@@ -644,6 +689,7 @@ CONFIG_BFIN_SPORT=y | |||
644 | # | 689 | # |
645 | # Non-8250 serial port support | 690 | # Non-8250 serial port support |
646 | # | 691 | # |
692 | # CONFIG_SERIAL_MAX3100 is not set | ||
647 | CONFIG_SERIAL_BFIN=y | 693 | CONFIG_SERIAL_BFIN=y |
648 | CONFIG_SERIAL_BFIN_CONSOLE=y | 694 | CONFIG_SERIAL_BFIN_CONSOLE=y |
649 | CONFIG_SERIAL_BFIN_DMA=y | 695 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -656,6 +702,7 @@ CONFIG_SERIAL_CORE=y | |||
656 | CONFIG_SERIAL_CORE_CONSOLE=y | 702 | CONFIG_SERIAL_CORE_CONSOLE=y |
657 | # CONFIG_SERIAL_BFIN_SPORT is not set | 703 | # CONFIG_SERIAL_BFIN_SPORT is not set |
658 | CONFIG_UNIX98_PTYS=y | 704 | CONFIG_UNIX98_PTYS=y |
705 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
659 | # CONFIG_LEGACY_PTYS is not set | 706 | # CONFIG_LEGACY_PTYS is not set |
660 | 707 | ||
661 | # | 708 | # |
@@ -668,7 +715,23 @@ CONFIG_UNIX98_PTYS=y | |||
668 | # CONFIG_RAW_DRIVER is not set | 715 | # CONFIG_RAW_DRIVER is not set |
669 | # CONFIG_TCG_TPM is not set | 716 | # CONFIG_TCG_TPM is not set |
670 | # CONFIG_I2C is not set | 717 | # CONFIG_I2C is not set |
671 | # CONFIG_SPI is not set | 718 | CONFIG_SPI=y |
719 | CONFIG_SPI_MASTER=y | ||
720 | |||
721 | # | ||
722 | # SPI Master Controller Drivers | ||
723 | # | ||
724 | CONFIG_SPI_BFIN=y | ||
725 | # CONFIG_SPI_BFIN_LOCK is not set | ||
726 | # CONFIG_SPI_BFIN_SPORT is not set | ||
727 | # CONFIG_SPI_BITBANG is not set | ||
728 | # CONFIG_SPI_GPIO is not set | ||
729 | |||
730 | # | ||
731 | # SPI Protocol Masters | ||
732 | # | ||
733 | # CONFIG_SPI_SPIDEV is not set | ||
734 | # CONFIG_SPI_TLE62X0 is not set | ||
672 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 735 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
673 | CONFIG_GPIOLIB=y | 736 | CONFIG_GPIOLIB=y |
674 | CONFIG_GPIO_SYSFS=y | 737 | CONFIG_GPIO_SYSFS=y |
@@ -688,15 +751,21 @@ CONFIG_GPIO_SYSFS=y | |||
688 | # | 751 | # |
689 | # SPI GPIO expanders: | 752 | # SPI GPIO expanders: |
690 | # | 753 | # |
754 | # CONFIG_GPIO_MAX7301 is not set | ||
755 | # CONFIG_GPIO_MCP23S08 is not set | ||
691 | # CONFIG_W1 is not set | 756 | # CONFIG_W1 is not set |
692 | # CONFIG_POWER_SUPPLY is not set | 757 | # CONFIG_POWER_SUPPLY is not set |
693 | CONFIG_HWMON=y | 758 | CONFIG_HWMON=y |
694 | # CONFIG_HWMON_VID is not set | 759 | # CONFIG_HWMON_VID is not set |
760 | # CONFIG_SENSORS_ADCXX is not set | ||
695 | # CONFIG_SENSORS_F71805F is not set | 761 | # CONFIG_SENSORS_F71805F is not set |
696 | # CONFIG_SENSORS_F71882FG is not set | 762 | # CONFIG_SENSORS_F71882FG is not set |
697 | # CONFIG_SENSORS_IT87 is not set | 763 | # CONFIG_SENSORS_IT87 is not set |
764 | # CONFIG_SENSORS_LM70 is not set | ||
765 | # CONFIG_SENSORS_MAX1111 is not set | ||
698 | # CONFIG_SENSORS_PC87360 is not set | 766 | # CONFIG_SENSORS_PC87360 is not set |
699 | # CONFIG_SENSORS_PC87427 is not set | 767 | # CONFIG_SENSORS_PC87427 is not set |
768 | # CONFIG_SENSORS_SHT15 is not set | ||
700 | # CONFIG_SENSORS_SMSC47M1 is not set | 769 | # CONFIG_SENSORS_SMSC47M1 is not set |
701 | # CONFIG_SENSORS_SMSC47B397 is not set | 770 | # CONFIG_SENSORS_SMSC47B397 is not set |
702 | # CONFIG_SENSORS_VT1211 is not set | 771 | # CONFIG_SENSORS_VT1211 is not set |
@@ -758,21 +827,74 @@ CONFIG_USB_ARCH_HAS_HCD=y | |||
758 | # CONFIG_USB is not set | 827 | # CONFIG_USB is not set |
759 | # CONFIG_USB_OTG_WHITELIST is not set | 828 | # CONFIG_USB_OTG_WHITELIST is not set |
760 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | 829 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set |
761 | 830 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | |
762 | # | 831 | |
763 | # Enable Host or Gadget support to see Inventra options | 832 | # |
764 | # | 833 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
765 | 834 | # | |
766 | # | 835 | CONFIG_USB_GADGET=m |
767 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; | 836 | # CONFIG_USB_GADGET_DEBUG_FILES is not set |
768 | # | 837 | # CONFIG_USB_GADGET_DEBUG_FS is not set |
769 | # CONFIG_USB_GADGET is not set | 838 | CONFIG_USB_GADGET_VBUS_DRAW=2 |
770 | # CONFIG_MMC is not set | 839 | CONFIG_USB_GADGET_SELECTED=y |
840 | # CONFIG_USB_GADGET_AT91 is not set | ||
841 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
842 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
843 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
844 | # CONFIG_USB_GADGET_OMAP is not set | ||
845 | # CONFIG_USB_GADGET_PXA25X is not set | ||
846 | # CONFIG_USB_GADGET_PXA27X is not set | ||
847 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
848 | # CONFIG_USB_GADGET_IMX is not set | ||
849 | # CONFIG_USB_GADGET_M66592 is not set | ||
850 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
851 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
852 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
853 | CONFIG_USB_GADGET_NET2272=y | ||
854 | CONFIG_USB_NET2272=m | ||
855 | # CONFIG_USB_GADGET_NET2280 is not set | ||
856 | # CONFIG_USB_GADGET_GOKU is not set | ||
857 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
858 | CONFIG_USB_GADGET_DUALSPEED=y | ||
859 | # CONFIG_USB_ZERO is not set | ||
860 | # CONFIG_USB_AUDIO is not set | ||
861 | CONFIG_USB_ETH=m | ||
862 | CONFIG_USB_ETH_RNDIS=y | ||
863 | # CONFIG_USB_GADGETFS is not set | ||
864 | # CONFIG_USB_FILE_STORAGE is not set | ||
865 | # CONFIG_USB_G_SERIAL is not set | ||
866 | # CONFIG_USB_MIDI_GADGET is not set | ||
867 | # CONFIG_USB_G_PRINTER is not set | ||
868 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
869 | |||
870 | # | ||
871 | # OTG and related infrastructure | ||
872 | # | ||
873 | # CONFIG_USB_GPIO_VBUS is not set | ||
874 | # CONFIG_NOP_USB_XCEIV is not set | ||
875 | CONFIG_MMC=y | ||
876 | # CONFIG_MMC_DEBUG is not set | ||
877 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
878 | |||
879 | # | ||
880 | # MMC/SD/SDIO Card Drivers | ||
881 | # | ||
882 | CONFIG_MMC_BLOCK=y | ||
883 | # CONFIG_MMC_BLOCK_BOUNCE is not set | ||
884 | # CONFIG_SDIO_UART is not set | ||
885 | # CONFIG_MMC_TEST is not set | ||
886 | |||
887 | # | ||
888 | # MMC/SD/SDIO Host Controller Drivers | ||
889 | # | ||
890 | # CONFIG_MMC_SDHCI is not set | ||
891 | CONFIG_MMC_SPI=m | ||
771 | # CONFIG_MEMSTICK is not set | 892 | # CONFIG_MEMSTICK is not set |
772 | # CONFIG_NEW_LEDS is not set | 893 | # CONFIG_NEW_LEDS is not set |
773 | # CONFIG_ACCESSIBILITY is not set | 894 | # CONFIG_ACCESSIBILITY is not set |
774 | # CONFIG_RTC_CLASS is not set | 895 | # CONFIG_RTC_CLASS is not set |
775 | # CONFIG_DMADEVICES is not set | 896 | # CONFIG_DMADEVICES is not set |
897 | # CONFIG_AUXDISPLAY is not set | ||
776 | # CONFIG_UIO is not set | 898 | # CONFIG_UIO is not set |
777 | # CONFIG_STAGING is not set | 899 | # CONFIG_STAGING is not set |
778 | 900 | ||
@@ -789,9 +911,10 @@ CONFIG_FS_MBCACHE=y | |||
789 | # CONFIG_REISERFS_FS is not set | 911 | # CONFIG_REISERFS_FS is not set |
790 | # CONFIG_JFS_FS is not set | 912 | # CONFIG_JFS_FS is not set |
791 | # CONFIG_FS_POSIX_ACL is not set | 913 | # CONFIG_FS_POSIX_ACL is not set |
792 | CONFIG_FILE_LOCKING=y | ||
793 | # CONFIG_XFS_FS is not set | 914 | # CONFIG_XFS_FS is not set |
794 | # CONFIG_OCFS2_FS is not set | 915 | # CONFIG_OCFS2_FS is not set |
916 | # CONFIG_BTRFS_FS is not set | ||
917 | CONFIG_FILE_LOCKING=y | ||
795 | # CONFIG_DNOTIFY is not set | 918 | # CONFIG_DNOTIFY is not set |
796 | CONFIG_INOTIFY=y | 919 | CONFIG_INOTIFY=y |
797 | CONFIG_INOTIFY_USER=y | 920 | CONFIG_INOTIFY_USER=y |
@@ -801,6 +924,11 @@ CONFIG_INOTIFY_USER=y | |||
801 | # CONFIG_FUSE_FS is not set | 924 | # CONFIG_FUSE_FS is not set |
802 | 925 | ||
803 | # | 926 | # |
927 | # Caches | ||
928 | # | ||
929 | # CONFIG_FSCACHE is not set | ||
930 | |||
931 | # | ||
804 | # CD-ROM/DVD Filesystems | 932 | # CD-ROM/DVD Filesystems |
805 | # | 933 | # |
806 | # CONFIG_ISO9660_FS is not set | 934 | # CONFIG_ISO9660_FS is not set |
@@ -809,8 +937,11 @@ CONFIG_INOTIFY_USER=y | |||
809 | # | 937 | # |
810 | # DOS/FAT/NT Filesystems | 938 | # DOS/FAT/NT Filesystems |
811 | # | 939 | # |
812 | # CONFIG_MSDOS_FS is not set | 940 | CONFIG_FAT_FS=y |
813 | # CONFIG_VFAT_FS is not set | 941 | CONFIG_MSDOS_FS=y |
942 | CONFIG_VFAT_FS=y | ||
943 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
944 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
814 | # CONFIG_NTFS_FS is not set | 945 | # CONFIG_NTFS_FS is not set |
815 | 946 | ||
816 | # | 947 | # |
@@ -822,10 +953,7 @@ CONFIG_SYSFS=y | |||
822 | # CONFIG_TMPFS is not set | 953 | # CONFIG_TMPFS is not set |
823 | # CONFIG_HUGETLB_PAGE is not set | 954 | # CONFIG_HUGETLB_PAGE is not set |
824 | # CONFIG_CONFIGFS_FS is not set | 955 | # CONFIG_CONFIGFS_FS is not set |
825 | 956 | CONFIG_MISC_FILESYSTEMS=y | |
826 | # | ||
827 | # Miscellaneous filesystems | ||
828 | # | ||
829 | # CONFIG_ADFS_FS is not set | 957 | # CONFIG_ADFS_FS is not set |
830 | # CONFIG_AFFS_FS is not set | 958 | # CONFIG_AFFS_FS is not set |
831 | # CONFIG_HFS_FS is not set | 959 | # CONFIG_HFS_FS is not set |
@@ -833,9 +961,19 @@ CONFIG_SYSFS=y | |||
833 | # CONFIG_BEFS_FS is not set | 961 | # CONFIG_BEFS_FS is not set |
834 | # CONFIG_BFS_FS is not set | 962 | # CONFIG_BFS_FS is not set |
835 | # CONFIG_EFS_FS is not set | 963 | # CONFIG_EFS_FS is not set |
836 | # CONFIG_JFFS2_FS is not set | 964 | CONFIG_JFFS2_FS=y |
837 | # CONFIG_YAFFS_FS is not set | 965 | CONFIG_JFFS2_FS_DEBUG=0 |
966 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
967 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
968 | # CONFIG_JFFS2_SUMMARY is not set | ||
969 | # CONFIG_JFFS2_FS_XATTR is not set | ||
970 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
971 | CONFIG_JFFS2_ZLIB=y | ||
972 | # CONFIG_JFFS2_LZO is not set | ||
973 | CONFIG_JFFS2_RTIME=y | ||
974 | # CONFIG_JFFS2_RUBIN is not set | ||
838 | # CONFIG_CRAMFS is not set | 975 | # CONFIG_CRAMFS is not set |
976 | # CONFIG_SQUASHFS is not set | ||
839 | # CONFIG_VXFS_FS is not set | 977 | # CONFIG_VXFS_FS is not set |
840 | # CONFIG_MINIX_FS is not set | 978 | # CONFIG_MINIX_FS is not set |
841 | # CONFIG_OMFS_FS is not set | 979 | # CONFIG_OMFS_FS is not set |
@@ -844,14 +982,70 @@ CONFIG_SYSFS=y | |||
844 | # CONFIG_ROMFS_FS is not set | 982 | # CONFIG_ROMFS_FS is not set |
845 | # CONFIG_SYSV_FS is not set | 983 | # CONFIG_SYSV_FS is not set |
846 | # CONFIG_UFS_FS is not set | 984 | # CONFIG_UFS_FS is not set |
847 | # CONFIG_NETWORK_FILESYSTEMS is not set | 985 | # CONFIG_NILFS2_FS is not set |
986 | CONFIG_NETWORK_FILESYSTEMS=y | ||
987 | CONFIG_NFS_FS=m | ||
988 | CONFIG_NFS_V3=y | ||
989 | # CONFIG_NFS_V3_ACL is not set | ||
990 | # CONFIG_NFS_V4 is not set | ||
991 | # CONFIG_NFSD is not set | ||
992 | CONFIG_LOCKD=m | ||
993 | CONFIG_LOCKD_V4=y | ||
994 | CONFIG_NFS_COMMON=y | ||
995 | CONFIG_SUNRPC=m | ||
996 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
997 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
998 | # CONFIG_SMB_FS is not set | ||
999 | # CONFIG_CIFS is not set | ||
1000 | # CONFIG_NCP_FS is not set | ||
1001 | # CONFIG_CODA_FS is not set | ||
1002 | # CONFIG_AFS_FS is not set | ||
848 | 1003 | ||
849 | # | 1004 | # |
850 | # Partition Types | 1005 | # Partition Types |
851 | # | 1006 | # |
852 | # CONFIG_PARTITION_ADVANCED is not set | 1007 | # CONFIG_PARTITION_ADVANCED is not set |
853 | CONFIG_MSDOS_PARTITION=y | 1008 | CONFIG_MSDOS_PARTITION=y |
854 | # CONFIG_NLS is not set | 1009 | CONFIG_NLS=y |
1010 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1011 | CONFIG_NLS_CODEPAGE_437=y | ||
1012 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1013 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1014 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1015 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1016 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1017 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1018 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1019 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1020 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1021 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1022 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1023 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1024 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1025 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1026 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1027 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1028 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1029 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1030 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1031 | # CONFIG_NLS_ISO8859_8 is not set | ||
1032 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1033 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1034 | # CONFIG_NLS_ASCII is not set | ||
1035 | CONFIG_NLS_ISO8859_1=y | ||
1036 | # CONFIG_NLS_ISO8859_2 is not set | ||
1037 | # CONFIG_NLS_ISO8859_3 is not set | ||
1038 | # CONFIG_NLS_ISO8859_4 is not set | ||
1039 | # CONFIG_NLS_ISO8859_5 is not set | ||
1040 | # CONFIG_NLS_ISO8859_6 is not set | ||
1041 | # CONFIG_NLS_ISO8859_7 is not set | ||
1042 | # CONFIG_NLS_ISO8859_9 is not set | ||
1043 | # CONFIG_NLS_ISO8859_13 is not set | ||
1044 | # CONFIG_NLS_ISO8859_14 is not set | ||
1045 | # CONFIG_NLS_ISO8859_15 is not set | ||
1046 | # CONFIG_NLS_KOI8_R is not set | ||
1047 | # CONFIG_NLS_KOI8_U is not set | ||
1048 | # CONFIG_NLS_UTF8 is not set | ||
855 | # CONFIG_DLM is not set | 1049 | # CONFIG_DLM is not set |
856 | 1050 | ||
857 | # | 1051 | # |
@@ -867,14 +1061,28 @@ CONFIG_DEBUG_FS=y | |||
867 | # CONFIG_HEADERS_CHECK is not set | 1061 | # CONFIG_HEADERS_CHECK is not set |
868 | CONFIG_DEBUG_SECTION_MISMATCH=y | 1062 | CONFIG_DEBUG_SECTION_MISMATCH=y |
869 | # CONFIG_DEBUG_KERNEL is not set | 1063 | # CONFIG_DEBUG_KERNEL is not set |
870 | CONFIG_DEBUG_BUGVERBOSE=y | 1064 | # CONFIG_DEBUG_BUGVERBOSE is not set |
871 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1065 | # CONFIG_DEBUG_MEMORY_INIT is not set |
872 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1066 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
1067 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1068 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1069 | CONFIG_TRACING_SUPPORT=y | ||
873 | 1070 | ||
874 | # | 1071 | # |
875 | # Tracers | 1072 | # Tracers |
876 | # | 1073 | # |
877 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1074 | # CONFIG_FUNCTION_TRACER is not set |
1075 | # CONFIG_IRQSOFF_TRACER is not set | ||
1076 | # CONFIG_SCHED_TRACER is not set | ||
1077 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1078 | # CONFIG_EVENT_TRACER is not set | ||
1079 | # CONFIG_BOOT_TRACER is not set | ||
1080 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1081 | # CONFIG_STACK_TRACER is not set | ||
1082 | # CONFIG_KMEMTRACE is not set | ||
1083 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1084 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1085 | # CONFIG_DYNAMIC_DEBUG is not set | ||
878 | # CONFIG_SAMPLES is not set | 1086 | # CONFIG_SAMPLES is not set |
879 | CONFIG_HAVE_ARCH_KGDB=y | 1087 | CONFIG_HAVE_ARCH_KGDB=y |
880 | CONFIG_DEBUG_VERBOSE=y | 1088 | CONFIG_DEBUG_VERBOSE=y |
@@ -888,9 +1096,10 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
888 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1096 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
889 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1097 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
890 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1098 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
891 | # CONFIG_EARLY_PRINTK is not set | 1099 | CONFIG_EARLY_PRINTK=y |
892 | CONFIG_CPLB_INFO=y | 1100 | CONFIG_CPLB_INFO=y |
893 | CONFIG_ACCESS_CHECK=y | 1101 | CONFIG_ACCESS_CHECK=y |
1102 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
894 | 1103 | ||
895 | # | 1104 | # |
896 | # Security options | 1105 | # Security options |
@@ -899,8 +1108,9 @@ CONFIG_ACCESS_CHECK=y | |||
899 | CONFIG_SECURITY=y | 1108 | CONFIG_SECURITY=y |
900 | # CONFIG_SECURITYFS is not set | 1109 | # CONFIG_SECURITYFS is not set |
901 | # CONFIG_SECURITY_NETWORK is not set | 1110 | # CONFIG_SECURITY_NETWORK is not set |
1111 | # CONFIG_SECURITY_PATH is not set | ||
902 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1112 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
903 | CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0 | 1113 | # CONFIG_SECURITY_TOMOYO is not set |
904 | CONFIG_CRYPTO=y | 1114 | CONFIG_CRYPTO=y |
905 | 1115 | ||
906 | # | 1116 | # |
@@ -979,6 +1189,7 @@ CONFIG_CRYPTO=y | |||
979 | # Compression | 1189 | # Compression |
980 | # | 1190 | # |
981 | # CONFIG_CRYPTO_DEFLATE is not set | 1191 | # CONFIG_CRYPTO_DEFLATE is not set |
1192 | # CONFIG_CRYPTO_ZLIB is not set | ||
982 | # CONFIG_CRYPTO_LZO is not set | 1193 | # CONFIG_CRYPTO_LZO is not set |
983 | 1194 | ||
984 | # | 1195 | # |
@@ -986,19 +1197,24 @@ CONFIG_CRYPTO=y | |||
986 | # | 1197 | # |
987 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | 1198 | # CONFIG_CRYPTO_ANSI_CPRNG is not set |
988 | CONFIG_CRYPTO_HW=y | 1199 | CONFIG_CRYPTO_HW=y |
1200 | # CONFIG_BINARY_PRINTF is not set | ||
989 | 1201 | ||
990 | # | 1202 | # |
991 | # Library routines | 1203 | # Library routines |
992 | # | 1204 | # |
993 | CONFIG_BITREVERSE=y | 1205 | CONFIG_BITREVERSE=y |
1206 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
994 | CONFIG_CRC_CCITT=m | 1207 | CONFIG_CRC_CCITT=m |
995 | # CONFIG_CRC16 is not set | 1208 | # CONFIG_CRC16 is not set |
996 | # CONFIG_CRC_T10DIF is not set | 1209 | # CONFIG_CRC_T10DIF is not set |
997 | # CONFIG_CRC_ITU_T is not set | 1210 | CONFIG_CRC_ITU_T=y |
998 | CONFIG_CRC32=y | 1211 | CONFIG_CRC32=y |
999 | # CONFIG_CRC7 is not set | 1212 | CONFIG_CRC7=y |
1000 | # CONFIG_LIBCRC32C is not set | 1213 | # CONFIG_LIBCRC32C is not set |
1001 | CONFIG_ZLIB_INFLATE=y | 1214 | CONFIG_ZLIB_INFLATE=y |
1215 | CONFIG_ZLIB_DEFLATE=y | ||
1216 | CONFIG_DECOMPRESS_LZMA=y | ||
1002 | CONFIG_HAS_IOMEM=y | 1217 | CONFIG_HAS_IOMEM=y |
1003 | CONFIG_HAS_IOPORT=y | 1218 | CONFIG_HAS_IOPORT=y |
1004 | CONFIG_HAS_DMA=y | 1219 | CONFIG_HAS_DMA=y |
1220 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/CM-BF537U_defconfig b/arch/blackfin/configs/CM-BF537U_defconfig index 7fc8dfa1719f..efcc90d2f345 100644 --- a/arch/blackfin/configs/CM-BF537U_defconfig +++ b/arch/blackfin/configs/CM-BF537U_defconfig | |||
@@ -1,94 +1,111 @@ | |||
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.16 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
9 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
11 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
16 | CONFIG_GENERIC_TIME=y | ||
17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
21 | 23 | ||
22 | # | 24 | # |
23 | # Code maturity level options | 25 | # General setup |
24 | # | 26 | # |
25 | CONFIG_EXPERIMENTAL=y | 27 | CONFIG_EXPERIMENTAL=y |
26 | CONFIG_BROKEN_ON_SMP=y | 28 | CONFIG_BROKEN_ON_SMP=y |
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
28 | |||
29 | # | ||
30 | # General setup | ||
31 | # | ||
32 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
33 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
34 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
35 | # CONFIG_IPC_NS is not set | ||
36 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
37 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
38 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
39 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
40 | # CONFIG_UTS_NS is not set | ||
41 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
42 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
43 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
44 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
45 | # CONFIG_SYSFS_DEPRECATED is not set | 56 | # CONFIG_GROUP_SCHED is not set |
57 | # CONFIG_CGROUPS is not set | ||
58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
46 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
47 | # CONFIG_BLK_DEV_INITRD is not set | 60 | # CONFIG_NAMESPACES is not set |
61 | CONFIG_BLK_DEV_INITRD=y | ||
62 | CONFIG_INITRAMFS_SOURCE="" | ||
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
48 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
49 | # CONFIG_SYSCTL is not set | 67 | CONFIG_SYSCTL=y |
68 | CONFIG_ANON_INODES=y | ||
50 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
51 | # CONFIG_UID16 is not set | 70 | # CONFIG_UID16 is not set |
52 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
53 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
54 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
55 | # CONFIG_HOTPLUG is not set | 74 | # CONFIG_STRIP_ASM_SYMS is not set |
75 | CONFIG_HOTPLUG=y | ||
56 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
57 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
58 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
59 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
60 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
63 | CONFIG_SIGNALFD=y | 82 | CONFIG_SIGNALFD=y |
83 | CONFIG_TIMERFD=y | ||
64 | CONFIG_EVENTFD=y | 84 | CONFIG_EVENTFD=y |
85 | CONFIG_AIO=y | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
66 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 87 | CONFIG_COMPAT_BRK=y |
67 | # CONFIG_NP2 is not set | ||
68 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
69 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
70 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
71 | CONFIG_RT_MUTEXES=y | 91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y |
72 | CONFIG_TINY_SHMEM=y | 92 | # CONFIG_PROFILING is not set |
93 | # CONFIG_MARKERS is not set | ||
94 | CONFIG_HAVE_OPROFILE=y | ||
95 | # CONFIG_SLOW_WORK is not set | ||
96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
97 | CONFIG_SLABINFO=y | ||
73 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
74 | |||
75 | # | ||
76 | # Loadable module support | ||
77 | # | ||
78 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
100 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
79 | CONFIG_MODULE_UNLOAD=y | 101 | CONFIG_MODULE_UNLOAD=y |
80 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
81 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
82 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
83 | CONFIG_KMOD=y | ||
84 | |||
85 | # | ||
86 | # Block layer | ||
87 | # | ||
88 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
89 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
90 | # CONFIG_BLK_DEV_IO_TRACE is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
91 | # CONFIG_LSF is not set | 108 | # CONFIG_BLK_DEV_INTEGRITY is not set |
92 | 109 | ||
93 | # | 110 | # |
94 | # IO Schedulers | 111 | # IO Schedulers |
@@ -105,6 +122,7 @@ CONFIG_DEFAULT_IOSCHED="noop" | |||
105 | CONFIG_PREEMPT_NONE=y | 122 | CONFIG_PREEMPT_NONE=y |
106 | # CONFIG_PREEMPT_VOLUNTARY is not set | 123 | # CONFIG_PREEMPT_VOLUNTARY is not set |
107 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
125 | # CONFIG_FREEZER is not set | ||
108 | 126 | ||
109 | # | 127 | # |
110 | # Blackfin Processor Options | 128 | # Blackfin Processor Options |
@@ -113,6 +131,10 @@ CONFIG_PREEMPT_NONE=y | |||
113 | # | 131 | # |
114 | # Processor and Board Settings | 132 | # Processor and Board Settings |
115 | # | 133 | # |
134 | # CONFIG_BF512 is not set | ||
135 | # CONFIG_BF514 is not set | ||
136 | # CONFIG_BF516 is not set | ||
137 | # CONFIG_BF518 is not set | ||
116 | # CONFIG_BF522 is not set | 138 | # CONFIG_BF522 is not set |
117 | # CONFIG_BF523 is not set | 139 | # CONFIG_BF523 is not set |
118 | # CONFIG_BF524 is not set | 140 | # CONFIG_BF524 is not set |
@@ -125,22 +147,31 @@ CONFIG_PREEMPT_NONE=y | |||
125 | # CONFIG_BF534 is not set | 147 | # CONFIG_BF534 is not set |
126 | # CONFIG_BF536 is not set | 148 | # CONFIG_BF536 is not set |
127 | CONFIG_BF537=y | 149 | CONFIG_BF537=y |
150 | # CONFIG_BF538 is not set | ||
151 | # CONFIG_BF539 is not set | ||
128 | # CONFIG_BF542 is not set | 152 | # CONFIG_BF542 is not set |
153 | # CONFIG_BF542M is not set | ||
129 | # CONFIG_BF544 is not set | 154 | # CONFIG_BF544 is not set |
155 | # CONFIG_BF544M is not set | ||
130 | # CONFIG_BF547 is not set | 156 | # CONFIG_BF547 is not set |
157 | # CONFIG_BF547M is not set | ||
131 | # CONFIG_BF548 is not set | 158 | # CONFIG_BF548 is not set |
159 | # CONFIG_BF548M is not set | ||
132 | # CONFIG_BF549 is not set | 160 | # CONFIG_BF549 is not set |
161 | # CONFIG_BF549M is not set | ||
133 | # CONFIG_BF561 is not set | 162 | # CONFIG_BF561 is not set |
163 | CONFIG_BF_REV_MIN=2 | ||
164 | CONFIG_BF_REV_MAX=3 | ||
134 | # CONFIG_BF_REV_0_0 is not set | 165 | # CONFIG_BF_REV_0_0 is not set |
135 | # CONFIG_BF_REV_0_1 is not set | 166 | # CONFIG_BF_REV_0_1 is not set |
136 | CONFIG_BF_REV_0_2=y | 167 | CONFIG_BF_REV_0_2=y |
137 | # CONFIG_BF_REV_0_3 is not set | 168 | # CONFIG_BF_REV_0_3 is not set |
138 | # CONFIG_BF_REV_0_4 is not set | 169 | # CONFIG_BF_REV_0_4 is not set |
139 | # CONFIG_BF_REV_0_5 is not set | 170 | # CONFIG_BF_REV_0_5 is not set |
171 | # CONFIG_BF_REV_0_6 is not set | ||
140 | # CONFIG_BF_REV_ANY is not set | 172 | # CONFIG_BF_REV_ANY is not set |
141 | # CONFIG_BF_REV_NONE is not set | 173 | # CONFIG_BF_REV_NONE is not set |
142 | CONFIG_BF53x=y | 174 | CONFIG_BF53x=y |
143 | CONFIG_BFIN_SINGLE_CORE=y | ||
144 | CONFIG_MEM_MT48LC16M16A2TG_75=y | 175 | CONFIG_MEM_MT48LC16M16A2TG_75=y |
145 | CONFIG_IRQ_PLL_WAKEUP=7 | 176 | CONFIG_IRQ_PLL_WAKEUP=7 |
146 | CONFIG_IRQ_RTC=8 | 177 | CONFIG_IRQ_RTC=8 |
@@ -150,7 +181,6 @@ CONFIG_IRQ_SPORT0_TX=9 | |||
150 | CONFIG_IRQ_SPORT1_RX=9 | 181 | CONFIG_IRQ_SPORT1_RX=9 |
151 | CONFIG_IRQ_SPORT1_TX=9 | 182 | CONFIG_IRQ_SPORT1_TX=9 |
152 | CONFIG_IRQ_TWI=10 | 183 | CONFIG_IRQ_TWI=10 |
153 | CONFIG_IRQ_SPI=10 | ||
154 | CONFIG_IRQ_UART0_RX=10 | 184 | CONFIG_IRQ_UART0_RX=10 |
155 | CONFIG_IRQ_UART0_TX=10 | 185 | CONFIG_IRQ_UART0_TX=10 |
156 | CONFIG_IRQ_UART1_RX=10 | 186 | CONFIG_IRQ_UART1_RX=10 |
@@ -169,11 +199,13 @@ CONFIG_IRQ_PORTG_INTB=12 | |||
169 | CONFIG_IRQ_MEM_DMA0=13 | 199 | CONFIG_IRQ_MEM_DMA0=13 |
170 | CONFIG_IRQ_MEM_DMA1=13 | 200 | CONFIG_IRQ_MEM_DMA1=13 |
171 | CONFIG_IRQ_WATCH=13 | 201 | CONFIG_IRQ_WATCH=13 |
202 | CONFIG_IRQ_SPI=10 | ||
172 | # CONFIG_BFIN537_STAMP is not set | 203 | # CONFIG_BFIN537_STAMP is not set |
173 | CONFIG_BFIN537_BLUETECHNIX_CM=y | 204 | # CONFIG_BFIN537_BLUETECHNIX_CM_E is not set |
205 | CONFIG_BFIN537_BLUETECHNIX_CM_U=y | ||
206 | # CONFIG_BFIN537_BLUETECHNIX_TCM is not set | ||
174 | # CONFIG_PNAV10 is not set | 207 | # CONFIG_PNAV10 is not set |
175 | # CONFIG_CAMSIG_MINOTAUR is not set | 208 | # CONFIG_CAMSIG_MINOTAUR is not set |
176 | # CONFIG_GENERIC_BF537_BOARD is not set | ||
177 | 209 | ||
178 | # | 210 | # |
179 | # BF537 Specific Configuration | 211 | # BF537 Specific Configuration |
@@ -196,6 +228,7 @@ CONFIG_IRQ_PROG_INTA=12 | |||
196 | # Board customizations | 228 | # Board customizations |
197 | # | 229 | # |
198 | # CONFIG_CMDLINE_BOOL is not set | 230 | # CONFIG_CMDLINE_BOOL is not set |
231 | CONFIG_BOOT_LOAD=0x1000 | ||
199 | 232 | ||
200 | # | 233 | # |
201 | # Clock/PLL Setup | 234 | # Clock/PLL Setup |
@@ -215,13 +248,20 @@ CONFIG_HZ_250=y | |||
215 | # CONFIG_HZ_300 is not set | 248 | # CONFIG_HZ_300 is not set |
216 | # CONFIG_HZ_1000 is not set | 249 | # CONFIG_HZ_1000 is not set |
217 | CONFIG_HZ=250 | 250 | CONFIG_HZ=250 |
251 | # CONFIG_SCHED_HRTICK is not set | ||
252 | CONFIG_GENERIC_TIME=y | ||
253 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
254 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
255 | CONFIG_TICKSOURCE_CORETMR=y | ||
256 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
257 | # CONFIG_GPTMR0_CLOCKSOURCE is not set | ||
258 | # CONFIG_NO_HZ is not set | ||
259 | # CONFIG_HIGH_RES_TIMERS is not set | ||
260 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
218 | 261 | ||
219 | # | 262 | # |
220 | # Memory Setup | 263 | # Misc |
221 | # | 264 | # |
222 | CONFIG_MAX_MEM_SIZE=32 | ||
223 | CONFIG_MEM_ADD_WIDTH=9 | ||
224 | CONFIG_BOOT_LOAD=0x1000 | ||
225 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 265 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
226 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 266 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
227 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 267 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
@@ -248,6 +288,12 @@ CONFIG_IP_CHECKSUM_L1=y | |||
248 | CONFIG_CACHELINE_ALIGNED_L1=y | 288 | CONFIG_CACHELINE_ALIGNED_L1=y |
249 | CONFIG_SYSCALL_TAB_L1=y | 289 | CONFIG_SYSCALL_TAB_L1=y |
250 | CONFIG_CPLB_SWITCH_TAB_L1=y | 290 | CONFIG_CPLB_SWITCH_TAB_L1=y |
291 | CONFIG_APP_STACK_L1=y | ||
292 | |||
293 | # | ||
294 | # Speed Optimizations | ||
295 | # | ||
296 | CONFIG_BFIN_INS_LOWOVERHEAD=y | ||
251 | CONFIG_RAMKERNEL=y | 297 | CONFIG_RAMKERNEL=y |
252 | # CONFIG_ROMKERNEL is not set | 298 | # CONFIG_ROMKERNEL is not set |
253 | CONFIG_SELECT_MEMORY_MODEL=y | 299 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -256,12 +302,16 @@ CONFIG_FLATMEM_MANUAL=y | |||
256 | # CONFIG_SPARSEMEM_MANUAL is not set | 302 | # CONFIG_SPARSEMEM_MANUAL is not set |
257 | CONFIG_FLATMEM=y | 303 | CONFIG_FLATMEM=y |
258 | CONFIG_FLAT_NODE_MEM_MAP=y | 304 | CONFIG_FLAT_NODE_MEM_MAP=y |
259 | # CONFIG_SPARSEMEM_STATIC is not set | 305 | CONFIG_PAGEFLAGS_EXTENDED=y |
260 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 306 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
261 | # CONFIG_RESOURCES_64BIT is not set | 307 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
262 | CONFIG_ZONE_DMA_FLAG=1 | 308 | CONFIG_ZONE_DMA_FLAG=1 |
263 | CONFIG_LARGE_ALLOCS=y | 309 | CONFIG_VIRT_TO_BUS=y |
310 | CONFIG_UNEVICTABLE_LRU=y | ||
311 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
312 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
264 | # CONFIG_BFIN_GPTIMERS is not set | 313 | # CONFIG_BFIN_GPTIMERS is not set |
314 | # CONFIG_DMA_UNCACHED_4M is not set | ||
265 | # CONFIG_DMA_UNCACHED_2M is not set | 315 | # CONFIG_DMA_UNCACHED_2M is not set |
266 | CONFIG_DMA_UNCACHED_1M=y | 316 | CONFIG_DMA_UNCACHED_1M=y |
267 | # CONFIG_DMA_UNCACHED_NONE is not set | 317 | # CONFIG_DMA_UNCACHED_NONE is not set |
@@ -270,10 +320,9 @@ CONFIG_DMA_UNCACHED_1M=y | |||
270 | # Cache Support | 320 | # Cache Support |
271 | # | 321 | # |
272 | CONFIG_BFIN_ICACHE=y | 322 | CONFIG_BFIN_ICACHE=y |
273 | # CONFIG_BFIN_ICACHE_LOCK is not set | 323 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
274 | CONFIG_BFIN_DCACHE=y | 324 | CONFIG_BFIN_DCACHE=y |
275 | # CONFIG_BFIN_DCACHE_BANKA is not set | 325 | # CONFIG_BFIN_DCACHE_BANKA is not set |
276 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
277 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 326 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
278 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 327 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
279 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 328 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
@@ -284,7 +333,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
284 | # CONFIG_MPU is not set | 333 | # CONFIG_MPU is not set |
285 | 334 | ||
286 | # | 335 | # |
287 | # Asynchonous Memory Configuration | 336 | # Asynchronous Memory Configuration |
288 | # | 337 | # |
289 | 338 | ||
290 | # | 339 | # |
@@ -309,12 +358,8 @@ CONFIG_BANK_3=0xFFC2 | |||
309 | # | 358 | # |
310 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 359 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
311 | # | 360 | # |
312 | # CONFIG_PCI is not set | ||
313 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 361 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
314 | 362 | # CONFIG_PCCARD is not set | |
315 | # | ||
316 | # PCCARD (PCMCIA/CardBus) support | ||
317 | # | ||
318 | 363 | ||
319 | # | 364 | # |
320 | # Executable file formats | 365 | # Executable file formats |
@@ -323,22 +368,19 @@ CONFIG_BINFMT_ELF_FDPIC=y | |||
323 | CONFIG_BINFMT_FLAT=y | 368 | CONFIG_BINFMT_FLAT=y |
324 | CONFIG_BINFMT_ZFLAT=y | 369 | CONFIG_BINFMT_ZFLAT=y |
325 | CONFIG_BINFMT_SHARED_FLAT=y | 370 | CONFIG_BINFMT_SHARED_FLAT=y |
371 | # CONFIG_HAVE_AOUT is not set | ||
326 | # CONFIG_BINFMT_MISC is not set | 372 | # CONFIG_BINFMT_MISC is not set |
327 | 373 | ||
328 | # | 374 | # |
329 | # Power management options | 375 | # Power management options |
330 | # | 376 | # |
331 | # CONFIG_PM is not set | 377 | # CONFIG_PM is not set |
332 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 378 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
333 | 379 | ||
334 | # | 380 | # |
335 | # CPU Frequency scaling | 381 | # CPU Frequency scaling |
336 | # | 382 | # |
337 | # CONFIG_CPU_FREQ is not set | 383 | # CONFIG_CPU_FREQ is not set |
338 | |||
339 | # | ||
340 | # Networking | ||
341 | # | ||
342 | CONFIG_NET=y | 384 | CONFIG_NET=y |
343 | 385 | ||
344 | # | 386 | # |
@@ -347,10 +389,6 @@ CONFIG_NET=y | |||
347 | CONFIG_PACKET=y | 389 | CONFIG_PACKET=y |
348 | # CONFIG_PACKET_MMAP is not set | 390 | # CONFIG_PACKET_MMAP is not set |
349 | CONFIG_UNIX=y | 391 | CONFIG_UNIX=y |
350 | CONFIG_XFRM=y | ||
351 | # CONFIG_XFRM_USER is not set | ||
352 | # CONFIG_XFRM_SUB_POLICY is not set | ||
353 | # CONFIG_XFRM_MIGRATE is not set | ||
354 | # CONFIG_NET_KEY is not set | 392 | # CONFIG_NET_KEY is not set |
355 | CONFIG_INET=y | 393 | CONFIG_INET=y |
356 | # CONFIG_IP_MULTICAST is not set | 394 | # CONFIG_IP_MULTICAST is not set |
@@ -369,15 +407,13 @@ CONFIG_IP_FIB_HASH=y | |||
369 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 407 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set |
370 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 408 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set |
371 | # CONFIG_INET_XFRM_MODE_BEET is not set | 409 | # CONFIG_INET_XFRM_MODE_BEET is not set |
410 | CONFIG_INET_LRO=y | ||
372 | # CONFIG_INET_DIAG is not set | 411 | # CONFIG_INET_DIAG is not set |
373 | CONFIG_INET_TCP_DIAG=y | ||
374 | # CONFIG_TCP_CONG_ADVANCED is not set | 412 | # CONFIG_TCP_CONG_ADVANCED is not set |
375 | CONFIG_TCP_CONG_CUBIC=y | 413 | CONFIG_TCP_CONG_CUBIC=y |
376 | CONFIG_DEFAULT_TCP_CONG="cubic" | 414 | CONFIG_DEFAULT_TCP_CONG="cubic" |
377 | # CONFIG_TCP_MD5SIG is not set | 415 | # CONFIG_TCP_MD5SIG is not set |
378 | # CONFIG_IPV6 is not set | 416 | # CONFIG_IPV6 is not set |
379 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
380 | # CONFIG_INET6_TUNNEL is not set | ||
381 | # CONFIG_NETLABEL is not set | 417 | # CONFIG_NETLABEL is not set |
382 | # CONFIG_NETWORK_SECMARK is not set | 418 | # CONFIG_NETWORK_SECMARK is not set |
383 | # CONFIG_NETFILTER is not set | 419 | # CONFIG_NETFILTER is not set |
@@ -386,6 +422,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
386 | # CONFIG_TIPC is not set | 422 | # CONFIG_TIPC is not set |
387 | # CONFIG_ATM is not set | 423 | # CONFIG_ATM is not set |
388 | # CONFIG_BRIDGE is not set | 424 | # CONFIG_BRIDGE is not set |
425 | # CONFIG_NET_DSA is not set | ||
389 | # CONFIG_VLAN_8021Q is not set | 426 | # CONFIG_VLAN_8021Q is not set |
390 | # CONFIG_DECNET is not set | 427 | # CONFIG_DECNET is not set |
391 | # CONFIG_LLC2 is not set | 428 | # CONFIG_LLC2 is not set |
@@ -395,29 +432,23 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
395 | # CONFIG_LAPB is not set | 432 | # CONFIG_LAPB is not set |
396 | # CONFIG_ECONET is not set | 433 | # CONFIG_ECONET is not set |
397 | # CONFIG_WAN_ROUTER is not set | 434 | # CONFIG_WAN_ROUTER is not set |
398 | 435 | # CONFIG_PHONET is not set | |
399 | # | ||
400 | # QoS and/or fair queueing | ||
401 | # | ||
402 | # CONFIG_NET_SCHED is not set | 436 | # CONFIG_NET_SCHED is not set |
437 | # CONFIG_DCB is not set | ||
403 | 438 | ||
404 | # | 439 | # |
405 | # Network testing | 440 | # Network testing |
406 | # | 441 | # |
407 | # CONFIG_NET_PKTGEN is not set | 442 | # CONFIG_NET_PKTGEN is not set |
408 | # CONFIG_HAMRADIO is not set | 443 | # CONFIG_HAMRADIO is not set |
444 | # CONFIG_CAN is not set | ||
409 | # CONFIG_IRDA is not set | 445 | # CONFIG_IRDA is not set |
410 | # CONFIG_BT is not set | 446 | # CONFIG_BT is not set |
411 | # CONFIG_AF_RXRPC is not set | 447 | # CONFIG_AF_RXRPC is not set |
412 | 448 | # CONFIG_WIRELESS is not set | |
413 | # | 449 | # CONFIG_WIMAX is not set |
414 | # Wireless | ||
415 | # | ||
416 | # CONFIG_CFG80211 is not set | ||
417 | # CONFIG_WIRELESS_EXT is not set | ||
418 | # CONFIG_MAC80211 is not set | ||
419 | # CONFIG_IEEE80211 is not set | ||
420 | # CONFIG_RFKILL is not set | 450 | # CONFIG_RFKILL is not set |
451 | # CONFIG_NET_9P is not set | ||
421 | 452 | ||
422 | # | 453 | # |
423 | # Device Drivers | 454 | # Device Drivers |
@@ -426,20 +457,22 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
426 | # | 457 | # |
427 | # Generic Driver Options | 458 | # Generic Driver Options |
428 | # | 459 | # |
460 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
429 | CONFIG_STANDALONE=y | 461 | CONFIG_STANDALONE=y |
430 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 462 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
463 | CONFIG_FW_LOADER=y | ||
464 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
465 | CONFIG_EXTRA_FIRMWARE="" | ||
431 | # CONFIG_SYS_HYPERVISOR is not set | 466 | # CONFIG_SYS_HYPERVISOR is not set |
432 | |||
433 | # | ||
434 | # Connector - unified userspace <-> kernelspace linker | ||
435 | # | ||
436 | # CONFIG_CONNECTOR is not set | 467 | # CONFIG_CONNECTOR is not set |
437 | CONFIG_MTD=y | 468 | CONFIG_MTD=y |
438 | # CONFIG_MTD_DEBUG is not set | 469 | # CONFIG_MTD_DEBUG is not set |
470 | # CONFIG_MTD_TESTS is not set | ||
439 | # CONFIG_MTD_CONCAT is not set | 471 | # CONFIG_MTD_CONCAT is not set |
440 | CONFIG_MTD_PARTITIONS=y | 472 | CONFIG_MTD_PARTITIONS=y |
441 | # CONFIG_MTD_REDBOOT_PARTS is not set | 473 | # CONFIG_MTD_REDBOOT_PARTS is not set |
442 | # CONFIG_MTD_CMDLINE_PARTS is not set | 474 | CONFIG_MTD_CMDLINE_PARTS=y |
475 | # CONFIG_MTD_AR7_PARTS is not set | ||
443 | 476 | ||
444 | # | 477 | # |
445 | # User Modules And Translation Layers | 478 | # User Modules And Translation Layers |
@@ -452,12 +485,15 @@ CONFIG_MTD_BLOCK=y | |||
452 | # CONFIG_INFTL is not set | 485 | # CONFIG_INFTL is not set |
453 | # CONFIG_RFD_FTL is not set | 486 | # CONFIG_RFD_FTL is not set |
454 | # CONFIG_SSFDC is not set | 487 | # CONFIG_SSFDC is not set |
488 | # CONFIG_MTD_OOPS is not set | ||
455 | 489 | ||
456 | # | 490 | # |
457 | # RAM/ROM/Flash chip drivers | 491 | # RAM/ROM/Flash chip drivers |
458 | # | 492 | # |
459 | # CONFIG_MTD_CFI is not set | 493 | CONFIG_MTD_CFI=y |
460 | # CONFIG_MTD_JEDECPROBE is not set | 494 | # CONFIG_MTD_JEDECPROBE is not set |
495 | CONFIG_MTD_GEN_PROBE=y | ||
496 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
461 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | 497 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
462 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | 498 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
463 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | 499 | CONFIG_MTD_MAP_BANK_WIDTH_4=y |
@@ -468,20 +504,29 @@ CONFIG_MTD_CFI_I1=y | |||
468 | CONFIG_MTD_CFI_I2=y | 504 | CONFIG_MTD_CFI_I2=y |
469 | # CONFIG_MTD_CFI_I4 is not set | 505 | # CONFIG_MTD_CFI_I4 is not set |
470 | # CONFIG_MTD_CFI_I8 is not set | 506 | # CONFIG_MTD_CFI_I8 is not set |
507 | CONFIG_MTD_CFI_INTELEXT=y | ||
508 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
509 | # CONFIG_MTD_CFI_STAA is not set | ||
510 | # CONFIG_MTD_PSD4256G is not set | ||
511 | CONFIG_MTD_CFI_UTIL=y | ||
471 | CONFIG_MTD_RAM=y | 512 | CONFIG_MTD_RAM=y |
472 | # CONFIG_MTD_ROM is not set | 513 | CONFIG_MTD_ROM=m |
473 | # CONFIG_MTD_ABSENT is not set | 514 | # CONFIG_MTD_ABSENT is not set |
474 | 515 | ||
475 | # | 516 | # |
476 | # Mapping drivers for chip access | 517 | # Mapping drivers for chip access |
477 | # | 518 | # |
478 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 519 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
479 | CONFIG_MTD_UCLINUX=y | 520 | # CONFIG_MTD_PHYSMAP is not set |
521 | CONFIG_MTD_GPIO_ADDR=y | ||
522 | # CONFIG_MTD_UCLINUX is not set | ||
480 | # CONFIG_MTD_PLATRAM is not set | 523 | # CONFIG_MTD_PLATRAM is not set |
481 | 524 | ||
482 | # | 525 | # |
483 | # Self-contained MTD device drivers | 526 | # Self-contained MTD device drivers |
484 | # | 527 | # |
528 | # CONFIG_MTD_DATAFLASH is not set | ||
529 | # CONFIG_MTD_M25P80 is not set | ||
485 | # CONFIG_MTD_SLRAM is not set | 530 | # CONFIG_MTD_SLRAM is not set |
486 | # CONFIG_MTD_PHRAM is not set | 531 | # CONFIG_MTD_PHRAM is not set |
487 | # CONFIG_MTD_MTDRAM is not set | 532 | # CONFIG_MTD_MTDRAM is not set |
@@ -497,36 +542,36 @@ CONFIG_MTD_UCLINUX=y | |||
497 | # CONFIG_MTD_ONENAND is not set | 542 | # CONFIG_MTD_ONENAND is not set |
498 | 543 | ||
499 | # | 544 | # |
500 | # UBI - Unsorted block images | 545 | # LPDDR flash memory drivers |
501 | # | 546 | # |
502 | # CONFIG_MTD_UBI is not set | 547 | # CONFIG_MTD_LPDDR is not set |
503 | 548 | ||
504 | # | 549 | # |
505 | # Parallel port support | 550 | # UBI - Unsorted block images |
506 | # | 551 | # |
552 | # CONFIG_MTD_UBI is not set | ||
507 | # CONFIG_PARPORT is not set | 553 | # CONFIG_PARPORT is not set |
508 | 554 | CONFIG_BLK_DEV=y | |
509 | # | ||
510 | # Plug and Play support | ||
511 | # | ||
512 | # CONFIG_PNPACPI is not set | ||
513 | |||
514 | # | ||
515 | # Block devices | ||
516 | # | ||
517 | # CONFIG_BLK_DEV_COW_COMMON is not set | 555 | # CONFIG_BLK_DEV_COW_COMMON is not set |
518 | # CONFIG_BLK_DEV_LOOP is not set | 556 | # CONFIG_BLK_DEV_LOOP is not set |
519 | # CONFIG_BLK_DEV_NBD is not set | 557 | # CONFIG_BLK_DEV_NBD is not set |
520 | CONFIG_BLK_DEV_RAM=y | 558 | CONFIG_BLK_DEV_RAM=y |
521 | CONFIG_BLK_DEV_RAM_COUNT=16 | 559 | CONFIG_BLK_DEV_RAM_COUNT=16 |
522 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 560 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
523 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 561 | # CONFIG_BLK_DEV_XIP is not set |
524 | # CONFIG_CDROM_PKTCDVD is not set | 562 | # CONFIG_CDROM_PKTCDVD is not set |
525 | # CONFIG_ATA_OVER_ETH is not set | 563 | # CONFIG_ATA_OVER_ETH is not set |
564 | # CONFIG_BLK_DEV_HD is not set | ||
565 | CONFIG_MISC_DEVICES=y | ||
566 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
567 | # CONFIG_C2PORT is not set | ||
526 | 568 | ||
527 | # | 569 | # |
528 | # Misc devices | 570 | # EEPROM support |
529 | # | 571 | # |
572 | # CONFIG_EEPROM_AT25 is not set | ||
573 | # CONFIG_EEPROM_93CX6 is not set | ||
574 | CONFIG_HAVE_IDE=y | ||
530 | # CONFIG_IDE is not set | 575 | # CONFIG_IDE is not set |
531 | 576 | ||
532 | # | 577 | # |
@@ -534,35 +579,20 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
534 | # | 579 | # |
535 | # CONFIG_RAID_ATTRS is not set | 580 | # CONFIG_RAID_ATTRS is not set |
536 | # CONFIG_SCSI is not set | 581 | # CONFIG_SCSI is not set |
582 | # CONFIG_SCSI_DMA is not set | ||
537 | # CONFIG_SCSI_NETLINK is not set | 583 | # CONFIG_SCSI_NETLINK is not set |
538 | # CONFIG_ATA is not set | 584 | # CONFIG_ATA is not set |
539 | |||
540 | # | ||
541 | # Multi-device support (RAID and LVM) | ||
542 | # | ||
543 | # CONFIG_MD is not set | 585 | # CONFIG_MD is not set |
544 | |||
545 | # | ||
546 | # Network device support | ||
547 | # | ||
548 | CONFIG_NETDEVICES=y | 586 | CONFIG_NETDEVICES=y |
587 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
549 | # CONFIG_DUMMY is not set | 588 | # CONFIG_DUMMY is not set |
550 | # CONFIG_BONDING is not set | 589 | # CONFIG_BONDING is not set |
590 | # CONFIG_MACVLAN is not set | ||
551 | # CONFIG_EQUALIZER is not set | 591 | # CONFIG_EQUALIZER is not set |
552 | # CONFIG_TUN is not set | 592 | # CONFIG_TUN is not set |
553 | # CONFIG_PHYLIB is not set | 593 | # CONFIG_VETH is not set |
554 | 594 | # CONFIG_NET_ETHERNET is not set | |
555 | # | ||
556 | # Ethernet (10 or 100Mbit) | ||
557 | # | ||
558 | CONFIG_NET_ETHERNET=y | ||
559 | CONFIG_MII=y | ||
560 | CONFIG_SMC91X=y | ||
561 | # CONFIG_BFIN_MAC is not set | ||
562 | # CONFIG_SMSC911X is not set | ||
563 | # CONFIG_DM9000 is not set | ||
564 | # CONFIG_NETDEV_1000 is not set | 595 | # CONFIG_NETDEV_1000 is not set |
565 | # CONFIG_AX88180 is not set | ||
566 | # CONFIG_NETDEV_10000 is not set | 596 | # CONFIG_NETDEV_10000 is not set |
567 | 597 | ||
568 | # | 598 | # |
@@ -570,22 +600,17 @@ CONFIG_SMC91X=y | |||
570 | # | 600 | # |
571 | # CONFIG_WLAN_PRE80211 is not set | 601 | # CONFIG_WLAN_PRE80211 is not set |
572 | # CONFIG_WLAN_80211 is not set | 602 | # CONFIG_WLAN_80211 is not set |
603 | |||
604 | # | ||
605 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
606 | # | ||
573 | # CONFIG_WAN is not set | 607 | # CONFIG_WAN is not set |
574 | # CONFIG_PPP is not set | 608 | # CONFIG_PPP is not set |
575 | # CONFIG_SLIP is not set | 609 | # CONFIG_SLIP is not set |
576 | # CONFIG_SHAPER is not set | ||
577 | # CONFIG_NETCONSOLE is not set | 610 | # CONFIG_NETCONSOLE is not set |
578 | # CONFIG_NETPOLL is not set | 611 | # CONFIG_NETPOLL is not set |
579 | # CONFIG_NET_POLL_CONTROLLER is not set | 612 | # CONFIG_NET_POLL_CONTROLLER is not set |
580 | |||
581 | # | ||
582 | # ISDN subsystem | ||
583 | # | ||
584 | # CONFIG_ISDN is not set | 613 | # CONFIG_ISDN is not set |
585 | |||
586 | # | ||
587 | # Telephony Support | ||
588 | # | ||
589 | # CONFIG_PHONE is not set | 614 | # CONFIG_PHONE is not set |
590 | 615 | ||
591 | # | 616 | # |
@@ -602,16 +627,15 @@ CONFIG_SMC91X=y | |||
602 | # | 627 | # |
603 | # Character devices | 628 | # Character devices |
604 | # | 629 | # |
605 | # CONFIG_AD9960 is not set | 630 | CONFIG_BFIN_DMA_INTERFACE=m |
606 | # CONFIG_SPI_ADC_BF533 is not set | 631 | # CONFIG_BFIN_PPI is not set |
607 | # CONFIG_BF5xx_PFLAGS is not set | 632 | # CONFIG_BFIN_PPIFCD is not set |
608 | # CONFIG_BF5xx_PPIFCD is not set | ||
609 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 633 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
610 | # CONFIG_BF5xx_PPI is not set | 634 | # CONFIG_BFIN_SPI_ADC is not set |
611 | CONFIG_BFIN_SPORT=y | 635 | CONFIG_BFIN_SPORT=y |
612 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
613 | # CONFIG_VT is not set | 636 | # CONFIG_VT is not set |
614 | # CONFIG_DEVKMEM is not set | 637 | # CONFIG_DEVKMEM is not set |
638 | # CONFIG_BFIN_JTAG_COMM is not set | ||
615 | # CONFIG_SERIAL_NONSTANDARD is not set | 639 | # CONFIG_SERIAL_NONSTANDARD is not set |
616 | 640 | ||
617 | # | 641 | # |
@@ -622,6 +646,7 @@ CONFIG_BFIN_SPORT=y | |||
622 | # | 646 | # |
623 | # Non-8250 serial port support | 647 | # Non-8250 serial port support |
624 | # | 648 | # |
649 | # CONFIG_SERIAL_MAX3100 is not set | ||
625 | CONFIG_SERIAL_BFIN=y | 650 | CONFIG_SERIAL_BFIN=y |
626 | CONFIG_SERIAL_BFIN_CONSOLE=y | 651 | CONFIG_SERIAL_BFIN_CONSOLE=y |
627 | CONFIG_SERIAL_BFIN_DMA=y | 652 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -634,165 +659,201 @@ CONFIG_SERIAL_CORE=y | |||
634 | CONFIG_SERIAL_CORE_CONSOLE=y | 659 | CONFIG_SERIAL_CORE_CONSOLE=y |
635 | # CONFIG_SERIAL_BFIN_SPORT is not set | 660 | # CONFIG_SERIAL_BFIN_SPORT is not set |
636 | CONFIG_UNIX98_PTYS=y | 661 | CONFIG_UNIX98_PTYS=y |
662 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
637 | # CONFIG_LEGACY_PTYS is not set | 663 | # CONFIG_LEGACY_PTYS is not set |
638 | 664 | ||
639 | # | 665 | # |
640 | # CAN, the car bus and industrial fieldbus | 666 | # CAN, the car bus and industrial fieldbus |
641 | # | 667 | # |
642 | # CONFIG_CAN4LINUX is not set | 668 | # CONFIG_CAN4LINUX is not set |
643 | |||
644 | # | ||
645 | # IPMI | ||
646 | # | ||
647 | # CONFIG_IPMI_HANDLER is not set | 669 | # CONFIG_IPMI_HANDLER is not set |
648 | # CONFIG_WATCHDOG is not set | ||
649 | # CONFIG_HW_RANDOM is not set | 670 | # CONFIG_HW_RANDOM is not set |
650 | # CONFIG_GEN_RTC is not set | ||
651 | # CONFIG_R3964 is not set | 671 | # CONFIG_R3964 is not set |
652 | # CONFIG_RAW_DRIVER is not set | 672 | # CONFIG_RAW_DRIVER is not set |
673 | # CONFIG_TCG_TPM is not set | ||
674 | # CONFIG_I2C is not set | ||
675 | CONFIG_SPI=y | ||
676 | CONFIG_SPI_MASTER=y | ||
653 | 677 | ||
654 | # | 678 | # |
655 | # TPM devices | 679 | # SPI Master Controller Drivers |
656 | # | 680 | # |
657 | # CONFIG_TCG_TPM is not set | 681 | CONFIG_SPI_BFIN=y |
658 | # CONFIG_I2C is not set | 682 | # CONFIG_SPI_BFIN_LOCK is not set |
683 | # CONFIG_SPI_BFIN_SPORT is not set | ||
684 | # CONFIG_SPI_BITBANG is not set | ||
685 | # CONFIG_SPI_GPIO is not set | ||
659 | 686 | ||
687 | # | ||
688 | # SPI Protocol Masters | ||
689 | # | ||
690 | # CONFIG_SPI_SPIDEV is not set | ||
691 | # CONFIG_SPI_TLE62X0 is not set | ||
660 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 692 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
661 | CONFIG_GPIOLIB=y | 693 | CONFIG_GPIOLIB=y |
662 | CONFIG_GPIO_SYSFS=y | 694 | CONFIG_GPIO_SYSFS=y |
663 | 695 | ||
664 | # | 696 | # |
665 | # SPI support | 697 | # Memory mapped GPIO expanders: |
698 | # | ||
699 | |||
700 | # | ||
701 | # I2C GPIO expanders: | ||
666 | # | 702 | # |
667 | # CONFIG_SPI is not set | ||
668 | # CONFIG_SPI_MASTER is not set | ||
669 | 703 | ||
670 | # | 704 | # |
671 | # Dallas's 1-wire bus | 705 | # PCI GPIO expanders: |
672 | # | 706 | # |
707 | |||
708 | # | ||
709 | # SPI GPIO expanders: | ||
710 | # | ||
711 | # CONFIG_GPIO_MAX7301 is not set | ||
712 | # CONFIG_GPIO_MCP23S08 is not set | ||
673 | # CONFIG_W1 is not set | 713 | # CONFIG_W1 is not set |
714 | # CONFIG_POWER_SUPPLY is not set | ||
674 | CONFIG_HWMON=y | 715 | CONFIG_HWMON=y |
675 | # CONFIG_HWMON_VID is not set | 716 | # CONFIG_HWMON_VID is not set |
676 | # CONFIG_SENSORS_ABITUGURU is not set | 717 | # CONFIG_SENSORS_ADCXX is not set |
677 | # CONFIG_SENSORS_F71805F is not set | 718 | # CONFIG_SENSORS_F71805F is not set |
719 | # CONFIG_SENSORS_F71882FG is not set | ||
720 | # CONFIG_SENSORS_IT87 is not set | ||
721 | # CONFIG_SENSORS_LM70 is not set | ||
722 | # CONFIG_SENSORS_MAX1111 is not set | ||
723 | # CONFIG_SENSORS_PC87360 is not set | ||
678 | # CONFIG_SENSORS_PC87427 is not set | 724 | # CONFIG_SENSORS_PC87427 is not set |
725 | # CONFIG_SENSORS_SHT15 is not set | ||
679 | # CONFIG_SENSORS_SMSC47M1 is not set | 726 | # CONFIG_SENSORS_SMSC47M1 is not set |
680 | # CONFIG_SENSORS_SMSC47B397 is not set | 727 | # CONFIG_SENSORS_SMSC47B397 is not set |
681 | # CONFIG_SENSORS_VT1211 is not set | 728 | # CONFIG_SENSORS_VT1211 is not set |
682 | # CONFIG_SENSORS_W83627HF is not set | 729 | # CONFIG_SENSORS_W83627HF is not set |
730 | # CONFIG_SENSORS_W83627EHF is not set | ||
683 | # CONFIG_HWMON_DEBUG_CHIP is not set | 731 | # CONFIG_HWMON_DEBUG_CHIP is not set |
732 | # CONFIG_THERMAL is not set | ||
733 | # CONFIG_THERMAL_HWMON is not set | ||
734 | # CONFIG_WATCHDOG is not set | ||
735 | CONFIG_SSB_POSSIBLE=y | ||
736 | |||
737 | # | ||
738 | # Sonics Silicon Backplane | ||
739 | # | ||
740 | # CONFIG_SSB is not set | ||
684 | 741 | ||
685 | # | 742 | # |
686 | # Multifunction device drivers | 743 | # Multifunction device drivers |
687 | # | 744 | # |
745 | # CONFIG_MFD_CORE is not set | ||
688 | # CONFIG_MFD_SM501 is not set | 746 | # CONFIG_MFD_SM501 is not set |
747 | # CONFIG_HTC_PASIC3 is not set | ||
748 | # CONFIG_MFD_TMIO is not set | ||
749 | # CONFIG_REGULATOR is not set | ||
689 | 750 | ||
690 | # | 751 | # |
691 | # Multimedia devices | 752 | # Multimedia devices |
692 | # | 753 | # |
754 | |||
755 | # | ||
756 | # Multimedia core support | ||
757 | # | ||
693 | # CONFIG_VIDEO_DEV is not set | 758 | # CONFIG_VIDEO_DEV is not set |
694 | # CONFIG_DVB_CORE is not set | 759 | # CONFIG_DVB_CORE is not set |
695 | # CONFIG_DAB is not set | 760 | # CONFIG_VIDEO_MEDIA is not set |
696 | 761 | ||
697 | # | 762 | # |
698 | # Graphics support | 763 | # Multimedia drivers |
699 | # | 764 | # |
700 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 765 | # CONFIG_DAB is not set |
701 | 766 | ||
702 | # | 767 | # |
703 | # Display device support | 768 | # Graphics support |
704 | # | 769 | # |
705 | # CONFIG_DISPLAY_SUPPORT is not set | ||
706 | # CONFIG_VGASTATE is not set | 770 | # CONFIG_VGASTATE is not set |
771 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
707 | # CONFIG_FB is not set | 772 | # CONFIG_FB is not set |
773 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
708 | 774 | ||
709 | # | 775 | # |
710 | # Sound | 776 | # Display device support |
711 | # | 777 | # |
778 | # CONFIG_DISPLAY_SUPPORT is not set | ||
712 | # CONFIG_SOUND is not set | 779 | # CONFIG_SOUND is not set |
713 | 780 | CONFIG_USB_SUPPORT=y | |
714 | # | ||
715 | # USB support | ||
716 | # | ||
717 | CONFIG_USB_ARCH_HAS_HCD=y | 781 | CONFIG_USB_ARCH_HAS_HCD=y |
718 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 782 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
719 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 783 | # CONFIG_USB_ARCH_HAS_EHCI is not set |
720 | # CONFIG_USB is not set | 784 | # CONFIG_USB is not set |
721 | # CONFIG_USB_MUSB_HDRC is not set | 785 | # CONFIG_USB_OTG_WHITELIST is not set |
786 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
722 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | 787 | # CONFIG_USB_GADGET_MUSB_HDRC is not set |
723 | 788 | ||
724 | # | 789 | # |
725 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 790 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
726 | # | ||
727 | |||
728 | # | ||
729 | # USB Gadget Support | ||
730 | # | 791 | # |
731 | CONFIG_USB_GADGET=y | 792 | CONFIG_USB_GADGET=y |
732 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | 793 | # CONFIG_USB_GADGET_DEBUG_FILES is not set |
794 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
795 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
733 | CONFIG_USB_GADGET_SELECTED=y | 796 | CONFIG_USB_GADGET_SELECTED=y |
797 | # CONFIG_USB_GADGET_AT91 is not set | ||
798 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
734 | # CONFIG_USB_GADGET_FSL_USB2 is not set | 799 | # CONFIG_USB_GADGET_FSL_USB2 is not set |
800 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
801 | # CONFIG_USB_GADGET_OMAP is not set | ||
802 | # CONFIG_USB_GADGET_PXA25X is not set | ||
803 | # CONFIG_USB_GADGET_PXA27X is not set | ||
804 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
805 | # CONFIG_USB_GADGET_IMX is not set | ||
806 | # CONFIG_USB_GADGET_M66592 is not set | ||
807 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
808 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
809 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
735 | CONFIG_USB_GADGET_NET2272=y | 810 | CONFIG_USB_GADGET_NET2272=y |
736 | CONFIG_USB_NET2272=y | 811 | CONFIG_USB_NET2272=y |
737 | # CONFIG_USB_GADGET_NET2280 is not set | 812 | # CONFIG_USB_GADGET_NET2280 is not set |
738 | # CONFIG_USB_GADGET_PXA2XX is not set | ||
739 | # CONFIG_USB_GADGET_GOKU is not set | 813 | # CONFIG_USB_GADGET_GOKU is not set |
740 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
741 | # CONFIG_USB_GADGET_OMAP is not set | ||
742 | # CONFIG_USB_GADGET_AT91 is not set | ||
743 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | 814 | # CONFIG_USB_GADGET_DUMMY_HCD is not set |
744 | CONFIG_USB_GADGET_DUALSPEED=y | 815 | CONFIG_USB_GADGET_DUALSPEED=y |
745 | # CONFIG_USB_ZERO is not set | 816 | # CONFIG_USB_ZERO is not set |
746 | # CONFIG_USB_ETH is not set | 817 | # CONFIG_USB_AUDIO is not set |
818 | CONFIG_USB_ETH=y | ||
819 | CONFIG_USB_ETH_RNDIS=y | ||
747 | # CONFIG_USB_GADGETFS is not set | 820 | # CONFIG_USB_GADGETFS is not set |
748 | # CONFIG_USB_FILE_STORAGE is not set | 821 | # CONFIG_USB_FILE_STORAGE is not set |
749 | # CONFIG_USB_G_SERIAL is not set | 822 | # CONFIG_USB_G_SERIAL is not set |
750 | # CONFIG_USB_MIDI_GADGET is not set | 823 | # CONFIG_USB_MIDI_GADGET is not set |
751 | # CONFIG_MMC is not set | 824 | # CONFIG_USB_G_PRINTER is not set |
752 | 825 | # CONFIG_USB_CDC_COMPOSITE is not set | |
753 | # | ||
754 | # LED devices | ||
755 | # | ||
756 | # CONFIG_NEW_LEDS is not set | ||
757 | |||
758 | # | ||
759 | # LED drivers | ||
760 | # | ||
761 | |||
762 | # | ||
763 | # LED Triggers | ||
764 | # | ||
765 | 826 | ||
766 | # | 827 | # |
767 | # InfiniBand support | 828 | # OTG and related infrastructure |
768 | # | 829 | # |
830 | # CONFIG_USB_GPIO_VBUS is not set | ||
831 | # CONFIG_NOP_USB_XCEIV is not set | ||
832 | CONFIG_MMC=y | ||
833 | # CONFIG_MMC_DEBUG is not set | ||
834 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
769 | 835 | ||
770 | # | 836 | # |
771 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | 837 | # MMC/SD/SDIO Card Drivers |
772 | # | 838 | # |
839 | CONFIG_MMC_BLOCK=y | ||
840 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
841 | # CONFIG_SDIO_UART is not set | ||
842 | # CONFIG_MMC_TEST is not set | ||
773 | 843 | ||
774 | # | 844 | # |
775 | # Real Time Clock | 845 | # MMC/SD/SDIO Host Controller Drivers |
776 | # | 846 | # |
847 | # CONFIG_MMC_SDHCI is not set | ||
848 | CONFIG_MMC_SPI=m | ||
849 | # CONFIG_MEMSTICK is not set | ||
850 | # CONFIG_NEW_LEDS is not set | ||
851 | # CONFIG_ACCESSIBILITY is not set | ||
777 | # CONFIG_RTC_CLASS is not set | 852 | # CONFIG_RTC_CLASS is not set |
778 | 853 | # CONFIG_DMADEVICES is not set | |
779 | # | 854 | # CONFIG_AUXDISPLAY is not set |
780 | # DMA Engine support | 855 | # CONFIG_UIO is not set |
781 | # | 856 | # CONFIG_STAGING is not set |
782 | # CONFIG_DMA_ENGINE is not set | ||
783 | |||
784 | # | ||
785 | # DMA Clients | ||
786 | # | ||
787 | |||
788 | # | ||
789 | # DMA Devices | ||
790 | # | ||
791 | |||
792 | # | ||
793 | # PBX support | ||
794 | # | ||
795 | # CONFIG_PBX is not set | ||
796 | 857 | ||
797 | # | 858 | # |
798 | # File systems | 859 | # File systems |
@@ -802,25 +863,29 @@ CONFIG_EXT2_FS_XATTR=y | |||
802 | # CONFIG_EXT2_FS_POSIX_ACL is not set | 863 | # CONFIG_EXT2_FS_POSIX_ACL is not set |
803 | # CONFIG_EXT2_FS_SECURITY is not set | 864 | # CONFIG_EXT2_FS_SECURITY is not set |
804 | # CONFIG_EXT3_FS is not set | 865 | # CONFIG_EXT3_FS is not set |
805 | # CONFIG_EXT4DEV_FS is not set | 866 | # CONFIG_EXT4_FS is not set |
806 | CONFIG_FS_MBCACHE=y | 867 | CONFIG_FS_MBCACHE=y |
807 | # CONFIG_REISERFS_FS is not set | 868 | # CONFIG_REISERFS_FS is not set |
808 | # CONFIG_JFS_FS is not set | 869 | # CONFIG_JFS_FS is not set |
809 | # CONFIG_FS_POSIX_ACL is not set | 870 | # CONFIG_FS_POSIX_ACL is not set |
810 | # CONFIG_XFS_FS is not set | 871 | # CONFIG_XFS_FS is not set |
811 | # CONFIG_GFS2_FS is not set | ||
812 | # CONFIG_OCFS2_FS is not set | 872 | # CONFIG_OCFS2_FS is not set |
813 | # CONFIG_MINIX_FS is not set | 873 | # CONFIG_BTRFS_FS is not set |
814 | # CONFIG_ROMFS_FS is not set | 874 | CONFIG_FILE_LOCKING=y |
875 | # CONFIG_DNOTIFY is not set | ||
815 | CONFIG_INOTIFY=y | 876 | CONFIG_INOTIFY=y |
816 | CONFIG_INOTIFY_USER=y | 877 | CONFIG_INOTIFY_USER=y |
817 | # CONFIG_QUOTA is not set | 878 | # CONFIG_QUOTA is not set |
818 | # CONFIG_DNOTIFY is not set | ||
819 | # CONFIG_AUTOFS_FS is not set | 879 | # CONFIG_AUTOFS_FS is not set |
820 | # CONFIG_AUTOFS4_FS is not set | 880 | # CONFIG_AUTOFS4_FS is not set |
821 | # CONFIG_FUSE_FS is not set | 881 | # CONFIG_FUSE_FS is not set |
822 | 882 | ||
823 | # | 883 | # |
884 | # Caches | ||
885 | # | ||
886 | # CONFIG_FSCACHE is not set | ||
887 | |||
888 | # | ||
824 | # CD-ROM/DVD Filesystems | 889 | # CD-ROM/DVD Filesystems |
825 | # | 890 | # |
826 | # CONFIG_ISO9660_FS is not set | 891 | # CONFIG_ISO9660_FS is not set |
@@ -829,8 +894,11 @@ CONFIG_INOTIFY_USER=y | |||
829 | # | 894 | # |
830 | # DOS/FAT/NT Filesystems | 895 | # DOS/FAT/NT Filesystems |
831 | # | 896 | # |
832 | # CONFIG_MSDOS_FS is not set | 897 | CONFIG_FAT_FS=y |
833 | # CONFIG_VFAT_FS is not set | 898 | CONFIG_MSDOS_FS=y |
899 | CONFIG_VFAT_FS=y | ||
900 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
901 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
834 | # CONFIG_NTFS_FS is not set | 902 | # CONFIG_NTFS_FS is not set |
835 | 903 | ||
836 | # | 904 | # |
@@ -841,12 +909,8 @@ CONFIG_PROC_SYSCTL=y | |||
841 | CONFIG_SYSFS=y | 909 | CONFIG_SYSFS=y |
842 | # CONFIG_TMPFS is not set | 910 | # CONFIG_TMPFS is not set |
843 | # CONFIG_HUGETLB_PAGE is not set | 911 | # CONFIG_HUGETLB_PAGE is not set |
844 | CONFIG_RAMFS=y | ||
845 | # CONFIG_CONFIGFS_FS is not set | 912 | # CONFIG_CONFIGFS_FS is not set |
846 | 913 | CONFIG_MISC_FILESYSTEMS=y | |
847 | # | ||
848 | # Miscellaneous filesystems | ||
849 | # | ||
850 | # CONFIG_ADFS_FS is not set | 914 | # CONFIG_ADFS_FS is not set |
851 | # CONFIG_AFFS_FS is not set | 915 | # CONFIG_AFFS_FS is not set |
852 | # CONFIG_HFS_FS is not set | 916 | # CONFIG_HFS_FS is not set |
@@ -854,18 +918,29 @@ CONFIG_RAMFS=y | |||
854 | # CONFIG_BEFS_FS is not set | 918 | # CONFIG_BEFS_FS is not set |
855 | # CONFIG_BFS_FS is not set | 919 | # CONFIG_BFS_FS is not set |
856 | # CONFIG_EFS_FS is not set | 920 | # CONFIG_EFS_FS is not set |
857 | # CONFIG_YAFFS_FS is not set | 921 | CONFIG_JFFS2_FS=y |
858 | # CONFIG_JFFS2_FS is not set | 922 | CONFIG_JFFS2_FS_DEBUG=0 |
923 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
924 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
925 | # CONFIG_JFFS2_SUMMARY is not set | ||
926 | # CONFIG_JFFS2_FS_XATTR is not set | ||
927 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
928 | CONFIG_JFFS2_ZLIB=y | ||
929 | # CONFIG_JFFS2_LZO is not set | ||
930 | CONFIG_JFFS2_RTIME=y | ||
931 | # CONFIG_JFFS2_RUBIN is not set | ||
859 | # CONFIG_CRAMFS is not set | 932 | # CONFIG_CRAMFS is not set |
933 | # CONFIG_SQUASHFS is not set | ||
860 | # CONFIG_VXFS_FS is not set | 934 | # CONFIG_VXFS_FS is not set |
935 | # CONFIG_MINIX_FS is not set | ||
936 | # CONFIG_OMFS_FS is not set | ||
861 | # CONFIG_HPFS_FS is not set | 937 | # CONFIG_HPFS_FS is not set |
862 | # CONFIG_QNX4FS_FS is not set | 938 | # CONFIG_QNX4FS_FS is not set |
939 | # CONFIG_ROMFS_FS is not set | ||
863 | # CONFIG_SYSV_FS is not set | 940 | # CONFIG_SYSV_FS is not set |
864 | # CONFIG_UFS_FS is not set | 941 | # CONFIG_UFS_FS is not set |
865 | 942 | # CONFIG_NILFS2_FS is not set | |
866 | # | 943 | CONFIG_NETWORK_FILESYSTEMS=y |
867 | # Network File Systems | ||
868 | # | ||
869 | # CONFIG_NFS_FS is not set | 944 | # CONFIG_NFS_FS is not set |
870 | # CONFIG_NFSD is not set | 945 | # CONFIG_NFSD is not set |
871 | # CONFIG_SMB_FS is not set | 946 | # CONFIG_SMB_FS is not set |
@@ -873,41 +948,94 @@ CONFIG_RAMFS=y | |||
873 | # CONFIG_NCP_FS is not set | 948 | # CONFIG_NCP_FS is not set |
874 | # CONFIG_CODA_FS is not set | 949 | # CONFIG_CODA_FS is not set |
875 | # CONFIG_AFS_FS is not set | 950 | # CONFIG_AFS_FS is not set |
876 | # CONFIG_9P_FS is not set | ||
877 | 951 | ||
878 | # | 952 | # |
879 | # Partition Types | 953 | # Partition Types |
880 | # | 954 | # |
881 | # CONFIG_PARTITION_ADVANCED is not set | 955 | # CONFIG_PARTITION_ADVANCED is not set |
882 | CONFIG_MSDOS_PARTITION=y | 956 | CONFIG_MSDOS_PARTITION=y |
883 | 957 | CONFIG_NLS=y | |
884 | # | 958 | CONFIG_NLS_DEFAULT="iso8859-1" |
885 | # Native Language Support | 959 | CONFIG_NLS_CODEPAGE_437=y |
886 | # | 960 | # CONFIG_NLS_CODEPAGE_737 is not set |
887 | # CONFIG_NLS is not set | 961 | # CONFIG_NLS_CODEPAGE_775 is not set |
888 | 962 | # CONFIG_NLS_CODEPAGE_850 is not set | |
889 | # | 963 | # CONFIG_NLS_CODEPAGE_852 is not set |
890 | # Distributed Lock Manager | 964 | # CONFIG_NLS_CODEPAGE_855 is not set |
891 | # | 965 | # CONFIG_NLS_CODEPAGE_857 is not set |
966 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
967 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
968 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
969 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
970 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
971 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
972 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
973 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
974 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
975 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
976 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
977 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
978 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
979 | # CONFIG_NLS_ISO8859_8 is not set | ||
980 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
981 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
982 | # CONFIG_NLS_ASCII is not set | ||
983 | CONFIG_NLS_ISO8859_1=y | ||
984 | # CONFIG_NLS_ISO8859_2 is not set | ||
985 | # CONFIG_NLS_ISO8859_3 is not set | ||
986 | # CONFIG_NLS_ISO8859_4 is not set | ||
987 | # CONFIG_NLS_ISO8859_5 is not set | ||
988 | # CONFIG_NLS_ISO8859_6 is not set | ||
989 | # CONFIG_NLS_ISO8859_7 is not set | ||
990 | # CONFIG_NLS_ISO8859_9 is not set | ||
991 | # CONFIG_NLS_ISO8859_13 is not set | ||
992 | # CONFIG_NLS_ISO8859_14 is not set | ||
993 | # CONFIG_NLS_ISO8859_15 is not set | ||
994 | # CONFIG_NLS_KOI8_R is not set | ||
995 | # CONFIG_NLS_KOI8_U is not set | ||
996 | # CONFIG_NLS_UTF8 is not set | ||
892 | # CONFIG_DLM is not set | 997 | # CONFIG_DLM is not set |
893 | 998 | ||
894 | # | 999 | # |
895 | # Profiling support | ||
896 | # | ||
897 | # CONFIG_PROFILING is not set | ||
898 | |||
899 | # | ||
900 | # Kernel hacking | 1000 | # Kernel hacking |
901 | # | 1001 | # |
902 | # CONFIG_PRINTK_TIME is not set | 1002 | # CONFIG_PRINTK_TIME is not set |
1003 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
903 | CONFIG_ENABLE_MUST_CHECK=y | 1004 | CONFIG_ENABLE_MUST_CHECK=y |
1005 | CONFIG_FRAME_WARN=1024 | ||
904 | # CONFIG_MAGIC_SYSRQ is not set | 1006 | # CONFIG_MAGIC_SYSRQ is not set |
905 | # CONFIG_UNUSED_SYMBOLS is not set | 1007 | # CONFIG_UNUSED_SYMBOLS is not set |
906 | CONFIG_DEBUG_FS=y | 1008 | CONFIG_DEBUG_FS=y |
907 | # CONFIG_HEADERS_CHECK is not set | 1009 | # CONFIG_HEADERS_CHECK is not set |
1010 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
908 | # CONFIG_DEBUG_KERNEL is not set | 1011 | # CONFIG_DEBUG_KERNEL is not set |
909 | CONFIG_DEBUG_BUGVERBOSE=y | 1012 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1013 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1014 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1015 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1016 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1017 | CONFIG_TRACING_SUPPORT=y | ||
1018 | |||
1019 | # | ||
1020 | # Tracers | ||
1021 | # | ||
1022 | # CONFIG_FUNCTION_TRACER is not set | ||
1023 | # CONFIG_IRQSOFF_TRACER is not set | ||
1024 | # CONFIG_SCHED_TRACER is not set | ||
1025 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1026 | # CONFIG_EVENT_TRACER is not set | ||
1027 | # CONFIG_BOOT_TRACER is not set | ||
1028 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1029 | # CONFIG_STACK_TRACER is not set | ||
1030 | # CONFIG_KMEMTRACE is not set | ||
1031 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1032 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1033 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1034 | # CONFIG_SAMPLES is not set | ||
1035 | CONFIG_HAVE_ARCH_KGDB=y | ||
1036 | CONFIG_DEBUG_VERBOSE=y | ||
910 | CONFIG_DEBUG_MMRS=y | 1037 | CONFIG_DEBUG_MMRS=y |
1038 | # CONFIG_DEBUG_DOUBLEFAULT is not set | ||
911 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1039 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
912 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1040 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
913 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 1041 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
@@ -916,34 +1044,40 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
916 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1044 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
917 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1045 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
918 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1046 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
919 | # CONFIG_EARLY_PRINTK is not set | 1047 | CONFIG_EARLY_PRINTK=y |
920 | CONFIG_CPLB_INFO=y | 1048 | CONFIG_CPLB_INFO=y |
921 | CONFIG_ACCESS_CHECK=y | 1049 | CONFIG_ACCESS_CHECK=y |
1050 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
922 | 1051 | ||
923 | # | 1052 | # |
924 | # Security options | 1053 | # Security options |
925 | # | 1054 | # |
926 | # CONFIG_KEYS is not set | 1055 | # CONFIG_KEYS is not set |
927 | CONFIG_SECURITY=y | 1056 | CONFIG_SECURITY=y |
1057 | # CONFIG_SECURITYFS is not set | ||
928 | # CONFIG_SECURITY_NETWORK is not set | 1058 | # CONFIG_SECURITY_NETWORK is not set |
929 | CONFIG_SECURITY_CAPABILITIES=y | 1059 | # CONFIG_SECURITY_PATH is not set |
930 | 1060 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | |
931 | # | 1061 | # CONFIG_SECURITY_TOMOYO is not set |
932 | # Cryptographic options | ||
933 | # | ||
934 | # CONFIG_CRYPTO is not set | 1062 | # CONFIG_CRYPTO is not set |
1063 | # CONFIG_BINARY_PRINTF is not set | ||
935 | 1064 | ||
936 | # | 1065 | # |
937 | # Library routines | 1066 | # Library routines |
938 | # | 1067 | # |
939 | CONFIG_BITREVERSE=y | 1068 | CONFIG_BITREVERSE=y |
1069 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
940 | CONFIG_CRC_CCITT=m | 1070 | CONFIG_CRC_CCITT=m |
941 | # CONFIG_CRC16 is not set | 1071 | # CONFIG_CRC16 is not set |
942 | # CONFIG_CRC_ITU_T is not set | 1072 | # CONFIG_CRC_T10DIF is not set |
1073 | CONFIG_CRC_ITU_T=y | ||
943 | CONFIG_CRC32=y | 1074 | CONFIG_CRC32=y |
1075 | CONFIG_CRC7=y | ||
944 | # CONFIG_LIBCRC32C is not set | 1076 | # CONFIG_LIBCRC32C is not set |
945 | CONFIG_ZLIB_INFLATE=y | 1077 | CONFIG_ZLIB_INFLATE=y |
946 | CONFIG_PLIST=y | 1078 | CONFIG_ZLIB_DEFLATE=y |
1079 | CONFIG_DECOMPRESS_LZMA=y | ||
947 | CONFIG_HAS_IOMEM=y | 1080 | CONFIG_HAS_IOMEM=y |
948 | CONFIG_HAS_IOPORT=y | 1081 | CONFIG_HAS_IOPORT=y |
949 | CONFIG_HAS_DMA=y | 1082 | CONFIG_HAS_DMA=y |
1083 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/CM-BF548_defconfig b/arch/blackfin/configs/CM-BF548_defconfig index acca4e51a45a..7f579cf51127 100644 --- a/arch/blackfin/configs/CM-BF548_defconfig +++ b/arch/blackfin/configs/CM-BF548_defconfig | |||
@@ -1,14 +1,14 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.24.4 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # | 4 | # |
5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
9 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
10 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
11 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
@@ -16,6 +16,9 @@ CONFIG_GENERIC_IRQ_PROBE=y | |||
16 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
17 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
20 | 23 | ||
21 | # | 24 | # |
@@ -26,79 +29,100 @@ CONFIG_BROKEN_ON_SMP=y | |||
26 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
27 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
28 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
29 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
30 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
31 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
32 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
33 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
34 | # CONFIG_USER_NS is not set | ||
35 | # CONFIG_PID_NS is not set | ||
36 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
37 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
38 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
39 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
56 | # CONFIG_GROUP_SCHED is not set | ||
40 | # CONFIG_CGROUPS is not set | 57 | # CONFIG_CGROUPS is not set |
41 | CONFIG_FAIR_GROUP_SCHED=y | 58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
42 | CONFIG_FAIR_USER_SCHED=y | ||
43 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
44 | # CONFIG_SYSFS_DEPRECATED is not set | ||
45 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
60 | # CONFIG_NAMESPACES is not set | ||
46 | CONFIG_BLK_DEV_INITRD=y | 61 | CONFIG_BLK_DEV_INITRD=y |
47 | CONFIG_INITRAMFS_SOURCE="" | 62 | CONFIG_INITRAMFS_SOURCE="" |
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
48 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
49 | # CONFIG_SYSCTL is not set | 67 | CONFIG_SYSCTL=y |
68 | CONFIG_ANON_INODES=y | ||
50 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
51 | CONFIG_UID16=y | 70 | # CONFIG_UID16 is not set |
52 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
53 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
54 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
74 | # CONFIG_STRIP_ASM_SYMS is not set | ||
55 | CONFIG_HOTPLUG=y | 75 | CONFIG_HOTPLUG=y |
56 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
57 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
58 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
59 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
60 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
63 | CONFIG_SIGNALFD=y | 82 | CONFIG_SIGNALFD=y |
83 | CONFIG_TIMERFD=y | ||
64 | CONFIG_EVENTFD=y | 84 | CONFIG_EVENTFD=y |
85 | CONFIG_AIO=y | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
66 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 87 | CONFIG_COMPAT_BRK=y |
67 | # CONFIG_NP2 is not set | ||
68 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
69 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
70 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
92 | # CONFIG_PROFILING is not set | ||
93 | # CONFIG_MARKERS is not set | ||
94 | CONFIG_HAVE_OPROFILE=y | ||
95 | # CONFIG_SLOW_WORK is not set | ||
96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
71 | CONFIG_SLABINFO=y | 97 | CONFIG_SLABINFO=y |
72 | CONFIG_RT_MUTEXES=y | ||
73 | CONFIG_TINY_SHMEM=y | ||
74 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
75 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
100 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
76 | CONFIG_MODULE_UNLOAD=y | 101 | CONFIG_MODULE_UNLOAD=y |
77 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
78 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
79 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
80 | CONFIG_KMOD=y | ||
81 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
82 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
83 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
84 | # CONFIG_LSF is not set | ||
85 | # CONFIG_BLK_DEV_BSG is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
108 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
86 | 109 | ||
87 | # | 110 | # |
88 | # IO Schedulers | 111 | # IO Schedulers |
89 | # | 112 | # |
90 | CONFIG_IOSCHED_NOOP=y | 113 | CONFIG_IOSCHED_NOOP=y |
91 | CONFIG_IOSCHED_AS=y | 114 | # CONFIG_IOSCHED_AS is not set |
92 | # CONFIG_IOSCHED_DEADLINE is not set | 115 | # CONFIG_IOSCHED_DEADLINE is not set |
93 | CONFIG_IOSCHED_CFQ=y | 116 | CONFIG_IOSCHED_CFQ=y |
94 | CONFIG_DEFAULT_AS=y | 117 | # CONFIG_DEFAULT_AS is not set |
95 | # CONFIG_DEFAULT_DEADLINE is not set | 118 | # CONFIG_DEFAULT_DEADLINE is not set |
96 | # CONFIG_DEFAULT_CFQ is not set | 119 | # CONFIG_DEFAULT_CFQ is not set |
97 | # CONFIG_DEFAULT_NOOP is not set | 120 | CONFIG_DEFAULT_NOOP=y |
98 | CONFIG_DEFAULT_IOSCHED="anticipatory" | 121 | CONFIG_DEFAULT_IOSCHED="noop" |
99 | # CONFIG_PREEMPT_NONE is not set | 122 | CONFIG_PREEMPT_NONE=y |
100 | CONFIG_PREEMPT_VOLUNTARY=y | 123 | # CONFIG_PREEMPT_VOLUNTARY is not set |
101 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
125 | # CONFIG_FREEZER is not set | ||
102 | 126 | ||
103 | # | 127 | # |
104 | # Blackfin Processor Options | 128 | # Blackfin Processor Options |
@@ -107,6 +131,10 @@ CONFIG_PREEMPT_VOLUNTARY=y | |||
107 | # | 131 | # |
108 | # Processor and Board Settings | 132 | # Processor and Board Settings |
109 | # | 133 | # |
134 | # CONFIG_BF512 is not set | ||
135 | # CONFIG_BF514 is not set | ||
136 | # CONFIG_BF516 is not set | ||
137 | # CONFIG_BF518 is not set | ||
110 | # CONFIG_BF522 is not set | 138 | # CONFIG_BF522 is not set |
111 | # CONFIG_BF523 is not set | 139 | # CONFIG_BF523 is not set |
112 | # CONFIG_BF524 is not set | 140 | # CONFIG_BF524 is not set |
@@ -119,19 +147,29 @@ CONFIG_PREEMPT_VOLUNTARY=y | |||
119 | # CONFIG_BF534 is not set | 147 | # CONFIG_BF534 is not set |
120 | # CONFIG_BF536 is not set | 148 | # CONFIG_BF536 is not set |
121 | # CONFIG_BF537 is not set | 149 | # CONFIG_BF537 is not set |
150 | # CONFIG_BF538 is not set | ||
151 | # CONFIG_BF539 is not set | ||
122 | # CONFIG_BF542 is not set | 152 | # CONFIG_BF542 is not set |
153 | # CONFIG_BF542M is not set | ||
123 | # CONFIG_BF544 is not set | 154 | # CONFIG_BF544 is not set |
155 | # CONFIG_BF544M is not set | ||
124 | # CONFIG_BF547 is not set | 156 | # CONFIG_BF547 is not set |
125 | CONFIG_BF548=y | 157 | # CONFIG_BF547M is not set |
158 | CONFIG_BF548_std=y | ||
159 | # CONFIG_BF548M is not set | ||
126 | # CONFIG_BF549 is not set | 160 | # CONFIG_BF549 is not set |
161 | # CONFIG_BF549M is not set | ||
127 | # CONFIG_BF561 is not set | 162 | # CONFIG_BF561 is not set |
163 | CONFIG_BF_REV_MIN=0 | ||
164 | CONFIG_BF_REV_MAX=2 | ||
128 | # CONFIG_BF_REV_0_0 is not set | 165 | # CONFIG_BF_REV_0_0 is not set |
129 | # CONFIG_BF_REV_0_1 is not set | 166 | # CONFIG_BF_REV_0_1 is not set |
130 | CONFIG_BF_REV_0_2=y | 167 | # CONFIG_BF_REV_0_2 is not set |
131 | # CONFIG_BF_REV_0_3 is not set | 168 | # CONFIG_BF_REV_0_3 is not set |
132 | # CONFIG_BF_REV_0_4 is not set | 169 | # CONFIG_BF_REV_0_4 is not set |
133 | # CONFIG_BF_REV_0_5 is not set | 170 | # CONFIG_BF_REV_0_5 is not set |
134 | # CONFIG_BF_REV_ANY is not set | 171 | # CONFIG_BF_REV_0_6 is not set |
172 | CONFIG_BF_REV_ANY=y | ||
135 | # CONFIG_BF_REV_NONE is not set | 173 | # CONFIG_BF_REV_NONE is not set |
136 | CONFIG_BF54x=y | 174 | CONFIG_BF54x=y |
137 | CONFIG_IRQ_PLL_WAKEUP=7 | 175 | CONFIG_IRQ_PLL_WAKEUP=7 |
@@ -140,15 +178,12 @@ CONFIG_IRQ_SPORT0_RX=9 | |||
140 | CONFIG_IRQ_SPORT0_TX=9 | 178 | CONFIG_IRQ_SPORT0_TX=9 |
141 | CONFIG_IRQ_SPORT1_RX=9 | 179 | CONFIG_IRQ_SPORT1_RX=9 |
142 | CONFIG_IRQ_SPORT1_TX=9 | 180 | CONFIG_IRQ_SPORT1_TX=9 |
181 | CONFIG_IRQ_SPI0=10 | ||
143 | CONFIG_IRQ_UART0_RX=10 | 182 | CONFIG_IRQ_UART0_RX=10 |
144 | CONFIG_IRQ_UART0_TX=10 | 183 | CONFIG_IRQ_UART0_TX=10 |
145 | CONFIG_IRQ_UART1_RX=10 | 184 | CONFIG_IRQ_UART1_RX=10 |
146 | CONFIG_IRQ_UART1_TX=10 | 185 | CONFIG_IRQ_UART1_TX=10 |
147 | CONFIG_IRQ_CNT=8 | 186 | CONFIG_IRQ_CNT=8 |
148 | CONFIG_IRQ_USB_INT0=11 | ||
149 | CONFIG_IRQ_USB_INT1=11 | ||
150 | CONFIG_IRQ_USB_INT2=11 | ||
151 | CONFIG_IRQ_USB_DMA=11 | ||
152 | CONFIG_IRQ_TIMER0=11 | 187 | CONFIG_IRQ_TIMER0=11 |
153 | CONFIG_IRQ_TIMER1=11 | 188 | CONFIG_IRQ_TIMER1=11 |
154 | CONFIG_IRQ_TIMER2=11 | 189 | CONFIG_IRQ_TIMER2=11 |
@@ -157,9 +192,21 @@ CONFIG_IRQ_TIMER4=11 | |||
157 | CONFIG_IRQ_TIMER5=11 | 192 | CONFIG_IRQ_TIMER5=11 |
158 | CONFIG_IRQ_TIMER6=11 | 193 | CONFIG_IRQ_TIMER6=11 |
159 | CONFIG_IRQ_TIMER7=11 | 194 | CONFIG_IRQ_TIMER7=11 |
195 | CONFIG_IRQ_USB_INT0=11 | ||
196 | CONFIG_IRQ_USB_INT1=11 | ||
197 | CONFIG_IRQ_USB_INT2=11 | ||
198 | CONFIG_IRQ_USB_DMA=11 | ||
160 | CONFIG_IRQ_TIMER8=11 | 199 | CONFIG_IRQ_TIMER8=11 |
161 | CONFIG_IRQ_TIMER9=11 | 200 | CONFIG_IRQ_TIMER9=11 |
162 | CONFIG_IRQ_TIMER10=11 | 201 | CONFIG_IRQ_TIMER10=11 |
202 | CONFIG_IRQ_SPORT2_RX=9 | ||
203 | CONFIG_IRQ_SPORT2_TX=9 | ||
204 | CONFIG_IRQ_SPORT3_RX=9 | ||
205 | CONFIG_IRQ_SPORT3_TX=9 | ||
206 | CONFIG_IRQ_SPI1=10 | ||
207 | CONFIG_IRQ_SPI2=10 | ||
208 | CONFIG_IRQ_TWI0=11 | ||
209 | CONFIG_IRQ_TWI1=11 | ||
163 | # CONFIG_BFIN548_EZKIT is not set | 210 | # CONFIG_BFIN548_EZKIT is not set |
164 | CONFIG_BFIN548_BLUETECHNIX_CM=y | 211 | CONFIG_BFIN548_BLUETECHNIX_CM=y |
165 | 212 | ||
@@ -167,6 +214,7 @@ CONFIG_BFIN548_BLUETECHNIX_CM=y | |||
167 | # BF548 Specific Configuration | 214 | # BF548 Specific Configuration |
168 | # | 215 | # |
169 | # CONFIG_DEB_DMA_URGENT is not set | 216 | # CONFIG_DEB_DMA_URGENT is not set |
217 | # CONFIG_BF548_ATAPI_ALTERNATIVE_PORT is not set | ||
170 | 218 | ||
171 | # | 219 | # |
172 | # Interrupt Priority Assignment | 220 | # Interrupt Priority Assignment |
@@ -182,7 +230,6 @@ CONFIG_IRQ_SPORT1_ERR=7 | |||
182 | CONFIG_IRQ_SPI0_ERR=7 | 230 | CONFIG_IRQ_SPI0_ERR=7 |
183 | CONFIG_IRQ_UART0_ERR=7 | 231 | CONFIG_IRQ_UART0_ERR=7 |
184 | CONFIG_IRQ_EPPI0=8 | 232 | CONFIG_IRQ_EPPI0=8 |
185 | CONFIG_IRQ_SPI0=10 | ||
186 | CONFIG_IRQ_PINT0=12 | 233 | CONFIG_IRQ_PINT0=12 |
187 | CONFIG_IRQ_PINT1=12 | 234 | CONFIG_IRQ_PINT1=12 |
188 | CONFIG_IRQ_MDMAS0=13 | 235 | CONFIG_IRQ_MDMAS0=13 |
@@ -197,18 +244,10 @@ CONFIG_IRQ_SPI2_ERR=7 | |||
197 | CONFIG_IRQ_UART1_ERR=7 | 244 | CONFIG_IRQ_UART1_ERR=7 |
198 | CONFIG_IRQ_UART2_ERR=7 | 245 | CONFIG_IRQ_UART2_ERR=7 |
199 | CONFIG_IRQ_CAN0_ERR=7 | 246 | CONFIG_IRQ_CAN0_ERR=7 |
200 | CONFIG_IRQ_SPORT2_RX=9 | ||
201 | CONFIG_IRQ_SPORT2_TX=9 | ||
202 | CONFIG_IRQ_SPORT3_RX=9 | ||
203 | CONFIG_IRQ_SPORT3_TX=9 | ||
204 | CONFIG_IRQ_EPPI1=9 | 247 | CONFIG_IRQ_EPPI1=9 |
205 | CONFIG_IRQ_EPPI2=9 | 248 | CONFIG_IRQ_EPPI2=9 |
206 | CONFIG_IRQ_SPI1=10 | ||
207 | CONFIG_IRQ_SPI2=10 | ||
208 | CONFIG_IRQ_ATAPI_RX=10 | 249 | CONFIG_IRQ_ATAPI_RX=10 |
209 | CONFIG_IRQ_ATAPI_TX=10 | 250 | CONFIG_IRQ_ATAPI_TX=10 |
210 | CONFIG_IRQ_TWI0=11 | ||
211 | CONFIG_IRQ_TWI1=11 | ||
212 | CONFIG_IRQ_CAN0_RX=11 | 251 | CONFIG_IRQ_CAN0_RX=11 |
213 | CONFIG_IRQ_CAN0_TX=11 | 252 | CONFIG_IRQ_CAN0_TX=11 |
214 | CONFIG_IRQ_MDMAS2=13 | 253 | CONFIG_IRQ_MDMAS2=13 |
@@ -255,6 +294,7 @@ CONFIG_PINT3_ASSIGN=0x02020303 | |||
255 | # Board customizations | 294 | # Board customizations |
256 | # | 295 | # |
257 | # CONFIG_CMDLINE_BOOL is not set | 296 | # CONFIG_CMDLINE_BOOL is not set |
297 | CONFIG_BOOT_LOAD=0x1000 | ||
258 | 298 | ||
259 | # | 299 | # |
260 | # Clock/PLL Setup | 300 | # Clock/PLL Setup |
@@ -274,16 +314,12 @@ CONFIG_HZ_250=y | |||
274 | # CONFIG_HZ_300 is not set | 314 | # CONFIG_HZ_300 is not set |
275 | # CONFIG_HZ_1000 is not set | 315 | # CONFIG_HZ_1000 is not set |
276 | CONFIG_HZ=250 | 316 | CONFIG_HZ=250 |
317 | # CONFIG_SCHED_HRTICK is not set | ||
277 | # CONFIG_GENERIC_TIME is not set | 318 | # CONFIG_GENERIC_TIME is not set |
278 | # CONFIG_TICK_ONESHOT is not set | ||
279 | 319 | ||
280 | # | 320 | # |
281 | # Memory Setup | 321 | # Misc |
282 | # | 322 | # |
283 | CONFIG_MAX_MEM_SIZE=64 | ||
284 | # CONFIG_MEM_MT46V32M16_6T is not set | ||
285 | CONFIG_MEM_MT46V32M16_5B=y | ||
286 | CONFIG_BOOT_LOAD=0x1000 | ||
287 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 323 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
288 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 324 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
289 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 325 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
@@ -310,6 +346,12 @@ CONFIG_ACCESS_OK_L1=y | |||
310 | CONFIG_CACHELINE_ALIGNED_L1=y | 346 | CONFIG_CACHELINE_ALIGNED_L1=y |
311 | # CONFIG_SYSCALL_TAB_L1 is not set | 347 | # CONFIG_SYSCALL_TAB_L1 is not set |
312 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | 348 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set |
349 | CONFIG_APP_STACK_L1=y | ||
350 | |||
351 | # | ||
352 | # Speed Optimizations | ||
353 | # | ||
354 | CONFIG_BFIN_INS_LOWOVERHEAD=y | ||
313 | CONFIG_RAMKERNEL=y | 355 | CONFIG_RAMKERNEL=y |
314 | # CONFIG_ROMKERNEL is not set | 356 | # CONFIG_ROMKERNEL is not set |
315 | CONFIG_SELECT_MEMORY_MODEL=y | 357 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -318,13 +360,16 @@ CONFIG_FLATMEM_MANUAL=y | |||
318 | # CONFIG_SPARSEMEM_MANUAL is not set | 360 | # CONFIG_SPARSEMEM_MANUAL is not set |
319 | CONFIG_FLATMEM=y | 361 | CONFIG_FLATMEM=y |
320 | CONFIG_FLAT_NODE_MEM_MAP=y | 362 | CONFIG_FLAT_NODE_MEM_MAP=y |
321 | # CONFIG_SPARSEMEM_STATIC is not set | 363 | CONFIG_PAGEFLAGS_EXTENDED=y |
322 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
323 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 364 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
324 | # CONFIG_RESOURCES_64BIT is not set | 365 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
325 | CONFIG_ZONE_DMA_FLAG=1 | 366 | CONFIG_ZONE_DMA_FLAG=1 |
326 | CONFIG_VIRT_TO_BUS=y | 367 | CONFIG_VIRT_TO_BUS=y |
368 | CONFIG_UNEVICTABLE_LRU=y | ||
369 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
370 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
327 | # CONFIG_BFIN_GPTIMERS is not set | 371 | # CONFIG_BFIN_GPTIMERS is not set |
372 | # CONFIG_DMA_UNCACHED_4M is not set | ||
328 | # CONFIG_DMA_UNCACHED_2M is not set | 373 | # CONFIG_DMA_UNCACHED_2M is not set |
329 | CONFIG_DMA_UNCACHED_1M=y | 374 | CONFIG_DMA_UNCACHED_1M=y |
330 | # CONFIG_DMA_UNCACHED_NONE is not set | 375 | # CONFIG_DMA_UNCACHED_NONE is not set |
@@ -333,14 +378,13 @@ CONFIG_DMA_UNCACHED_1M=y | |||
333 | # Cache Support | 378 | # Cache Support |
334 | # | 379 | # |
335 | CONFIG_BFIN_ICACHE=y | 380 | CONFIG_BFIN_ICACHE=y |
336 | # CONFIG_BFIN_ICACHE_LOCK is not set | 381 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
382 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
337 | CONFIG_BFIN_DCACHE=y | 383 | CONFIG_BFIN_DCACHE=y |
338 | # CONFIG_BFIN_DCACHE_BANKA is not set | 384 | # CONFIG_BFIN_DCACHE_BANKA is not set |
339 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
340 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 385 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
341 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 386 | # CONFIG_BFIN_EXTMEM_WRITEBACK |
342 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 387 | CONFIG_BFIN_EXTMEM_WRITETHROUGH=y |
343 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
344 | # CONFIG_BFIN_L2_DCACHEABLE is not set | 388 | # CONFIG_BFIN_L2_DCACHEABLE is not set |
345 | 389 | ||
346 | # | 390 | # |
@@ -349,7 +393,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
349 | # CONFIG_MPU is not set | 393 | # CONFIG_MPU is not set |
350 | 394 | ||
351 | # | 395 | # |
352 | # Asynchonous Memory Configuration | 396 | # Asynchronous Memory Configuration |
353 | # | 397 | # |
354 | 398 | ||
355 | # | 399 | # |
@@ -369,7 +413,7 @@ CONFIG_C_AMBEN_ALL=y | |||
369 | CONFIG_BANK_0=0x7BB0 | 413 | CONFIG_BANK_0=0x7BB0 |
370 | CONFIG_BANK_1=0x5554 | 414 | CONFIG_BANK_1=0x5554 |
371 | CONFIG_BANK_2=0x7BB0 | 415 | CONFIG_BANK_2=0x7BB0 |
372 | CONFIG_BANK_3=0x99B2 | 416 | CONFIG_BANK_3=0x99B3 |
373 | CONFIG_EBIU_MBSCTLVAL=0x0 | 417 | CONFIG_EBIU_MBSCTLVAL=0x0 |
374 | CONFIG_EBIU_MODEVAL=0x1 | 418 | CONFIG_EBIU_MODEVAL=0x1 |
375 | CONFIG_EBIU_FCTLVAL=0x6 | 419 | CONFIG_EBIU_FCTLVAL=0x6 |
@@ -377,7 +421,6 @@ CONFIG_EBIU_FCTLVAL=0x6 | |||
377 | # | 421 | # |
378 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 422 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
379 | # | 423 | # |
380 | # CONFIG_PCI is not set | ||
381 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 424 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
382 | # CONFIG_PCCARD is not set | 425 | # CONFIG_PCCARD is not set |
383 | 426 | ||
@@ -388,23 +431,19 @@ CONFIG_BINFMT_ELF_FDPIC=y | |||
388 | CONFIG_BINFMT_FLAT=y | 431 | CONFIG_BINFMT_FLAT=y |
389 | CONFIG_BINFMT_ZFLAT=y | 432 | CONFIG_BINFMT_ZFLAT=y |
390 | # CONFIG_BINFMT_SHARED_FLAT is not set | 433 | # CONFIG_BINFMT_SHARED_FLAT is not set |
434 | # CONFIG_HAVE_AOUT is not set | ||
391 | # CONFIG_BINFMT_MISC is not set | 435 | # CONFIG_BINFMT_MISC is not set |
392 | 436 | ||
393 | # | 437 | # |
394 | # Power management options | 438 | # Power management options |
395 | # | 439 | # |
396 | # CONFIG_PM is not set | 440 | # CONFIG_PM is not set |
397 | CONFIG_SUSPEND_UP_POSSIBLE=y | 441 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
398 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
399 | 442 | ||
400 | # | 443 | # |
401 | # CPU Frequency scaling | 444 | # CPU Frequency scaling |
402 | # | 445 | # |
403 | # CONFIG_CPU_FREQ is not set | 446 | # CONFIG_CPU_FREQ is not set |
404 | |||
405 | # | ||
406 | # Networking | ||
407 | # | ||
408 | CONFIG_NET=y | 447 | CONFIG_NET=y |
409 | 448 | ||
410 | # | 449 | # |
@@ -417,6 +456,7 @@ CONFIG_XFRM=y | |||
417 | # CONFIG_XFRM_USER is not set | 456 | # CONFIG_XFRM_USER is not set |
418 | # CONFIG_XFRM_SUB_POLICY is not set | 457 | # CONFIG_XFRM_SUB_POLICY is not set |
419 | # CONFIG_XFRM_MIGRATE is not set | 458 | # CONFIG_XFRM_MIGRATE is not set |
459 | # CONFIG_XFRM_STATISTICS is not set | ||
420 | # CONFIG_NET_KEY is not set | 460 | # CONFIG_NET_KEY is not set |
421 | CONFIG_INET=y | 461 | CONFIG_INET=y |
422 | # CONFIG_IP_MULTICAST is not set | 462 | # CONFIG_IP_MULTICAST is not set |
@@ -435,19 +475,16 @@ CONFIG_IP_PNP=y | |||
435 | # CONFIG_INET_IPCOMP is not set | 475 | # CONFIG_INET_IPCOMP is not set |
436 | # CONFIG_INET_XFRM_TUNNEL is not set | 476 | # CONFIG_INET_XFRM_TUNNEL is not set |
437 | # CONFIG_INET_TUNNEL is not set | 477 | # CONFIG_INET_TUNNEL is not set |
438 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | 478 | CONFIG_INET_XFRM_MODE_TRANSPORT=m |
439 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | 479 | CONFIG_INET_XFRM_MODE_TUNNEL=m |
440 | # CONFIG_INET_XFRM_MODE_BEET is not set | 480 | CONFIG_INET_XFRM_MODE_BEET=m |
441 | # CONFIG_INET_LRO is not set | 481 | # CONFIG_INET_LRO is not set |
442 | # CONFIG_INET_DIAG is not set | 482 | # CONFIG_INET_DIAG is not set |
443 | CONFIG_INET_TCP_DIAG=y | ||
444 | # CONFIG_TCP_CONG_ADVANCED is not set | 483 | # CONFIG_TCP_CONG_ADVANCED is not set |
445 | CONFIG_TCP_CONG_CUBIC=y | 484 | CONFIG_TCP_CONG_CUBIC=y |
446 | CONFIG_DEFAULT_TCP_CONG="cubic" | 485 | CONFIG_DEFAULT_TCP_CONG="cubic" |
447 | # CONFIG_TCP_MD5SIG is not set | 486 | # CONFIG_TCP_MD5SIG is not set |
448 | # CONFIG_IPV6 is not set | 487 | # CONFIG_IPV6 is not set |
449 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
450 | # CONFIG_INET6_TUNNEL is not set | ||
451 | # CONFIG_NETLABEL is not set | 488 | # CONFIG_NETLABEL is not set |
452 | # CONFIG_NETWORK_SECMARK is not set | 489 | # CONFIG_NETWORK_SECMARK is not set |
453 | # CONFIG_NETFILTER is not set | 490 | # CONFIG_NETFILTER is not set |
@@ -456,6 +493,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
456 | # CONFIG_TIPC is not set | 493 | # CONFIG_TIPC is not set |
457 | # CONFIG_ATM is not set | 494 | # CONFIG_ATM is not set |
458 | # CONFIG_BRIDGE is not set | 495 | # CONFIG_BRIDGE is not set |
496 | # CONFIG_NET_DSA is not set | ||
459 | # CONFIG_VLAN_8021Q is not set | 497 | # CONFIG_VLAN_8021Q is not set |
460 | # CONFIG_DECNET is not set | 498 | # CONFIG_DECNET is not set |
461 | # CONFIG_LLC2 is not set | 499 | # CONFIG_LLC2 is not set |
@@ -465,24 +503,21 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
465 | # CONFIG_LAPB is not set | 503 | # CONFIG_LAPB is not set |
466 | # CONFIG_ECONET is not set | 504 | # CONFIG_ECONET is not set |
467 | # CONFIG_WAN_ROUTER is not set | 505 | # CONFIG_WAN_ROUTER is not set |
506 | # CONFIG_PHONET is not set | ||
468 | # CONFIG_NET_SCHED is not set | 507 | # CONFIG_NET_SCHED is not set |
508 | # CONFIG_DCB is not set | ||
469 | 509 | ||
470 | # | 510 | # |
471 | # Network testing | 511 | # Network testing |
472 | # | 512 | # |
473 | # CONFIG_NET_PKTGEN is not set | 513 | # CONFIG_NET_PKTGEN is not set |
474 | # CONFIG_HAMRADIO is not set | 514 | # CONFIG_HAMRADIO is not set |
515 | # CONFIG_CAN is not set | ||
475 | # CONFIG_IRDA is not set | 516 | # CONFIG_IRDA is not set |
476 | # CONFIG_BT is not set | 517 | # CONFIG_BT is not set |
477 | # CONFIG_AF_RXRPC is not set | 518 | # CONFIG_AF_RXRPC is not set |
478 | 519 | # CONFIG_WIRELESS is not set | |
479 | # | 520 | # CONFIG_WIMAX is not set |
480 | # Wireless | ||
481 | # | ||
482 | # CONFIG_CFG80211 is not set | ||
483 | # CONFIG_WIRELESS_EXT is not set | ||
484 | # CONFIG_MAC80211 is not set | ||
485 | # CONFIG_IEEE80211 is not set | ||
486 | # CONFIG_RFKILL is not set | 521 | # CONFIG_RFKILL is not set |
487 | # CONFIG_NET_9P is not set | 522 | # CONFIG_NET_9P is not set |
488 | 523 | ||
@@ -501,10 +536,12 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y | |||
501 | # CONFIG_CONNECTOR is not set | 536 | # CONFIG_CONNECTOR is not set |
502 | CONFIG_MTD=y | 537 | CONFIG_MTD=y |
503 | # CONFIG_MTD_DEBUG is not set | 538 | # CONFIG_MTD_DEBUG is not set |
539 | # CONFIG_MTD_TESTS is not set | ||
504 | # CONFIG_MTD_CONCAT is not set | 540 | # CONFIG_MTD_CONCAT is not set |
505 | CONFIG_MTD_PARTITIONS=y | 541 | CONFIG_MTD_PARTITIONS=y |
506 | # CONFIG_MTD_REDBOOT_PARTS is not set | 542 | # CONFIG_MTD_REDBOOT_PARTS is not set |
507 | CONFIG_MTD_CMDLINE_PARTS=y | 543 | CONFIG_MTD_CMDLINE_PARTS=y |
544 | # CONFIG_MTD_AR7_PARTS is not set | ||
508 | 545 | ||
509 | # | 546 | # |
510 | # User Modules And Translation Layers | 547 | # User Modules And Translation Layers |
@@ -539,6 +576,7 @@ CONFIG_MTD_CFI_I2=y | |||
539 | CONFIG_MTD_CFI_INTELEXT=y | 576 | CONFIG_MTD_CFI_INTELEXT=y |
540 | # CONFIG_MTD_CFI_AMDSTD is not set | 577 | # CONFIG_MTD_CFI_AMDSTD is not set |
541 | # CONFIG_MTD_CFI_STAA is not set | 578 | # CONFIG_MTD_CFI_STAA is not set |
579 | # CONFIG_MTD_PSD4256G is not set | ||
542 | CONFIG_MTD_CFI_UTIL=y | 580 | CONFIG_MTD_CFI_UTIL=y |
543 | CONFIG_MTD_RAM=y | 581 | CONFIG_MTD_RAM=y |
544 | # CONFIG_MTD_ROM is not set | 582 | # CONFIG_MTD_ROM is not set |
@@ -549,9 +587,8 @@ CONFIG_MTD_RAM=y | |||
549 | # | 587 | # |
550 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 588 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
551 | CONFIG_MTD_PHYSMAP=y | 589 | CONFIG_MTD_PHYSMAP=y |
552 | CONFIG_MTD_PHYSMAP_START=0x20000000 | 590 | # CONFIG_MTD_PHYSMAP_COMPAT is not set |
553 | CONFIG_MTD_PHYSMAP_LEN=0 | 591 | # CONFIG_MTD_GPIO_ADDR is not set |
554 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
555 | # CONFIG_MTD_UCLINUX is not set | 592 | # CONFIG_MTD_UCLINUX is not set |
556 | # CONFIG_MTD_PLATRAM is not set | 593 | # CONFIG_MTD_PLATRAM is not set |
557 | 594 | ||
@@ -575,6 +612,11 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | |||
575 | # CONFIG_MTD_ONENAND is not set | 612 | # CONFIG_MTD_ONENAND is not set |
576 | 613 | ||
577 | # | 614 | # |
615 | # LPDDR flash memory drivers | ||
616 | # | ||
617 | # CONFIG_MTD_LPDDR is not set | ||
618 | |||
619 | # | ||
578 | # UBI - Unsorted block images | 620 | # UBI - Unsorted block images |
579 | # | 621 | # |
580 | # CONFIG_MTD_UBI is not set | 622 | # CONFIG_MTD_UBI is not set |
@@ -587,31 +629,31 @@ CONFIG_BLK_DEV=y | |||
587 | CONFIG_BLK_DEV_RAM=y | 629 | CONFIG_BLK_DEV_RAM=y |
588 | CONFIG_BLK_DEV_RAM_COUNT=16 | 630 | CONFIG_BLK_DEV_RAM_COUNT=16 |
589 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 631 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
590 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 632 | # CONFIG_BLK_DEV_XIP is not set |
591 | # CONFIG_CDROM_PKTCDVD is not set | 633 | # CONFIG_CDROM_PKTCDVD is not set |
592 | # CONFIG_ATA_OVER_ETH is not set | 634 | # CONFIG_ATA_OVER_ETH is not set |
593 | CONFIG_MISC_DEVICES=y | 635 | # CONFIG_BLK_DEV_HD is not set |
594 | # CONFIG_EEPROM_93CX6 is not set | 636 | # CONFIG_MISC_DEVICES is not set |
637 | CONFIG_HAVE_IDE=y | ||
595 | # CONFIG_IDE is not set | 638 | # CONFIG_IDE is not set |
596 | 639 | ||
597 | # | 640 | # |
598 | # SCSI device support | 641 | # SCSI device support |
599 | # | 642 | # |
600 | # CONFIG_RAID_ATTRS is not set | 643 | # CONFIG_RAID_ATTRS is not set |
601 | CONFIG_SCSI=y | 644 | CONFIG_SCSI=m |
602 | CONFIG_SCSI_DMA=y | 645 | CONFIG_SCSI_DMA=y |
603 | # CONFIG_SCSI_TGT is not set | 646 | # CONFIG_SCSI_TGT is not set |
604 | # CONFIG_SCSI_NETLINK is not set | 647 | # CONFIG_SCSI_NETLINK is not set |
605 | # CONFIG_SCSI_PROC_FS is not set | 648 | CONFIG_SCSI_PROC_FS=y |
606 | 649 | ||
607 | # | 650 | # |
608 | # SCSI support type (disk, tape, CD-ROM) | 651 | # SCSI support type (disk, tape, CD-ROM) |
609 | # | 652 | # |
610 | CONFIG_BLK_DEV_SD=y | 653 | CONFIG_BLK_DEV_SD=m |
611 | # CONFIG_CHR_DEV_ST is not set | 654 | # CONFIG_CHR_DEV_ST is not set |
612 | # CONFIG_CHR_DEV_OSST is not set | 655 | # CONFIG_CHR_DEV_OSST is not set |
613 | CONFIG_BLK_DEV_SR=y | 656 | # CONFIG_BLK_DEV_SR is not set |
614 | # CONFIG_BLK_DEV_SR_VENDOR is not set | ||
615 | # CONFIG_CHR_DEV_SG is not set | 657 | # CONFIG_CHR_DEV_SG is not set |
616 | # CONFIG_CHR_DEV_SCH is not set | 658 | # CONFIG_CHR_DEV_SCH is not set |
617 | 659 | ||
@@ -632,29 +674,54 @@ CONFIG_SCSI_WAIT_SCAN=m | |||
632 | # CONFIG_SCSI_ISCSI_ATTRS is not set | 674 | # CONFIG_SCSI_ISCSI_ATTRS is not set |
633 | # CONFIG_SCSI_SAS_LIBSAS is not set | 675 | # CONFIG_SCSI_SAS_LIBSAS is not set |
634 | # CONFIG_SCSI_SRP_ATTRS is not set | 676 | # CONFIG_SCSI_SRP_ATTRS is not set |
635 | CONFIG_SCSI_LOWLEVEL=y | 677 | # CONFIG_SCSI_LOWLEVEL is not set |
636 | # CONFIG_ISCSI_TCP is not set | 678 | # CONFIG_SCSI_DH is not set |
637 | # CONFIG_SCSI_DEBUG is not set | 679 | # CONFIG_SCSI_OSD_INITIATOR is not set |
638 | # CONFIG_ATA is not set | 680 | # CONFIG_ATA is not set |
639 | # CONFIG_MD is not set | 681 | # CONFIG_MD is not set |
640 | CONFIG_NETDEVICES=y | 682 | CONFIG_NETDEVICES=y |
641 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | 683 | CONFIG_COMPAT_NET_DEV_OPS=y |
642 | # CONFIG_DUMMY is not set | 684 | # CONFIG_DUMMY is not set |
643 | # CONFIG_BONDING is not set | 685 | # CONFIG_BONDING is not set |
644 | # CONFIG_MACVLAN is not set | 686 | # CONFIG_MACVLAN is not set |
645 | # CONFIG_EQUALIZER is not set | 687 | # CONFIG_EQUALIZER is not set |
646 | # CONFIG_TUN is not set | 688 | # CONFIG_TUN is not set |
647 | # CONFIG_VETH is not set | 689 | # CONFIG_VETH is not set |
648 | # CONFIG_PHYLIB is not set | 690 | CONFIG_PHYLIB=y |
691 | |||
692 | # | ||
693 | # MII PHY device drivers | ||
694 | # | ||
695 | # CONFIG_MARVELL_PHY is not set | ||
696 | # CONFIG_DAVICOM_PHY is not set | ||
697 | # CONFIG_QSEMI_PHY is not set | ||
698 | # CONFIG_LXT_PHY is not set | ||
699 | # CONFIG_CICADA_PHY is not set | ||
700 | # CONFIG_VITESSE_PHY is not set | ||
701 | # CONFIG_SMSC_PHY is not set | ||
702 | # CONFIG_BROADCOM_PHY is not set | ||
703 | # CONFIG_ICPLUS_PHY is not set | ||
704 | # CONFIG_REALTEK_PHY is not set | ||
705 | # CONFIG_NATIONAL_PHY is not set | ||
706 | # CONFIG_STE10XP is not set | ||
707 | # CONFIG_LSI_ET1011C_PHY is not set | ||
708 | # CONFIG_FIXED_PHY is not set | ||
709 | # CONFIG_MDIO_BITBANG is not set | ||
649 | CONFIG_NET_ETHERNET=y | 710 | CONFIG_NET_ETHERNET=y |
650 | CONFIG_MII=y | 711 | CONFIG_MII=y |
651 | # CONFIG_SMC91X is not set | 712 | # CONFIG_SMC91X is not set |
652 | CONFIG_SMSC911X=y | ||
653 | # CONFIG_DM9000 is not set | 713 | # CONFIG_DM9000 is not set |
714 | # CONFIG_ENC28J60 is not set | ||
715 | # CONFIG_ETHOC is not set | ||
716 | CONFIG_SMSC911X=y | ||
717 | # CONFIG_DNET is not set | ||
654 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 718 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
655 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 719 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
656 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 720 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
657 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | 721 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
722 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
723 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
724 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
658 | # CONFIG_B44 is not set | 725 | # CONFIG_B44 is not set |
659 | # CONFIG_NETDEV_1000 is not set | 726 | # CONFIG_NETDEV_1000 is not set |
660 | # CONFIG_NETDEV_10000 is not set | 727 | # CONFIG_NETDEV_10000 is not set |
@@ -666,6 +733,10 @@ CONFIG_SMSC911X=y | |||
666 | # CONFIG_WLAN_80211 is not set | 733 | # CONFIG_WLAN_80211 is not set |
667 | 734 | ||
668 | # | 735 | # |
736 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
737 | # | ||
738 | |||
739 | # | ||
669 | # USB Network Adapters | 740 | # USB Network Adapters |
670 | # | 741 | # |
671 | # CONFIG_USB_CATC is not set | 742 | # CONFIG_USB_CATC is not set |
@@ -676,7 +747,6 @@ CONFIG_SMSC911X=y | |||
676 | # CONFIG_WAN is not set | 747 | # CONFIG_WAN is not set |
677 | # CONFIG_PPP is not set | 748 | # CONFIG_PPP is not set |
678 | # CONFIG_SLIP is not set | 749 | # CONFIG_SLIP is not set |
679 | # CONFIG_SHAPER is not set | ||
680 | # CONFIG_NETCONSOLE is not set | 750 | # CONFIG_NETCONSOLE is not set |
681 | # CONFIG_NETPOLL is not set | 751 | # CONFIG_NETPOLL is not set |
682 | # CONFIG_NET_POLL_CONTROLLER is not set | 752 | # CONFIG_NET_POLL_CONTROLLER is not set |
@@ -711,6 +781,7 @@ CONFIG_INPUT_KEYBOARD=y | |||
711 | # CONFIG_KEYBOARD_GPIO is not set | 781 | # CONFIG_KEYBOARD_GPIO is not set |
712 | # CONFIG_KEYBOARD_BFIN is not set | 782 | # CONFIG_KEYBOARD_BFIN is not set |
713 | # CONFIG_KEYBOARD_OPENCORES is not set | 783 | # CONFIG_KEYBOARD_OPENCORES is not set |
784 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
714 | # CONFIG_INPUT_MOUSE is not set | 785 | # CONFIG_INPUT_MOUSE is not set |
715 | # CONFIG_INPUT_JOYSTICK is not set | 786 | # CONFIG_INPUT_JOYSTICK is not set |
716 | # CONFIG_INPUT_TABLET is not set | 787 | # CONFIG_INPUT_TABLET is not set |
@@ -726,19 +797,16 @@ CONFIG_INPUT_KEYBOARD=y | |||
726 | # | 797 | # |
727 | # Character devices | 798 | # Character devices |
728 | # | 799 | # |
729 | # CONFIG_AD9960 is not set | 800 | CONFIG_BFIN_DMA_INTERFACE=m |
730 | # CONFIG_SPI_ADC_BF533 is not set | 801 | # CONFIG_BFIN_PPI is not set |
731 | # CONFIG_BF5xx_PPIFCD is not set | 802 | # CONFIG_BFIN_PPIFCD is not set |
732 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 803 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
733 | # CONFIG_BF5xx_PPI is not set | 804 | # CONFIG_BFIN_SPI_ADC is not set |
734 | CONFIG_BFIN_OTP=y | ||
735 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | ||
736 | # CONFIG_BFIN_SPORT is not set | 805 | # CONFIG_BFIN_SPORT is not set |
737 | # CONFIG_BFIN_TIMER_LATENCY is not set | 806 | # CONFIG_BFIN_TWI_LCD is not set |
738 | # CONFIG_TWI_LCD is not set | ||
739 | # CONFIG_SIMPLE_GPIO is not set | ||
740 | # CONFIG_VT is not set | 807 | # CONFIG_VT is not set |
741 | # CONFIG_DEVKMEM is not set | 808 | CONFIG_DEVKMEM=y |
809 | # CONFIG_BFIN_JTAG_COMM is not set | ||
742 | # CONFIG_SERIAL_NONSTANDARD is not set | 810 | # CONFIG_SERIAL_NONSTANDARD is not set |
743 | 811 | ||
744 | # | 812 | # |
@@ -749,10 +817,11 @@ CONFIG_BFIN_OTP=y | |||
749 | # | 817 | # |
750 | # Non-8250 serial port support | 818 | # Non-8250 serial port support |
751 | # | 819 | # |
820 | # CONFIG_SERIAL_MAX3100 is not set | ||
752 | CONFIG_SERIAL_BFIN=y | 821 | CONFIG_SERIAL_BFIN=y |
753 | CONFIG_SERIAL_BFIN_CONSOLE=y | 822 | CONFIG_SERIAL_BFIN_CONSOLE=y |
754 | CONFIG_SERIAL_BFIN_DMA=y | 823 | # CONFIG_SERIAL_BFIN_DMA is not set |
755 | # CONFIG_SERIAL_BFIN_PIO is not set | 824 | CONFIG_SERIAL_BFIN_PIO=y |
756 | # CONFIG_SERIAL_BFIN_UART0 is not set | 825 | # CONFIG_SERIAL_BFIN_UART0 is not set |
757 | CONFIG_SERIAL_BFIN_UART1=y | 826 | CONFIG_SERIAL_BFIN_UART1=y |
758 | # CONFIG_BFIN_UART1_CTSRTS is not set | 827 | # CONFIG_BFIN_UART1_CTSRTS is not set |
@@ -762,7 +831,10 @@ CONFIG_SERIAL_CORE=y | |||
762 | CONFIG_SERIAL_CORE_CONSOLE=y | 831 | CONFIG_SERIAL_CORE_CONSOLE=y |
763 | # CONFIG_SERIAL_BFIN_SPORT is not set | 832 | # CONFIG_SERIAL_BFIN_SPORT is not set |
764 | CONFIG_UNIX98_PTYS=y | 833 | CONFIG_UNIX98_PTYS=y |
834 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
765 | # CONFIG_LEGACY_PTYS is not set | 835 | # CONFIG_LEGACY_PTYS is not set |
836 | CONFIG_BFIN_OTP=y | ||
837 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | ||
766 | 838 | ||
767 | # | 839 | # |
768 | # CAN, the car bus and industrial fieldbus | 840 | # CAN, the car bus and industrial fieldbus |
@@ -770,61 +842,53 @@ CONFIG_UNIX98_PTYS=y | |||
770 | # CONFIG_CAN4LINUX is not set | 842 | # CONFIG_CAN4LINUX is not set |
771 | # CONFIG_IPMI_HANDLER is not set | 843 | # CONFIG_IPMI_HANDLER is not set |
772 | # CONFIG_HW_RANDOM is not set | 844 | # CONFIG_HW_RANDOM is not set |
773 | # CONFIG_GEN_RTC is not set | ||
774 | # CONFIG_R3964 is not set | 845 | # CONFIG_R3964 is not set |
775 | # CONFIG_RAW_DRIVER is not set | 846 | # CONFIG_RAW_DRIVER is not set |
776 | # CONFIG_TCG_TPM is not set | 847 | # CONFIG_TCG_TPM is not set |
777 | CONFIG_I2C=y | 848 | CONFIG_I2C=y |
778 | CONFIG_I2C_BOARDINFO=y | 849 | CONFIG_I2C_BOARDINFO=y |
779 | CONFIG_I2C_CHARDEV=y | 850 | CONFIG_I2C_CHARDEV=y |
851 | CONFIG_I2C_HELPER_AUTO=y | ||
780 | 852 | ||
781 | # | 853 | # |
782 | # I2C Algorithms | 854 | # I2C Hardware Bus support |
783 | # | 855 | # |
784 | # CONFIG_I2C_ALGOBIT is not set | ||
785 | # CONFIG_I2C_ALGOPCF is not set | ||
786 | # CONFIG_I2C_ALGOPCA is not set | ||
787 | 856 | ||
788 | # | 857 | # |
789 | # I2C Hardware Bus support | 858 | # I2C system bus drivers (mostly embedded / system-on-chip) |
790 | # | 859 | # |
791 | CONFIG_I2C_BLACKFIN_TWI=y | 860 | CONFIG_I2C_BLACKFIN_TWI=y |
792 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100 | 861 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 |
793 | # CONFIG_I2C_GPIO is not set | 862 | # CONFIG_I2C_GPIO is not set |
794 | # CONFIG_I2C_OCORES is not set | 863 | # CONFIG_I2C_OCORES is not set |
795 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
796 | # CONFIG_I2C_SIMTEC is not set | 864 | # CONFIG_I2C_SIMTEC is not set |
865 | |||
866 | # | ||
867 | # External I2C/SMBus adapter drivers | ||
868 | # | ||
869 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
797 | # CONFIG_I2C_TAOS_EVM is not set | 870 | # CONFIG_I2C_TAOS_EVM is not set |
798 | # CONFIG_I2C_STUB is not set | ||
799 | # CONFIG_I2C_TINY_USB is not set | 871 | # CONFIG_I2C_TINY_USB is not set |
800 | 872 | ||
801 | # | 873 | # |
874 | # Other I2C/SMBus bus drivers | ||
875 | # | ||
876 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
877 | # CONFIG_I2C_STUB is not set | ||
878 | |||
879 | # | ||
802 | # Miscellaneous I2C Chip support | 880 | # Miscellaneous I2C Chip support |
803 | # | 881 | # |
804 | # CONFIG_SENSORS_DS1337 is not set | ||
805 | # CONFIG_SENSORS_DS1374 is not set | ||
806 | # CONFIG_DS1682 is not set | 882 | # CONFIG_DS1682 is not set |
807 | # CONFIG_SENSORS_AD5252 is not set | ||
808 | # CONFIG_EEPROM_LEGACY is not set | ||
809 | # CONFIG_SENSORS_PCF8574 is not set | 883 | # CONFIG_SENSORS_PCF8574 is not set |
810 | # CONFIG_SENSORS_PCF8575 is not set | 884 | # CONFIG_PCF8575 is not set |
811 | # CONFIG_SENSORS_PCA9543 is not set | ||
812 | # CONFIG_SENSORS_PCA9539 is not set | 885 | # CONFIG_SENSORS_PCA9539 is not set |
813 | # CONFIG_SENSORS_PCF8591 is not set | ||
814 | # CONFIG_SENSORS_MAX6875 is not set | 886 | # CONFIG_SENSORS_MAX6875 is not set |
815 | # CONFIG_SENSORS_TSL2550 is not set | 887 | # CONFIG_SENSORS_TSL2550 is not set |
816 | # CONFIG_I2C_DEBUG_CORE is not set | 888 | # CONFIG_I2C_DEBUG_CORE is not set |
817 | # CONFIG_I2C_DEBUG_ALGO is not set | 889 | # CONFIG_I2C_DEBUG_ALGO is not set |
818 | # CONFIG_I2C_DEBUG_BUS is not set | 890 | # CONFIG_I2C_DEBUG_BUS is not set |
819 | # CONFIG_I2C_DEBUG_CHIP is not set | 891 | # CONFIG_I2C_DEBUG_CHIP is not set |
820 | |||
821 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
822 | CONFIG_GPIOLIB=y | ||
823 | CONFIG_GPIO_SYSFS=y | ||
824 | |||
825 | # | ||
826 | # SPI support | ||
827 | # | ||
828 | CONFIG_SPI=y | 892 | CONFIG_SPI=y |
829 | CONFIG_SPI_MASTER=y | 893 | CONFIG_SPI_MASTER=y |
830 | 894 | ||
@@ -832,64 +896,23 @@ CONFIG_SPI_MASTER=y | |||
832 | # SPI Master Controller Drivers | 896 | # SPI Master Controller Drivers |
833 | # | 897 | # |
834 | CONFIG_SPI_BFIN=y | 898 | CONFIG_SPI_BFIN=y |
899 | # CONFIG_SPI_BFIN_LOCK is not set | ||
900 | # CONFIG_SPI_BFIN_SPORT is not set | ||
835 | # CONFIG_SPI_BITBANG is not set | 901 | # CONFIG_SPI_BITBANG is not set |
902 | # CONFIG_SPI_GPIO is not set | ||
836 | 903 | ||
837 | # | 904 | # |
838 | # SPI Protocol Masters | 905 | # SPI Protocol Masters |
839 | # | 906 | # |
840 | # CONFIG_EEPROM_AT25 is not set | ||
841 | # CONFIG_SPI_SPIDEV is not set | 907 | # CONFIG_SPI_SPIDEV is not set |
842 | # CONFIG_SPI_TLE62X0 is not set | 908 | # CONFIG_SPI_TLE62X0 is not set |
909 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | ||
910 | # CONFIG_GPIOLIB is not set | ||
843 | # CONFIG_W1 is not set | 911 | # CONFIG_W1 is not set |
844 | # CONFIG_POWER_SUPPLY is not set | 912 | # CONFIG_POWER_SUPPLY is not set |
845 | CONFIG_HWMON=y | 913 | # CONFIG_HWMON is not set |
846 | # CONFIG_HWMON_VID is not set | 914 | # CONFIG_THERMAL is not set |
847 | # CONFIG_SENSORS_AD7418 is not set | 915 | # CONFIG_THERMAL_HWMON is not set |
848 | # CONFIG_SENSORS_ADM1021 is not set | ||
849 | # CONFIG_SENSORS_ADM1025 is not set | ||
850 | # CONFIG_SENSORS_ADM1026 is not set | ||
851 | # CONFIG_SENSORS_ADM1029 is not set | ||
852 | # CONFIG_SENSORS_ADM1031 is not set | ||
853 | # CONFIG_SENSORS_ADM9240 is not set | ||
854 | # CONFIG_SENSORS_ADT7470 is not set | ||
855 | # CONFIG_SENSORS_ATXP1 is not set | ||
856 | # CONFIG_SENSORS_DS1621 is not set | ||
857 | # CONFIG_SENSORS_F71805F is not set | ||
858 | # CONFIG_SENSORS_F71882FG is not set | ||
859 | # CONFIG_SENSORS_F75375S is not set | ||
860 | # CONFIG_SENSORS_GL518SM is not set | ||
861 | # CONFIG_SENSORS_GL520SM is not set | ||
862 | # CONFIG_SENSORS_IT87 is not set | ||
863 | # CONFIG_SENSORS_LM63 is not set | ||
864 | # CONFIG_SENSORS_LM70 is not set | ||
865 | # CONFIG_SENSORS_LM75 is not set | ||
866 | # CONFIG_SENSORS_LM77 is not set | ||
867 | # CONFIG_SENSORS_LM78 is not set | ||
868 | # CONFIG_SENSORS_LM80 is not set | ||
869 | # CONFIG_SENSORS_LM83 is not set | ||
870 | # CONFIG_SENSORS_LM85 is not set | ||
871 | # CONFIG_SENSORS_LM87 is not set | ||
872 | # CONFIG_SENSORS_LM90 is not set | ||
873 | # CONFIG_SENSORS_LM92 is not set | ||
874 | # CONFIG_SENSORS_LM93 is not set | ||
875 | # CONFIG_SENSORS_MAX1619 is not set | ||
876 | # CONFIG_SENSORS_MAX6650 is not set | ||
877 | # CONFIG_SENSORS_PC87360 is not set | ||
878 | # CONFIG_SENSORS_PC87427 is not set | ||
879 | # CONFIG_SENSORS_DME1737 is not set | ||
880 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
881 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
882 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
883 | # CONFIG_SENSORS_THMC50 is not set | ||
884 | # CONFIG_SENSORS_VT1211 is not set | ||
885 | # CONFIG_SENSORS_W83781D is not set | ||
886 | # CONFIG_SENSORS_W83791D is not set | ||
887 | # CONFIG_SENSORS_W83792D is not set | ||
888 | # CONFIG_SENSORS_W83793 is not set | ||
889 | # CONFIG_SENSORS_W83L785TS is not set | ||
890 | # CONFIG_SENSORS_W83627HF is not set | ||
891 | # CONFIG_SENSORS_W83627EHF is not set | ||
892 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
893 | CONFIG_WATCHDOG=y | 916 | CONFIG_WATCHDOG=y |
894 | # CONFIG_WATCHDOG_NOWAYOUT is not set | 917 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
895 | 918 | ||
@@ -903,25 +926,43 @@ CONFIG_BFIN_WDT=y | |||
903 | # USB-based Watchdog Cards | 926 | # USB-based Watchdog Cards |
904 | # | 927 | # |
905 | # CONFIG_USBPCWATCHDOG is not set | 928 | # CONFIG_USBPCWATCHDOG is not set |
929 | CONFIG_SSB_POSSIBLE=y | ||
906 | 930 | ||
907 | # | 931 | # |
908 | # Sonics Silicon Backplane | 932 | # Sonics Silicon Backplane |
909 | # | 933 | # |
910 | CONFIG_SSB_POSSIBLE=y | ||
911 | # CONFIG_SSB is not set | 934 | # CONFIG_SSB is not set |
912 | 935 | ||
913 | # | 936 | # |
914 | # Multifunction device drivers | 937 | # Multifunction device drivers |
915 | # | 938 | # |
939 | # CONFIG_MFD_CORE is not set | ||
916 | # CONFIG_MFD_SM501 is not set | 940 | # CONFIG_MFD_SM501 is not set |
941 | # CONFIG_HTC_PASIC3 is not set | ||
942 | # CONFIG_TWL4030_CORE is not set | ||
943 | # CONFIG_MFD_TMIO is not set | ||
944 | # CONFIG_PMIC_DA903X is not set | ||
945 | # CONFIG_PMIC_ADP5520 is not set | ||
946 | # CONFIG_MFD_WM8400 is not set | ||
947 | # CONFIG_MFD_WM8350_I2C is not set | ||
948 | # CONFIG_MFD_PCF50633 is not set | ||
949 | # CONFIG_REGULATOR is not set | ||
917 | 950 | ||
918 | # | 951 | # |
919 | # Multimedia devices | 952 | # Multimedia devices |
920 | # | 953 | # |
954 | |||
955 | # | ||
956 | # Multimedia core support | ||
957 | # | ||
921 | # CONFIG_VIDEO_DEV is not set | 958 | # CONFIG_VIDEO_DEV is not set |
922 | # CONFIG_DVB_CORE is not set | 959 | # CONFIG_DVB_CORE is not set |
960 | # CONFIG_VIDEO_MEDIA is not set | ||
961 | |||
962 | # | ||
963 | # Multimedia drivers | ||
964 | # | ||
923 | # CONFIG_DAB is not set | 965 | # CONFIG_DAB is not set |
924 | # CONFIG_USB_DABUSB is not set | ||
925 | 966 | ||
926 | # | 967 | # |
927 | # Graphics support | 968 | # Graphics support |
@@ -935,80 +976,75 @@ CONFIG_SSB_POSSIBLE=y | |||
935 | # Display device support | 976 | # Display device support |
936 | # | 977 | # |
937 | # CONFIG_DISPLAY_SUPPORT is not set | 978 | # CONFIG_DISPLAY_SUPPORT is not set |
938 | |||
939 | # | ||
940 | # Sound | ||
941 | # | ||
942 | # CONFIG_SOUND is not set | 979 | # CONFIG_SOUND is not set |
943 | CONFIG_HID_SUPPORT=y | 980 | # CONFIG_HID_SUPPORT is not set |
944 | CONFIG_HID=y | ||
945 | # CONFIG_HID_DEBUG is not set | ||
946 | # CONFIG_HIDRAW is not set | ||
947 | |||
948 | # | ||
949 | # USB Input Devices | ||
950 | # | ||
951 | CONFIG_USB_HID=y | ||
952 | # CONFIG_USB_HIDINPUT_POWERBOOK is not set | ||
953 | # CONFIG_HID_FF is not set | ||
954 | # CONFIG_USB_HIDDEV is not set | ||
955 | CONFIG_USB_SUPPORT=y | 981 | CONFIG_USB_SUPPORT=y |
956 | CONFIG_USB_ARCH_HAS_HCD=y | 982 | CONFIG_USB_ARCH_HAS_HCD=y |
957 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 983 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
958 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 984 | # CONFIG_USB_ARCH_HAS_EHCI is not set |
959 | CONFIG_USB=y | 985 | CONFIG_USB=m |
960 | # CONFIG_USB_DEBUG is not set | 986 | # CONFIG_USB_DEBUG is not set |
987 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
961 | 988 | ||
962 | # | 989 | # |
963 | # Miscellaneous USB options | 990 | # Miscellaneous USB options |
964 | # | 991 | # |
965 | # CONFIG_USB_DEVICEFS is not set | 992 | CONFIG_USB_DEVICEFS=y |
966 | CONFIG_USB_DEVICE_CLASS=y | 993 | # CONFIG_USB_DEVICE_CLASS is not set |
967 | # CONFIG_USB_DYNAMIC_MINORS is not set | 994 | # CONFIG_USB_DYNAMIC_MINORS is not set |
968 | # CONFIG_USB_OTG is not set | 995 | # CONFIG_USB_OTG is not set |
996 | # CONFIG_USB_OTG_WHITELIST is not set | ||
997 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
998 | CONFIG_USB_MON=m | ||
999 | # CONFIG_USB_WUSB is not set | ||
1000 | # CONFIG_USB_WUSB_CBAF is not set | ||
969 | 1001 | ||
970 | # | 1002 | # |
971 | # USB Host Controller Drivers | 1003 | # USB Host Controller Drivers |
972 | # | 1004 | # |
1005 | # CONFIG_USB_C67X00_HCD is not set | ||
1006 | # CONFIG_USB_OXU210HP_HCD is not set | ||
973 | # CONFIG_USB_ISP116X_HCD is not set | 1007 | # CONFIG_USB_ISP116X_HCD is not set |
974 | # CONFIG_USB_ISP1362_HCD is not set | ||
975 | # CONFIG_USB_ISP1760_HCD is not set | 1008 | # CONFIG_USB_ISP1760_HCD is not set |
1009 | # CONFIG_USB_ISP1362_HCD is not set | ||
976 | # CONFIG_USB_SL811_HCD is not set | 1010 | # CONFIG_USB_SL811_HCD is not set |
977 | # CONFIG_USB_R8A66597_HCD is not set | 1011 | # CONFIG_USB_R8A66597_HCD is not set |
978 | CONFIG_USB_MUSB_HDRC=y | 1012 | # CONFIG_USB_HWA_HCD is not set |
1013 | CONFIG_USB_MUSB_HDRC=m | ||
979 | CONFIG_USB_MUSB_SOC=y | 1014 | CONFIG_USB_MUSB_SOC=y |
980 | 1015 | ||
981 | # | 1016 | # |
982 | # Blackfin BF54x, BF525 and BF527 high speed USB support | 1017 | # Blackfin high speed USB Support |
983 | # | 1018 | # |
984 | CONFIG_USB_MUSB_HOST=y | 1019 | # CONFIG_USB_MUSB_HOST is not set |
985 | # CONFIG_USB_MUSB_PERIPHERAL is not set | 1020 | CONFIG_USB_MUSB_PERIPHERAL=y |
986 | # CONFIG_USB_MUSB_OTG is not set | 1021 | # CONFIG_USB_MUSB_OTG is not set |
987 | CONFIG_USB_MUSB_HDRC_HCD=y | 1022 | CONFIG_USB_GADGET_MUSB_HDRC=y |
988 | # CONFIG_MUSB_PIO_ONLY is not set | 1023 | # CONFIG_MUSB_PIO_ONLY is not set |
989 | # CONFIG_USB_INVENTRA_DMA is not set | 1024 | CONFIG_USB_INVENTRA_DMA=y |
990 | # CONFIG_USB_TI_CPPI_DMA is not set | 1025 | # CONFIG_USB_TI_CPPI_DMA is not set |
991 | CONFIG_USB_MUSB_LOGLEVEL=0 | 1026 | # CONFIG_USB_MUSB_DEBUG is not set |
992 | 1027 | ||
993 | # | 1028 | # |
994 | # USB Device Class drivers | 1029 | # USB Device Class drivers |
995 | # | 1030 | # |
996 | # CONFIG_USB_ACM is not set | 1031 | # CONFIG_USB_ACM is not set |
997 | # CONFIG_USB_PRINTER is not set | 1032 | # CONFIG_USB_PRINTER is not set |
1033 | # CONFIG_USB_WDM is not set | ||
1034 | # CONFIG_USB_TMC is not set | ||
998 | 1035 | ||
999 | # | 1036 | # |
1000 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 1037 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
1001 | # | 1038 | # |
1002 | 1039 | ||
1003 | # | 1040 | # |
1004 | # may also be needed; see USB_STORAGE Help for more information | 1041 | # also be needed; see USB_STORAGE Help for more info |
1005 | # | 1042 | # |
1006 | CONFIG_USB_STORAGE=y | 1043 | CONFIG_USB_STORAGE=m |
1007 | # CONFIG_USB_STORAGE_DEBUG is not set | 1044 | # CONFIG_USB_STORAGE_DEBUG is not set |
1008 | # CONFIG_USB_STORAGE_DATAFAB is not set | 1045 | # CONFIG_USB_STORAGE_DATAFAB is not set |
1009 | # CONFIG_USB_STORAGE_FREECOM is not set | 1046 | # CONFIG_USB_STORAGE_FREECOM is not set |
1010 | # CONFIG_USB_STORAGE_ISD200 is not set | 1047 | # CONFIG_USB_STORAGE_ISD200 is not set |
1011 | # CONFIG_USB_STORAGE_DPCM is not set | ||
1012 | # CONFIG_USB_STORAGE_USBAT is not set | 1048 | # CONFIG_USB_STORAGE_USBAT is not set |
1013 | # CONFIG_USB_STORAGE_SDDR09 is not set | 1049 | # CONFIG_USB_STORAGE_SDDR09 is not set |
1014 | # CONFIG_USB_STORAGE_SDDR55 is not set | 1050 | # CONFIG_USB_STORAGE_SDDR55 is not set |
@@ -1016,6 +1052,7 @@ CONFIG_USB_STORAGE=y | |||
1016 | # CONFIG_USB_STORAGE_ALAUDA is not set | 1052 | # CONFIG_USB_STORAGE_ALAUDA is not set |
1017 | # CONFIG_USB_STORAGE_ONETOUCH is not set | 1053 | # CONFIG_USB_STORAGE_ONETOUCH is not set |
1018 | # CONFIG_USB_STORAGE_KARMA is not set | 1054 | # CONFIG_USB_STORAGE_KARMA is not set |
1055 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1019 | # CONFIG_USB_LIBUSUAL is not set | 1056 | # CONFIG_USB_LIBUSUAL is not set |
1020 | 1057 | ||
1021 | # | 1058 | # |
@@ -1023,15 +1060,10 @@ CONFIG_USB_STORAGE=y | |||
1023 | # | 1060 | # |
1024 | # CONFIG_USB_MDC800 is not set | 1061 | # CONFIG_USB_MDC800 is not set |
1025 | # CONFIG_USB_MICROTEK is not set | 1062 | # CONFIG_USB_MICROTEK is not set |
1026 | CONFIG_USB_MON=y | ||
1027 | 1063 | ||
1028 | # | 1064 | # |
1029 | # USB port drivers | 1065 | # USB port drivers |
1030 | # | 1066 | # |
1031 | |||
1032 | # | ||
1033 | # USB Serial Converter support | ||
1034 | # | ||
1035 | # CONFIG_USB_SERIAL is not set | 1067 | # CONFIG_USB_SERIAL is not set |
1036 | 1068 | ||
1037 | # | 1069 | # |
@@ -1040,7 +1072,7 @@ CONFIG_USB_MON=y | |||
1040 | # CONFIG_USB_EMI62 is not set | 1072 | # CONFIG_USB_EMI62 is not set |
1041 | # CONFIG_USB_EMI26 is not set | 1073 | # CONFIG_USB_EMI26 is not set |
1042 | # CONFIG_USB_ADUTUX is not set | 1074 | # CONFIG_USB_ADUTUX is not set |
1043 | # CONFIG_USB_AUERSWALD is not set | 1075 | # CONFIG_USB_SEVSEG is not set |
1044 | # CONFIG_USB_RIO500 is not set | 1076 | # CONFIG_USB_RIO500 is not set |
1045 | # CONFIG_USB_LEGOTOWER is not set | 1077 | # CONFIG_USB_LEGOTOWER is not set |
1046 | # CONFIG_USB_LCD is not set | 1078 | # CONFIG_USB_LCD is not set |
@@ -1048,7 +1080,6 @@ CONFIG_USB_MON=y | |||
1048 | # CONFIG_USB_LED is not set | 1080 | # CONFIG_USB_LED is not set |
1049 | # CONFIG_USB_CYPRESS_CY7C63 is not set | 1081 | # CONFIG_USB_CYPRESS_CY7C63 is not set |
1050 | # CONFIG_USB_CYTHERM is not set | 1082 | # CONFIG_USB_CYTHERM is not set |
1051 | # CONFIG_USB_PHIDGET is not set | ||
1052 | # CONFIG_USB_IDMOUSE is not set | 1083 | # CONFIG_USB_IDMOUSE is not set |
1053 | # CONFIG_USB_FTDI_ELAN is not set | 1084 | # CONFIG_USB_FTDI_ELAN is not set |
1054 | # CONFIG_USB_APPLEDISPLAY is not set | 1085 | # CONFIG_USB_APPLEDISPLAY is not set |
@@ -1056,38 +1087,75 @@ CONFIG_USB_MON=y | |||
1056 | # CONFIG_USB_LD is not set | 1087 | # CONFIG_USB_LD is not set |
1057 | # CONFIG_USB_TRANCEVIBRATOR is not set | 1088 | # CONFIG_USB_TRANCEVIBRATOR is not set |
1058 | # CONFIG_USB_IOWARRIOR is not set | 1089 | # CONFIG_USB_IOWARRIOR is not set |
1059 | 1090 | # CONFIG_USB_TEST is not set | |
1060 | # | 1091 | # CONFIG_USB_ISIGHTFW is not set |
1061 | # USB DSL modem support | 1092 | # CONFIG_USB_VST is not set |
1062 | # | 1093 | CONFIG_USB_GADGET=m |
1063 | 1094 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | |
1064 | # | 1095 | # CONFIG_USB_GADGET_DEBUG_FS is not set |
1065 | # USB Gadget Support | 1096 | CONFIG_USB_GADGET_VBUS_DRAW=2 |
1066 | # | 1097 | CONFIG_USB_GADGET_SELECTED=y |
1067 | # CONFIG_USB_GADGET is not set | 1098 | # CONFIG_USB_GADGET_AT91 is not set |
1068 | CONFIG_MMC=y | 1099 | # CONFIG_USB_GADGET_ATMEL_USBA is not set |
1100 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1101 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1102 | # CONFIG_USB_GADGET_OMAP is not set | ||
1103 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1104 | # CONFIG_USB_GADGET_PXA27X is not set | ||
1105 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1106 | # CONFIG_USB_GADGET_IMX is not set | ||
1107 | # CONFIG_USB_GADGET_M66592 is not set | ||
1108 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1109 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1110 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1111 | # CONFIG_USB_GADGET_NET2272 is not set | ||
1112 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1113 | # CONFIG_USB_GADGET_GOKU is not set | ||
1114 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1115 | CONFIG_USB_GADGET_DUALSPEED=y | ||
1116 | CONFIG_USB_ZERO=m | ||
1117 | # CONFIG_USB_AUDIO is not set | ||
1118 | CONFIG_USB_ETH=m | ||
1119 | # CONFIG_USB_ETH_RNDIS is not set | ||
1120 | CONFIG_USB_GADGETFS=m | ||
1121 | CONFIG_USB_FILE_STORAGE=m | ||
1122 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1123 | CONFIG_USB_G_SERIAL=m | ||
1124 | # CONFIG_USB_MIDI_GADGET is not set | ||
1125 | CONFIG_USB_G_PRINTER=m | ||
1126 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
1127 | |||
1128 | # | ||
1129 | # OTG and related infrastructure | ||
1130 | # | ||
1131 | CONFIG_USB_OTG_UTILS=y | ||
1132 | # CONFIG_USB_GPIO_VBUS is not set | ||
1133 | # CONFIG_NOP_USB_XCEIV is not set | ||
1134 | CONFIG_MMC=m | ||
1069 | # CONFIG_MMC_DEBUG is not set | 1135 | # CONFIG_MMC_DEBUG is not set |
1070 | # CONFIG_MMC_UNSAFE_RESUME is not set | 1136 | # CONFIG_MMC_UNSAFE_RESUME is not set |
1071 | 1137 | ||
1072 | # | 1138 | # |
1073 | # MMC/SD Card Drivers | 1139 | # MMC/SD/SDIO Card Drivers |
1074 | # | 1140 | # |
1075 | CONFIG_MMC_BLOCK=y | 1141 | CONFIG_MMC_BLOCK=m |
1076 | CONFIG_MMC_BLOCK_BOUNCE=y | 1142 | CONFIG_MMC_BLOCK_BOUNCE=y |
1077 | # CONFIG_SDIO_UART is not set | 1143 | # CONFIG_SDIO_UART is not set |
1144 | # CONFIG_MMC_TEST is not set | ||
1078 | 1145 | ||
1079 | # | 1146 | # |
1080 | # MMC/SD Host Controller Drivers | 1147 | # MMC/SD/SDIO Host Controller Drivers |
1081 | # | 1148 | # |
1082 | CONFIG_SDH_BFIN=y | 1149 | # CONFIG_MMC_SDHCI is not set |
1150 | CONFIG_SDH_BFIN=m | ||
1151 | # CONFIG_SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND is not set | ||
1152 | # CONFIG_SDH_BFIN_ENABLE_SDIO_IRQ is not set | ||
1083 | # CONFIG_MMC_SPI is not set | 1153 | # CONFIG_MMC_SPI is not set |
1084 | # CONFIG_SPI_MMC is not set | 1154 | # CONFIG_MEMSTICK is not set |
1085 | # CONFIG_NEW_LEDS is not set | 1155 | # CONFIG_NEW_LEDS is not set |
1086 | CONFIG_RTC_LIB=y | 1156 | # CONFIG_ACCESSIBILITY is not set |
1087 | CONFIG_RTC_CLASS=y | 1157 | CONFIG_RTC_LIB=m |
1088 | CONFIG_RTC_HCTOSYS=y | 1158 | CONFIG_RTC_CLASS=m |
1089 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1090 | # CONFIG_RTC_DEBUG is not set | ||
1091 | 1159 | ||
1092 | # | 1160 | # |
1093 | # RTC interfaces | 1161 | # RTC interfaces |
@@ -1111,66 +1179,74 @@ CONFIG_RTC_INTF_DEV=y | |||
1111 | # CONFIG_RTC_DRV_PCF8563 is not set | 1179 | # CONFIG_RTC_DRV_PCF8563 is not set |
1112 | # CONFIG_RTC_DRV_PCF8583 is not set | 1180 | # CONFIG_RTC_DRV_PCF8583 is not set |
1113 | # CONFIG_RTC_DRV_M41T80 is not set | 1181 | # CONFIG_RTC_DRV_M41T80 is not set |
1182 | # CONFIG_RTC_DRV_S35390A is not set | ||
1183 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1184 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1114 | 1185 | ||
1115 | # | 1186 | # |
1116 | # SPI RTC drivers | 1187 | # SPI RTC drivers |
1117 | # | 1188 | # |
1118 | # CONFIG_RTC_DRV_RS5C348 is not set | 1189 | # CONFIG_RTC_DRV_M41T94 is not set |
1190 | # CONFIG_RTC_DRV_DS1305 is not set | ||
1191 | # CONFIG_RTC_DRV_DS1390 is not set | ||
1119 | # CONFIG_RTC_DRV_MAX6902 is not set | 1192 | # CONFIG_RTC_DRV_MAX6902 is not set |
1193 | # CONFIG_RTC_DRV_R9701 is not set | ||
1194 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1195 | # CONFIG_RTC_DRV_DS3234 is not set | ||
1120 | 1196 | ||
1121 | # | 1197 | # |
1122 | # Platform RTC drivers | 1198 | # Platform RTC drivers |
1123 | # | 1199 | # |
1200 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1201 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1124 | # CONFIG_RTC_DRV_DS1553 is not set | 1202 | # CONFIG_RTC_DRV_DS1553 is not set |
1125 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1126 | # CONFIG_RTC_DRV_DS1742 is not set | 1203 | # CONFIG_RTC_DRV_DS1742 is not set |
1204 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1127 | # CONFIG_RTC_DRV_M48T86 is not set | 1205 | # CONFIG_RTC_DRV_M48T86 is not set |
1206 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1128 | # CONFIG_RTC_DRV_M48T59 is not set | 1207 | # CONFIG_RTC_DRV_M48T59 is not set |
1208 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1129 | # CONFIG_RTC_DRV_V3020 is not set | 1209 | # CONFIG_RTC_DRV_V3020 is not set |
1130 | 1210 | ||
1131 | # | 1211 | # |
1132 | # on-CPU RTC drivers | 1212 | # on-CPU RTC drivers |
1133 | # | 1213 | # |
1134 | CONFIG_RTC_DRV_BFIN=y | 1214 | CONFIG_RTC_DRV_BFIN=m |
1135 | 1215 | # CONFIG_DMADEVICES is not set | |
1136 | # | 1216 | # CONFIG_AUXDISPLAY is not set |
1137 | # Userspace I/O | ||
1138 | # | ||
1139 | # CONFIG_UIO is not set | 1217 | # CONFIG_UIO is not set |
1140 | 1218 | # CONFIG_STAGING is not set | |
1141 | # | ||
1142 | # PBX support | ||
1143 | # | ||
1144 | # CONFIG_PBX is not set | ||
1145 | 1219 | ||
1146 | # | 1220 | # |
1147 | # File systems | 1221 | # File systems |
1148 | # | 1222 | # |
1149 | # CONFIG_EXT2_FS is not set | 1223 | CONFIG_EXT2_FS=m |
1224 | # CONFIG_EXT2_FS_XATTR is not set | ||
1150 | # CONFIG_EXT3_FS is not set | 1225 | # CONFIG_EXT3_FS is not set |
1151 | # CONFIG_EXT4DEV_FS is not set | 1226 | # CONFIG_EXT4_FS is not set |
1152 | # CONFIG_REISERFS_FS is not set | 1227 | # CONFIG_REISERFS_FS is not set |
1153 | # CONFIG_JFS_FS is not set | 1228 | # CONFIG_JFS_FS is not set |
1154 | # CONFIG_FS_POSIX_ACL is not set | 1229 | # CONFIG_FS_POSIX_ACL is not set |
1155 | # CONFIG_XFS_FS is not set | 1230 | # CONFIG_XFS_FS is not set |
1156 | # CONFIG_GFS2_FS is not set | ||
1157 | # CONFIG_OCFS2_FS is not set | 1231 | # CONFIG_OCFS2_FS is not set |
1158 | # CONFIG_MINIX_FS is not set | 1232 | # CONFIG_BTRFS_FS is not set |
1159 | # CONFIG_ROMFS_FS is not set | 1233 | CONFIG_FILE_LOCKING=y |
1160 | CONFIG_INOTIFY=y | ||
1161 | CONFIG_INOTIFY_USER=y | ||
1162 | # CONFIG_QUOTA is not set | ||
1163 | # CONFIG_DNOTIFY is not set | 1234 | # CONFIG_DNOTIFY is not set |
1235 | # CONFIG_INOTIFY is not set | ||
1236 | # CONFIG_QUOTA is not set | ||
1164 | # CONFIG_AUTOFS_FS is not set | 1237 | # CONFIG_AUTOFS_FS is not set |
1165 | # CONFIG_AUTOFS4_FS is not set | 1238 | # CONFIG_AUTOFS4_FS is not set |
1166 | # CONFIG_FUSE_FS is not set | 1239 | # CONFIG_FUSE_FS is not set |
1167 | 1240 | ||
1168 | # | 1241 | # |
1242 | # Caches | ||
1243 | # | ||
1244 | # CONFIG_FSCACHE is not set | ||
1245 | |||
1246 | # | ||
1169 | # CD-ROM/DVD Filesystems | 1247 | # CD-ROM/DVD Filesystems |
1170 | # | 1248 | # |
1171 | CONFIG_ISO9660_FS=m | 1249 | # CONFIG_ISO9660_FS is not set |
1172 | CONFIG_JOLIET=y | ||
1173 | CONFIG_ZISOFS=y | ||
1174 | # CONFIG_UDF_FS is not set | 1250 | # CONFIG_UDF_FS is not set |
1175 | 1251 | ||
1176 | # | 1252 | # |
@@ -1194,10 +1270,7 @@ CONFIG_SYSFS=y | |||
1194 | # CONFIG_TMPFS is not set | 1270 | # CONFIG_TMPFS is not set |
1195 | # CONFIG_HUGETLB_PAGE is not set | 1271 | # CONFIG_HUGETLB_PAGE is not set |
1196 | # CONFIG_CONFIGFS_FS is not set | 1272 | # CONFIG_CONFIGFS_FS is not set |
1197 | 1273 | CONFIG_MISC_FILESYSTEMS=y | |
1198 | # | ||
1199 | # Miscellaneous filesystems | ||
1200 | # | ||
1201 | # CONFIG_ADFS_FS is not set | 1274 | # CONFIG_ADFS_FS is not set |
1202 | # CONFIG_AFFS_FS is not set | 1275 | # CONFIG_AFFS_FS is not set |
1203 | # CONFIG_HFS_FS is not set | 1276 | # CONFIG_HFS_FS is not set |
@@ -1205,17 +1278,7 @@ CONFIG_SYSFS=y | |||
1205 | # CONFIG_BEFS_FS is not set | 1278 | # CONFIG_BEFS_FS is not set |
1206 | # CONFIG_BFS_FS is not set | 1279 | # CONFIG_BFS_FS is not set |
1207 | # CONFIG_EFS_FS is not set | 1280 | # CONFIG_EFS_FS is not set |
1208 | CONFIG_YAFFS_FS=m | 1281 | CONFIG_JFFS2_FS=y |
1209 | CONFIG_YAFFS_YAFFS1=y | ||
1210 | # CONFIG_YAFFS_DOES_ECC is not set | ||
1211 | CONFIG_YAFFS_YAFFS2=y | ||
1212 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
1213 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
1214 | CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10 | ||
1215 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
1216 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
1217 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
1218 | CONFIG_JFFS2_FS=m | ||
1219 | CONFIG_JFFS2_FS_DEBUG=0 | 1282 | CONFIG_JFFS2_FS_DEBUG=0 |
1220 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 1283 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
1221 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | 1284 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set |
@@ -1227,34 +1290,30 @@ CONFIG_JFFS2_ZLIB=y | |||
1227 | CONFIG_JFFS2_RTIME=y | 1290 | CONFIG_JFFS2_RTIME=y |
1228 | # CONFIG_JFFS2_RUBIN is not set | 1291 | # CONFIG_JFFS2_RUBIN is not set |
1229 | # CONFIG_CRAMFS is not set | 1292 | # CONFIG_CRAMFS is not set |
1293 | # CONFIG_SQUASHFS is not set | ||
1230 | # CONFIG_VXFS_FS is not set | 1294 | # CONFIG_VXFS_FS is not set |
1295 | # CONFIG_MINIX_FS is not set | ||
1296 | # CONFIG_OMFS_FS is not set | ||
1231 | # CONFIG_HPFS_FS is not set | 1297 | # CONFIG_HPFS_FS is not set |
1232 | # CONFIG_QNX4FS_FS is not set | 1298 | # CONFIG_QNX4FS_FS is not set |
1299 | # CONFIG_ROMFS_FS is not set | ||
1233 | # CONFIG_SYSV_FS is not set | 1300 | # CONFIG_SYSV_FS is not set |
1234 | # CONFIG_UFS_FS is not set | 1301 | # CONFIG_UFS_FS is not set |
1302 | # CONFIG_NILFS2_FS is not set | ||
1235 | CONFIG_NETWORK_FILESYSTEMS=y | 1303 | CONFIG_NETWORK_FILESYSTEMS=y |
1236 | CONFIG_NFS_FS=m | 1304 | CONFIG_NFS_FS=m |
1237 | CONFIG_NFS_V3=y | 1305 | CONFIG_NFS_V3=y |
1238 | # CONFIG_NFS_V3_ACL is not set | 1306 | # CONFIG_NFS_V3_ACL is not set |
1239 | # CONFIG_NFS_V4 is not set | 1307 | # CONFIG_NFS_V4 is not set |
1240 | # CONFIG_NFS_DIRECTIO is not set | 1308 | # CONFIG_NFSD is not set |
1241 | CONFIG_NFSD=m | ||
1242 | CONFIG_NFSD_V3=y | ||
1243 | # CONFIG_NFSD_V3_ACL is not set | ||
1244 | # CONFIG_NFSD_V4 is not set | ||
1245 | CONFIG_NFSD_TCP=y | ||
1246 | CONFIG_LOCKD=m | 1309 | CONFIG_LOCKD=m |
1247 | CONFIG_LOCKD_V4=y | 1310 | CONFIG_LOCKD_V4=y |
1248 | CONFIG_EXPORTFS=m | ||
1249 | CONFIG_NFS_COMMON=y | 1311 | CONFIG_NFS_COMMON=y |
1250 | CONFIG_SUNRPC=m | 1312 | CONFIG_SUNRPC=m |
1251 | # CONFIG_SUNRPC_BIND34 is not set | ||
1252 | # CONFIG_RPCSEC_GSS_KRB5 is not set | 1313 | # CONFIG_RPCSEC_GSS_KRB5 is not set |
1253 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | 1314 | # CONFIG_RPCSEC_GSS_SPKM3 is not set |
1254 | CONFIG_SMB_FS=m | 1315 | # CONFIG_SMB_FS is not set |
1255 | CONFIG_SMB_NLS_DEFAULT=y | 1316 | CONFIG_CIFS=m |
1256 | CONFIG_SMB_NLS_REMOTE="cp437" | ||
1257 | CONFIG_CIFS=y | ||
1258 | # CONFIG_CIFS_STATS is not set | 1317 | # CONFIG_CIFS_STATS is not set |
1259 | # CONFIG_CIFS_WEAK_PW_HASH is not set | 1318 | # CONFIG_CIFS_WEAK_PW_HASH is not set |
1260 | # CONFIG_CIFS_XATTR is not set | 1319 | # CONFIG_CIFS_XATTR is not set |
@@ -1267,24 +1326,8 @@ CONFIG_CIFS=y | |||
1267 | # | 1326 | # |
1268 | # Partition Types | 1327 | # Partition Types |
1269 | # | 1328 | # |
1270 | CONFIG_PARTITION_ADVANCED=y | 1329 | # CONFIG_PARTITION_ADVANCED is not set |
1271 | # CONFIG_ACORN_PARTITION is not set | ||
1272 | # CONFIG_OSF_PARTITION is not set | ||
1273 | # CONFIG_AMIGA_PARTITION is not set | ||
1274 | # CONFIG_ATARI_PARTITION is not set | ||
1275 | # CONFIG_MAC_PARTITION is not set | ||
1276 | CONFIG_MSDOS_PARTITION=y | 1330 | CONFIG_MSDOS_PARTITION=y |
1277 | # CONFIG_BSD_DISKLABEL is not set | ||
1278 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1279 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1280 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1281 | # CONFIG_LDM_PARTITION is not set | ||
1282 | # CONFIG_SGI_PARTITION is not set | ||
1283 | # CONFIG_ULTRIX_PARTITION is not set | ||
1284 | # CONFIG_SUN_PARTITION is not set | ||
1285 | # CONFIG_KARMA_PARTITION is not set | ||
1286 | # CONFIG_EFI_PARTITION is not set | ||
1287 | # CONFIG_SYSV68_PARTITION is not set | ||
1288 | CONFIG_NLS=y | 1331 | CONFIG_NLS=y |
1289 | CONFIG_NLS_DEFAULT="iso8859-1" | 1332 | CONFIG_NLS_DEFAULT="iso8859-1" |
1290 | CONFIG_NLS_CODEPAGE_437=m | 1333 | CONFIG_NLS_CODEPAGE_437=m |
@@ -1326,9 +1369,6 @@ CONFIG_NLS_KOI8_R=m | |||
1326 | CONFIG_NLS_KOI8_U=m | 1369 | CONFIG_NLS_KOI8_U=m |
1327 | CONFIG_NLS_UTF8=m | 1370 | CONFIG_NLS_UTF8=m |
1328 | # CONFIG_DLM is not set | 1371 | # CONFIG_DLM is not set |
1329 | CONFIG_INSTRUMENTATION=y | ||
1330 | # CONFIG_PROFILING is not set | ||
1331 | # CONFIG_MARKERS is not set | ||
1332 | 1372 | ||
1333 | # | 1373 | # |
1334 | # Kernel hacking | 1374 | # Kernel hacking |
@@ -1336,14 +1376,39 @@ CONFIG_INSTRUMENTATION=y | |||
1336 | # CONFIG_PRINTK_TIME is not set | 1376 | # CONFIG_PRINTK_TIME is not set |
1337 | CONFIG_ENABLE_WARN_DEPRECATED=y | 1377 | CONFIG_ENABLE_WARN_DEPRECATED=y |
1338 | CONFIG_ENABLE_MUST_CHECK=y | 1378 | CONFIG_ENABLE_MUST_CHECK=y |
1379 | CONFIG_FRAME_WARN=1024 | ||
1339 | # CONFIG_MAGIC_SYSRQ is not set | 1380 | # CONFIG_MAGIC_SYSRQ is not set |
1340 | # CONFIG_UNUSED_SYMBOLS is not set | 1381 | # CONFIG_UNUSED_SYMBOLS is not set |
1341 | CONFIG_DEBUG_FS=y | 1382 | CONFIG_DEBUG_FS=y |
1342 | # CONFIG_HEADERS_CHECK is not set | 1383 | # CONFIG_HEADERS_CHECK is not set |
1384 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
1343 | # CONFIG_DEBUG_KERNEL is not set | 1385 | # CONFIG_DEBUG_KERNEL is not set |
1344 | CONFIG_DEBUG_BUGVERBOSE=y | 1386 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1387 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1388 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1389 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1390 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1391 | CONFIG_TRACING_SUPPORT=y | ||
1392 | |||
1393 | # | ||
1394 | # Tracers | ||
1395 | # | ||
1396 | # CONFIG_FUNCTION_TRACER is not set | ||
1397 | # CONFIG_SCHED_TRACER is not set | ||
1398 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1399 | # CONFIG_EVENT_TRACER is not set | ||
1400 | # CONFIG_BOOT_TRACER is not set | ||
1401 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1402 | # CONFIG_STACK_TRACER is not set | ||
1403 | # CONFIG_KMEMTRACE is not set | ||
1404 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1405 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1406 | # CONFIG_DYNAMIC_DEBUG is not set | ||
1345 | # CONFIG_SAMPLES is not set | 1407 | # CONFIG_SAMPLES is not set |
1346 | CONFIG_DEBUG_MMRS=y | 1408 | CONFIG_HAVE_ARCH_KGDB=y |
1409 | CONFIG_DEBUG_VERBOSE=y | ||
1410 | # CONFIG_DEBUG_MMRS is not set | ||
1411 | # CONFIG_DEBUG_DOUBLEFAULT is not set | ||
1347 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1412 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
1348 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1413 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
1349 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 1414 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
@@ -1352,33 +1417,125 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
1352 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1417 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
1353 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1418 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
1354 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1419 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
1355 | # CONFIG_EARLY_PRINTK is not set | 1420 | CONFIG_EARLY_PRINTK=y |
1356 | CONFIG_CPLB_INFO=y | 1421 | CONFIG_CPLB_INFO=y |
1357 | CONFIG_ACCESS_CHECK=y | 1422 | CONFIG_ACCESS_CHECK=y |
1423 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
1358 | 1424 | ||
1359 | # | 1425 | # |
1360 | # Security options | 1426 | # Security options |
1361 | # | 1427 | # |
1362 | # CONFIG_KEYS is not set | 1428 | # CONFIG_KEYS is not set |
1363 | CONFIG_SECURITY=y | 1429 | CONFIG_SECURITY=y |
1430 | # CONFIG_SECURITYFS is not set | ||
1364 | # CONFIG_SECURITY_NETWORK is not set | 1431 | # CONFIG_SECURITY_NETWORK is not set |
1365 | # CONFIG_SECURITY_CAPABILITIES is not set | 1432 | # CONFIG_SECURITY_PATH is not set |
1366 | # CONFIG_SECURITY_ROOTPLUG is not set | 1433 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1367 | # CONFIG_CRYPTO is not set | 1434 | # CONFIG_SECURITY_TOMOYO is not set |
1435 | CONFIG_CRYPTO=y | ||
1436 | |||
1437 | # | ||
1438 | # Crypto core or helper | ||
1439 | # | ||
1440 | # CONFIG_CRYPTO_FIPS is not set | ||
1441 | # CONFIG_CRYPTO_MANAGER is not set | ||
1442 | # CONFIG_CRYPTO_MANAGER2 is not set | ||
1443 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1444 | # CONFIG_CRYPTO_NULL is not set | ||
1445 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1446 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1447 | # CONFIG_CRYPTO_TEST is not set | ||
1448 | |||
1449 | # | ||
1450 | # Authenticated Encryption with Associated Data | ||
1451 | # | ||
1452 | # CONFIG_CRYPTO_CCM is not set | ||
1453 | # CONFIG_CRYPTO_GCM is not set | ||
1454 | # CONFIG_CRYPTO_SEQIV is not set | ||
1455 | |||
1456 | # | ||
1457 | # Block modes | ||
1458 | # | ||
1459 | # CONFIG_CRYPTO_CBC is not set | ||
1460 | # CONFIG_CRYPTO_CTR is not set | ||
1461 | # CONFIG_CRYPTO_CTS is not set | ||
1462 | # CONFIG_CRYPTO_ECB is not set | ||
1463 | # CONFIG_CRYPTO_LRW is not set | ||
1464 | # CONFIG_CRYPTO_PCBC is not set | ||
1465 | # CONFIG_CRYPTO_XTS is not set | ||
1466 | |||
1467 | # | ||
1468 | # Hash modes | ||
1469 | # | ||
1470 | # CONFIG_CRYPTO_HMAC is not set | ||
1471 | # CONFIG_CRYPTO_XCBC is not set | ||
1472 | |||
1473 | # | ||
1474 | # Digest | ||
1475 | # | ||
1476 | # CONFIG_CRYPTO_CRC32C is not set | ||
1477 | # CONFIG_CRYPTO_MD4 is not set | ||
1478 | # CONFIG_CRYPTO_MD5 is not set | ||
1479 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1480 | # CONFIG_CRYPTO_RMD128 is not set | ||
1481 | # CONFIG_CRYPTO_RMD160 is not set | ||
1482 | # CONFIG_CRYPTO_RMD256 is not set | ||
1483 | # CONFIG_CRYPTO_RMD320 is not set | ||
1484 | # CONFIG_CRYPTO_SHA1 is not set | ||
1485 | # CONFIG_CRYPTO_SHA256 is not set | ||
1486 | # CONFIG_CRYPTO_SHA512 is not set | ||
1487 | # CONFIG_CRYPTO_TGR192 is not set | ||
1488 | # CONFIG_CRYPTO_WP512 is not set | ||
1489 | |||
1490 | # | ||
1491 | # Ciphers | ||
1492 | # | ||
1493 | # CONFIG_CRYPTO_AES is not set | ||
1494 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1495 | # CONFIG_CRYPTO_ARC4 is not set | ||
1496 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1497 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1498 | # CONFIG_CRYPTO_CAST5 is not set | ||
1499 | # CONFIG_CRYPTO_CAST6 is not set | ||
1500 | # CONFIG_CRYPTO_DES is not set | ||
1501 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1502 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1503 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1504 | # CONFIG_CRYPTO_SEED is not set | ||
1505 | # CONFIG_CRYPTO_SERPENT is not set | ||
1506 | # CONFIG_CRYPTO_TEA is not set | ||
1507 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1508 | |||
1509 | # | ||
1510 | # Compression | ||
1511 | # | ||
1512 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1513 | # CONFIG_CRYPTO_ZLIB is not set | ||
1514 | # CONFIG_CRYPTO_LZO is not set | ||
1515 | |||
1516 | # | ||
1517 | # Random Number Generation | ||
1518 | # | ||
1519 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
1520 | # CONFIG_CRYPTO_HW is not set | ||
1521 | # CONFIG_BINARY_PRINTF is not set | ||
1368 | 1522 | ||
1369 | # | 1523 | # |
1370 | # Library routines | 1524 | # Library routines |
1371 | # | 1525 | # |
1372 | CONFIG_BITREVERSE=y | 1526 | CONFIG_BITREVERSE=y |
1527 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
1373 | CONFIG_CRC_CCITT=m | 1528 | CONFIG_CRC_CCITT=m |
1374 | # CONFIG_CRC16 is not set | 1529 | # CONFIG_CRC16 is not set |
1530 | # CONFIG_CRC_T10DIF is not set | ||
1375 | # CONFIG_CRC_ITU_T is not set | 1531 | # CONFIG_CRC_ITU_T is not set |
1376 | CONFIG_CRC32=y | 1532 | CONFIG_CRC32=y |
1377 | # CONFIG_CRC7 is not set | 1533 | # CONFIG_CRC7 is not set |
1378 | # CONFIG_LIBCRC32C is not set | 1534 | # CONFIG_LIBCRC32C is not set |
1379 | CONFIG_ZLIB_INFLATE=y | 1535 | CONFIG_ZLIB_INFLATE=y |
1380 | CONFIG_ZLIB_DEFLATE=m | 1536 | CONFIG_ZLIB_DEFLATE=y |
1381 | CONFIG_PLIST=y | 1537 | CONFIG_DECOMPRESS_LZMA=y |
1382 | CONFIG_HAS_IOMEM=y | 1538 | CONFIG_HAS_IOMEM=y |
1383 | CONFIG_HAS_IOPORT=y | 1539 | CONFIG_HAS_IOPORT=y |
1384 | CONFIG_HAS_DMA=y | 1540 | CONFIG_HAS_DMA=y |
1541 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/CM-BF561_defconfig b/arch/blackfin/configs/CM-BF561_defconfig index bae4ee6e68bb..a6df01dac98a 100644 --- a/arch/blackfin/configs/CM-BF561_defconfig +++ b/arch/blackfin/configs/CM-BF561_defconfig | |||
@@ -1,15 +1,14 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.24.4 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # Tue Apr 1 10:50:11 2008 | ||
5 | # | 4 | # |
6 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
7 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
10 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
11 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
12 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
13 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
14 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
15 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
@@ -17,6 +16,9 @@ CONFIG_GENERIC_IRQ_PROBE=y | |||
17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
21 | 23 | ||
22 | # | 24 | # |
@@ -27,62 +29,83 @@ CONFIG_BROKEN_ON_SMP=y | |||
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
28 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
29 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
30 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
31 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
32 | # CONFIG_POSIX_MQUEUE is not set | 40 | # CONFIG_POSIX_MQUEUE is not set |
33 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
34 | # CONFIG_TASKSTATS is not set | 42 | # CONFIG_TASKSTATS is not set |
35 | # CONFIG_USER_NS is not set | ||
36 | # CONFIG_PID_NS is not set | ||
37 | # CONFIG_AUDIT is not set | 43 | # CONFIG_AUDIT is not set |
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
38 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
39 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
40 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
56 | # CONFIG_GROUP_SCHED is not set | ||
41 | # CONFIG_CGROUPS is not set | 57 | # CONFIG_CGROUPS is not set |
42 | CONFIG_FAIR_GROUP_SCHED=y | 58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
43 | CONFIG_FAIR_USER_SCHED=y | ||
44 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
45 | # CONFIG_SYSFS_DEPRECATED is not set | ||
46 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
47 | # CONFIG_BLK_DEV_INITRD is not set | 60 | # CONFIG_NAMESPACES is not set |
61 | CONFIG_BLK_DEV_INITRD=y | ||
62 | CONFIG_INITRAMFS_SOURCE="" | ||
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
48 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
49 | # CONFIG_SYSCTL is not set | 67 | CONFIG_SYSCTL=y |
68 | CONFIG_ANON_INODES=y | ||
50 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
51 | # CONFIG_UID16 is not set | 70 | # CONFIG_UID16 is not set |
52 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
53 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
54 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
55 | # CONFIG_HOTPLUG is not set | 74 | # CONFIG_STRIP_ASM_SYMS is not set |
75 | CONFIG_HOTPLUG=y | ||
56 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
57 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
58 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
59 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
60 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
61 | CONFIG_ANON_INODES=y | ||
62 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
63 | CONFIG_SIGNALFD=y | 82 | # CONFIG_SIGNALFD is not set |
64 | CONFIG_EVENTFD=y | 83 | # CONFIG_TIMERFD is not set |
84 | # CONFIG_EVENTFD is not set | ||
85 | # CONFIG_AIO is not set | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
66 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | 87 | CONFIG_COMPAT_BRK=y |
67 | # CONFIG_NP2 is not set | ||
68 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
69 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
70 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
92 | # CONFIG_PROFILING is not set | ||
93 | # CONFIG_MARKERS is not set | ||
94 | CONFIG_HAVE_OPROFILE=y | ||
95 | # CONFIG_SLOW_WORK is not set | ||
96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | ||
71 | CONFIG_SLABINFO=y | 97 | CONFIG_SLABINFO=y |
72 | CONFIG_RT_MUTEXES=y | ||
73 | CONFIG_TINY_SHMEM=y | ||
74 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
75 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
100 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
76 | CONFIG_MODULE_UNLOAD=y | 101 | CONFIG_MODULE_UNLOAD=y |
77 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
78 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
79 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
80 | CONFIG_KMOD=y | ||
81 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
82 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
83 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
84 | # CONFIG_LSF is not set | ||
85 | # CONFIG_BLK_DEV_BSG is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
108 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
86 | 109 | ||
87 | # | 110 | # |
88 | # IO Schedulers | 111 | # IO Schedulers |
@@ -99,6 +122,7 @@ CONFIG_DEFAULT_IOSCHED="noop" | |||
99 | CONFIG_PREEMPT_NONE=y | 122 | CONFIG_PREEMPT_NONE=y |
100 | # CONFIG_PREEMPT_VOLUNTARY is not set | 123 | # CONFIG_PREEMPT_VOLUNTARY is not set |
101 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
125 | # CONFIG_FREEZER is not set | ||
102 | 126 | ||
103 | # | 127 | # |
104 | # Blackfin Processor Options | 128 | # Blackfin Processor Options |
@@ -107,6 +131,10 @@ CONFIG_PREEMPT_NONE=y | |||
107 | # | 131 | # |
108 | # Processor and Board Settings | 132 | # Processor and Board Settings |
109 | # | 133 | # |
134 | # CONFIG_BF512 is not set | ||
135 | # CONFIG_BF514 is not set | ||
136 | # CONFIG_BF516 is not set | ||
137 | # CONFIG_BF518 is not set | ||
110 | # CONFIG_BF522 is not set | 138 | # CONFIG_BF522 is not set |
111 | # CONFIG_BF523 is not set | 139 | # CONFIG_BF523 is not set |
112 | # CONFIG_BF524 is not set | 140 | # CONFIG_BF524 is not set |
@@ -119,30 +147,47 @@ CONFIG_PREEMPT_NONE=y | |||
119 | # CONFIG_BF534 is not set | 147 | # CONFIG_BF534 is not set |
120 | # CONFIG_BF536 is not set | 148 | # CONFIG_BF536 is not set |
121 | # CONFIG_BF537 is not set | 149 | # CONFIG_BF537 is not set |
150 | # CONFIG_BF538 is not set | ||
151 | # CONFIG_BF539 is not set | ||
122 | # CONFIG_BF542 is not set | 152 | # CONFIG_BF542 is not set |
153 | # CONFIG_BF542M is not set | ||
123 | # CONFIG_BF544 is not set | 154 | # CONFIG_BF544 is not set |
155 | # CONFIG_BF544M is not set | ||
124 | # CONFIG_BF547 is not set | 156 | # CONFIG_BF547 is not set |
157 | # CONFIG_BF547M is not set | ||
125 | # CONFIG_BF548 is not set | 158 | # CONFIG_BF548 is not set |
159 | # CONFIG_BF548M is not set | ||
126 | # CONFIG_BF549 is not set | 160 | # CONFIG_BF549 is not set |
161 | # CONFIG_BF549M is not set | ||
127 | CONFIG_BF561=y | 162 | CONFIG_BF561=y |
163 | # CONFIG_SMP is not set | ||
164 | CONFIG_BF_REV_MIN=3 | ||
165 | CONFIG_BF_REV_MAX=5 | ||
128 | # CONFIG_BF_REV_0_0 is not set | 166 | # CONFIG_BF_REV_0_0 is not set |
129 | # CONFIG_BF_REV_0_1 is not set | 167 | # CONFIG_BF_REV_0_1 is not set |
130 | # CONFIG_BF_REV_0_2 is not set | 168 | # CONFIG_BF_REV_0_2 is not set |
131 | CONFIG_BF_REV_0_3=y | 169 | CONFIG_BF_REV_0_3=y |
132 | # CONFIG_BF_REV_0_4 is not set | 170 | # CONFIG_BF_REV_0_4 is not set |
133 | # CONFIG_BF_REV_0_5 is not set | 171 | # CONFIG_BF_REV_0_5 is not set |
172 | # CONFIG_BF_REV_0_6 is not set | ||
134 | # CONFIG_BF_REV_ANY is not set | 173 | # CONFIG_BF_REV_ANY is not set |
135 | # CONFIG_BF_REV_NONE is not set | 174 | # CONFIG_BF_REV_NONE is not set |
136 | CONFIG_BFIN_DUAL_CORE=y | ||
137 | CONFIG_MEM_MT48LC8M32B2B5_7=y | 175 | CONFIG_MEM_MT48LC8M32B2B5_7=y |
138 | CONFIG_IRQ_PLL_WAKEUP=7 | 176 | CONFIG_IRQ_PLL_WAKEUP=7 |
139 | CONFIG_IRQ_SPORT0_ERROR=7 | 177 | CONFIG_IRQ_SPORT0_ERROR=7 |
140 | CONFIG_IRQ_SPORT1_ERROR=7 | 178 | CONFIG_IRQ_SPORT1_ERROR=7 |
179 | CONFIG_IRQ_TIMER0=10 | ||
180 | CONFIG_IRQ_TIMER1=10 | ||
181 | CONFIG_IRQ_TIMER2=10 | ||
182 | CONFIG_IRQ_TIMER3=10 | ||
183 | CONFIG_IRQ_TIMER4=10 | ||
184 | CONFIG_IRQ_TIMER5=10 | ||
185 | CONFIG_IRQ_TIMER6=10 | ||
186 | CONFIG_IRQ_TIMER7=10 | ||
141 | CONFIG_IRQ_SPI_ERROR=7 | 187 | CONFIG_IRQ_SPI_ERROR=7 |
142 | # CONFIG_BFIN561_EZKIT is not set | 188 | # CONFIG_BFIN561_EZKIT is not set |
143 | # CONFIG_BFIN561_TEPLA is not set | 189 | # CONFIG_BFIN561_TEPLA is not set |
144 | CONFIG_BFIN561_BLUETECHNIX_CM=y | 190 | CONFIG_BFIN561_BLUETECHNIX_CM=y |
145 | # CONFIG_GENERIC_BF561_BOARD is not set | ||
146 | 191 | ||
147 | # | 192 | # |
148 | # BF561 Specific Configuration | 193 | # BF561 Specific Configuration |
@@ -151,12 +196,7 @@ CONFIG_BFIN561_BLUETECHNIX_CM=y | |||
151 | # | 196 | # |
152 | # Core B Support | 197 | # Core B Support |
153 | # | 198 | # |
154 | |||
155 | # | ||
156 | # Core B Support | ||
157 | # | ||
158 | CONFIG_BF561_COREB=y | 199 | CONFIG_BF561_COREB=y |
159 | # CONFIG_BF561_COREB_RESET is not set | ||
160 | 200 | ||
161 | # | 201 | # |
162 | # Interrupt Priority Assignment | 202 | # Interrupt Priority Assignment |
@@ -196,14 +236,6 @@ CONFIG_IRQ_DMA2_8=9 | |||
196 | CONFIG_IRQ_DMA2_9=9 | 236 | CONFIG_IRQ_DMA2_9=9 |
197 | CONFIG_IRQ_DMA2_10=9 | 237 | CONFIG_IRQ_DMA2_10=9 |
198 | CONFIG_IRQ_DMA2_11=9 | 238 | CONFIG_IRQ_DMA2_11=9 |
199 | CONFIG_IRQ_TIMER0=10 | ||
200 | CONFIG_IRQ_TIMER1=10 | ||
201 | CONFIG_IRQ_TIMER2=10 | ||
202 | CONFIG_IRQ_TIMER3=10 | ||
203 | CONFIG_IRQ_TIMER4=10 | ||
204 | CONFIG_IRQ_TIMER5=10 | ||
205 | CONFIG_IRQ_TIMER6=10 | ||
206 | CONFIG_IRQ_TIMER7=10 | ||
207 | CONFIG_IRQ_TIMER8=10 | 239 | CONFIG_IRQ_TIMER8=10 |
208 | CONFIG_IRQ_TIMER9=10 | 240 | CONFIG_IRQ_TIMER9=10 |
209 | CONFIG_IRQ_TIMER10=10 | 241 | CONFIG_IRQ_TIMER10=10 |
@@ -226,6 +258,7 @@ CONFIG_IRQ_WDTIMER=13 | |||
226 | # Board customizations | 258 | # Board customizations |
227 | # | 259 | # |
228 | # CONFIG_CMDLINE_BOOL is not set | 260 | # CONFIG_CMDLINE_BOOL is not set |
261 | CONFIG_BOOT_LOAD=0x1000 | ||
229 | 262 | ||
230 | # | 263 | # |
231 | # Clock/PLL Setup | 264 | # Clock/PLL Setup |
@@ -245,19 +278,20 @@ CONFIG_HZ_250=y | |||
245 | # CONFIG_HZ_300 is not set | 278 | # CONFIG_HZ_300 is not set |
246 | # CONFIG_HZ_1000 is not set | 279 | # CONFIG_HZ_1000 is not set |
247 | CONFIG_HZ=250 | 280 | CONFIG_HZ=250 |
281 | # CONFIG_SCHED_HRTICK is not set | ||
248 | CONFIG_GENERIC_TIME=y | 282 | CONFIG_GENERIC_TIME=y |
249 | CONFIG_GENERIC_CLOCKEVENTS=y | 283 | CONFIG_GENERIC_CLOCKEVENTS=y |
284 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
285 | CONFIG_TICKSOURCE_CORETMR=y | ||
250 | # CONFIG_CYCLES_CLOCKSOURCE is not set | 286 | # CONFIG_CYCLES_CLOCKSOURCE is not set |
251 | # CONFIG_TICK_ONESHOT is not set | 287 | # CONFIG_GPTMR0_CLOCKSOURCE is not set |
252 | # CONFIG_NO_HZ is not set | 288 | # CONFIG_NO_HZ is not set |
253 | # CONFIG_HIGH_RES_TIMERS is not set | 289 | # CONFIG_HIGH_RES_TIMERS is not set |
254 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | 290 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y |
255 | 291 | ||
256 | # | 292 | # |
257 | # Memory Setup | 293 | # Misc |
258 | # | 294 | # |
259 | CONFIG_MAX_MEM_SIZE=32 | ||
260 | CONFIG_BOOT_LOAD=0x1000 | ||
261 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 295 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
262 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 296 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
263 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 297 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
@@ -284,6 +318,12 @@ CONFIG_IP_CHECKSUM_L1=y | |||
284 | CONFIG_CACHELINE_ALIGNED_L1=y | 318 | CONFIG_CACHELINE_ALIGNED_L1=y |
285 | CONFIG_SYSCALL_TAB_L1=y | 319 | CONFIG_SYSCALL_TAB_L1=y |
286 | CONFIG_CPLB_SWITCH_TAB_L1=y | 320 | CONFIG_CPLB_SWITCH_TAB_L1=y |
321 | CONFIG_APP_STACK_L1=y | ||
322 | |||
323 | # | ||
324 | # Speed Optimizations | ||
325 | # | ||
326 | CONFIG_BFIN_INS_LOWOVERHEAD=y | ||
287 | CONFIG_RAMKERNEL=y | 327 | CONFIG_RAMKERNEL=y |
288 | # CONFIG_ROMKERNEL is not set | 328 | # CONFIG_ROMKERNEL is not set |
289 | CONFIG_SELECT_MEMORY_MODEL=y | 329 | CONFIG_SELECT_MEMORY_MODEL=y |
@@ -292,14 +332,16 @@ CONFIG_FLATMEM_MANUAL=y | |||
292 | # CONFIG_SPARSEMEM_MANUAL is not set | 332 | # CONFIG_SPARSEMEM_MANUAL is not set |
293 | CONFIG_FLATMEM=y | 333 | CONFIG_FLATMEM=y |
294 | CONFIG_FLAT_NODE_MEM_MAP=y | 334 | CONFIG_FLAT_NODE_MEM_MAP=y |
295 | # CONFIG_SPARSEMEM_STATIC is not set | 335 | CONFIG_PAGEFLAGS_EXTENDED=y |
296 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
297 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 336 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
298 | # CONFIG_RESOURCES_64BIT is not set | 337 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
299 | CONFIG_ZONE_DMA_FLAG=1 | 338 | CONFIG_ZONE_DMA_FLAG=1 |
300 | CONFIG_VIRT_TO_BUS=y | 339 | CONFIG_VIRT_TO_BUS=y |
301 | CONFIG_LARGE_ALLOCS=y | 340 | CONFIG_UNEVICTABLE_LRU=y |
341 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
342 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
302 | # CONFIG_BFIN_GPTIMERS is not set | 343 | # CONFIG_BFIN_GPTIMERS is not set |
344 | # CONFIG_DMA_UNCACHED_4M is not set | ||
303 | # CONFIG_DMA_UNCACHED_2M is not set | 345 | # CONFIG_DMA_UNCACHED_2M is not set |
304 | CONFIG_DMA_UNCACHED_1M=y | 346 | CONFIG_DMA_UNCACHED_1M=y |
305 | # CONFIG_DMA_UNCACHED_NONE is not set | 347 | # CONFIG_DMA_UNCACHED_NONE is not set |
@@ -308,15 +350,16 @@ CONFIG_DMA_UNCACHED_1M=y | |||
308 | # Cache Support | 350 | # Cache Support |
309 | # | 351 | # |
310 | CONFIG_BFIN_ICACHE=y | 352 | CONFIG_BFIN_ICACHE=y |
311 | # CONFIG_BFIN_ICACHE_LOCK is not set | 353 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
354 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
312 | CONFIG_BFIN_DCACHE=y | 355 | CONFIG_BFIN_DCACHE=y |
313 | # CONFIG_BFIN_DCACHE_BANKA is not set | 356 | # CONFIG_BFIN_DCACHE_BANKA is not set |
314 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
315 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 357 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
316 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 358 | # CONFIG_BFIN_EXTMEM_WRITEBACK is not set |
317 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 359 | CONFIG_BFIN_EXTMEM_WRITETHROUGH=y |
318 | # CONFIG_BFIN_L2_ICACHEABLE is not set | ||
319 | # CONFIG_BFIN_L2_DCACHEABLE is not set | 360 | # CONFIG_BFIN_L2_DCACHEABLE is not set |
361 | # CONFIG_BFIN_L2_WRITEBACK is not set | ||
362 | # CONFIG_BFIN_L2_WRITETHROUGH is not set | ||
320 | 363 | ||
321 | # | 364 | # |
322 | # Memory Protection Unit | 365 | # Memory Protection Unit |
@@ -324,7 +367,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
324 | # CONFIG_MPU is not set | 367 | # CONFIG_MPU is not set |
325 | 368 | ||
326 | # | 369 | # |
327 | # Asynchonous Memory Configuration | 370 | # Asynchronous Memory Configuration |
328 | # | 371 | # |
329 | 372 | ||
330 | # | 373 | # |
@@ -353,8 +396,8 @@ CONFIG_BANK_3=0xFFC2 | |||
353 | # | 396 | # |
354 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 397 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
355 | # | 398 | # |
356 | # CONFIG_PCI is not set | ||
357 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 399 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
400 | # CONFIG_PCCARD is not set | ||
358 | 401 | ||
359 | # | 402 | # |
360 | # Executable file formats | 403 | # Executable file formats |
@@ -363,18 +406,19 @@ CONFIG_BINFMT_ELF_FDPIC=y | |||
363 | CONFIG_BINFMT_FLAT=y | 406 | CONFIG_BINFMT_FLAT=y |
364 | CONFIG_BINFMT_ZFLAT=y | 407 | CONFIG_BINFMT_ZFLAT=y |
365 | CONFIG_BINFMT_SHARED_FLAT=y | 408 | CONFIG_BINFMT_SHARED_FLAT=y |
409 | # CONFIG_HAVE_AOUT is not set | ||
366 | # CONFIG_BINFMT_MISC is not set | 410 | # CONFIG_BINFMT_MISC is not set |
367 | 411 | ||
368 | # | 412 | # |
369 | # Power management options | 413 | # Power management options |
370 | # | 414 | # |
371 | # CONFIG_PM is not set | 415 | # CONFIG_PM is not set |
372 | CONFIG_SUSPEND_UP_POSSIBLE=y | 416 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
373 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
374 | 417 | ||
375 | # | 418 | # |
376 | # Networking | 419 | # CPU Frequency scaling |
377 | # | 420 | # |
421 | # CONFIG_CPU_FREQ is not set | ||
378 | CONFIG_NET=y | 422 | CONFIG_NET=y |
379 | 423 | ||
380 | # | 424 | # |
@@ -383,10 +427,6 @@ CONFIG_NET=y | |||
383 | CONFIG_PACKET=y | 427 | CONFIG_PACKET=y |
384 | # CONFIG_PACKET_MMAP is not set | 428 | # CONFIG_PACKET_MMAP is not set |
385 | CONFIG_UNIX=y | 429 | CONFIG_UNIX=y |
386 | CONFIG_XFRM=y | ||
387 | # CONFIG_XFRM_USER is not set | ||
388 | # CONFIG_XFRM_SUB_POLICY is not set | ||
389 | # CONFIG_XFRM_MIGRATE is not set | ||
390 | # CONFIG_NET_KEY is not set | 430 | # CONFIG_NET_KEY is not set |
391 | CONFIG_INET=y | 431 | CONFIG_INET=y |
392 | # CONFIG_IP_MULTICAST is not set | 432 | # CONFIG_IP_MULTICAST is not set |
@@ -407,14 +447,11 @@ CONFIG_IP_FIB_HASH=y | |||
407 | # CONFIG_INET_XFRM_MODE_BEET is not set | 447 | # CONFIG_INET_XFRM_MODE_BEET is not set |
408 | # CONFIG_INET_LRO is not set | 448 | # CONFIG_INET_LRO is not set |
409 | # CONFIG_INET_DIAG is not set | 449 | # CONFIG_INET_DIAG is not set |
410 | CONFIG_INET_TCP_DIAG=y | ||
411 | # CONFIG_TCP_CONG_ADVANCED is not set | 450 | # CONFIG_TCP_CONG_ADVANCED is not set |
412 | CONFIG_TCP_CONG_CUBIC=y | 451 | CONFIG_TCP_CONG_CUBIC=y |
413 | CONFIG_DEFAULT_TCP_CONG="cubic" | 452 | CONFIG_DEFAULT_TCP_CONG="cubic" |
414 | # CONFIG_TCP_MD5SIG is not set | 453 | # CONFIG_TCP_MD5SIG is not set |
415 | # CONFIG_IPV6 is not set | 454 | # CONFIG_IPV6 is not set |
416 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
417 | # CONFIG_INET6_TUNNEL is not set | ||
418 | # CONFIG_NETLABEL is not set | 455 | # CONFIG_NETLABEL is not set |
419 | # CONFIG_NETWORK_SECMARK is not set | 456 | # CONFIG_NETWORK_SECMARK is not set |
420 | # CONFIG_NETFILTER is not set | 457 | # CONFIG_NETFILTER is not set |
@@ -423,6 +460,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
423 | # CONFIG_TIPC is not set | 460 | # CONFIG_TIPC is not set |
424 | # CONFIG_ATM is not set | 461 | # CONFIG_ATM is not set |
425 | # CONFIG_BRIDGE is not set | 462 | # CONFIG_BRIDGE is not set |
463 | # CONFIG_NET_DSA is not set | ||
426 | # CONFIG_VLAN_8021Q is not set | 464 | # CONFIG_VLAN_8021Q is not set |
427 | # CONFIG_DECNET is not set | 465 | # CONFIG_DECNET is not set |
428 | # CONFIG_LLC2 is not set | 466 | # CONFIG_LLC2 is not set |
@@ -432,24 +470,21 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
432 | # CONFIG_LAPB is not set | 470 | # CONFIG_LAPB is not set |
433 | # CONFIG_ECONET is not set | 471 | # CONFIG_ECONET is not set |
434 | # CONFIG_WAN_ROUTER is not set | 472 | # CONFIG_WAN_ROUTER is not set |
473 | # CONFIG_PHONET is not set | ||
435 | # CONFIG_NET_SCHED is not set | 474 | # CONFIG_NET_SCHED is not set |
475 | # CONFIG_DCB is not set | ||
436 | 476 | ||
437 | # | 477 | # |
438 | # Network testing | 478 | # Network testing |
439 | # | 479 | # |
440 | # CONFIG_NET_PKTGEN is not set | 480 | # CONFIG_NET_PKTGEN is not set |
441 | # CONFIG_HAMRADIO is not set | 481 | # CONFIG_HAMRADIO is not set |
482 | # CONFIG_CAN is not set | ||
442 | # CONFIG_IRDA is not set | 483 | # CONFIG_IRDA is not set |
443 | # CONFIG_BT is not set | 484 | # CONFIG_BT is not set |
444 | # CONFIG_AF_RXRPC is not set | 485 | # CONFIG_AF_RXRPC is not set |
445 | 486 | # CONFIG_WIRELESS is not set | |
446 | # | 487 | # CONFIG_WIMAX is not set |
447 | # Wireless | ||
448 | # | ||
449 | # CONFIG_CFG80211 is not set | ||
450 | # CONFIG_WIRELESS_EXT is not set | ||
451 | # CONFIG_MAC80211 is not set | ||
452 | # CONFIG_IEEE80211 is not set | ||
453 | # CONFIG_RFKILL is not set | 488 | # CONFIG_RFKILL is not set |
454 | # CONFIG_NET_9P is not set | 489 | # CONFIG_NET_9P is not set |
455 | 490 | ||
@@ -460,16 +495,22 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
460 | # | 495 | # |
461 | # Generic Driver Options | 496 | # Generic Driver Options |
462 | # | 497 | # |
498 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
463 | CONFIG_STANDALONE=y | 499 | CONFIG_STANDALONE=y |
464 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 500 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
501 | CONFIG_FW_LOADER=y | ||
502 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
503 | CONFIG_EXTRA_FIRMWARE="" | ||
465 | # CONFIG_SYS_HYPERVISOR is not set | 504 | # CONFIG_SYS_HYPERVISOR is not set |
466 | # CONFIG_CONNECTOR is not set | 505 | # CONFIG_CONNECTOR is not set |
467 | CONFIG_MTD=y | 506 | CONFIG_MTD=y |
468 | # CONFIG_MTD_DEBUG is not set | 507 | # CONFIG_MTD_DEBUG is not set |
508 | # CONFIG_MTD_TESTS is not set | ||
469 | # CONFIG_MTD_CONCAT is not set | 509 | # CONFIG_MTD_CONCAT is not set |
470 | CONFIG_MTD_PARTITIONS=y | 510 | CONFIG_MTD_PARTITIONS=y |
471 | # CONFIG_MTD_REDBOOT_PARTS is not set | 511 | # CONFIG_MTD_REDBOOT_PARTS is not set |
472 | # CONFIG_MTD_CMDLINE_PARTS is not set | 512 | CONFIG_MTD_CMDLINE_PARTS=y |
513 | # CONFIG_MTD_AR7_PARTS is not set | ||
473 | 514 | ||
474 | # | 515 | # |
475 | # User Modules And Translation Layers | 516 | # User Modules And Translation Layers |
@@ -487,8 +528,10 @@ CONFIG_MTD_BLOCK=y | |||
487 | # | 528 | # |
488 | # RAM/ROM/Flash chip drivers | 529 | # RAM/ROM/Flash chip drivers |
489 | # | 530 | # |
490 | # CONFIG_MTD_CFI is not set | 531 | CONFIG_MTD_CFI=y |
491 | # CONFIG_MTD_JEDECPROBE is not set | 532 | # CONFIG_MTD_JEDECPROBE is not set |
533 | CONFIG_MTD_GEN_PROBE=y | ||
534 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
492 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | 535 | CONFIG_MTD_MAP_BANK_WIDTH_1=y |
493 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | 536 | CONFIG_MTD_MAP_BANK_WIDTH_2=y |
494 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | 537 | CONFIG_MTD_MAP_BANK_WIDTH_4=y |
@@ -499,20 +542,29 @@ CONFIG_MTD_CFI_I1=y | |||
499 | CONFIG_MTD_CFI_I2=y | 542 | CONFIG_MTD_CFI_I2=y |
500 | # CONFIG_MTD_CFI_I4 is not set | 543 | # CONFIG_MTD_CFI_I4 is not set |
501 | # CONFIG_MTD_CFI_I8 is not set | 544 | # CONFIG_MTD_CFI_I8 is not set |
545 | CONFIG_MTD_CFI_INTELEXT=y | ||
546 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
547 | # CONFIG_MTD_CFI_STAA is not set | ||
548 | # CONFIG_MTD_PSD4256G is not set | ||
549 | CONFIG_MTD_CFI_UTIL=y | ||
502 | CONFIG_MTD_RAM=y | 550 | CONFIG_MTD_RAM=y |
503 | # CONFIG_MTD_ROM is not set | 551 | CONFIG_MTD_ROM=m |
504 | # CONFIG_MTD_ABSENT is not set | 552 | # CONFIG_MTD_ABSENT is not set |
505 | 553 | ||
506 | # | 554 | # |
507 | # Mapping drivers for chip access | 555 | # Mapping drivers for chip access |
508 | # | 556 | # |
509 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | 557 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set |
510 | CONFIG_MTD_UCLINUX=y | 558 | CONFIG_MTD_PHYSMAP=y |
559 | # CONFIG_MTD_PHYSMAP_COMPAT is not set | ||
560 | # CONFIG_MTD_UCLINUX is not set | ||
511 | # CONFIG_MTD_PLATRAM is not set | 561 | # CONFIG_MTD_PLATRAM is not set |
512 | 562 | ||
513 | # | 563 | # |
514 | # Self-contained MTD device drivers | 564 | # Self-contained MTD device drivers |
515 | # | 565 | # |
566 | # CONFIG_MTD_DATAFLASH is not set | ||
567 | # CONFIG_MTD_M25P80 is not set | ||
516 | # CONFIG_MTD_SLRAM is not set | 568 | # CONFIG_MTD_SLRAM is not set |
517 | # CONFIG_MTD_PHRAM is not set | 569 | # CONFIG_MTD_PHRAM is not set |
518 | # CONFIG_MTD_MTDRAM is not set | 570 | # CONFIG_MTD_MTDRAM is not set |
@@ -528,6 +580,11 @@ CONFIG_MTD_UCLINUX=y | |||
528 | # CONFIG_MTD_ONENAND is not set | 580 | # CONFIG_MTD_ONENAND is not set |
529 | 581 | ||
530 | # | 582 | # |
583 | # LPDDR flash memory drivers | ||
584 | # | ||
585 | # CONFIG_MTD_LPDDR is not set | ||
586 | |||
587 | # | ||
531 | # UBI - Unsorted block images | 588 | # UBI - Unsorted block images |
532 | # | 589 | # |
533 | # CONFIG_MTD_UBI is not set | 590 | # CONFIG_MTD_UBI is not set |
@@ -539,14 +596,21 @@ CONFIG_BLK_DEV=y | |||
539 | CONFIG_BLK_DEV_RAM=y | 596 | CONFIG_BLK_DEV_RAM=y |
540 | CONFIG_BLK_DEV_RAM_COUNT=16 | 597 | CONFIG_BLK_DEV_RAM_COUNT=16 |
541 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 598 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
542 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 599 | # CONFIG_BLK_DEV_XIP is not set |
543 | # CONFIG_CDROM_PKTCDVD is not set | 600 | # CONFIG_CDROM_PKTCDVD is not set |
544 | # CONFIG_ATA_OVER_ETH is not set | 601 | # CONFIG_ATA_OVER_ETH is not set |
602 | # CONFIG_BLK_DEV_HD is not set | ||
545 | CONFIG_MISC_DEVICES=y | 603 | CONFIG_MISC_DEVICES=y |
604 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
605 | # CONFIG_C2PORT is not set | ||
606 | |||
607 | # | ||
608 | # EEPROM support | ||
609 | # | ||
610 | # CONFIG_EEPROM_AT25 is not set | ||
546 | # CONFIG_EEPROM_93CX6 is not set | 611 | # CONFIG_EEPROM_93CX6 is not set |
612 | CONFIG_HAVE_IDE=y | ||
547 | # CONFIG_IDE is not set | 613 | # CONFIG_IDE is not set |
548 | # CONFIG_BFIN_IDE_ADDRESS_MAPPING_MODE0 is not set | ||
549 | # CONFIG_BFIN_IDE_ADDRESS_MAPPING_MODE1 is not set | ||
550 | 614 | ||
551 | # | 615 | # |
552 | # SCSI device support | 616 | # SCSI device support |
@@ -558,26 +622,50 @@ CONFIG_MISC_DEVICES=y | |||
558 | # CONFIG_ATA is not set | 622 | # CONFIG_ATA is not set |
559 | # CONFIG_MD is not set | 623 | # CONFIG_MD is not set |
560 | CONFIG_NETDEVICES=y | 624 | CONFIG_NETDEVICES=y |
561 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | 625 | CONFIG_COMPAT_NET_DEV_OPS=y |
562 | # CONFIG_DUMMY is not set | 626 | # CONFIG_DUMMY is not set |
563 | # CONFIG_BONDING is not set | 627 | # CONFIG_BONDING is not set |
564 | # CONFIG_MACVLAN is not set | 628 | # CONFIG_MACVLAN is not set |
565 | # CONFIG_EQUALIZER is not set | 629 | # CONFIG_EQUALIZER is not set |
566 | # CONFIG_TUN is not set | 630 | # CONFIG_TUN is not set |
567 | # CONFIG_VETH is not set | 631 | # CONFIG_VETH is not set |
568 | # CONFIG_PHYLIB is not set | 632 | CONFIG_PHYLIB=y |
633 | |||
634 | # | ||
635 | # MII PHY device drivers | ||
636 | # | ||
637 | # CONFIG_MARVELL_PHY is not set | ||
638 | # CONFIG_DAVICOM_PHY is not set | ||
639 | # CONFIG_QSEMI_PHY is not set | ||
640 | # CONFIG_LXT_PHY is not set | ||
641 | # CONFIG_CICADA_PHY is not set | ||
642 | # CONFIG_VITESSE_PHY is not set | ||
643 | # CONFIG_SMSC_PHY is not set | ||
644 | # CONFIG_BROADCOM_PHY is not set | ||
645 | # CONFIG_ICPLUS_PHY is not set | ||
646 | # CONFIG_REALTEK_PHY is not set | ||
647 | # CONFIG_NATIONAL_PHY is not set | ||
648 | # CONFIG_STE10XP is not set | ||
649 | # CONFIG_LSI_ET1011C_PHY is not set | ||
650 | # CONFIG_FIXED_PHY is not set | ||
651 | # CONFIG_MDIO_BITBANG is not set | ||
569 | CONFIG_NET_ETHERNET=y | 652 | CONFIG_NET_ETHERNET=y |
570 | CONFIG_MII=y | 653 | CONFIG_MII=y |
571 | CONFIG_SMC91X=y | 654 | # CONFIG_SMC91X is not set |
572 | # CONFIG_SMSC911X is not set | ||
573 | # CONFIG_DM9000 is not set | 655 | # CONFIG_DM9000 is not set |
656 | # CONFIG_ENC28J60 is not set | ||
657 | # CONFIG_ETHOC is not set | ||
658 | CONFIG_SMSC911X=m | ||
659 | # CONFIG_DNET is not set | ||
574 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | 660 | # CONFIG_IBM_NEW_EMAC_ZMII is not set |
575 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | 661 | # CONFIG_IBM_NEW_EMAC_RGMII is not set |
576 | # CONFIG_IBM_NEW_EMAC_TAH is not set | 662 | # CONFIG_IBM_NEW_EMAC_TAH is not set |
577 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | 663 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set |
664 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
665 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
666 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
578 | # CONFIG_B44 is not set | 667 | # CONFIG_B44 is not set |
579 | # CONFIG_NETDEV_1000 is not set | 668 | # CONFIG_NETDEV_1000 is not set |
580 | # CONFIG_AX88180 is not set | ||
581 | # CONFIG_NETDEV_10000 is not set | 669 | # CONFIG_NETDEV_10000 is not set |
582 | 670 | ||
583 | # | 671 | # |
@@ -585,10 +673,13 @@ CONFIG_SMC91X=y | |||
585 | # | 673 | # |
586 | # CONFIG_WLAN_PRE80211 is not set | 674 | # CONFIG_WLAN_PRE80211 is not set |
587 | # CONFIG_WLAN_80211 is not set | 675 | # CONFIG_WLAN_80211 is not set |
676 | |||
677 | # | ||
678 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
679 | # | ||
588 | # CONFIG_WAN is not set | 680 | # CONFIG_WAN is not set |
589 | # CONFIG_PPP is not set | 681 | # CONFIG_PPP is not set |
590 | # CONFIG_SLIP is not set | 682 | # CONFIG_SLIP is not set |
591 | # CONFIG_SHAPER is not set | ||
592 | # CONFIG_NETCONSOLE is not set | 683 | # CONFIG_NETCONSOLE is not set |
593 | # CONFIG_NETPOLL is not set | 684 | # CONFIG_NETPOLL is not set |
594 | # CONFIG_NET_POLL_CONTROLLER is not set | 685 | # CONFIG_NET_POLL_CONTROLLER is not set |
@@ -609,16 +700,15 @@ CONFIG_SMC91X=y | |||
609 | # | 700 | # |
610 | # Character devices | 701 | # Character devices |
611 | # | 702 | # |
612 | # CONFIG_AD9960 is not set | 703 | CONFIG_BFIN_DMA_INTERFACE=m |
613 | # CONFIG_SPI_ADC_BF533 is not set | 704 | # CONFIG_BFIN_PPI is not set |
614 | # CONFIG_BF5xx_PPIFCD is not set | 705 | # CONFIG_BFIN_PPIFCD is not set |
615 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 706 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
616 | # CONFIG_BF5xx_PPI is not set | 707 | # CONFIG_BFIN_SPI_ADC is not set |
617 | # CONFIG_BFIN_SPORT is not set | 708 | # CONFIG_BFIN_SPORT is not set |
618 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
619 | # CONFIG_SIMPLE_GPIO is not set | ||
620 | # CONFIG_VT is not set | 709 | # CONFIG_VT is not set |
621 | # CONFIG_DEVKMEM is not set | 710 | # CONFIG_DEVKMEM is not set |
711 | # CONFIG_BFIN_JTAG_COMM is not set | ||
622 | # CONFIG_SERIAL_NONSTANDARD is not set | 712 | # CONFIG_SERIAL_NONSTANDARD is not set |
623 | 713 | ||
624 | # | 714 | # |
@@ -629,6 +719,7 @@ CONFIG_SMC91X=y | |||
629 | # | 719 | # |
630 | # Non-8250 serial port support | 720 | # Non-8250 serial port support |
631 | # | 721 | # |
722 | # CONFIG_SERIAL_MAX3100 is not set | ||
632 | CONFIG_SERIAL_BFIN=y | 723 | CONFIG_SERIAL_BFIN=y |
633 | CONFIG_SERIAL_BFIN_CONSOLE=y | 724 | CONFIG_SERIAL_BFIN_CONSOLE=y |
634 | CONFIG_SERIAL_BFIN_DMA=y | 725 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -639,6 +730,7 @@ CONFIG_SERIAL_CORE=y | |||
639 | CONFIG_SERIAL_CORE_CONSOLE=y | 730 | CONFIG_SERIAL_CORE_CONSOLE=y |
640 | # CONFIG_SERIAL_BFIN_SPORT is not set | 731 | # CONFIG_SERIAL_BFIN_SPORT is not set |
641 | CONFIG_UNIX98_PTYS=y | 732 | CONFIG_UNIX98_PTYS=y |
733 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
642 | # CONFIG_LEGACY_PTYS is not set | 734 | # CONFIG_LEGACY_PTYS is not set |
643 | 735 | ||
644 | # | 736 | # |
@@ -647,54 +739,100 @@ CONFIG_UNIX98_PTYS=y | |||
647 | # CONFIG_CAN4LINUX is not set | 739 | # CONFIG_CAN4LINUX is not set |
648 | # CONFIG_IPMI_HANDLER is not set | 740 | # CONFIG_IPMI_HANDLER is not set |
649 | # CONFIG_HW_RANDOM is not set | 741 | # CONFIG_HW_RANDOM is not set |
650 | # CONFIG_GEN_RTC is not set | ||
651 | # CONFIG_R3964 is not set | 742 | # CONFIG_R3964 is not set |
652 | # CONFIG_RAW_DRIVER is not set | 743 | # CONFIG_RAW_DRIVER is not set |
653 | # CONFIG_TCG_TPM is not set | 744 | # CONFIG_TCG_TPM is not set |
654 | # CONFIG_I2C is not set | 745 | # CONFIG_I2C is not set |
746 | CONFIG_SPI=y | ||
747 | CONFIG_SPI_MASTER=y | ||
748 | |||
749 | # | ||
750 | # SPI Master Controller Drivers | ||
751 | # | ||
752 | CONFIG_SPI_BFIN=y | ||
753 | # CONFIG_SPI_BFIN_LOCK is not set | ||
754 | # CONFIG_SPI_BFIN_SPORT is not set | ||
755 | # CONFIG_SPI_BITBANG is not set | ||
756 | # CONFIG_SPI_GPIO is not set | ||
655 | 757 | ||
758 | # | ||
759 | # SPI Protocol Masters | ||
760 | # | ||
761 | # CONFIG_SPI_SPIDEV is not set | ||
762 | # CONFIG_SPI_TLE62X0 is not set | ||
656 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 763 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
657 | CONFIG_GPIOLIB=y | 764 | CONFIG_GPIOLIB=y |
658 | CONFIG_GPIO_SYSFS=y | 765 | CONFIG_GPIO_SYSFS=y |
659 | 766 | ||
660 | # | 767 | # |
661 | # SPI support | 768 | # Memory mapped GPIO expanders: |
769 | # | ||
770 | |||
771 | # | ||
772 | # I2C GPIO expanders: | ||
773 | # | ||
774 | |||
662 | # | 775 | # |
663 | # CONFIG_SPI is not set | 776 | # PCI GPIO expanders: |
664 | # CONFIG_SPI_MASTER is not set | 777 | # |
778 | |||
779 | # | ||
780 | # SPI GPIO expanders: | ||
781 | # | ||
782 | # CONFIG_GPIO_MAX7301 is not set | ||
783 | # CONFIG_GPIO_MCP23S08 is not set | ||
665 | # CONFIG_W1 is not set | 784 | # CONFIG_W1 is not set |
666 | # CONFIG_POWER_SUPPLY is not set | 785 | # CONFIG_POWER_SUPPLY is not set |
667 | CONFIG_HWMON=y | 786 | CONFIG_HWMON=y |
668 | # CONFIG_HWMON_VID is not set | 787 | # CONFIG_HWMON_VID is not set |
788 | # CONFIG_SENSORS_ADCXX is not set | ||
669 | # CONFIG_SENSORS_F71805F is not set | 789 | # CONFIG_SENSORS_F71805F is not set |
670 | # CONFIG_SENSORS_F71882FG is not set | 790 | # CONFIG_SENSORS_F71882FG is not set |
671 | # CONFIG_SENSORS_IT87 is not set | 791 | # CONFIG_SENSORS_IT87 is not set |
792 | # CONFIG_SENSORS_LM70 is not set | ||
793 | # CONFIG_SENSORS_MAX1111 is not set | ||
672 | # CONFIG_SENSORS_PC87360 is not set | 794 | # CONFIG_SENSORS_PC87360 is not set |
673 | # CONFIG_SENSORS_PC87427 is not set | 795 | # CONFIG_SENSORS_PC87427 is not set |
796 | # CONFIG_SENSORS_SHT15 is not set | ||
674 | # CONFIG_SENSORS_SMSC47M1 is not set | 797 | # CONFIG_SENSORS_SMSC47M1 is not set |
675 | # CONFIG_SENSORS_SMSC47B397 is not set | 798 | # CONFIG_SENSORS_SMSC47B397 is not set |
676 | # CONFIG_SENSORS_VT1211 is not set | 799 | # CONFIG_SENSORS_VT1211 is not set |
677 | # CONFIG_SENSORS_W83627HF is not set | 800 | # CONFIG_SENSORS_W83627HF is not set |
678 | # CONFIG_SENSORS_W83627EHF is not set | 801 | # CONFIG_SENSORS_W83627EHF is not set |
679 | # CONFIG_HWMON_DEBUG_CHIP is not set | 802 | # CONFIG_HWMON_DEBUG_CHIP is not set |
803 | # CONFIG_THERMAL is not set | ||
804 | # CONFIG_THERMAL_HWMON is not set | ||
680 | # CONFIG_WATCHDOG is not set | 805 | # CONFIG_WATCHDOG is not set |
806 | CONFIG_SSB_POSSIBLE=y | ||
681 | 807 | ||
682 | # | 808 | # |
683 | # Sonics Silicon Backplane | 809 | # Sonics Silicon Backplane |
684 | # | 810 | # |
685 | CONFIG_SSB_POSSIBLE=y | ||
686 | # CONFIG_SSB is not set | 811 | # CONFIG_SSB is not set |
687 | 812 | ||
688 | # | 813 | # |
689 | # Multifunction device drivers | 814 | # Multifunction device drivers |
690 | # | 815 | # |
816 | # CONFIG_MFD_CORE is not set | ||
691 | # CONFIG_MFD_SM501 is not set | 817 | # CONFIG_MFD_SM501 is not set |
818 | # CONFIG_HTC_PASIC3 is not set | ||
819 | # CONFIG_MFD_TMIO is not set | ||
820 | # CONFIG_REGULATOR is not set | ||
692 | 821 | ||
693 | # | 822 | # |
694 | # Multimedia devices | 823 | # Multimedia devices |
695 | # | 824 | # |
825 | |||
826 | # | ||
827 | # Multimedia core support | ||
828 | # | ||
696 | # CONFIG_VIDEO_DEV is not set | 829 | # CONFIG_VIDEO_DEV is not set |
697 | # CONFIG_DVB_CORE is not set | 830 | # CONFIG_DVB_CORE is not set |
831 | # CONFIG_VIDEO_MEDIA is not set | ||
832 | |||
833 | # | ||
834 | # Multimedia drivers | ||
835 | # | ||
698 | # CONFIG_DAB is not set | 836 | # CONFIG_DAB is not set |
699 | 837 | ||
700 | # | 838 | # |
@@ -709,42 +847,85 @@ CONFIG_SSB_POSSIBLE=y | |||
709 | # Display device support | 847 | # Display device support |
710 | # | 848 | # |
711 | # CONFIG_DISPLAY_SUPPORT is not set | 849 | # CONFIG_DISPLAY_SUPPORT is not set |
712 | |||
713 | # | ||
714 | # Sound | ||
715 | # | ||
716 | # CONFIG_SOUND is not set | 850 | # CONFIG_SOUND is not set |
717 | CONFIG_USB_SUPPORT=y | 851 | CONFIG_USB_SUPPORT=y |
718 | CONFIG_USB_ARCH_HAS_HCD=y | 852 | CONFIG_USB_ARCH_HAS_HCD=y |
719 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 853 | # CONFIG_USB_ARCH_HAS_OHCI is not set |
720 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 854 | # CONFIG_USB_ARCH_HAS_EHCI is not set |
721 | # CONFIG_USB is not set | 855 | # CONFIG_USB is not set |
722 | 856 | # CONFIG_USB_OTG_WHITELIST is not set | |
723 | # | 857 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set |
724 | # Enable Host or Gadget support to see Inventra options | 858 | # CONFIG_USB_GADGET_MUSB_HDRC is not set |
725 | # | 859 | |
726 | 860 | # | |
727 | # | 861 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may |
728 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | 862 | # |
729 | # | 863 | CONFIG_USB_GADGET=m |
730 | 864 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | |
731 | # | 865 | # CONFIG_USB_GADGET_DEBUG_FS is not set |
732 | # USB Gadget Support | 866 | CONFIG_USB_GADGET_VBUS_DRAW=2 |
733 | # | 867 | CONFIG_USB_GADGET_SELECTED=y |
734 | # CONFIG_USB_GADGET is not set | 868 | # CONFIG_USB_GADGET_AT91 is not set |
735 | # CONFIG_MMC is not set | 869 | # CONFIG_USB_GADGET_ATMEL_USBA is not set |
870 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
871 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
872 | # CONFIG_USB_GADGET_OMAP is not set | ||
873 | # CONFIG_USB_GADGET_PXA25X is not set | ||
874 | # CONFIG_USB_GADGET_PXA27X is not set | ||
875 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
876 | # CONFIG_USB_GADGET_IMX is not set | ||
877 | # CONFIG_USB_GADGET_M66592 is not set | ||
878 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
879 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
880 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
881 | CONFIG_USB_GADGET_NET2272=y | ||
882 | CONFIG_USB_NET2272=m | ||
883 | # CONFIG_USB_GADGET_NET2280 is not set | ||
884 | # CONFIG_USB_GADGET_GOKU is not set | ||
885 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
886 | CONFIG_USB_GADGET_DUALSPEED=y | ||
887 | # CONFIG_USB_ZERO is not set | ||
888 | # CONFIG_USB_AUDIO is not set | ||
889 | CONFIG_USB_ETH=m | ||
890 | CONFIG_USB_ETH_RNDIS=y | ||
891 | # CONFIG_USB_GADGETFS is not set | ||
892 | CONFIG_USB_FILE_STORAGE=m | ||
893 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
894 | CONFIG_USB_G_SERIAL=m | ||
895 | # CONFIG_USB_MIDI_GADGET is not set | ||
896 | CONFIG_USB_G_PRINTER=m | ||
897 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
898 | |||
899 | # | ||
900 | # OTG and related infrastructure | ||
901 | # | ||
902 | # CONFIG_USB_GPIO_VBUS is not set | ||
903 | # CONFIG_NOP_USB_XCEIV is not set | ||
904 | CONFIG_MMC=y | ||
905 | # CONFIG_MMC_DEBUG is not set | ||
906 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
907 | |||
908 | # | ||
909 | # MMC/SD/SDIO Card Drivers | ||
910 | # | ||
911 | CONFIG_MMC_BLOCK=y | ||
912 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
913 | # CONFIG_SDIO_UART is not set | ||
914 | # CONFIG_MMC_TEST is not set | ||
915 | |||
916 | # | ||
917 | # MMC/SD/SDIO Host Controller Drivers | ||
918 | # | ||
919 | # CONFIG_MMC_SDHCI is not set | ||
920 | CONFIG_MMC_SPI=m | ||
921 | # CONFIG_MEMSTICK is not set | ||
736 | # CONFIG_NEW_LEDS is not set | 922 | # CONFIG_NEW_LEDS is not set |
923 | # CONFIG_ACCESSIBILITY is not set | ||
737 | # CONFIG_RTC_CLASS is not set | 924 | # CONFIG_RTC_CLASS is not set |
738 | 925 | # CONFIG_DMADEVICES is not set | |
739 | # | 926 | # CONFIG_AUXDISPLAY is not set |
740 | # Userspace I/O | ||
741 | # | ||
742 | # CONFIG_UIO is not set | 927 | # CONFIG_UIO is not set |
743 | 928 | # CONFIG_STAGING is not set | |
744 | # | ||
745 | # PBX support | ||
746 | # | ||
747 | # CONFIG_PBX is not set | ||
748 | 929 | ||
749 | # | 930 | # |
750 | # File systems | 931 | # File systems |
@@ -754,25 +935,29 @@ CONFIG_EXT2_FS_XATTR=y | |||
754 | # CONFIG_EXT2_FS_POSIX_ACL is not set | 935 | # CONFIG_EXT2_FS_POSIX_ACL is not set |
755 | # CONFIG_EXT2_FS_SECURITY is not set | 936 | # CONFIG_EXT2_FS_SECURITY is not set |
756 | # CONFIG_EXT3_FS is not set | 937 | # CONFIG_EXT3_FS is not set |
757 | # CONFIG_EXT4DEV_FS is not set | 938 | # CONFIG_EXT4_FS is not set |
758 | CONFIG_FS_MBCACHE=y | 939 | CONFIG_FS_MBCACHE=y |
759 | # CONFIG_REISERFS_FS is not set | 940 | # CONFIG_REISERFS_FS is not set |
760 | # CONFIG_JFS_FS is not set | 941 | # CONFIG_JFS_FS is not set |
761 | # CONFIG_FS_POSIX_ACL is not set | 942 | # CONFIG_FS_POSIX_ACL is not set |
762 | # CONFIG_XFS_FS is not set | 943 | # CONFIG_XFS_FS is not set |
763 | # CONFIG_GFS2_FS is not set | ||
764 | # CONFIG_OCFS2_FS is not set | 944 | # CONFIG_OCFS2_FS is not set |
765 | # CONFIG_MINIX_FS is not set | 945 | # CONFIG_BTRFS_FS is not set |
766 | # CONFIG_ROMFS_FS is not set | 946 | CONFIG_FILE_LOCKING=y |
947 | # CONFIG_DNOTIFY is not set | ||
767 | CONFIG_INOTIFY=y | 948 | CONFIG_INOTIFY=y |
768 | CONFIG_INOTIFY_USER=y | 949 | CONFIG_INOTIFY_USER=y |
769 | # CONFIG_QUOTA is not set | 950 | # CONFIG_QUOTA is not set |
770 | # CONFIG_DNOTIFY is not set | ||
771 | # CONFIG_AUTOFS_FS is not set | 951 | # CONFIG_AUTOFS_FS is not set |
772 | # CONFIG_AUTOFS4_FS is not set | 952 | # CONFIG_AUTOFS4_FS is not set |
773 | # CONFIG_FUSE_FS is not set | 953 | # CONFIG_FUSE_FS is not set |
774 | 954 | ||
775 | # | 955 | # |
956 | # Caches | ||
957 | # | ||
958 | # CONFIG_FSCACHE is not set | ||
959 | |||
960 | # | ||
776 | # CD-ROM/DVD Filesystems | 961 | # CD-ROM/DVD Filesystems |
777 | # | 962 | # |
778 | # CONFIG_ISO9660_FS is not set | 963 | # CONFIG_ISO9660_FS is not set |
@@ -781,8 +966,11 @@ CONFIG_INOTIFY_USER=y | |||
781 | # | 966 | # |
782 | # DOS/FAT/NT Filesystems | 967 | # DOS/FAT/NT Filesystems |
783 | # | 968 | # |
784 | # CONFIG_MSDOS_FS is not set | 969 | CONFIG_FAT_FS=y |
785 | # CONFIG_VFAT_FS is not set | 970 | CONFIG_MSDOS_FS=y |
971 | CONFIG_VFAT_FS=y | ||
972 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
973 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
786 | # CONFIG_NTFS_FS is not set | 974 | # CONFIG_NTFS_FS is not set |
787 | 975 | ||
788 | # | 976 | # |
@@ -794,10 +982,7 @@ CONFIG_SYSFS=y | |||
794 | # CONFIG_TMPFS is not set | 982 | # CONFIG_TMPFS is not set |
795 | # CONFIG_HUGETLB_PAGE is not set | 983 | # CONFIG_HUGETLB_PAGE is not set |
796 | # CONFIG_CONFIGFS_FS is not set | 984 | # CONFIG_CONFIGFS_FS is not set |
797 | 985 | CONFIG_MISC_FILESYSTEMS=y | |
798 | # | ||
799 | # Miscellaneous filesystems | ||
800 | # | ||
801 | # CONFIG_ADFS_FS is not set | 986 | # CONFIG_ADFS_FS is not set |
802 | # CONFIG_AFFS_FS is not set | 987 | # CONFIG_AFFS_FS is not set |
803 | # CONFIG_HFS_FS is not set | 988 | # CONFIG_HFS_FS is not set |
@@ -805,14 +990,28 @@ CONFIG_SYSFS=y | |||
805 | # CONFIG_BEFS_FS is not set | 990 | # CONFIG_BEFS_FS is not set |
806 | # CONFIG_BFS_FS is not set | 991 | # CONFIG_BFS_FS is not set |
807 | # CONFIG_EFS_FS is not set | 992 | # CONFIG_EFS_FS is not set |
808 | # CONFIG_YAFFS_FS is not set | 993 | CONFIG_JFFS2_FS=y |
809 | # CONFIG_JFFS2_FS is not set | 994 | CONFIG_JFFS2_FS_DEBUG=0 |
995 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
996 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
997 | # CONFIG_JFFS2_SUMMARY is not set | ||
998 | # CONFIG_JFFS2_FS_XATTR is not set | ||
999 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1000 | CONFIG_JFFS2_ZLIB=y | ||
1001 | # CONFIG_JFFS2_LZO is not set | ||
1002 | CONFIG_JFFS2_RTIME=y | ||
1003 | # CONFIG_JFFS2_RUBIN is not set | ||
810 | # CONFIG_CRAMFS is not set | 1004 | # CONFIG_CRAMFS is not set |
1005 | # CONFIG_SQUASHFS is not set | ||
811 | # CONFIG_VXFS_FS is not set | 1006 | # CONFIG_VXFS_FS is not set |
1007 | # CONFIG_MINIX_FS is not set | ||
1008 | # CONFIG_OMFS_FS is not set | ||
812 | # CONFIG_HPFS_FS is not set | 1009 | # CONFIG_HPFS_FS is not set |
813 | # CONFIG_QNX4FS_FS is not set | 1010 | # CONFIG_QNX4FS_FS is not set |
1011 | # CONFIG_ROMFS_FS is not set | ||
814 | # CONFIG_SYSV_FS is not set | 1012 | # CONFIG_SYSV_FS is not set |
815 | # CONFIG_UFS_FS is not set | 1013 | # CONFIG_UFS_FS is not set |
1014 | # CONFIG_NILFS2_FS is not set | ||
816 | CONFIG_NETWORK_FILESYSTEMS=y | 1015 | CONFIG_NETWORK_FILESYSTEMS=y |
817 | # CONFIG_NFS_FS is not set | 1016 | # CONFIG_NFS_FS is not set |
818 | # CONFIG_NFSD is not set | 1017 | # CONFIG_NFSD is not set |
@@ -827,11 +1026,47 @@ CONFIG_NETWORK_FILESYSTEMS=y | |||
827 | # | 1026 | # |
828 | # CONFIG_PARTITION_ADVANCED is not set | 1027 | # CONFIG_PARTITION_ADVANCED is not set |
829 | CONFIG_MSDOS_PARTITION=y | 1028 | CONFIG_MSDOS_PARTITION=y |
830 | # CONFIG_NLS is not set | 1029 | CONFIG_NLS=y |
1030 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1031 | CONFIG_NLS_CODEPAGE_437=y | ||
1032 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1033 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1034 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1035 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1036 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1037 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1038 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1039 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1040 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1041 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1042 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1043 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1044 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1045 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1046 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1047 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1048 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1049 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1050 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1051 | # CONFIG_NLS_ISO8859_8 is not set | ||
1052 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1053 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1054 | # CONFIG_NLS_ASCII is not set | ||
1055 | CONFIG_NLS_ISO8859_1=y | ||
1056 | # CONFIG_NLS_ISO8859_2 is not set | ||
1057 | # CONFIG_NLS_ISO8859_3 is not set | ||
1058 | # CONFIG_NLS_ISO8859_4 is not set | ||
1059 | # CONFIG_NLS_ISO8859_5 is not set | ||
1060 | # CONFIG_NLS_ISO8859_6 is not set | ||
1061 | # CONFIG_NLS_ISO8859_7 is not set | ||
1062 | # CONFIG_NLS_ISO8859_9 is not set | ||
1063 | # CONFIG_NLS_ISO8859_13 is not set | ||
1064 | # CONFIG_NLS_ISO8859_14 is not set | ||
1065 | # CONFIG_NLS_ISO8859_15 is not set | ||
1066 | # CONFIG_NLS_KOI8_R is not set | ||
1067 | # CONFIG_NLS_KOI8_U is not set | ||
1068 | # CONFIG_NLS_UTF8 is not set | ||
831 | # CONFIG_DLM is not set | 1069 | # CONFIG_DLM is not set |
832 | CONFIG_INSTRUMENTATION=y | ||
833 | # CONFIG_PROFILING is not set | ||
834 | # CONFIG_MARKERS is not set | ||
835 | 1070 | ||
836 | # | 1071 | # |
837 | # Kernel hacking | 1072 | # Kernel hacking |
@@ -839,14 +1074,40 @@ CONFIG_INSTRUMENTATION=y | |||
839 | # CONFIG_PRINTK_TIME is not set | 1074 | # CONFIG_PRINTK_TIME is not set |
840 | CONFIG_ENABLE_WARN_DEPRECATED=y | 1075 | CONFIG_ENABLE_WARN_DEPRECATED=y |
841 | CONFIG_ENABLE_MUST_CHECK=y | 1076 | CONFIG_ENABLE_MUST_CHECK=y |
1077 | CONFIG_FRAME_WARN=1024 | ||
842 | # CONFIG_MAGIC_SYSRQ is not set | 1078 | # CONFIG_MAGIC_SYSRQ is not set |
843 | # CONFIG_UNUSED_SYMBOLS is not set | 1079 | # CONFIG_UNUSED_SYMBOLS is not set |
844 | CONFIG_DEBUG_FS=y | 1080 | CONFIG_DEBUG_FS=y |
845 | # CONFIG_HEADERS_CHECK is not set | 1081 | # CONFIG_HEADERS_CHECK is not set |
1082 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
846 | # CONFIG_DEBUG_KERNEL is not set | 1083 | # CONFIG_DEBUG_KERNEL is not set |
847 | CONFIG_DEBUG_BUGVERBOSE=y | 1084 | # CONFIG_DEBUG_BUGVERBOSE is not set |
1085 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1086 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1087 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1088 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y | ||
1089 | CONFIG_TRACING_SUPPORT=y | ||
1090 | |||
1091 | # | ||
1092 | # Tracers | ||
1093 | # | ||
1094 | # CONFIG_FUNCTION_TRACER is not set | ||
1095 | # CONFIG_IRQSOFF_TRACER is not set | ||
1096 | # CONFIG_SCHED_TRACER is not set | ||
1097 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1098 | # CONFIG_EVENT_TRACER is not set | ||
1099 | # CONFIG_BOOT_TRACER is not set | ||
1100 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1101 | # CONFIG_STACK_TRACER is not set | ||
1102 | # CONFIG_KMEMTRACE is not set | ||
1103 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1104 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1105 | # CONFIG_DYNAMIC_DEBUG is not set | ||
848 | # CONFIG_SAMPLES is not set | 1106 | # CONFIG_SAMPLES is not set |
1107 | CONFIG_HAVE_ARCH_KGDB=y | ||
1108 | CONFIG_DEBUG_VERBOSE=y | ||
849 | CONFIG_DEBUG_MMRS=y | 1109 | CONFIG_DEBUG_MMRS=y |
1110 | # CONFIG_DEBUG_DOUBLEFAULT is not set | ||
850 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1111 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
851 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1112 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
852 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 1113 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
@@ -855,33 +1116,40 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
855 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1116 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
856 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1117 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
857 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1118 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
858 | # CONFIG_EARLY_PRINTK is not set | 1119 | CONFIG_EARLY_PRINTK=y |
859 | # CONFIG_DUAL_CORE_TEST_MODULE is not set | ||
860 | CONFIG_CPLB_INFO=y | 1120 | CONFIG_CPLB_INFO=y |
861 | CONFIG_ACCESS_CHECK=y | 1121 | CONFIG_ACCESS_CHECK=y |
1122 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
862 | 1123 | ||
863 | # | 1124 | # |
864 | # Security options | 1125 | # Security options |
865 | # | 1126 | # |
866 | # CONFIG_KEYS is not set | 1127 | # CONFIG_KEYS is not set |
867 | CONFIG_SECURITY=y | 1128 | CONFIG_SECURITY=y |
1129 | # CONFIG_SECURITYFS is not set | ||
868 | # CONFIG_SECURITY_NETWORK is not set | 1130 | # CONFIG_SECURITY_NETWORK is not set |
869 | CONFIG_SECURITY_CAPABILITIES=y | 1131 | # CONFIG_SECURITY_PATH is not set |
870 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1132 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
1133 | # CONFIG_SECURITY_TOMOYO is not set | ||
871 | # CONFIG_CRYPTO is not set | 1134 | # CONFIG_CRYPTO is not set |
1135 | # CONFIG_BINARY_PRINTF is not set | ||
872 | 1136 | ||
873 | # | 1137 | # |
874 | # Library routines | 1138 | # Library routines |
875 | # | 1139 | # |
876 | CONFIG_BITREVERSE=y | 1140 | CONFIG_BITREVERSE=y |
1141 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
877 | CONFIG_CRC_CCITT=m | 1142 | CONFIG_CRC_CCITT=m |
878 | # CONFIG_CRC16 is not set | 1143 | # CONFIG_CRC16 is not set |
879 | # CONFIG_CRC_ITU_T is not set | 1144 | # CONFIG_CRC_T10DIF is not set |
1145 | CONFIG_CRC_ITU_T=y | ||
880 | CONFIG_CRC32=y | 1146 | CONFIG_CRC32=y |
881 | # CONFIG_CRC7 is not set | 1147 | CONFIG_CRC7=y |
882 | # CONFIG_LIBCRC32C is not set | 1148 | # CONFIG_LIBCRC32C is not set |
883 | CONFIG_ZLIB_INFLATE=y | 1149 | CONFIG_ZLIB_INFLATE=y |
884 | CONFIG_PLIST=y | 1150 | CONFIG_ZLIB_DEFLATE=y |
1151 | CONFIG_DECOMPRESS_LZMA=y | ||
885 | CONFIG_HAS_IOMEM=y | 1152 | CONFIG_HAS_IOMEM=y |
886 | CONFIG_HAS_IOPORT=y | 1153 | CONFIG_HAS_IOPORT=y |
887 | CONFIG_HAS_DMA=y | 1154 | CONFIG_HAS_DMA=y |
1155 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/configs/H8606_defconfig b/arch/blackfin/configs/H8606_defconfig index a6a7c8ede705..bc7fae3d8b83 100644 --- a/arch/blackfin/configs/H8606_defconfig +++ b/arch/blackfin/configs/H8606_defconfig | |||
@@ -67,6 +67,7 @@ CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | |||
67 | CONFIG_SLAB=y | 67 | CONFIG_SLAB=y |
68 | # CONFIG_SLUB is not set | 68 | # CONFIG_SLUB is not set |
69 | # CONFIG_SLOB is not set | 69 | # CONFIG_SLOB is not set |
70 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
70 | CONFIG_RT_MUTEXES=y | 71 | CONFIG_RT_MUTEXES=y |
71 | CONFIG_TINY_SHMEM=y | 72 | CONFIG_TINY_SHMEM=y |
72 | CONFIG_BASE_SMALL=0 | 73 | CONFIG_BASE_SMALL=0 |
@@ -249,6 +250,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
249 | # CONFIG_RESOURCES_64BIT is not set | 250 | # CONFIG_RESOURCES_64BIT is not set |
250 | CONFIG_ZONE_DMA_FLAG=1 | 251 | CONFIG_ZONE_DMA_FLAG=1 |
251 | CONFIG_LARGE_ALLOCS=y | 252 | CONFIG_LARGE_ALLOCS=y |
253 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
252 | CONFIG_BFIN_GPTIMERS=y | 254 | CONFIG_BFIN_GPTIMERS=y |
253 | # CONFIG_DMA_UNCACHED_2M is not set | 255 | # CONFIG_DMA_UNCACHED_2M is not set |
254 | CONFIG_DMA_UNCACHED_1M=y | 256 | CONFIG_DMA_UNCACHED_1M=y |
diff --git a/arch/blackfin/configs/IP0X_defconfig b/arch/blackfin/configs/IP0X_defconfig index 1ec9ae2e964b..a7e49d631229 100644 --- a/arch/blackfin/configs/IP0X_defconfig +++ b/arch/blackfin/configs/IP0X_defconfig | |||
@@ -68,6 +68,7 @@ CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | |||
68 | CONFIG_SLAB=y | 68 | CONFIG_SLAB=y |
69 | # CONFIG_SLUB is not set | 69 | # CONFIG_SLUB is not set |
70 | # CONFIG_SLOB is not set | 70 | # CONFIG_SLOB is not set |
71 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
71 | CONFIG_RT_MUTEXES=y | 72 | CONFIG_RT_MUTEXES=y |
72 | CONFIG_TINY_SHMEM=y | 73 | CONFIG_TINY_SHMEM=y |
73 | CONFIG_BASE_SMALL=0 | 74 | CONFIG_BASE_SMALL=0 |
@@ -261,6 +262,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
261 | # CONFIG_RESOURCES_64BIT is not set | 262 | # CONFIG_RESOURCES_64BIT is not set |
262 | CONFIG_ZONE_DMA_FLAG=1 | 263 | CONFIG_ZONE_DMA_FLAG=1 |
263 | CONFIG_LARGE_ALLOCS=y | 264 | CONFIG_LARGE_ALLOCS=y |
265 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
264 | # CONFIG_BFIN_GPTIMERS is not set | 266 | # CONFIG_BFIN_GPTIMERS is not set |
265 | # CONFIG_DMA_UNCACHED_2M is not set | 267 | # CONFIG_DMA_UNCACHED_2M is not set |
266 | CONFIG_DMA_UNCACHED_1M=y | 268 | CONFIG_DMA_UNCACHED_1M=y |
diff --git a/arch/blackfin/configs/PNAV-10_defconfig b/arch/blackfin/configs/PNAV-10_defconfig index ff377fae061b..67d12768602a 100644 --- a/arch/blackfin/configs/PNAV-10_defconfig +++ b/arch/blackfin/configs/PNAV-10_defconfig | |||
@@ -63,6 +63,7 @@ CONFIG_COMPAT_BRK=y | |||
63 | CONFIG_SLAB=y | 63 | CONFIG_SLAB=y |
64 | # CONFIG_SLUB is not set | 64 | # CONFIG_SLUB is not set |
65 | # CONFIG_SLOB is not set | 65 | # CONFIG_SLOB is not set |
66 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
66 | # CONFIG_PROFILING is not set | 67 | # CONFIG_PROFILING is not set |
67 | # CONFIG_MARKERS is not set | 68 | # CONFIG_MARKERS is not set |
68 | CONFIG_HAVE_OPROFILE=y | 69 | CONFIG_HAVE_OPROFILE=y |
@@ -285,6 +286,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
285 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 286 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
286 | CONFIG_ZONE_DMA_FLAG=1 | 287 | CONFIG_ZONE_DMA_FLAG=1 |
287 | CONFIG_VIRT_TO_BUS=y | 288 | CONFIG_VIRT_TO_BUS=y |
289 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
288 | CONFIG_BFIN_GPTIMERS=y | 290 | CONFIG_BFIN_GPTIMERS=y |
289 | # CONFIG_DMA_UNCACHED_4M is not set | 291 | # CONFIG_DMA_UNCACHED_4M is not set |
290 | # CONFIG_DMA_UNCACHED_2M is not set | 292 | # CONFIG_DMA_UNCACHED_2M is not set |
diff --git a/arch/blackfin/configs/SRV1_defconfig b/arch/blackfin/configs/SRV1_defconfig index 814f9cacf407..52bfa6bf18da 100644 --- a/arch/blackfin/configs/SRV1_defconfig +++ b/arch/blackfin/configs/SRV1_defconfig | |||
@@ -72,6 +72,7 @@ CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | |||
72 | CONFIG_SLAB=y | 72 | CONFIG_SLAB=y |
73 | # CONFIG_SLUB is not set | 73 | # CONFIG_SLUB is not set |
74 | # CONFIG_SLOB is not set | 74 | # CONFIG_SLOB is not set |
75 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
75 | CONFIG_RT_MUTEXES=y | 76 | CONFIG_RT_MUTEXES=y |
76 | CONFIG_TINY_SHMEM=y | 77 | CONFIG_TINY_SHMEM=y |
77 | CONFIG_BASE_SMALL=0 | 78 | CONFIG_BASE_SMALL=0 |
@@ -271,6 +272,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
271 | # CONFIG_RESOURCES_64BIT is not set | 272 | # CONFIG_RESOURCES_64BIT is not set |
272 | CONFIG_ZONE_DMA_FLAG=1 | 273 | CONFIG_ZONE_DMA_FLAG=1 |
273 | CONFIG_LARGE_ALLOCS=y | 274 | CONFIG_LARGE_ALLOCS=y |
275 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
274 | CONFIG_DMA_UNCACHED_2M=y | 276 | CONFIG_DMA_UNCACHED_2M=y |
275 | # CONFIG_DMA_UNCACHED_1M is not set | 277 | # CONFIG_DMA_UNCACHED_1M is not set |
276 | # CONFIG_DMA_UNCACHED_NONE is not set | 278 | # CONFIG_DMA_UNCACHED_NONE is not set |
@@ -700,7 +702,7 @@ CONFIG_INPUT_MISC=y | |||
700 | # CONFIG_INPUT_YEALINK is not set | 702 | # CONFIG_INPUT_YEALINK is not set |
701 | CONFIG_INPUT_UINPUT=y | 703 | CONFIG_INPUT_UINPUT=y |
702 | # CONFIG_BF53X_PFBUTTONS is not set | 704 | # CONFIG_BF53X_PFBUTTONS is not set |
703 | # CONFIG_TWI_KEYPAD is not set | 705 | # CONFIG_INPUT_PCF8574 is not set |
704 | 706 | ||
705 | # | 707 | # |
706 | # Hardware I/O ports | 708 | # Hardware I/O ports |
diff --git a/arch/blackfin/configs/TCM-BF537_defconfig b/arch/blackfin/configs/TCM-BF537_defconfig index 375e75a27abc..60adfad54db9 100644 --- a/arch/blackfin/configs/TCM-BF537_defconfig +++ b/arch/blackfin/configs/TCM-BF537_defconfig | |||
@@ -1,13 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.28-rc2 | 3 | # Linux kernel version: 2.6.30.5 |
4 | # Tue Jan 6 09:22:17 2009 | ||
5 | # | 4 | # |
6 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
7 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | 7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y |
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | 8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set |
10 | CONFIG_BLACKFIN=y | 9 | CONFIG_BLACKFIN=y |
10 | CONFIG_GENERIC_BUG=y | ||
11 | CONFIG_ZONE_DMA=y | 11 | CONFIG_ZONE_DMA=y |
12 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 12 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
@@ -16,6 +16,9 @@ CONFIG_GENERIC_IRQ_PROBE=y | |||
16 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
17 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
18 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
19 | CONFIG_LOCKDEP_SUPPORT=y | ||
20 | CONFIG_STACKTRACE_SUPPORT=y | ||
21 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 22 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
20 | 23 | ||
21 | # | 24 | # |
@@ -26,49 +29,72 @@ CONFIG_BROKEN_ON_SMP=y | |||
26 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 29 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
27 | CONFIG_LOCALVERSION="" | 30 | CONFIG_LOCALVERSION="" |
28 | CONFIG_LOCALVERSION_AUTO=y | 31 | CONFIG_LOCALVERSION_AUTO=y |
32 | CONFIG_HAVE_KERNEL_GZIP=y | ||
33 | CONFIG_HAVE_KERNEL_BZIP2=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | # CONFIG_KERNEL_GZIP is not set | ||
36 | # CONFIG_KERNEL_BZIP2 is not set | ||
37 | CONFIG_KERNEL_LZMA=y | ||
29 | CONFIG_SYSVIPC=y | 38 | CONFIG_SYSVIPC=y |
30 | CONFIG_SYSVIPC_SYSCTL=y | 39 | CONFIG_SYSVIPC_SYSCTL=y |
40 | # CONFIG_POSIX_MQUEUE is not set | ||
31 | # CONFIG_BSD_PROCESS_ACCT is not set | 41 | # CONFIG_BSD_PROCESS_ACCT is not set |
42 | # CONFIG_TASKSTATS is not set | ||
43 | # CONFIG_AUDIT is not set | ||
44 | |||
45 | # | ||
46 | # RCU Subsystem | ||
47 | # | ||
48 | CONFIG_CLASSIC_RCU=y | ||
49 | # CONFIG_TREE_RCU is not set | ||
50 | # CONFIG_PREEMPT_RCU is not set | ||
51 | # CONFIG_TREE_RCU_TRACE is not set | ||
52 | # CONFIG_PREEMPT_RCU_TRACE is not set | ||
32 | CONFIG_IKCONFIG=y | 53 | CONFIG_IKCONFIG=y |
33 | CONFIG_IKCONFIG_PROC=y | 54 | CONFIG_IKCONFIG_PROC=y |
34 | CONFIG_LOG_BUF_SHIFT=14 | 55 | CONFIG_LOG_BUF_SHIFT=14 |
35 | # CONFIG_CGROUPS is not set | ||
36 | # CONFIG_GROUP_SCHED is not set | 56 | # CONFIG_GROUP_SCHED is not set |
57 | # CONFIG_CGROUPS is not set | ||
37 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | 58 | # CONFIG_SYSFS_DEPRECATED_V2 is not set |
38 | # CONFIG_RELAY is not set | 59 | # CONFIG_RELAY is not set |
39 | # CONFIG_NAMESPACES is not set | 60 | # CONFIG_NAMESPACES is not set |
40 | # CONFIG_BLK_DEV_INITRD is not set | 61 | CONFIG_BLK_DEV_INITRD=y |
62 | CONFIG_INITRAMFS_SOURCE="" | ||
63 | # CONFIG_RD_GZIP is not set | ||
64 | # CONFIG_RD_BZIP2 is not set | ||
65 | CONFIG_RD_LZMA=y | ||
41 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 66 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
42 | # CONFIG_SYSCTL is not set | 67 | CONFIG_SYSCTL=y |
68 | CONFIG_ANON_INODES=y | ||
43 | CONFIG_EMBEDDED=y | 69 | CONFIG_EMBEDDED=y |
44 | # CONFIG_UID16 is not set | 70 | # CONFIG_UID16 is not set |
45 | # CONFIG_SYSCTL_SYSCALL is not set | 71 | # CONFIG_SYSCTL_SYSCALL is not set |
46 | CONFIG_KALLSYMS=y | 72 | CONFIG_KALLSYMS=y |
47 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | 73 | # CONFIG_KALLSYMS_EXTRA_PASS is not set |
48 | # CONFIG_HOTPLUG is not set | 74 | # CONFIG_STRIP_ASM_SYMS is not set |
75 | CONFIG_HOTPLUG=y | ||
49 | CONFIG_PRINTK=y | 76 | CONFIG_PRINTK=y |
50 | CONFIG_BUG=y | 77 | CONFIG_BUG=y |
51 | # CONFIG_ELF_CORE is not set | 78 | # CONFIG_ELF_CORE is not set |
52 | CONFIG_COMPAT_BRK=y | ||
53 | CONFIG_BASE_FULL=y | 79 | CONFIG_BASE_FULL=y |
54 | # CONFIG_FUTEX is not set | 80 | # CONFIG_FUTEX is not set |
55 | CONFIG_ANON_INODES=y | ||
56 | CONFIG_EPOLL=y | 81 | CONFIG_EPOLL=y |
57 | CONFIG_SIGNALFD=y | 82 | CONFIG_SIGNALFD=y |
58 | CONFIG_TIMERFD=y | 83 | CONFIG_TIMERFD=y |
59 | CONFIG_EVENTFD=y | 84 | CONFIG_EVENTFD=y |
60 | # CONFIG_AIO is not set | 85 | # CONFIG_AIO is not set |
61 | CONFIG_VM_EVENT_COUNTERS=y | 86 | CONFIG_VM_EVENT_COUNTERS=y |
87 | CONFIG_COMPAT_BRK=y | ||
62 | CONFIG_SLAB=y | 88 | CONFIG_SLAB=y |
63 | # CONFIG_SLUB is not set | 89 | # CONFIG_SLUB is not set |
64 | # CONFIG_SLOB is not set | 90 | # CONFIG_SLOB is not set |
91 | CONFIG_MMAP_ALLOW_UNINITIALIZED=y | ||
65 | # CONFIG_PROFILING is not set | 92 | # CONFIG_PROFILING is not set |
66 | # CONFIG_MARKERS is not set | 93 | # CONFIG_MARKERS is not set |
67 | CONFIG_HAVE_OPROFILE=y | 94 | CONFIG_HAVE_OPROFILE=y |
95 | # CONFIG_SLOW_WORK is not set | ||
68 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set | 96 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set |
69 | CONFIG_SLABINFO=y | 97 | CONFIG_SLABINFO=y |
70 | CONFIG_RT_MUTEXES=y | ||
71 | CONFIG_TINY_SHMEM=y | ||
72 | CONFIG_BASE_SMALL=0 | 98 | CONFIG_BASE_SMALL=0 |
73 | CONFIG_MODULES=y | 99 | CONFIG_MODULES=y |
74 | # CONFIG_MODULE_FORCE_LOAD is not set | 100 | # CONFIG_MODULE_FORCE_LOAD is not set |
@@ -76,11 +102,8 @@ CONFIG_MODULE_UNLOAD=y | |||
76 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 102 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
77 | # CONFIG_MODVERSIONS is not set | 103 | # CONFIG_MODVERSIONS is not set |
78 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 104 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
79 | CONFIG_KMOD=y | ||
80 | CONFIG_BLOCK=y | 105 | CONFIG_BLOCK=y |
81 | # CONFIG_LBD is not set | 106 | # CONFIG_LBD is not set |
82 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
83 | # CONFIG_LSF is not set | ||
84 | # CONFIG_BLK_DEV_BSG is not set | 107 | # CONFIG_BLK_DEV_BSG is not set |
85 | # CONFIG_BLK_DEV_INTEGRITY is not set | 108 | # CONFIG_BLK_DEV_INTEGRITY is not set |
86 | 109 | ||
@@ -96,7 +119,6 @@ CONFIG_IOSCHED_CFQ=y | |||
96 | # CONFIG_DEFAULT_CFQ is not set | 119 | # CONFIG_DEFAULT_CFQ is not set |
97 | CONFIG_DEFAULT_NOOP=y | 120 | CONFIG_DEFAULT_NOOP=y |
98 | CONFIG_DEFAULT_IOSCHED="noop" | 121 | CONFIG_DEFAULT_IOSCHED="noop" |
99 | CONFIG_CLASSIC_RCU=y | ||
100 | CONFIG_PREEMPT_NONE=y | 122 | CONFIG_PREEMPT_NONE=y |
101 | # CONFIG_PREEMPT_VOLUNTARY is not set | 123 | # CONFIG_PREEMPT_VOLUNTARY is not set |
102 | # CONFIG_PREEMPT is not set | 124 | # CONFIG_PREEMPT is not set |
@@ -128,10 +150,15 @@ CONFIG_BF537=y | |||
128 | # CONFIG_BF538 is not set | 150 | # CONFIG_BF538 is not set |
129 | # CONFIG_BF539 is not set | 151 | # CONFIG_BF539 is not set |
130 | # CONFIG_BF542 is not set | 152 | # CONFIG_BF542 is not set |
153 | # CONFIG_BF542M is not set | ||
131 | # CONFIG_BF544 is not set | 154 | # CONFIG_BF544 is not set |
155 | # CONFIG_BF544M is not set | ||
132 | # CONFIG_BF547 is not set | 156 | # CONFIG_BF547 is not set |
157 | # CONFIG_BF547M is not set | ||
133 | # CONFIG_BF548 is not set | 158 | # CONFIG_BF548 is not set |
159 | # CONFIG_BF548M is not set | ||
134 | # CONFIG_BF549 is not set | 160 | # CONFIG_BF549 is not set |
161 | # CONFIG_BF549M is not set | ||
135 | # CONFIG_BF561 is not set | 162 | # CONFIG_BF561 is not set |
136 | CONFIG_BF_REV_MIN=2 | 163 | CONFIG_BF_REV_MIN=2 |
137 | CONFIG_BF_REV_MAX=3 | 164 | CONFIG_BF_REV_MAX=3 |
@@ -173,11 +200,11 @@ CONFIG_IRQ_MEM_DMA1=13 | |||
173 | CONFIG_IRQ_WATCH=13 | 200 | CONFIG_IRQ_WATCH=13 |
174 | CONFIG_IRQ_SPI=10 | 201 | CONFIG_IRQ_SPI=10 |
175 | # CONFIG_BFIN537_STAMP is not set | 202 | # CONFIG_BFIN537_STAMP is not set |
176 | # CONFIG_BFIN537_BLUETECHNIX_CM is not set | 203 | # CONFIG_BFIN537_BLUETECHNIX_CM_E is not set |
204 | # CONFIG_BFIN537_BLUETECHNIX_CM_U is not set | ||
177 | CONFIG_BFIN537_BLUETECHNIX_TCM=y | 205 | CONFIG_BFIN537_BLUETECHNIX_TCM=y |
178 | # CONFIG_PNAV10 is not set | 206 | # CONFIG_PNAV10 is not set |
179 | # CONFIG_CAMSIG_MINOTAUR is not set | 207 | # CONFIG_CAMSIG_MINOTAUR is not set |
180 | # CONFIG_GENERIC_BF537_BOARD is not set | ||
181 | 208 | ||
182 | # | 209 | # |
183 | # BF537 Specific Configuration | 210 | # BF537 Specific Configuration |
@@ -223,7 +250,10 @@ CONFIG_HZ=250 | |||
223 | # CONFIG_SCHED_HRTICK is not set | 250 | # CONFIG_SCHED_HRTICK is not set |
224 | CONFIG_GENERIC_TIME=y | 251 | CONFIG_GENERIC_TIME=y |
225 | CONFIG_GENERIC_CLOCKEVENTS=y | 252 | CONFIG_GENERIC_CLOCKEVENTS=y |
253 | # CONFIG_TICKSOURCE_GPTMR0 is not set | ||
254 | CONFIG_TICKSOURCE_CORETMR=y | ||
226 | # CONFIG_CYCLES_CLOCKSOURCE is not set | 255 | # CONFIG_CYCLES_CLOCKSOURCE is not set |
256 | # CONFIG_GPTMR0_CLOCKSOURCE is not set | ||
227 | # CONFIG_NO_HZ is not set | 257 | # CONFIG_NO_HZ is not set |
228 | # CONFIG_HIGH_RES_TIMERS is not set | 258 | # CONFIG_HIGH_RES_TIMERS is not set |
229 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | 259 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y |
@@ -273,10 +303,12 @@ CONFIG_FLATMEM=y | |||
273 | CONFIG_FLAT_NODE_MEM_MAP=y | 303 | CONFIG_FLAT_NODE_MEM_MAP=y |
274 | CONFIG_PAGEFLAGS_EXTENDED=y | 304 | CONFIG_PAGEFLAGS_EXTENDED=y |
275 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 305 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
276 | # CONFIG_RESOURCES_64BIT is not set | ||
277 | # CONFIG_PHYS_ADDR_T_64BIT is not set | 306 | # CONFIG_PHYS_ADDR_T_64BIT is not set |
278 | CONFIG_ZONE_DMA_FLAG=1 | 307 | CONFIG_ZONE_DMA_FLAG=1 |
279 | CONFIG_VIRT_TO_BUS=y | 308 | CONFIG_VIRT_TO_BUS=y |
309 | CONFIG_UNEVICTABLE_LRU=y | ||
310 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
311 | CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 | ||
280 | # CONFIG_BFIN_GPTIMERS is not set | 312 | # CONFIG_BFIN_GPTIMERS is not set |
281 | # CONFIG_DMA_UNCACHED_4M is not set | 313 | # CONFIG_DMA_UNCACHED_4M is not set |
282 | # CONFIG_DMA_UNCACHED_2M is not set | 314 | # CONFIG_DMA_UNCACHED_2M is not set |
@@ -287,10 +319,9 @@ CONFIG_DMA_UNCACHED_1M=y | |||
287 | # Cache Support | 319 | # Cache Support |
288 | # | 320 | # |
289 | CONFIG_BFIN_ICACHE=y | 321 | CONFIG_BFIN_ICACHE=y |
290 | # CONFIG_BFIN_ICACHE_LOCK is not set | 322 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y |
291 | CONFIG_BFIN_DCACHE=y | 323 | CONFIG_BFIN_DCACHE=y |
292 | # CONFIG_BFIN_DCACHE_BANKA is not set | 324 | # CONFIG_BFIN_DCACHE_BANKA is not set |
293 | CONFIG_BFIN_EXTMEM_ICACHEABLE=y | ||
294 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y | 325 | CONFIG_BFIN_EXTMEM_DCACHEABLE=y |
295 | CONFIG_BFIN_EXTMEM_WRITEBACK=y | 326 | CONFIG_BFIN_EXTMEM_WRITEBACK=y |
296 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set | 327 | # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set |
@@ -301,7 +332,7 @@ CONFIG_BFIN_EXTMEM_WRITEBACK=y | |||
301 | # CONFIG_MPU is not set | 332 | # CONFIG_MPU is not set |
302 | 333 | ||
303 | # | 334 | # |
304 | # Asynchonous Memory Configuration | 335 | # Asynchronous Memory Configuration |
305 | # | 336 | # |
306 | 337 | ||
307 | # | 338 | # |
@@ -327,6 +358,7 @@ CONFIG_BANK_3=0xFFC2 | |||
327 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 358 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
328 | # | 359 | # |
329 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 360 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
361 | # CONFIG_PCCARD is not set | ||
330 | 362 | ||
331 | # | 363 | # |
332 | # Executable file formats | 364 | # Executable file formats |
@@ -343,13 +375,83 @@ CONFIG_BINFMT_SHARED_FLAT=y | |||
343 | # | 375 | # |
344 | # CONFIG_PM is not set | 376 | # CONFIG_PM is not set |
345 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | 377 | CONFIG_ARCH_SUSPEND_POSSIBLE=y |
346 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
347 | 378 | ||
348 | # | 379 | # |
349 | # CPU Frequency scaling | 380 | # CPU Frequency scaling |
350 | # | 381 | # |
351 | # CONFIG_CPU_FREQ is not set | 382 | # CONFIG_CPU_FREQ is not set |
352 | # CONFIG_NET is not set | 383 | CONFIG_NET=y |
384 | |||
385 | # | ||
386 | # Networking options | ||
387 | # | ||
388 | CONFIG_PACKET=y | ||
389 | # CONFIG_PACKET_MMAP is not set | ||
390 | CONFIG_UNIX=y | ||
391 | CONFIG_XFRM=y | ||
392 | # CONFIG_XFRM_USER is not set | ||
393 | # CONFIG_XFRM_SUB_POLICY is not set | ||
394 | # CONFIG_XFRM_MIGRATE is not set | ||
395 | # CONFIG_XFRM_STATISTICS is not set | ||
396 | # CONFIG_NET_KEY is not set | ||
397 | CONFIG_INET=y | ||
398 | # CONFIG_IP_MULTICAST is not set | ||
399 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
400 | CONFIG_IP_FIB_HASH=y | ||
401 | # CONFIG_IP_PNP is not set | ||
402 | # CONFIG_NET_IPIP is not set | ||
403 | # CONFIG_NET_IPGRE is not set | ||
404 | # CONFIG_ARPD is not set | ||
405 | # CONFIG_SYN_COOKIES is not set | ||
406 | # CONFIG_INET_AH is not set | ||
407 | # CONFIG_INET_ESP is not set | ||
408 | # CONFIG_INET_IPCOMP is not set | ||
409 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
410 | # CONFIG_INET_TUNNEL is not set | ||
411 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
412 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
413 | CONFIG_INET_XFRM_MODE_BEET=y | ||
414 | CONFIG_INET_LRO=y | ||
415 | # CONFIG_INET_DIAG is not set | ||
416 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
417 | CONFIG_TCP_CONG_CUBIC=y | ||
418 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
419 | # CONFIG_TCP_MD5SIG is not set | ||
420 | # CONFIG_IPV6 is not set | ||
421 | # CONFIG_NETWORK_SECMARK is not set | ||
422 | # CONFIG_NETFILTER is not set | ||
423 | # CONFIG_IP_DCCP is not set | ||
424 | # CONFIG_IP_SCTP is not set | ||
425 | # CONFIG_TIPC is not set | ||
426 | # CONFIG_ATM is not set | ||
427 | # CONFIG_BRIDGE is not set | ||
428 | # CONFIG_NET_DSA is not set | ||
429 | # CONFIG_VLAN_8021Q is not set | ||
430 | # CONFIG_DECNET is not set | ||
431 | # CONFIG_LLC2 is not set | ||
432 | # CONFIG_IPX is not set | ||
433 | # CONFIG_ATALK is not set | ||
434 | # CONFIG_X25 is not set | ||
435 | # CONFIG_LAPB is not set | ||
436 | # CONFIG_ECONET is not set | ||
437 | # CONFIG_WAN_ROUTER is not set | ||
438 | # CONFIG_PHONET is not set | ||
439 | # CONFIG_NET_SCHED is not set | ||
440 | # CONFIG_DCB is not set | ||
441 | |||
442 | # | ||
443 | # Network testing | ||
444 | # | ||
445 | # CONFIG_NET_PKTGEN is not set | ||
446 | # CONFIG_HAMRADIO is not set | ||
447 | # CONFIG_CAN is not set | ||
448 | # CONFIG_IRDA is not set | ||
449 | # CONFIG_BT is not set | ||
450 | # CONFIG_AF_RXRPC is not set | ||
451 | # CONFIG_WIRELESS is not set | ||
452 | # CONFIG_WIMAX is not set | ||
453 | # CONFIG_RFKILL is not set | ||
454 | # CONFIG_NET_9P is not set | ||
353 | 455 | ||
354 | # | 456 | # |
355 | # Device Drivers | 457 | # Device Drivers |
@@ -358,15 +460,21 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y | |||
358 | # | 460 | # |
359 | # Generic Driver Options | 461 | # Generic Driver Options |
360 | # | 462 | # |
463 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
361 | CONFIG_STANDALONE=y | 464 | CONFIG_STANDALONE=y |
362 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 465 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
466 | CONFIG_FW_LOADER=y | ||
467 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
468 | CONFIG_EXTRA_FIRMWARE="" | ||
363 | # CONFIG_SYS_HYPERVISOR is not set | 469 | # CONFIG_SYS_HYPERVISOR is not set |
470 | # CONFIG_CONNECTOR is not set | ||
364 | CONFIG_MTD=y | 471 | CONFIG_MTD=y |
365 | # CONFIG_MTD_DEBUG is not set | 472 | # CONFIG_MTD_DEBUG is not set |
473 | # CONFIG_MTD_TESTS is not set | ||
366 | # CONFIG_MTD_CONCAT is not set | 474 | # CONFIG_MTD_CONCAT is not set |
367 | CONFIG_MTD_PARTITIONS=y | 475 | CONFIG_MTD_PARTITIONS=y |
368 | # CONFIG_MTD_REDBOOT_PARTS is not set | 476 | # CONFIG_MTD_REDBOOT_PARTS is not set |
369 | # CONFIG_MTD_CMDLINE_PARTS is not set | 477 | CONFIG_MTD_CMDLINE_PARTS=y |
370 | # CONFIG_MTD_AR7_PARTS is not set | 478 | # CONFIG_MTD_AR7_PARTS is not set |
371 | 479 | ||
372 | # | 480 | # |
@@ -402,9 +510,10 @@ CONFIG_MTD_CFI_I2=y | |||
402 | CONFIG_MTD_CFI_INTELEXT=y | 510 | CONFIG_MTD_CFI_INTELEXT=y |
403 | # CONFIG_MTD_CFI_AMDSTD is not set | 511 | # CONFIG_MTD_CFI_AMDSTD is not set |
404 | # CONFIG_MTD_CFI_STAA is not set | 512 | # CONFIG_MTD_CFI_STAA is not set |
513 | # CONFIG_MTD_PSD4256G is not set | ||
405 | CONFIG_MTD_CFI_UTIL=y | 514 | CONFIG_MTD_CFI_UTIL=y |
406 | CONFIG_MTD_RAM=y | 515 | CONFIG_MTD_RAM=y |
407 | # CONFIG_MTD_ROM is not set | 516 | CONFIG_MTD_ROM=m |
408 | # CONFIG_MTD_ABSENT is not set | 517 | # CONFIG_MTD_ABSENT is not set |
409 | 518 | ||
410 | # | 519 | # |
@@ -413,7 +522,7 @@ CONFIG_MTD_RAM=y | |||
413 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 522 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
414 | # CONFIG_MTD_PHYSMAP is not set | 523 | # CONFIG_MTD_PHYSMAP is not set |
415 | CONFIG_MTD_GPIO_ADDR=y | 524 | CONFIG_MTD_GPIO_ADDR=y |
416 | CONFIG_MTD_UCLINUX=y | 525 | # CONFIG_MTD_UCLINUX is not set |
417 | # CONFIG_MTD_PLATRAM is not set | 526 | # CONFIG_MTD_PLATRAM is not set |
418 | 527 | ||
419 | # | 528 | # |
@@ -436,6 +545,11 @@ CONFIG_MTD_UCLINUX=y | |||
436 | # CONFIG_MTD_ONENAND is not set | 545 | # CONFIG_MTD_ONENAND is not set |
437 | 546 | ||
438 | # | 547 | # |
548 | # LPDDR flash memory drivers | ||
549 | # | ||
550 | # CONFIG_MTD_LPDDR is not set | ||
551 | |||
552 | # | ||
439 | # UBI - Unsorted block images | 553 | # UBI - Unsorted block images |
440 | # | 554 | # |
441 | # CONFIG_MTD_UBI is not set | 555 | # CONFIG_MTD_UBI is not set |
@@ -443,15 +557,23 @@ CONFIG_MTD_UCLINUX=y | |||
443 | CONFIG_BLK_DEV=y | 557 | CONFIG_BLK_DEV=y |
444 | # CONFIG_BLK_DEV_COW_COMMON is not set | 558 | # CONFIG_BLK_DEV_COW_COMMON is not set |
445 | # CONFIG_BLK_DEV_LOOP is not set | 559 | # CONFIG_BLK_DEV_LOOP is not set |
560 | # CONFIG_BLK_DEV_NBD is not set | ||
446 | CONFIG_BLK_DEV_RAM=y | 561 | CONFIG_BLK_DEV_RAM=y |
447 | CONFIG_BLK_DEV_RAM_COUNT=16 | 562 | CONFIG_BLK_DEV_RAM_COUNT=16 |
448 | CONFIG_BLK_DEV_RAM_SIZE=4096 | 563 | CONFIG_BLK_DEV_RAM_SIZE=4096 |
449 | # CONFIG_BLK_DEV_XIP is not set | 564 | # CONFIG_BLK_DEV_XIP is not set |
450 | # CONFIG_CDROM_PKTCDVD is not set | 565 | # CONFIG_CDROM_PKTCDVD is not set |
566 | # CONFIG_ATA_OVER_ETH is not set | ||
451 | # CONFIG_BLK_DEV_HD is not set | 567 | # CONFIG_BLK_DEV_HD is not set |
452 | CONFIG_MISC_DEVICES=y | 568 | CONFIG_MISC_DEVICES=y |
453 | # CONFIG_EEPROM_93CX6 is not set | ||
454 | # CONFIG_ENCLOSURE_SERVICES is not set | 569 | # CONFIG_ENCLOSURE_SERVICES is not set |
570 | # CONFIG_C2PORT is not set | ||
571 | |||
572 | # | ||
573 | # EEPROM support | ||
574 | # | ||
575 | # CONFIG_EEPROM_AT25 is not set | ||
576 | # CONFIG_EEPROM_93CX6 is not set | ||
455 | CONFIG_HAVE_IDE=y | 577 | CONFIG_HAVE_IDE=y |
456 | # CONFIG_IDE is not set | 578 | # CONFIG_IDE is not set |
457 | 579 | ||
@@ -464,6 +586,74 @@ CONFIG_HAVE_IDE=y | |||
464 | # CONFIG_SCSI_NETLINK is not set | 586 | # CONFIG_SCSI_NETLINK is not set |
465 | # CONFIG_ATA is not set | 587 | # CONFIG_ATA is not set |
466 | # CONFIG_MD is not set | 588 | # CONFIG_MD is not set |
589 | CONFIG_NETDEVICES=y | ||
590 | CONFIG_COMPAT_NET_DEV_OPS=y | ||
591 | # CONFIG_DUMMY is not set | ||
592 | # CONFIG_BONDING is not set | ||
593 | # CONFIG_MACVLAN is not set | ||
594 | # CONFIG_EQUALIZER is not set | ||
595 | # CONFIG_TUN is not set | ||
596 | # CONFIG_VETH is not set | ||
597 | CONFIG_PHYLIB=y | ||
598 | |||
599 | # | ||
600 | # MII PHY device drivers | ||
601 | # | ||
602 | # CONFIG_MARVELL_PHY is not set | ||
603 | # CONFIG_DAVICOM_PHY is not set | ||
604 | # CONFIG_QSEMI_PHY is not set | ||
605 | # CONFIG_LXT_PHY is not set | ||
606 | # CONFIG_CICADA_PHY is not set | ||
607 | # CONFIG_VITESSE_PHY is not set | ||
608 | # CONFIG_SMSC_PHY is not set | ||
609 | # CONFIG_BROADCOM_PHY is not set | ||
610 | # CONFIG_ICPLUS_PHY is not set | ||
611 | # CONFIG_REALTEK_PHY is not set | ||
612 | # CONFIG_NATIONAL_PHY is not set | ||
613 | # CONFIG_STE10XP is not set | ||
614 | # CONFIG_LSI_ET1011C_PHY is not set | ||
615 | # CONFIG_FIXED_PHY is not set | ||
616 | # CONFIG_MDIO_BITBANG is not set | ||
617 | CONFIG_NET_ETHERNET=y | ||
618 | CONFIG_MII=y | ||
619 | CONFIG_BFIN_MAC=y | ||
620 | CONFIG_BFIN_MAC_USE_L1=y | ||
621 | CONFIG_BFIN_TX_DESC_NUM=10 | ||
622 | CONFIG_BFIN_RX_DESC_NUM=20 | ||
623 | # CONFIG_BFIN_MAC_RMII is not set | ||
624 | # CONFIG_SMC91X is not set | ||
625 | # CONFIG_DM9000 is not set | ||
626 | # CONFIG_ENC28J60 is not set | ||
627 | # CONFIG_ETHOC is not set | ||
628 | # CONFIG_SMSC911X is not set | ||
629 | # CONFIG_DNET is not set | ||
630 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
631 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
632 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
633 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
634 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
635 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
636 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
637 | # CONFIG_B44 is not set | ||
638 | # CONFIG_NETDEV_1000 is not set | ||
639 | # CONFIG_NETDEV_10000 is not set | ||
640 | |||
641 | # | ||
642 | # Wireless LAN | ||
643 | # | ||
644 | # CONFIG_WLAN_PRE80211 is not set | ||
645 | # CONFIG_WLAN_80211 is not set | ||
646 | |||
647 | # | ||
648 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
649 | # | ||
650 | # CONFIG_WAN is not set | ||
651 | # CONFIG_PPP is not set | ||
652 | # CONFIG_SLIP is not set | ||
653 | # CONFIG_NETCONSOLE is not set | ||
654 | # CONFIG_NETPOLL is not set | ||
655 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
656 | # CONFIG_ISDN is not set | ||
467 | # CONFIG_PHONE is not set | 657 | # CONFIG_PHONE is not set |
468 | 658 | ||
469 | # | 659 | # |
@@ -480,15 +670,12 @@ CONFIG_HAVE_IDE=y | |||
480 | # | 670 | # |
481 | # Character devices | 671 | # Character devices |
482 | # | 672 | # |
483 | # CONFIG_AD9960 is not set | 673 | CONFIG_BFIN_DMA_INTERFACE=m |
484 | # CONFIG_SPI_ADC_BF533 is not set | 674 | # CONFIG_BFIN_PPI is not set |
485 | # CONFIG_BF5xx_PPIFCD is not set | 675 | # CONFIG_BFIN_PPIFCD is not set |
486 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 676 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
487 | # CONFIG_BF5xx_PPI is not set | 677 | # CONFIG_BFIN_SPI_ADC is not set |
488 | CONFIG_BFIN_SPORT=y | 678 | CONFIG_BFIN_SPORT=y |
489 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
490 | CONFIG_BFIN_DMA_INTERFACE=m | ||
491 | # CONFIG_SIMPLE_GPIO is not set | ||
492 | # CONFIG_VT is not set | 679 | # CONFIG_VT is not set |
493 | # CONFIG_DEVKMEM is not set | 680 | # CONFIG_DEVKMEM is not set |
494 | # CONFIG_BFIN_JTAG_COMM is not set | 681 | # CONFIG_BFIN_JTAG_COMM is not set |
@@ -502,6 +689,7 @@ CONFIG_BFIN_DMA_INTERFACE=m | |||
502 | # | 689 | # |
503 | # Non-8250 serial port support | 690 | # Non-8250 serial port support |
504 | # | 691 | # |
692 | # CONFIG_SERIAL_MAX3100 is not set | ||
505 | CONFIG_SERIAL_BFIN=y | 693 | CONFIG_SERIAL_BFIN=y |
506 | CONFIG_SERIAL_BFIN_CONSOLE=y | 694 | CONFIG_SERIAL_BFIN_CONSOLE=y |
507 | CONFIG_SERIAL_BFIN_DMA=y | 695 | CONFIG_SERIAL_BFIN_DMA=y |
@@ -514,6 +702,7 @@ CONFIG_SERIAL_CORE=y | |||
514 | CONFIG_SERIAL_CORE_CONSOLE=y | 702 | CONFIG_SERIAL_CORE_CONSOLE=y |
515 | # CONFIG_SERIAL_BFIN_SPORT is not set | 703 | # CONFIG_SERIAL_BFIN_SPORT is not set |
516 | CONFIG_UNIX98_PTYS=y | 704 | CONFIG_UNIX98_PTYS=y |
705 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
517 | # CONFIG_LEGACY_PTYS is not set | 706 | # CONFIG_LEGACY_PTYS is not set |
518 | 707 | ||
519 | # | 708 | # |
@@ -534,39 +723,17 @@ CONFIG_SPI_MASTER=y | |||
534 | # | 723 | # |
535 | CONFIG_SPI_BFIN=y | 724 | CONFIG_SPI_BFIN=y |
536 | # CONFIG_SPI_BFIN_LOCK is not set | 725 | # CONFIG_SPI_BFIN_LOCK is not set |
726 | # CONFIG_SPI_BFIN_SPORT is not set | ||
537 | # CONFIG_SPI_BITBANG is not set | 727 | # CONFIG_SPI_BITBANG is not set |
728 | # CONFIG_SPI_GPIO is not set | ||
538 | 729 | ||
539 | # | 730 | # |
540 | # SPI Protocol Masters | 731 | # SPI Protocol Masters |
541 | # | 732 | # |
542 | # CONFIG_EEPROM_AT25 is not set | ||
543 | # CONFIG_SPI_SPIDEV is not set | 733 | # CONFIG_SPI_SPIDEV is not set |
544 | # CONFIG_SPI_TLE62X0 is not set | 734 | # CONFIG_SPI_TLE62X0 is not set |
545 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y | 735 | CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y |
546 | CONFIG_GPIOLIB=y | 736 | # CONFIG_GPIOLIB is not set |
547 | # CONFIG_DEBUG_GPIO is not set | ||
548 | CONFIG_GPIO_SYSFS=y | ||
549 | |||
550 | # | ||
551 | # Memory mapped GPIO expanders: | ||
552 | # | ||
553 | |||
554 | # | ||
555 | # I2C GPIO expanders: | ||
556 | # | ||
557 | # CONFIG_GPIO_MAX732X is not set | ||
558 | # CONFIG_GPIO_PCA953X is not set | ||
559 | # CONFIG_GPIO_PCF857X is not set | ||
560 | |||
561 | # | ||
562 | # PCI GPIO expanders: | ||
563 | # | ||
564 | |||
565 | # | ||
566 | # SPI GPIO expanders: | ||
567 | # | ||
568 | # CONFIG_GPIO_MAX7301 is not set | ||
569 | # CONFIG_GPIO_MCP23S08 is not set | ||
570 | # CONFIG_W1 is not set | 737 | # CONFIG_W1 is not set |
571 | # CONFIG_POWER_SUPPLY is not set | 738 | # CONFIG_POWER_SUPPLY is not set |
572 | # CONFIG_HWMON is not set | 739 | # CONFIG_HWMON is not set |
@@ -580,6 +747,12 @@ CONFIG_WATCHDOG=y | |||
580 | # | 747 | # |
581 | # CONFIG_SOFT_WATCHDOG is not set | 748 | # CONFIG_SOFT_WATCHDOG is not set |
582 | CONFIG_BFIN_WDT=y | 749 | CONFIG_BFIN_WDT=y |
750 | CONFIG_SSB_POSSIBLE=y | ||
751 | |||
752 | # | ||
753 | # Sonics Silicon Backplane | ||
754 | # | ||
755 | # CONFIG_SSB is not set | ||
583 | 756 | ||
584 | # | 757 | # |
585 | # Multifunction device drivers | 758 | # Multifunction device drivers |
@@ -588,7 +761,7 @@ CONFIG_BFIN_WDT=y | |||
588 | # CONFIG_MFD_SM501 is not set | 761 | # CONFIG_MFD_SM501 is not set |
589 | # CONFIG_HTC_PASIC3 is not set | 762 | # CONFIG_HTC_PASIC3 is not set |
590 | # CONFIG_MFD_TMIO is not set | 763 | # CONFIG_MFD_TMIO is not set |
591 | # CONFIG_MFD_WM8400 is not set | 764 | # CONFIG_REGULATOR is not set |
592 | 765 | ||
593 | # | 766 | # |
594 | # Multimedia devices | 767 | # Multimedia devices |
@@ -598,6 +771,7 @@ CONFIG_BFIN_WDT=y | |||
598 | # Multimedia core support | 771 | # Multimedia core support |
599 | # | 772 | # |
600 | # CONFIG_VIDEO_DEV is not set | 773 | # CONFIG_VIDEO_DEV is not set |
774 | # CONFIG_DVB_CORE is not set | ||
601 | # CONFIG_VIDEO_MEDIA is not set | 775 | # CONFIG_VIDEO_MEDIA is not set |
602 | 776 | ||
603 | # | 777 | # |
@@ -618,13 +792,81 @@ CONFIG_BFIN_WDT=y | |||
618 | # | 792 | # |
619 | # CONFIG_DISPLAY_SUPPORT is not set | 793 | # CONFIG_DISPLAY_SUPPORT is not set |
620 | # CONFIG_SOUND is not set | 794 | # CONFIG_SOUND is not set |
621 | # CONFIG_USB_SUPPORT is not set | 795 | CONFIG_USB_SUPPORT=y |
622 | # CONFIG_MMC is not set | 796 | CONFIG_USB_ARCH_HAS_HCD=y |
797 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
798 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
799 | # CONFIG_USB is not set | ||
800 | # CONFIG_USB_OTG_WHITELIST is not set | ||
801 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
802 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
803 | |||
804 | # | ||
805 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
806 | # | ||
807 | CONFIG_USB_GADGET=y | ||
808 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
809 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
810 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
811 | CONFIG_USB_GADGET_SELECTED=y | ||
812 | # CONFIG_USB_GADGET_AT91 is not set | ||
813 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
814 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
815 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
816 | # CONFIG_USB_GADGET_OMAP is not set | ||
817 | # CONFIG_USB_GADGET_PXA25X is not set | ||
818 | # CONFIG_USB_GADGET_PXA27X is not set | ||
819 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
820 | # CONFIG_USB_GADGET_IMX is not set | ||
821 | # CONFIG_USB_GADGET_M66592 is not set | ||
822 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
823 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
824 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
825 | CONFIG_USB_GADGET_NET2272=y | ||
826 | CONFIG_USB_NET2272=y | ||
827 | # CONFIG_USB_GADGET_NET2280 is not set | ||
828 | # CONFIG_USB_GADGET_GOKU is not set | ||
829 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
830 | CONFIG_USB_GADGET_DUALSPEED=y | ||
831 | # CONFIG_USB_ZERO is not set | ||
832 | # CONFIG_USB_AUDIO is not set | ||
833 | CONFIG_USB_ETH=y | ||
834 | CONFIG_USB_ETH_RNDIS=y | ||
835 | # CONFIG_USB_GADGETFS is not set | ||
836 | # CONFIG_USB_FILE_STORAGE is not set | ||
837 | # CONFIG_USB_G_SERIAL is not set | ||
838 | # CONFIG_USB_MIDI_GADGET is not set | ||
839 | # CONFIG_USB_G_PRINTER is not set | ||
840 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
841 | |||
842 | # | ||
843 | # OTG and related infrastructure | ||
844 | # | ||
845 | # CONFIG_USB_GPIO_VBUS is not set | ||
846 | # CONFIG_NOP_USB_XCEIV is not set | ||
847 | CONFIG_MMC=y | ||
848 | # CONFIG_MMC_DEBUG is not set | ||
849 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
850 | |||
851 | # | ||
852 | # MMC/SD/SDIO Card Drivers | ||
853 | # | ||
854 | CONFIG_MMC_BLOCK=y | ||
855 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
856 | # CONFIG_SDIO_UART is not set | ||
857 | # CONFIG_MMC_TEST is not set | ||
858 | |||
859 | # | ||
860 | # MMC/SD/SDIO Host Controller Drivers | ||
861 | # | ||
862 | # CONFIG_MMC_SDHCI is not set | ||
863 | CONFIG_MMC_SPI=m | ||
623 | # CONFIG_MEMSTICK is not set | 864 | # CONFIG_MEMSTICK is not set |
624 | # CONFIG_NEW_LEDS is not set | 865 | # CONFIG_NEW_LEDS is not set |
625 | # CONFIG_ACCESSIBILITY is not set | 866 | # CONFIG_ACCESSIBILITY is not set |
626 | # CONFIG_RTC_CLASS is not set | 867 | # CONFIG_RTC_CLASS is not set |
627 | # CONFIG_DMADEVICES is not set | 868 | # CONFIG_DMADEVICES is not set |
869 | # CONFIG_AUXDISPLAY is not set | ||
628 | # CONFIG_UIO is not set | 870 | # CONFIG_UIO is not set |
629 | # CONFIG_STAGING is not set | 871 | # CONFIG_STAGING is not set |
630 | 872 | ||
@@ -641,8 +883,10 @@ CONFIG_FS_MBCACHE=y | |||
641 | # CONFIG_REISERFS_FS is not set | 883 | # CONFIG_REISERFS_FS is not set |
642 | # CONFIG_JFS_FS is not set | 884 | # CONFIG_JFS_FS is not set |
643 | # CONFIG_FS_POSIX_ACL is not set | 885 | # CONFIG_FS_POSIX_ACL is not set |
644 | CONFIG_FILE_LOCKING=y | ||
645 | # CONFIG_XFS_FS is not set | 886 | # CONFIG_XFS_FS is not set |
887 | # CONFIG_OCFS2_FS is not set | ||
888 | # CONFIG_BTRFS_FS is not set | ||
889 | CONFIG_FILE_LOCKING=y | ||
646 | # CONFIG_DNOTIFY is not set | 890 | # CONFIG_DNOTIFY is not set |
647 | CONFIG_INOTIFY=y | 891 | CONFIG_INOTIFY=y |
648 | CONFIG_INOTIFY_USER=y | 892 | CONFIG_INOTIFY_USER=y |
@@ -652,6 +896,11 @@ CONFIG_INOTIFY_USER=y | |||
652 | # CONFIG_FUSE_FS is not set | 896 | # CONFIG_FUSE_FS is not set |
653 | 897 | ||
654 | # | 898 | # |
899 | # Caches | ||
900 | # | ||
901 | # CONFIG_FSCACHE is not set | ||
902 | |||
903 | # | ||
655 | # CD-ROM/DVD Filesystems | 904 | # CD-ROM/DVD Filesystems |
656 | # | 905 | # |
657 | # CONFIG_ISO9660_FS is not set | 906 | # CONFIG_ISO9660_FS is not set |
@@ -660,8 +909,11 @@ CONFIG_INOTIFY_USER=y | |||
660 | # | 909 | # |
661 | # DOS/FAT/NT Filesystems | 910 | # DOS/FAT/NT Filesystems |
662 | # | 911 | # |
663 | # CONFIG_MSDOS_FS is not set | 912 | CONFIG_FAT_FS=y |
664 | # CONFIG_VFAT_FS is not set | 913 | CONFIG_MSDOS_FS=y |
914 | CONFIG_VFAT_FS=y | ||
915 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
916 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
665 | # CONFIG_NTFS_FS is not set | 917 | # CONFIG_NTFS_FS is not set |
666 | 918 | ||
667 | # | 919 | # |
@@ -673,10 +925,7 @@ CONFIG_SYSFS=y | |||
673 | # CONFIG_TMPFS is not set | 925 | # CONFIG_TMPFS is not set |
674 | # CONFIG_HUGETLB_PAGE is not set | 926 | # CONFIG_HUGETLB_PAGE is not set |
675 | # CONFIG_CONFIGFS_FS is not set | 927 | # CONFIG_CONFIGFS_FS is not set |
676 | 928 | CONFIG_MISC_FILESYSTEMS=y | |
677 | # | ||
678 | # Miscellaneous filesystems | ||
679 | # | ||
680 | # CONFIG_ADFS_FS is not set | 929 | # CONFIG_ADFS_FS is not set |
681 | # CONFIG_AFFS_FS is not set | 930 | # CONFIG_AFFS_FS is not set |
682 | # CONFIG_HFS_FS is not set | 931 | # CONFIG_HFS_FS is not set |
@@ -684,9 +933,19 @@ CONFIG_SYSFS=y | |||
684 | # CONFIG_BEFS_FS is not set | 933 | # CONFIG_BEFS_FS is not set |
685 | # CONFIG_BFS_FS is not set | 934 | # CONFIG_BFS_FS is not set |
686 | # CONFIG_EFS_FS is not set | 935 | # CONFIG_EFS_FS is not set |
687 | # CONFIG_YAFFS_FS is not set | 936 | CONFIG_JFFS2_FS=y |
688 | # CONFIG_JFFS2_FS is not set | 937 | CONFIG_JFFS2_FS_DEBUG=0 |
938 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
939 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
940 | # CONFIG_JFFS2_SUMMARY is not set | ||
941 | # CONFIG_JFFS2_FS_XATTR is not set | ||
942 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
943 | CONFIG_JFFS2_ZLIB=y | ||
944 | # CONFIG_JFFS2_LZO is not set | ||
945 | CONFIG_JFFS2_RTIME=y | ||
946 | # CONFIG_JFFS2_RUBIN is not set | ||
689 | # CONFIG_CRAMFS is not set | 947 | # CONFIG_CRAMFS is not set |
948 | # CONFIG_SQUASHFS is not set | ||
690 | # CONFIG_VXFS_FS is not set | 949 | # CONFIG_VXFS_FS is not set |
691 | # CONFIG_MINIX_FS is not set | 950 | # CONFIG_MINIX_FS is not set |
692 | # CONFIG_OMFS_FS is not set | 951 | # CONFIG_OMFS_FS is not set |
@@ -695,13 +954,62 @@ CONFIG_SYSFS=y | |||
695 | # CONFIG_ROMFS_FS is not set | 954 | # CONFIG_ROMFS_FS is not set |
696 | # CONFIG_SYSV_FS is not set | 955 | # CONFIG_SYSV_FS is not set |
697 | # CONFIG_UFS_FS is not set | 956 | # CONFIG_UFS_FS is not set |
957 | # CONFIG_NILFS2_FS is not set | ||
958 | CONFIG_NETWORK_FILESYSTEMS=y | ||
959 | # CONFIG_NFS_FS is not set | ||
960 | # CONFIG_NFSD is not set | ||
961 | # CONFIG_SMB_FS is not set | ||
962 | # CONFIG_CIFS is not set | ||
963 | # CONFIG_NCP_FS is not set | ||
964 | # CONFIG_CODA_FS is not set | ||
965 | # CONFIG_AFS_FS is not set | ||
698 | 966 | ||
699 | # | 967 | # |
700 | # Partition Types | 968 | # Partition Types |
701 | # | 969 | # |
702 | # CONFIG_PARTITION_ADVANCED is not set | 970 | # CONFIG_PARTITION_ADVANCED is not set |
703 | CONFIG_MSDOS_PARTITION=y | 971 | CONFIG_MSDOS_PARTITION=y |
704 | # CONFIG_NLS is not set | 972 | CONFIG_NLS=y |
973 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
974 | CONFIG_NLS_CODEPAGE_437=y | ||
975 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
976 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
977 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
978 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
979 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
980 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
981 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
982 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
983 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
984 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
985 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
986 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
987 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
988 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
989 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
990 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
991 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
992 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
993 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
994 | # CONFIG_NLS_ISO8859_8 is not set | ||
995 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
996 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
997 | # CONFIG_NLS_ASCII is not set | ||
998 | CONFIG_NLS_ISO8859_1=y | ||
999 | # CONFIG_NLS_ISO8859_2 is not set | ||
1000 | # CONFIG_NLS_ISO8859_3 is not set | ||
1001 | # CONFIG_NLS_ISO8859_4 is not set | ||
1002 | # CONFIG_NLS_ISO8859_5 is not set | ||
1003 | # CONFIG_NLS_ISO8859_6 is not set | ||
1004 | # CONFIG_NLS_ISO8859_7 is not set | ||
1005 | # CONFIG_NLS_ISO8859_9 is not set | ||
1006 | # CONFIG_NLS_ISO8859_13 is not set | ||
1007 | # CONFIG_NLS_ISO8859_14 is not set | ||
1008 | # CONFIG_NLS_ISO8859_15 is not set | ||
1009 | # CONFIG_NLS_KOI8_R is not set | ||
1010 | # CONFIG_NLS_KOI8_U is not set | ||
1011 | # CONFIG_NLS_UTF8 is not set | ||
1012 | # CONFIG_DLM is not set | ||
705 | 1013 | ||
706 | # | 1014 | # |
707 | # Kernel hacking | 1015 | # Kernel hacking |
@@ -714,12 +1022,30 @@ CONFIG_FRAME_WARN=1024 | |||
714 | # CONFIG_UNUSED_SYMBOLS is not set | 1022 | # CONFIG_UNUSED_SYMBOLS is not set |
715 | CONFIG_DEBUG_FS=y | 1023 | CONFIG_DEBUG_FS=y |
716 | # CONFIG_HEADERS_CHECK is not set | 1024 | # CONFIG_HEADERS_CHECK is not set |
1025 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
717 | # CONFIG_DEBUG_KERNEL is not set | 1026 | # CONFIG_DEBUG_KERNEL is not set |
718 | CONFIG_DEBUG_BUGVERBOSE=y | 1027 | # CONFIG_DEBUG_BUGVERBOSE is not set |
719 | # CONFIG_DEBUG_MEMORY_INIT is not set | 1028 | # CONFIG_DEBUG_MEMORY_INIT is not set |
720 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | 1029 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set |
721 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | 1030 | CONFIG_HAVE_FUNCTION_TRACER=y |
722 | # CONFIG_DYNAMIC_PRINTK_DEBUG is not set | 1031 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y |
1032 | CONFIG_TRACING_SUPPORT=y | ||
1033 | |||
1034 | # | ||
1035 | # Tracers | ||
1036 | # | ||
1037 | # CONFIG_FUNCTION_TRACER is not set | ||
1038 | # CONFIG_IRQSOFF_TRACER is not set | ||
1039 | # CONFIG_SCHED_TRACER is not set | ||
1040 | # CONFIG_CONTEXT_SWITCH_TRACER is not set | ||
1041 | # CONFIG_EVENT_TRACER is not set | ||
1042 | # CONFIG_BOOT_TRACER is not set | ||
1043 | # CONFIG_TRACE_BRANCH_PROFILING is not set | ||
1044 | # CONFIG_STACK_TRACER is not set | ||
1045 | # CONFIG_KMEMTRACE is not set | ||
1046 | # CONFIG_WORKQUEUE_TRACER is not set | ||
1047 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
1048 | # CONFIG_DYNAMIC_DEBUG is not set | ||
723 | # CONFIG_SAMPLES is not set | 1049 | # CONFIG_SAMPLES is not set |
724 | CONFIG_HAVE_ARCH_KGDB=y | 1050 | CONFIG_HAVE_ARCH_KGDB=y |
725 | CONFIG_DEBUG_VERBOSE=y | 1051 | CONFIG_DEBUG_VERBOSE=y |
@@ -733,9 +1059,10 @@ CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | |||
733 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | 1059 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 |
734 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | 1060 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set |
735 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | 1061 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set |
736 | # CONFIG_EARLY_PRINTK is not set | 1062 | CONFIG_EARLY_PRINTK=y |
737 | CONFIG_CPLB_INFO=y | 1063 | CONFIG_CPLB_INFO=y |
738 | CONFIG_ACCESS_CHECK=y | 1064 | CONFIG_ACCESS_CHECK=y |
1065 | # CONFIG_BFIN_ISRAM_SELF_TEST is not set | ||
739 | 1066 | ||
740 | # | 1067 | # |
741 | # Security options | 1068 | # Security options |
@@ -744,20 +1071,110 @@ CONFIG_ACCESS_CHECK=y | |||
744 | # CONFIG_SECURITY is not set | 1071 | # CONFIG_SECURITY is not set |
745 | # CONFIG_SECURITYFS is not set | 1072 | # CONFIG_SECURITYFS is not set |
746 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | 1073 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set |
747 | # CONFIG_CRYPTO is not set | 1074 | CONFIG_CRYPTO=y |
1075 | |||
1076 | # | ||
1077 | # Crypto core or helper | ||
1078 | # | ||
1079 | # CONFIG_CRYPTO_FIPS is not set | ||
1080 | # CONFIG_CRYPTO_MANAGER is not set | ||
1081 | # CONFIG_CRYPTO_MANAGER2 is not set | ||
1082 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1083 | # CONFIG_CRYPTO_NULL is not set | ||
1084 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1085 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1086 | # CONFIG_CRYPTO_TEST is not set | ||
1087 | |||
1088 | # | ||
1089 | # Authenticated Encryption with Associated Data | ||
1090 | # | ||
1091 | # CONFIG_CRYPTO_CCM is not set | ||
1092 | # CONFIG_CRYPTO_GCM is not set | ||
1093 | # CONFIG_CRYPTO_SEQIV is not set | ||
1094 | |||
1095 | # | ||
1096 | # Block modes | ||
1097 | # | ||
1098 | # CONFIG_CRYPTO_CBC is not set | ||
1099 | # CONFIG_CRYPTO_CTR is not set | ||
1100 | # CONFIG_CRYPTO_CTS is not set | ||
1101 | # CONFIG_CRYPTO_ECB is not set | ||
1102 | # CONFIG_CRYPTO_LRW is not set | ||
1103 | # CONFIG_CRYPTO_PCBC is not set | ||
1104 | # CONFIG_CRYPTO_XTS is not set | ||
1105 | |||
1106 | # | ||
1107 | # Hash modes | ||
1108 | # | ||
1109 | # CONFIG_CRYPTO_HMAC is not set | ||
1110 | # CONFIG_CRYPTO_XCBC is not set | ||
1111 | |||
1112 | # | ||
1113 | # Digest | ||
1114 | # | ||
1115 | # CONFIG_CRYPTO_CRC32C is not set | ||
1116 | # CONFIG_CRYPTO_MD4 is not set | ||
1117 | # CONFIG_CRYPTO_MD5 is not set | ||
1118 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1119 | # CONFIG_CRYPTO_RMD128 is not set | ||
1120 | # CONFIG_CRYPTO_RMD160 is not set | ||
1121 | # CONFIG_CRYPTO_RMD256 is not set | ||
1122 | # CONFIG_CRYPTO_RMD320 is not set | ||
1123 | # CONFIG_CRYPTO_SHA1 is not set | ||
1124 | # CONFIG_CRYPTO_SHA256 is not set | ||
1125 | # CONFIG_CRYPTO_SHA512 is not set | ||
1126 | # CONFIG_CRYPTO_TGR192 is not set | ||
1127 | # CONFIG_CRYPTO_WP512 is not set | ||
1128 | |||
1129 | # | ||
1130 | # Ciphers | ||
1131 | # | ||
1132 | # CONFIG_CRYPTO_AES is not set | ||
1133 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1134 | # CONFIG_CRYPTO_ARC4 is not set | ||
1135 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1136 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1137 | # CONFIG_CRYPTO_CAST5 is not set | ||
1138 | # CONFIG_CRYPTO_CAST6 is not set | ||
1139 | # CONFIG_CRYPTO_DES is not set | ||
1140 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1141 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1142 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1143 | # CONFIG_CRYPTO_SEED is not set | ||
1144 | # CONFIG_CRYPTO_SERPENT is not set | ||
1145 | # CONFIG_CRYPTO_TEA is not set | ||
1146 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1147 | |||
1148 | # | ||
1149 | # Compression | ||
1150 | # | ||
1151 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1152 | # CONFIG_CRYPTO_ZLIB is not set | ||
1153 | # CONFIG_CRYPTO_LZO is not set | ||
1154 | |||
1155 | # | ||
1156 | # Random Number Generation | ||
1157 | # | ||
1158 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
1159 | CONFIG_CRYPTO_HW=y | ||
1160 | # CONFIG_BINARY_PRINTF is not set | ||
748 | 1161 | ||
749 | # | 1162 | # |
750 | # Library routines | 1163 | # Library routines |
751 | # | 1164 | # |
1165 | CONFIG_BITREVERSE=y | ||
1166 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
752 | # CONFIG_CRC_CCITT is not set | 1167 | # CONFIG_CRC_CCITT is not set |
753 | # CONFIG_CRC16 is not set | 1168 | # CONFIG_CRC16 is not set |
754 | # CONFIG_CRC_T10DIF is not set | 1169 | # CONFIG_CRC_T10DIF is not set |
755 | # CONFIG_CRC_ITU_T is not set | 1170 | CONFIG_CRC_ITU_T=y |
756 | # CONFIG_CRC32 is not set | 1171 | CONFIG_CRC32=y |
757 | # CONFIG_CRC7 is not set | 1172 | CONFIG_CRC7=y |
758 | # CONFIG_LIBCRC32C is not set | 1173 | # CONFIG_LIBCRC32C is not set |
759 | CONFIG_ZLIB_INFLATE=y | 1174 | CONFIG_ZLIB_INFLATE=y |
760 | CONFIG_PLIST=y | 1175 | CONFIG_ZLIB_DEFLATE=y |
1176 | CONFIG_DECOMPRESS_LZMA=y | ||
761 | CONFIG_HAS_IOMEM=y | 1177 | CONFIG_HAS_IOMEM=y |
762 | CONFIG_HAS_IOPORT=y | 1178 | CONFIG_HAS_IOPORT=y |
763 | CONFIG_HAS_DMA=y | 1179 | CONFIG_HAS_DMA=y |
1180 | CONFIG_NLATTR=y | ||
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h index 10064f902d20..e6485c305ea6 100644 --- a/arch/blackfin/include/asm/bfin-global.h +++ b/arch/blackfin/include/asm/bfin-global.h | |||
@@ -11,9 +11,6 @@ | |||
11 | 11 | ||
12 | #ifndef __ASSEMBLY__ | 12 | #ifndef __ASSEMBLY__ |
13 | 13 | ||
14 | #include <asm/sections.h> | ||
15 | #include <asm/ptrace.h> | ||
16 | #include <asm/user.h> | ||
17 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
18 | #include <linux/types.h> | 15 | #include <linux/types.h> |
19 | 16 | ||
@@ -23,6 +20,12 @@ | |||
23 | # define DMA_UNCACHED_REGION (2 * 1024 * 1024) | 20 | # define DMA_UNCACHED_REGION (2 * 1024 * 1024) |
24 | #elif defined(CONFIG_DMA_UNCACHED_1M) | 21 | #elif defined(CONFIG_DMA_UNCACHED_1M) |
25 | # define DMA_UNCACHED_REGION (1024 * 1024) | 22 | # define DMA_UNCACHED_REGION (1024 * 1024) |
23 | #elif defined(CONFIG_DMA_UNCACHED_512K) | ||
24 | # define DMA_UNCACHED_REGION (512 * 1024) | ||
25 | #elif defined(CONFIG_DMA_UNCACHED_256K) | ||
26 | # define DMA_UNCACHED_REGION (256 * 1024) | ||
27 | #elif defined(CONFIG_DMA_UNCACHED_128K) | ||
28 | # define DMA_UNCACHED_REGION (128 * 1024) | ||
26 | #else | 29 | #else |
27 | # define DMA_UNCACHED_REGION (0) | 30 | # define DMA_UNCACHED_REGION (0) |
28 | #endif | 31 | #endif |
@@ -35,6 +38,7 @@ extern unsigned long get_sclk(void); | |||
35 | extern unsigned long sclk_to_usecs(unsigned long sclk); | 38 | extern unsigned long sclk_to_usecs(unsigned long sclk); |
36 | extern unsigned long usecs_to_sclk(unsigned long usecs); | 39 | extern unsigned long usecs_to_sclk(unsigned long usecs); |
37 | 40 | ||
41 | struct pt_regs; | ||
38 | extern void dump_bfin_process(struct pt_regs *regs); | 42 | extern void dump_bfin_process(struct pt_regs *regs); |
39 | extern void dump_bfin_mem(struct pt_regs *regs); | 43 | extern void dump_bfin_mem(struct pt_regs *regs); |
40 | extern void dump_bfin_trace_buffer(void); | 44 | extern void dump_bfin_trace_buffer(void); |
diff --git a/arch/blackfin/include/asm/bfin-lq035q1.h b/arch/blackfin/include/asm/bfin-lq035q1.h new file mode 100644 index 000000000000..57bc21ac2296 --- /dev/null +++ b/arch/blackfin/include/asm/bfin-lq035q1.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Blackfin LCD Framebuffer driver SHARP LQ035Q1DH02 | ||
3 | * | ||
4 | * Copyright 2008-2009 Analog Devices Inc. | ||
5 | * Licensed under the GPL-2 or later. | ||
6 | */ | ||
7 | |||
8 | #ifndef BFIN_LQ035Q1_H | ||
9 | #define BFIN_LQ035Q1_H | ||
10 | |||
11 | #define LQ035_RL (0 << 8) /* Right -> Left Scan */ | ||
12 | #define LQ035_LR (1 << 8) /* Left -> Right Scan */ | ||
13 | #define LQ035_TB (1 << 9) /* Top -> Botton Scan */ | ||
14 | #define LQ035_BT (0 << 9) /* Botton -> Top Scan */ | ||
15 | #define LQ035_BGR (1 << 11) /* Use BGR format */ | ||
16 | #define LQ035_RGB (0 << 11) /* Use RGB format */ | ||
17 | #define LQ035_NORM (1 << 13) /* Reversal */ | ||
18 | #define LQ035_REV (0 << 13) /* Reversal */ | ||
19 | |||
20 | struct bfin_lq035q1fb_disp_info { | ||
21 | |||
22 | unsigned mode; | ||
23 | /* GPIOs */ | ||
24 | int use_bl; | ||
25 | unsigned gpio_bl; | ||
26 | }; | ||
27 | |||
28 | #endif /* BFIN_LQ035Q1_H */ | ||
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h index 6f4548a13555..75f6dc336d46 100644 --- a/arch/blackfin/include/asm/bug.h +++ b/arch/blackfin/include/asm/bug.h | |||
@@ -47,7 +47,7 @@ | |||
47 | #define BUG() \ | 47 | #define BUG() \ |
48 | do { \ | 48 | do { \ |
49 | _BUG_OR_WARN(0); \ | 49 | _BUG_OR_WARN(0); \ |
50 | for (;;); \ | 50 | unreachable(); \ |
51 | } while (0) | 51 | } while (0) |
52 | 52 | ||
53 | #define WARN_ON(condition) \ | 53 | #define WARN_ON(condition) \ |
diff --git a/arch/blackfin/include/asm/cacheflush.h b/arch/blackfin/include/asm/cacheflush.h index 417eaac7fe99..2666ff8ea952 100644 --- a/arch/blackfin/include/asm/cacheflush.h +++ b/arch/blackfin/include/asm/cacheflush.h | |||
@@ -10,6 +10,7 @@ | |||
10 | #define _BLACKFIN_CACHEFLUSH_H | 10 | #define _BLACKFIN_CACHEFLUSH_H |
11 | 11 | ||
12 | #include <asm/blackfin.h> /* for SSYNC() */ | 12 | #include <asm/blackfin.h> /* for SSYNC() */ |
13 | #include <asm/sections.h> /* for _ramend */ | ||
13 | 14 | ||
14 | extern void blackfin_icache_flush_range(unsigned long start_address, unsigned long end_address); | 15 | extern void blackfin_icache_flush_range(unsigned long start_address, unsigned long end_address); |
15 | extern void blackfin_dcache_flush_range(unsigned long start_address, unsigned long end_address); | 16 | extern void blackfin_dcache_flush_range(unsigned long start_address, unsigned long end_address); |
diff --git a/arch/blackfin/include/asm/checksum.h b/arch/blackfin/include/asm/checksum.h index a23415be0de1..623cc7fb00bc 100644 --- a/arch/blackfin/include/asm/checksum.h +++ b/arch/blackfin/include/asm/checksum.h | |||
@@ -9,63 +9,12 @@ | |||
9 | #define _BFIN_CHECKSUM_H | 9 | #define _BFIN_CHECKSUM_H |
10 | 10 | ||
11 | /* | 11 | /* |
12 | * computes the checksum of a memory block at buff, length len, | ||
13 | * and adds in "sum" (32-bit) | ||
14 | * | ||
15 | * returns a 32-bit number suitable for feeding into itself | ||
16 | * or csum_tcpudp_magic | ||
17 | * | ||
18 | * this function must be called with even lengths, except | ||
19 | * for the last fragment, which may be odd | ||
20 | * | ||
21 | * it's best to have buff aligned on a 32-bit boundary | ||
22 | */ | ||
23 | __wsum csum_partial(const void *buff, int len, __wsum sum); | ||
24 | |||
25 | /* | ||
26 | * the same as csum_partial, but copies from src while it | ||
27 | * checksums | ||
28 | * | ||
29 | * here even more important to align src and dst on a 32-bit (or even | ||
30 | * better 64-bit) boundary | ||
31 | */ | ||
32 | |||
33 | __wsum csum_partial_copy(const void *src, void *dst, | ||
34 | int len, __wsum sum); | ||
35 | |||
36 | /* | ||
37 | * the same as csum_partial_copy, but copies from user space. | ||
38 | * | ||
39 | * here even more important to align src and dst on a 32-bit (or even | ||
40 | * better 64-bit) boundary | ||
41 | */ | ||
42 | |||
43 | extern __wsum csum_partial_copy_from_user(const void __user *src, void *dst, | ||
44 | int len, __wsum sum, int *csum_err); | ||
45 | |||
46 | #define csum_partial_copy_nocheck(src, dst, len, sum) \ | ||
47 | csum_partial_copy((src), (dst), (len), (sum)) | ||
48 | |||
49 | __sum16 ip_fast_csum(unsigned char *iph, unsigned int ihl); | ||
50 | |||
51 | /* | ||
52 | * Fold a partial checksum | ||
53 | */ | ||
54 | |||
55 | static inline __sum16 csum_fold(__wsum sum) | ||
56 | { | ||
57 | while (sum >> 16) | ||
58 | sum = (sum & 0xffff) + (sum >> 16); | ||
59 | return ((~(sum << 16)) >> 16); | ||
60 | } | ||
61 | |||
62 | /* | ||
63 | * computes the checksum of the TCP/UDP pseudo-header | 12 | * computes the checksum of the TCP/UDP pseudo-header |
64 | * returns a 16-bit checksum, already complemented | 13 | * returns a 16-bit checksum, already complemented |
65 | */ | 14 | */ |
66 | 15 | ||
67 | static inline __wsum | 16 | static inline __wsum |
68 | csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, | 17 | __csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, |
69 | unsigned short proto, __wsum sum) | 18 | unsigned short proto, __wsum sum) |
70 | { | 19 | { |
71 | unsigned int carry; | 20 | unsigned int carry; |
@@ -88,19 +37,8 @@ csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, | |||
88 | 37 | ||
89 | return (sum); | 38 | return (sum); |
90 | } | 39 | } |
40 | #define csum_tcpudp_nofold __csum_tcpudp_nofold | ||
91 | 41 | ||
92 | static inline __sum16 | 42 | #include <asm-generic/checksum.h> |
93 | csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, | ||
94 | unsigned short proto, __wsum sum) | ||
95 | { | ||
96 | return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); | ||
97 | } | ||
98 | |||
99 | /* | ||
100 | * this routine is used for miscellaneous IP-like checksums, mainly | ||
101 | * in icmp.c | ||
102 | */ | ||
103 | |||
104 | extern __sum16 ip_compute_csum(const void *buff, int len); | ||
105 | 43 | ||
106 | #endif /* _BFIN_CHECKSUM_H */ | 44 | #endif |
diff --git a/arch/blackfin/include/asm/clocks.h b/arch/blackfin/include/asm/clocks.h index f80dad5ff257..6f0b61852f58 100644 --- a/arch/blackfin/include/asm/clocks.h +++ b/arch/blackfin/include/asm/clocks.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #ifndef _BFIN_CLOCKS_H | 9 | #ifndef _BFIN_CLOCKS_H |
10 | #define _BFIN_CLOCKS_H | 10 | #define _BFIN_CLOCKS_H |
11 | 11 | ||
12 | #include <asm/dpmc.h> | ||
13 | |||
12 | #ifdef CONFIG_CCLK_DIV_1 | 14 | #ifdef CONFIG_CCLK_DIV_1 |
13 | # define CONFIG_CCLK_ACT_DIV CCLK_DIV1 | 15 | # define CONFIG_CCLK_ACT_DIV CCLK_DIV1 |
14 | # define CONFIG_CCLK_DIV 1 | 16 | # define CONFIG_CCLK_DIV 1 |
diff --git a/arch/blackfin/include/asm/dma-mapping.h b/arch/blackfin/include/asm/dma-mapping.h index 7a23d824ac96..f9172ff30e5c 100644 --- a/arch/blackfin/include/asm/dma-mapping.h +++ b/arch/blackfin/include/asm/dma-mapping.h | |||
@@ -7,9 +7,9 @@ | |||
7 | #ifndef _BLACKFIN_DMA_MAPPING_H | 7 | #ifndef _BLACKFIN_DMA_MAPPING_H |
8 | #define _BLACKFIN_DMA_MAPPING_H | 8 | #define _BLACKFIN_DMA_MAPPING_H |
9 | 9 | ||
10 | #include <asm/scatterlist.h> | 10 | #include <asm/cacheflush.h> |
11 | struct scatterlist; | ||
11 | 12 | ||
12 | void dma_alloc_init(unsigned long start, unsigned long end); | ||
13 | void *dma_alloc_coherent(struct device *dev, size_t size, | 13 | void *dma_alloc_coherent(struct device *dev, size_t size, |
14 | dma_addr_t *dma_handle, gfp_t gfp); | 14 | dma_addr_t *dma_handle, gfp_t gfp); |
15 | void dma_free_coherent(struct device *dev, size_t size, void *vaddr, | 15 | void dma_free_coherent(struct device *dev, size_t size, void *vaddr, |
@@ -20,13 +20,51 @@ void dma_free_coherent(struct device *dev, size_t size, void *vaddr, | |||
20 | */ | 20 | */ |
21 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) | 21 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) |
22 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) | 22 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) |
23 | #define dma_supported(d, m) (1) | ||
24 | #define dma_get_cache_alignment() (32) | ||
25 | #define dma_is_consistent(d, h) (1) | ||
23 | 26 | ||
24 | static inline | 27 | static inline int |
25 | int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) | 28 | dma_set_mask(struct device *dev, u64 dma_mask) |
26 | { | 29 | { |
30 | if (!dev->dma_mask || !dma_supported(dev, dma_mask)) | ||
31 | return -EIO; | ||
32 | |||
33 | *dev->dma_mask = dma_mask; | ||
34 | |||
27 | return 0; | 35 | return 0; |
28 | } | 36 | } |
29 | 37 | ||
38 | static inline int | ||
39 | dma_mapping_error(struct device *dev, dma_addr_t dma_addr) | ||
40 | { | ||
41 | return 0; | ||
42 | } | ||
43 | |||
44 | extern void | ||
45 | __dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir); | ||
46 | static inline void | ||
47 | _dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir) | ||
48 | { | ||
49 | if (!__builtin_constant_p(dir)) { | ||
50 | __dma_sync(addr, size, dir); | ||
51 | return; | ||
52 | } | ||
53 | |||
54 | switch (dir) { | ||
55 | case DMA_NONE: | ||
56 | BUG(); | ||
57 | case DMA_TO_DEVICE: /* writeback only */ | ||
58 | flush_dcache_range(addr, addr + size); | ||
59 | break; | ||
60 | case DMA_FROM_DEVICE: /* invalidate only */ | ||
61 | case DMA_BIDIRECTIONAL: /* flush and invalidate */ | ||
62 | /* Blackfin has no dedicated invalidate (it includes a flush) */ | ||
63 | invalidate_dcache_range(addr, addr + size); | ||
64 | break; | ||
65 | } | ||
66 | } | ||
67 | |||
30 | /* | 68 | /* |
31 | * Map a single buffer of the indicated size for DMA in streaming mode. | 69 | * Map a single buffer of the indicated size for DMA in streaming mode. |
32 | * The 32-bit bus address to use is returned. | 70 | * The 32-bit bus address to use is returned. |
@@ -34,8 +72,13 @@ int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) | |||
34 | * Once the device is given the dma address, the device owns this memory | 72 | * Once the device is given the dma address, the device owns this memory |
35 | * until either pci_unmap_single or pci_dma_sync_single is performed. | 73 | * until either pci_unmap_single or pci_dma_sync_single is performed. |
36 | */ | 74 | */ |
37 | extern dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, | 75 | static inline dma_addr_t |
38 | enum dma_data_direction direction); | 76 | dma_map_single(struct device *dev, void *ptr, size_t size, |
77 | enum dma_data_direction dir) | ||
78 | { | ||
79 | _dma_sync((dma_addr_t)ptr, size, dir); | ||
80 | return (dma_addr_t) ptr; | ||
81 | } | ||
39 | 82 | ||
40 | static inline dma_addr_t | 83 | static inline dma_addr_t |
41 | dma_map_page(struct device *dev, struct page *page, | 84 | dma_map_page(struct device *dev, struct page *page, |
@@ -53,8 +96,12 @@ dma_map_page(struct device *dev, struct page *page, | |||
53 | * After this call, reads by the cpu to the buffer are guarenteed to see | 96 | * After this call, reads by the cpu to the buffer are guarenteed to see |
54 | * whatever the device wrote there. | 97 | * whatever the device wrote there. |
55 | */ | 98 | */ |
56 | extern void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, | 99 | static inline void |
57 | enum dma_data_direction direction); | 100 | dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, |
101 | enum dma_data_direction dir) | ||
102 | { | ||
103 | BUG_ON(!valid_dma_direction(dir)); | ||
104 | } | ||
58 | 105 | ||
59 | static inline void | 106 | static inline void |
60 | dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, | 107 | dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, |
@@ -80,38 +127,66 @@ dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, | |||
80 | * the same here. | 127 | * the same here. |
81 | */ | 128 | */ |
82 | extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, | 129 | extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, |
83 | enum dma_data_direction direction); | 130 | enum dma_data_direction dir); |
84 | 131 | ||
85 | /* | 132 | /* |
86 | * Unmap a set of streaming mode DMA translations. | 133 | * Unmap a set of streaming mode DMA translations. |
87 | * Again, cpu read rules concerning calls here are the same as for | 134 | * Again, cpu read rules concerning calls here are the same as for |
88 | * pci_unmap_single() above. | 135 | * pci_unmap_single() above. |
89 | */ | 136 | */ |
90 | extern void dma_unmap_sg(struct device *dev, struct scatterlist *sg, | 137 | static inline void |
91 | int nhwentries, enum dma_data_direction direction); | 138 | dma_unmap_sg(struct device *dev, struct scatterlist *sg, |
139 | int nhwentries, enum dma_data_direction dir) | ||
140 | { | ||
141 | BUG_ON(!valid_dma_direction(dir)); | ||
142 | } | ||
92 | 143 | ||
93 | static inline void dma_sync_single_for_cpu(struct device *dev, | 144 | static inline void |
94 | dma_addr_t handle, size_t size, | 145 | dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t handle, |
95 | enum dma_data_direction dir) | 146 | unsigned long offset, size_t size, |
147 | enum dma_data_direction dir) | ||
96 | { | 148 | { |
149 | BUG_ON(!valid_dma_direction(dir)); | ||
97 | } | 150 | } |
98 | 151 | ||
99 | static inline void dma_sync_single_for_device(struct device *dev, | 152 | static inline void |
100 | dma_addr_t handle, size_t size, | 153 | dma_sync_single_range_for_device(struct device *dev, dma_addr_t handle, |
101 | enum dma_data_direction dir) | 154 | unsigned long offset, size_t size, |
155 | enum dma_data_direction dir) | ||
102 | { | 156 | { |
157 | _dma_sync(handle + offset, size, dir); | ||
103 | } | 158 | } |
104 | 159 | ||
105 | static inline void dma_sync_sg_for_cpu(struct device *dev, | 160 | static inline void |
106 | struct scatterlist *sg, | 161 | dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, |
107 | int nents, enum dma_data_direction dir) | 162 | enum dma_data_direction dir) |
108 | { | 163 | { |
164 | dma_sync_single_range_for_cpu(dev, handle, 0, size, dir); | ||
109 | } | 165 | } |
110 | 166 | ||
111 | static inline void dma_sync_sg_for_device(struct device *dev, | 167 | static inline void |
112 | struct scatterlist *sg, | 168 | dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, |
113 | int nents, enum dma_data_direction dir) | 169 | enum dma_data_direction dir) |
170 | { | ||
171 | dma_sync_single_range_for_device(dev, handle, 0, size, dir); | ||
172 | } | ||
173 | |||
174 | static inline void | ||
175 | dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nents, | ||
176 | enum dma_data_direction dir) | ||
177 | { | ||
178 | BUG_ON(!valid_dma_direction(dir)); | ||
179 | } | ||
180 | |||
181 | extern void | ||
182 | dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, | ||
183 | int nents, enum dma_data_direction dir); | ||
184 | |||
185 | static inline void | ||
186 | dma_cache_sync(struct device *dev, void *vaddr, size_t size, | ||
187 | enum dma_data_direction dir) | ||
114 | { | 188 | { |
189 | _dma_sync((dma_addr_t)vaddr, size, dir); | ||
115 | } | 190 | } |
116 | 191 | ||
117 | #endif /* _BLACKFIN_DMA_MAPPING_H */ | 192 | #endif /* _BLACKFIN_DMA_MAPPING_H */ |
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h index c9a59622e23f..bd2e62243abe 100644 --- a/arch/blackfin/include/asm/dma.h +++ b/arch/blackfin/include/asm/dma.h | |||
@@ -10,46 +10,70 @@ | |||
10 | 10 | ||
11 | #include <linux/interrupt.h> | 11 | #include <linux/interrupt.h> |
12 | #include <mach/dma.h> | 12 | #include <mach/dma.h> |
13 | #include <asm/atomic.h> | ||
13 | #include <asm/blackfin.h> | 14 | #include <asm/blackfin.h> |
14 | #include <asm/page.h> | 15 | #include <asm/page.h> |
15 | 16 | #include <asm-generic/dma.h> | |
16 | #define MAX_DMA_ADDRESS PAGE_OFFSET | 17 | |
17 | 18 | /* DMA_CONFIG Masks */ | |
18 | /***************************************************************************** | 19 | #define DMAEN 0x0001 /* DMA Channel Enable */ |
19 | * Generic DMA Declarations | 20 | #define WNR 0x0002 /* Channel Direction (W/R*) */ |
20 | * | 21 | #define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */ |
21 | ****************************************************************************/ | 22 | #define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */ |
22 | enum dma_chan_status { | 23 | #define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */ |
23 | DMA_CHANNEL_FREE, | 24 | #define DMA2D 0x0010 /* DMA Mode (2D/1D*) */ |
24 | DMA_CHANNEL_REQUESTED, | 25 | #define RESTART 0x0020 /* DMA Buffer Clear */ |
25 | DMA_CHANNEL_ENABLED, | 26 | #define DI_SEL 0x0040 /* Data Interrupt Timing Select */ |
26 | }; | 27 | #define DI_EN 0x0080 /* Data Interrupt Enable */ |
28 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
29 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
30 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
31 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
32 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
33 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
34 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
35 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
36 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
37 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
38 | #define NDSIZE 0x0f00 /* Next Descriptor Size */ | ||
39 | #define DMAFLOW 0x7000 /* Flow Control */ | ||
40 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
41 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
42 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
43 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
44 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
45 | |||
46 | /* DMA_IRQ_STATUS Masks */ | ||
47 | #define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */ | ||
48 | #define DMA_ERR 0x0002 /* DMA Error Interrupt Status */ | ||
49 | #define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */ | ||
50 | #define DMA_RUN 0x0008 /* DMA Channel Running Indicator */ | ||
27 | 51 | ||
28 | /*------------------------- | 52 | /*------------------------- |
29 | * config reg bits value | 53 | * config reg bits value |
30 | *-------------------------*/ | 54 | *-------------------------*/ |
31 | #define DATA_SIZE_8 0 | 55 | #define DATA_SIZE_8 0 |
32 | #define DATA_SIZE_16 1 | 56 | #define DATA_SIZE_16 1 |
33 | #define DATA_SIZE_32 2 | 57 | #define DATA_SIZE_32 2 |
34 | 58 | ||
35 | #define DMA_FLOW_STOP 0 | 59 | #define DMA_FLOW_STOP 0 |
36 | #define DMA_FLOW_AUTO 1 | 60 | #define DMA_FLOW_AUTO 1 |
37 | #define DMA_FLOW_ARRAY 4 | 61 | #define DMA_FLOW_ARRAY 4 |
38 | #define DMA_FLOW_SMALL 6 | 62 | #define DMA_FLOW_SMALL 6 |
39 | #define DMA_FLOW_LARGE 7 | 63 | #define DMA_FLOW_LARGE 7 |
40 | 64 | ||
41 | #define DIMENSION_LINEAR 0 | 65 | #define DIMENSION_LINEAR 0 |
42 | #define DIMENSION_2D 1 | 66 | #define DIMENSION_2D 1 |
43 | 67 | ||
44 | #define DIR_READ 0 | 68 | #define DIR_READ 0 |
45 | #define DIR_WRITE 1 | 69 | #define DIR_WRITE 1 |
46 | 70 | ||
47 | #define INTR_DISABLE 0 | 71 | #define INTR_DISABLE 0 |
48 | #define INTR_ON_BUF 2 | 72 | #define INTR_ON_BUF 2 |
49 | #define INTR_ON_ROW 3 | 73 | #define INTR_ON_ROW 3 |
50 | 74 | ||
51 | #define DMA_NOSYNC_KEEP_DMA_BUF 0 | 75 | #define DMA_NOSYNC_KEEP_DMA_BUF 0 |
52 | #define DMA_SYNC_RESTART 1 | 76 | #define DMA_SYNC_RESTART 1 |
53 | 77 | ||
54 | struct dmasg { | 78 | struct dmasg { |
55 | void *next_desc_addr; | 79 | void *next_desc_addr; |
@@ -104,11 +128,9 @@ struct dma_register { | |||
104 | 128 | ||
105 | }; | 129 | }; |
106 | 130 | ||
107 | struct mutex; | ||
108 | struct dma_channel { | 131 | struct dma_channel { |
109 | struct mutex dmalock; | ||
110 | const char *device_id; | 132 | const char *device_id; |
111 | enum dma_chan_status chan_status; | 133 | atomic_t chan_status; |
112 | volatile struct dma_register *regs; | 134 | volatile struct dma_register *regs; |
113 | struct dmasg *sg; /* large mode descriptor */ | 135 | struct dmasg *sg; /* large mode descriptor */ |
114 | unsigned int irq; | 136 | unsigned int irq; |
@@ -220,27 +242,20 @@ static inline void set_dma_sg(unsigned int channel, struct dmasg *sg, int ndsize | |||
220 | 242 | ||
221 | static inline int dma_channel_active(unsigned int channel) | 243 | static inline int dma_channel_active(unsigned int channel) |
222 | { | 244 | { |
223 | if (dma_ch[channel].chan_status == DMA_CHANNEL_FREE) | 245 | return atomic_read(&dma_ch[channel].chan_status); |
224 | return 0; | ||
225 | else | ||
226 | return 1; | ||
227 | } | 246 | } |
228 | 247 | ||
229 | static inline void disable_dma(unsigned int channel) | 248 | static inline void disable_dma(unsigned int channel) |
230 | { | 249 | { |
231 | dma_ch[channel].regs->cfg &= ~DMAEN; | 250 | dma_ch[channel].regs->cfg &= ~DMAEN; |
232 | SSYNC(); | 251 | SSYNC(); |
233 | dma_ch[channel].chan_status = DMA_CHANNEL_REQUESTED; | ||
234 | } | 252 | } |
235 | static inline void enable_dma(unsigned int channel) | 253 | static inline void enable_dma(unsigned int channel) |
236 | { | 254 | { |
237 | dma_ch[channel].regs->curr_x_count = 0; | 255 | dma_ch[channel].regs->curr_x_count = 0; |
238 | dma_ch[channel].regs->curr_y_count = 0; | 256 | dma_ch[channel].regs->curr_y_count = 0; |
239 | dma_ch[channel].regs->cfg |= DMAEN; | 257 | dma_ch[channel].regs->cfg |= DMAEN; |
240 | dma_ch[channel].chan_status = DMA_CHANNEL_ENABLED; | ||
241 | } | 258 | } |
242 | void free_dma(unsigned int channel); | ||
243 | int request_dma(unsigned int channel, const char *device_id); | ||
244 | int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data); | 259 | int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data); |
245 | 260 | ||
246 | static inline void dma_disable_irq(unsigned int channel) | 261 | static inline void dma_disable_irq(unsigned int channel) |
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h index 925e66cb2d49..1597ae5041ee 100644 --- a/arch/blackfin/include/asm/dpmc.h +++ b/arch/blackfin/include/asm/dpmc.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Miscellaneous IOCTL commands for Dynamic Power Management Controller Driver | 2 | * Miscellaneous IOCTL commands for Dynamic Power Management Controller Driver |
3 | * | 3 | * |
4 | * Copyright (C) 2004-2008 Analog Device Inc. | 4 | * Copyright (C) 2004-2009 Analog Device Inc. |
5 | * | 5 | * |
6 | * Licensed under the GPL-2 | 6 | * Licensed under the GPL-2 |
7 | */ | 7 | */ |
@@ -9,7 +9,109 @@ | |||
9 | #ifndef _BLACKFIN_DPMC_H_ | 9 | #ifndef _BLACKFIN_DPMC_H_ |
10 | #define _BLACKFIN_DPMC_H_ | 10 | #define _BLACKFIN_DPMC_H_ |
11 | 11 | ||
12 | #ifdef __KERNEL__ | 12 | /* PLL_CTL Masks */ |
13 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
14 | #define PLL_OFF 0x0002 /* PLL Not Powered */ | ||
15 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
16 | #define PDWN 0x0020 /* Enter Deep Sleep Mode */ | ||
17 | #ifdef __ADSPBF539__ | ||
18 | # define IN_DELAY 0x0014 /* Add 200ps Delay To EBIU Input Latches */ | ||
19 | # define OUT_DELAY 0x00C0 /* Add 200ps Delay To EBIU Output Signals */ | ||
20 | #else | ||
21 | # define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */ | ||
22 | # define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */ | ||
23 | #endif | ||
24 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
25 | #define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */ | ||
26 | #define SPORT_HYST 0x8000 /* Enable Additional Hysteresis on SPORT Input Pins */ | ||
27 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
28 | |||
29 | /* PLL_DIV Masks */ | ||
30 | #define SSEL 0x000F /* System Select */ | ||
31 | #define CSEL 0x0030 /* Core Select */ | ||
32 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
33 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
34 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
35 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
36 | |||
37 | #define CCLK_DIV1 CSEL_DIV1 | ||
38 | #define CCLK_DIV2 CSEL_DIV2 | ||
39 | #define CCLK_DIV4 CSEL_DIV4 | ||
40 | #define CCLK_DIV8 CSEL_DIV8 | ||
41 | |||
42 | #define SET_SSEL(x) ((x) & 0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
43 | #define SCLK_DIV(x) (x) /* SCLK = VCO / x */ | ||
44 | |||
45 | /* PLL_STAT Masks */ | ||
46 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
47 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
48 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
49 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
50 | |||
51 | #define RTCWS 0x0400 /* RTC/Reset Wake-Up Status */ | ||
52 | #define CANWS 0x0800 /* CAN Wake-Up Status */ | ||
53 | #define USBWS 0x2000 /* USB Wake-Up Status */ | ||
54 | #define KPADWS 0x4000 /* Keypad Wake-Up Status */ | ||
55 | #define ROTWS 0x8000 /* Rotary Wake-Up Status */ | ||
56 | #define GPWS 0x1000 /* General-Purpose Wake-Up Status */ | ||
57 | |||
58 | /* VR_CTL Masks */ | ||
59 | #if defined(__ADSPBF52x__) || defined(__ADSPBF51x__) | ||
60 | #define FREQ 0x3000 /* Switching Oscillator Frequency For Regulator */ | ||
61 | #define FREQ_1000 0x3000 /* Switching Frequency Is 1 MHz */ | ||
62 | #else | ||
63 | #define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */ | ||
64 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
65 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
66 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
67 | #endif | ||
68 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
69 | |||
70 | #define GAIN 0x000C /* Voltage Level Gain */ | ||
71 | #define GAIN_5 0x0000 /* GAIN = 5 */ | ||
72 | #define GAIN_10 0x0004 /* GAIN = 1 */ | ||
73 | #define GAIN_20 0x0008 /* GAIN = 2 */ | ||
74 | #define GAIN_50 0x000C /* GAIN = 5 */ | ||
75 | |||
76 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
77 | #ifdef __ADSPBF52x__ | ||
78 | #define VLEV_085 0x0040 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
79 | #define VLEV_090 0x0050 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
80 | #define VLEV_095 0x0060 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
81 | #define VLEV_100 0x0070 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
82 | #define VLEV_105 0x0080 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
83 | #define VLEV_110 0x0090 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
84 | #define VLEV_115 0x00A0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
85 | #define VLEV_120 0x00B0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
86 | #else | ||
87 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
88 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
89 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
90 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
91 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
92 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
93 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
94 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
95 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
96 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
97 | #endif | ||
98 | |||
99 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
100 | #define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */ | ||
101 | #define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */ | ||
102 | #define GPWE 0x0400 /* General-Purpose Wake-Up Enable */ | ||
103 | #define MXVRWE 0x0400 /* Enable MXVR Wakeup From Hibernate */ | ||
104 | #define KPADWE 0x1000 /* Keypad Wake-Up Enable */ | ||
105 | #define ROTWE 0x2000 /* Rotary Wake-Up Enable */ | ||
106 | #define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */ | ||
107 | #define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */ | ||
108 | |||
109 | #if defined(__ADSPBF52x__) || defined(__ADSPBF51x__) | ||
110 | #define USBWE 0x0200 /* Enable USB Wakeup From Hibernate */ | ||
111 | #else | ||
112 | #define USBWE 0x0800 /* Enable USB Wakeup From Hibernate */ | ||
113 | #endif | ||
114 | |||
13 | #ifndef __ASSEMBLY__ | 115 | #ifndef __ASSEMBLY__ |
14 | 116 | ||
15 | void sleep_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); | 117 | void sleep_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); |
@@ -54,6 +156,5 @@ struct bfin_dpmc_platform_data { | |||
54 | w[P0 + (x - PLL_CTL)] = R0;\ | 156 | w[P0 + (x - PLL_CTL)] = R0;\ |
55 | 157 | ||
56 | #endif | 158 | #endif |
57 | #endif /* __KERNEL__ */ | ||
58 | 159 | ||
59 | #endif /*_BLACKFIN_DPMC_H_*/ | 160 | #endif /*_BLACKFIN_DPMC_H_*/ |
diff --git a/arch/blackfin/include/asm/elf.h b/arch/blackfin/include/asm/elf.h index 8e0764c81eaf..5b50f0ecacf8 100644 --- a/arch/blackfin/include/asm/elf.h +++ b/arch/blackfin/include/asm/elf.h | |||
@@ -55,7 +55,6 @@ do { \ | |||
55 | _regs->p2 = _dynamic_addr; \ | 55 | _regs->p2 = _dynamic_addr; \ |
56 | } while(0) | 56 | } while(0) |
57 | 57 | ||
58 | #define USE_ELF_CORE_DUMP | ||
59 | #define ELF_FDPIC_CORE_EFLAGS EF_BFIN_FDPIC | 58 | #define ELF_FDPIC_CORE_EFLAGS EF_BFIN_FDPIC |
60 | #define ELF_EXEC_PAGESIZE 4096 | 59 | #define ELF_EXEC_PAGESIZE 4096 |
61 | 60 | ||
diff --git a/arch/blackfin/include/asm/gpio.h b/arch/blackfin/include/asm/gpio.h index 5b44d05ca53e..539468a05057 100644 --- a/arch/blackfin/include/asm/gpio.h +++ b/arch/blackfin/include/asm/gpio.h | |||
@@ -159,6 +159,11 @@ struct gpio_port_t { | |||
159 | }; | 159 | }; |
160 | #endif | 160 | #endif |
161 | 161 | ||
162 | #ifdef BFIN_SPECIAL_GPIO_BANKS | ||
163 | void bfin_special_gpio_free(unsigned gpio); | ||
164 | int bfin_special_gpio_request(unsigned gpio, const char *label); | ||
165 | #endif | ||
166 | |||
162 | #ifdef CONFIG_PM | 167 | #ifdef CONFIG_PM |
163 | 168 | ||
164 | unsigned int bfin_pm_standby_setup(void); | 169 | unsigned int bfin_pm_standby_setup(void); |
diff --git a/arch/blackfin/include/asm/gptimers.h b/arch/blackfin/include/asm/gptimers.h index 89f08decb8e0..c722acdda0d3 100644 --- a/arch/blackfin/include/asm/gptimers.h +++ b/arch/blackfin/include/asm/gptimers.h | |||
@@ -172,25 +172,25 @@ | |||
172 | 172 | ||
173 | /* The actual gptimer API */ | 173 | /* The actual gptimer API */ |
174 | 174 | ||
175 | void set_gptimer_pwidth(int timer_id, uint32_t width); | 175 | void set_gptimer_pwidth(unsigned int timer_id, uint32_t width); |
176 | uint32_t get_gptimer_pwidth(int timer_id); | 176 | uint32_t get_gptimer_pwidth(unsigned int timer_id); |
177 | void set_gptimer_period(int timer_id, uint32_t period); | 177 | void set_gptimer_period(unsigned int timer_id, uint32_t period); |
178 | uint32_t get_gptimer_period(int timer_id); | 178 | uint32_t get_gptimer_period(unsigned int timer_id); |
179 | uint32_t get_gptimer_count(int timer_id); | 179 | uint32_t get_gptimer_count(unsigned int timer_id); |
180 | int get_gptimer_intr(int timer_id); | 180 | int get_gptimer_intr(unsigned int timer_id); |
181 | void clear_gptimer_intr(int timer_id); | 181 | void clear_gptimer_intr(unsigned int timer_id); |
182 | int get_gptimer_over(int timer_id); | 182 | int get_gptimer_over(unsigned int timer_id); |
183 | void clear_gptimer_over(int timer_id); | 183 | void clear_gptimer_over(unsigned int timer_id); |
184 | void set_gptimer_config(int timer_id, uint16_t config); | 184 | void set_gptimer_config(unsigned int timer_id, uint16_t config); |
185 | uint16_t get_gptimer_config(int timer_id); | 185 | uint16_t get_gptimer_config(unsigned int timer_id); |
186 | int get_gptimer_run(int timer_id); | 186 | int get_gptimer_run(unsigned int timer_id); |
187 | void set_gptimer_pulse_hi(int timer_id); | 187 | void set_gptimer_pulse_hi(unsigned int timer_id); |
188 | void clear_gptimer_pulse_hi(int timer_id); | 188 | void clear_gptimer_pulse_hi(unsigned int timer_id); |
189 | void enable_gptimers(uint16_t mask); | 189 | void enable_gptimers(uint16_t mask); |
190 | void disable_gptimers(uint16_t mask); | 190 | void disable_gptimers(uint16_t mask); |
191 | void disable_gptimers_sync(uint16_t mask); | 191 | void disable_gptimers_sync(uint16_t mask); |
192 | uint16_t get_enabled_gptimers(void); | 192 | uint16_t get_enabled_gptimers(void); |
193 | uint32_t get_gptimer_status(int group); | 193 | uint32_t get_gptimer_status(unsigned int group); |
194 | void set_gptimer_status(int group, uint32_t value); | 194 | void set_gptimer_status(unsigned int group, uint32_t value); |
195 | 195 | ||
196 | #endif | 196 | #endif |
diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index d1f5029189a7..29e55b9d88bc 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h | |||
@@ -31,12 +31,14 @@ static inline unsigned char readb(const volatile void __iomem *addr) | |||
31 | unsigned int val; | 31 | unsigned int val; |
32 | int tmp; | 32 | int tmp; |
33 | 33 | ||
34 | __asm__ __volatile__ ("cli %1;\n\t" | 34 | __asm__ __volatile__ ( |
35 | "NOP; NOP; SSYNC;\n\t" | 35 | "cli %1;" |
36 | "%0 = b [%2] (z);\n\t" | 36 | "NOP; NOP; SSYNC;" |
37 | "sti %1;\n\t" | 37 | "%0 = b [%2] (z);" |
38 | : "=d"(val), "=d"(tmp): "a"(addr) | 38 | "sti %1;" |
39 | ); | 39 | : "=d"(val), "=d"(tmp) |
40 | : "a"(addr) | ||
41 | ); | ||
40 | 42 | ||
41 | return (unsigned char) val; | 43 | return (unsigned char) val; |
42 | } | 44 | } |
@@ -46,12 +48,14 @@ static inline unsigned short readw(const volatile void __iomem *addr) | |||
46 | unsigned int val; | 48 | unsigned int val; |
47 | int tmp; | 49 | int tmp; |
48 | 50 | ||
49 | __asm__ __volatile__ ("cli %1;\n\t" | 51 | __asm__ __volatile__ ( |
50 | "NOP; NOP; SSYNC;\n\t" | 52 | "cli %1;" |
51 | "%0 = w [%2] (z);\n\t" | 53 | "NOP; NOP; SSYNC;" |
52 | "sti %1;\n\t" | 54 | "%0 = w [%2] (z);" |
53 | : "=d"(val), "=d"(tmp): "a"(addr) | 55 | "sti %1;" |
54 | ); | 56 | : "=d"(val), "=d"(tmp) |
57 | : "a"(addr) | ||
58 | ); | ||
55 | 59 | ||
56 | return (unsigned short) val; | 60 | return (unsigned short) val; |
57 | } | 61 | } |
@@ -61,20 +65,23 @@ static inline unsigned int readl(const volatile void __iomem *addr) | |||
61 | unsigned int val; | 65 | unsigned int val; |
62 | int tmp; | 66 | int tmp; |
63 | 67 | ||
64 | __asm__ __volatile__ ("cli %1;\n\t" | 68 | __asm__ __volatile__ ( |
65 | "NOP; NOP; SSYNC;\n\t" | 69 | "cli %1;" |
66 | "%0 = [%2];\n\t" | 70 | "NOP; NOP; SSYNC;" |
67 | "sti %1;\n\t" | 71 | "%0 = [%2];" |
68 | : "=d"(val), "=d"(tmp): "a"(addr) | 72 | "sti %1;" |
69 | ); | 73 | : "=d"(val), "=d"(tmp) |
74 | : "a"(addr) | ||
75 | ); | ||
76 | |||
70 | return val; | 77 | return val; |
71 | } | 78 | } |
72 | 79 | ||
73 | #endif /* __ASSEMBLY__ */ | 80 | #endif /* __ASSEMBLY__ */ |
74 | 81 | ||
75 | #define writeb(b,addr) (void)((*(volatile unsigned char *) (addr)) = (b)) | 82 | #define writeb(b, addr) (void)((*(volatile unsigned char *) (addr)) = (b)) |
76 | #define writew(b,addr) (void)((*(volatile unsigned short *) (addr)) = (b)) | 83 | #define writew(b, addr) (void)((*(volatile unsigned short *) (addr)) = (b)) |
77 | #define writel(b,addr) (void)((*(volatile unsigned int *) (addr)) = (b)) | 84 | #define writel(b, addr) (void)((*(volatile unsigned int *) (addr)) = (b)) |
78 | 85 | ||
79 | #define __raw_readb readb | 86 | #define __raw_readb readb |
80 | #define __raw_readw readw | 87 | #define __raw_readw readw |
@@ -82,9 +89,9 @@ static inline unsigned int readl(const volatile void __iomem *addr) | |||
82 | #define __raw_writeb writeb | 89 | #define __raw_writeb writeb |
83 | #define __raw_writew writew | 90 | #define __raw_writew writew |
84 | #define __raw_writel writel | 91 | #define __raw_writel writel |
85 | #define memset_io(a,b,c) memset((void *)(a),(b),(c)) | 92 | #define memset_io(a, b, c) memset((void *)(a), (b), (c)) |
86 | #define memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c)) | 93 | #define memcpy_fromio(a, b, c) memcpy((a), (void *)(b), (c)) |
87 | #define memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c)) | 94 | #define memcpy_toio(a, b, c) memcpy((void *)(a), (b), (c)) |
88 | 95 | ||
89 | /* Convert "I/O port addresses" to actual addresses. i.e. ugly casts. */ | 96 | /* Convert "I/O port addresses" to actual addresses. i.e. ugly casts. */ |
90 | #define __io(port) ((void *)(unsigned long)(port)) | 97 | #define __io(port) ((void *)(unsigned long)(port)) |
@@ -92,30 +99,30 @@ static inline unsigned int readl(const volatile void __iomem *addr) | |||
92 | #define inb(port) readb(__io(port)) | 99 | #define inb(port) readb(__io(port)) |
93 | #define inw(port) readw(__io(port)) | 100 | #define inw(port) readw(__io(port)) |
94 | #define inl(port) readl(__io(port)) | 101 | #define inl(port) readl(__io(port)) |
95 | #define outb(x,port) writeb(x,__io(port)) | 102 | #define outb(x, port) writeb(x, __io(port)) |
96 | #define outw(x,port) writew(x,__io(port)) | 103 | #define outw(x, port) writew(x, __io(port)) |
97 | #define outl(x,port) writel(x,__io(port)) | 104 | #define outl(x, port) writel(x, __io(port)) |
98 | 105 | ||
99 | #define inb_p(port) inb(__io(port)) | 106 | #define inb_p(port) inb(__io(port)) |
100 | #define inw_p(port) inw(__io(port)) | 107 | #define inw_p(port) inw(__io(port)) |
101 | #define inl_p(port) inl(__io(port)) | 108 | #define inl_p(port) inl(__io(port)) |
102 | #define outb_p(x,port) outb(x,__io(port)) | 109 | #define outb_p(x, port) outb(x, __io(port)) |
103 | #define outw_p(x,port) outw(x,__io(port)) | 110 | #define outw_p(x, port) outw(x, __io(port)) |
104 | #define outl_p(x,port) outl(x,__io(port)) | 111 | #define outl_p(x, port) outl(x, __io(port)) |
105 | 112 | ||
106 | #define ioread8_rep(a,d,c) readsb(a,d,c) | 113 | #define ioread8_rep(a, d, c) readsb(a, d, c) |
107 | #define ioread16_rep(a,d,c) readsw(a,d,c) | 114 | #define ioread16_rep(a, d, c) readsw(a, d, c) |
108 | #define ioread32_rep(a,d,c) readsl(a,d,c) | 115 | #define ioread32_rep(a, d, c) readsl(a, d, c) |
109 | #define iowrite8_rep(a,s,c) writesb(a,s,c) | 116 | #define iowrite8_rep(a, s, c) writesb(a, s, c) |
110 | #define iowrite16_rep(a,s,c) writesw(a,s,c) | 117 | #define iowrite16_rep(a, s, c) writesw(a, s, c) |
111 | #define iowrite32_rep(a,s,c) writesl(a,s,c) | 118 | #define iowrite32_rep(a, s, c) writesl(a, s, c) |
112 | 119 | ||
113 | #define ioread8(X) readb(X) | 120 | #define ioread8(x) readb(x) |
114 | #define ioread16(X) readw(X) | 121 | #define ioread16(x) readw(x) |
115 | #define ioread32(X) readl(X) | 122 | #define ioread32(x) readl(x) |
116 | #define iowrite8(val,X) writeb(val,X) | 123 | #define iowrite8(val, x) writeb(val, x) |
117 | #define iowrite16(val,X) writew(val,X) | 124 | #define iowrite16(val, x) writew(val, x) |
118 | #define iowrite32(val,X) writel(val,X) | 125 | #define iowrite32(val, x) writel(val, x) |
119 | 126 | ||
120 | #define mmiowb() wmb() | 127 | #define mmiowb() wmb() |
121 | 128 | ||
diff --git a/arch/blackfin/include/asm/ipipe.h b/arch/blackfin/include/asm/ipipe.h index 4617ba66278f..d3b40449ca0e 100644 --- a/arch/blackfin/include/asm/ipipe.h +++ b/arch/blackfin/include/asm/ipipe.h | |||
@@ -35,9 +35,9 @@ | |||
35 | #include <asm/atomic.h> | 35 | #include <asm/atomic.h> |
36 | #include <asm/traps.h> | 36 | #include <asm/traps.h> |
37 | 37 | ||
38 | #define IPIPE_ARCH_STRING "1.11-00" | 38 | #define IPIPE_ARCH_STRING "1.12-00" |
39 | #define IPIPE_MAJOR_NUMBER 1 | 39 | #define IPIPE_MAJOR_NUMBER 1 |
40 | #define IPIPE_MINOR_NUMBER 11 | 40 | #define IPIPE_MINOR_NUMBER 12 |
41 | #define IPIPE_PATCH_NUMBER 0 | 41 | #define IPIPE_PATCH_NUMBER 0 |
42 | 42 | ||
43 | #ifdef CONFIG_SMP | 43 | #ifdef CONFIG_SMP |
@@ -124,16 +124,6 @@ static inline int __ipipe_check_tickdev(const char *devname) | |||
124 | return 1; | 124 | return 1; |
125 | } | 125 | } |
126 | 126 | ||
127 | static inline void __ipipe_lock_root(void) | ||
128 | { | ||
129 | set_bit(IPIPE_SYNCDEFER_FLAG, &ipipe_root_cpudom_var(status)); | ||
130 | } | ||
131 | |||
132 | static inline void __ipipe_unlock_root(void) | ||
133 | { | ||
134 | clear_bit(IPIPE_SYNCDEFER_FLAG, &ipipe_root_cpudom_var(status)); | ||
135 | } | ||
136 | |||
137 | void __ipipe_enable_pipeline(void); | 127 | void __ipipe_enable_pipeline(void); |
138 | 128 | ||
139 | #define __ipipe_hook_critical_ipi(ipd) do { } while (0) | 129 | #define __ipipe_hook_critical_ipi(ipd) do { } while (0) |
diff --git a/arch/blackfin/include/asm/ipipe_base.h b/arch/blackfin/include/asm/ipipe_base.h index 490098f532a7..00409201d9ed 100644 --- a/arch/blackfin/include/asm/ipipe_base.h +++ b/arch/blackfin/include/asm/ipipe_base.h | |||
@@ -51,23 +51,15 @@ | |||
51 | 51 | ||
52 | extern unsigned long __ipipe_root_status; /* Alias to ipipe_root_cpudom_var(status) */ | 52 | extern unsigned long __ipipe_root_status; /* Alias to ipipe_root_cpudom_var(status) */ |
53 | 53 | ||
54 | #define __ipipe_stall_root() \ | 54 | void __ipipe_stall_root(void); |
55 | do { \ | 55 | |
56 | volatile unsigned long *p = &__ipipe_root_status; \ | 56 | unsigned long __ipipe_test_and_stall_root(void); |
57 | set_bit(0, p); \ | 57 | |
58 | } while (0) | 58 | unsigned long __ipipe_test_root(void); |
59 | 59 | ||
60 | #define __ipipe_test_and_stall_root() \ | 60 | void __ipipe_lock_root(void); |
61 | ({ \ | 61 | |
62 | volatile unsigned long *p = &__ipipe_root_status; \ | 62 | void __ipipe_unlock_root(void); |
63 | test_and_set_bit(0, p); \ | ||
64 | }) | ||
65 | |||
66 | #define __ipipe_test_root() \ | ||
67 | ({ \ | ||
68 | const unsigned long *p = &__ipipe_root_status; \ | ||
69 | test_bit(0, p); \ | ||
70 | }) | ||
71 | 63 | ||
72 | #endif /* !__ASSEMBLY__ */ | 64 | #endif /* !__ASSEMBLY__ */ |
73 | 65 | ||
diff --git a/arch/blackfin/include/asm/irqflags.h b/arch/blackfin/include/asm/irqflags.h index 9b19a19d9ae9..813a1af3e865 100644 --- a/arch/blackfin/include/asm/irqflags.h +++ b/arch/blackfin/include/asm/irqflags.h | |||
@@ -33,6 +33,7 @@ static inline unsigned long bfin_cli(void) | |||
33 | 33 | ||
34 | #ifdef CONFIG_IPIPE | 34 | #ifdef CONFIG_IPIPE |
35 | 35 | ||
36 | #include <linux/compiler.h> | ||
36 | #include <linux/ipipe_base.h> | 37 | #include <linux/ipipe_base.h> |
37 | #include <linux/ipipe_trace.h> | 38 | #include <linux/ipipe_trace.h> |
38 | 39 | ||
@@ -49,12 +50,12 @@ static inline unsigned long bfin_cli(void) | |||
49 | barrier(); \ | 50 | barrier(); \ |
50 | } while (0) | 51 | } while (0) |
51 | 52 | ||
52 | static inline void raw_local_irq_enable(void) | 53 | #define raw_local_irq_enable() \ |
53 | { | 54 | do { \ |
54 | barrier(); | 55 | barrier(); \ |
55 | ipipe_check_context(ipipe_root_domain); | 56 | ipipe_check_context(ipipe_root_domain); \ |
56 | __ipipe_unstall_root(); | 57 | __ipipe_unstall_root(); \ |
57 | } | 58 | } while (0) |
58 | 59 | ||
59 | #define raw_local_save_flags_ptr(x) \ | 60 | #define raw_local_save_flags_ptr(x) \ |
60 | do { \ | 61 | do { \ |
diff --git a/arch/blackfin/include/asm/kgdb.h b/arch/blackfin/include/asm/kgdb.h index c8b256d2ea30..8651afe12990 100644 --- a/arch/blackfin/include/asm/kgdb.h +++ b/arch/blackfin/include/asm/kgdb.h | |||
@@ -10,9 +10,6 @@ | |||
10 | 10 | ||
11 | #include <linux/ptrace.h> | 11 | #include <linux/ptrace.h> |
12 | 12 | ||
13 | /* gdb locks */ | ||
14 | #define KGDB_MAX_NO_CPUS 8 | ||
15 | |||
16 | /* | 13 | /* |
17 | * BUFMAX defines the maximum number of characters in inbound/outbound buffers. | 14 | * BUFMAX defines the maximum number of characters in inbound/outbound buffers. |
18 | * At least NUMREGBYTES*2 are needed for register packets. | 15 | * At least NUMREGBYTES*2 are needed for register packets. |
diff --git a/arch/blackfin/include/asm/mem_init.h b/arch/blackfin/include/asm/mem_init.h index 4179e329b9c9..7c8fe834ff22 100644 --- a/arch/blackfin/include/asm/mem_init.h +++ b/arch/blackfin/include/asm/mem_init.h | |||
@@ -295,156 +295,3 @@ | |||
295 | #else | 295 | #else |
296 | #define PLL_BYPASS 0 | 296 | #define PLL_BYPASS 0 |
297 | #endif | 297 | #endif |
298 | |||
299 | /***************************************Currently Not Being Used *********************************/ | ||
300 | |||
301 | #if defined(CONFIG_FLASH_SPEED_BWAT) && \ | ||
302 | defined(CONFIG_FLASH_SPEED_BRAT) && \ | ||
303 | defined(CONFIG_FLASH_SPEED_BHT) && \ | ||
304 | defined(CONFIG_FLASH_SPEED_BST) && \ | ||
305 | defined(CONFIG_FLASH_SPEED_BTT) | ||
306 | |||
307 | #define flash_EBIU_AMBCTL_WAT ((CONFIG_FLASH_SPEED_BWAT * 4) / (4000000000 / CONFIG_SCLK_HZ)) + 1 | ||
308 | #define flash_EBIU_AMBCTL_RAT ((CONFIG_FLASH_SPEED_BRAT * 4) / (4000000000 / CONFIG_SCLK_HZ)) + 1 | ||
309 | #define flash_EBIU_AMBCTL_HT ((CONFIG_FLASH_SPEED_BHT * 4) / (4000000000 / CONFIG_SCLK_HZ)) | ||
310 | #define flash_EBIU_AMBCTL_ST ((CONFIG_FLASH_SPEED_BST * 4) / (4000000000 / CONFIG_SCLK_HZ)) + 1 | ||
311 | #define flash_EBIU_AMBCTL_TT ((CONFIG_FLASH_SPEED_BTT * 4) / (4000000000 / CONFIG_SCLK_HZ)) + 1 | ||
312 | |||
313 | #if (flash_EBIU_AMBCTL_TT > 3) | ||
314 | #define flash_EBIU_AMBCTL0_TT B0TT_4 | ||
315 | #endif | ||
316 | #if (flash_EBIU_AMBCTL_TT == 3) | ||
317 | #define flash_EBIU_AMBCTL0_TT B0TT_3 | ||
318 | #endif | ||
319 | #if (flash_EBIU_AMBCTL_TT == 2) | ||
320 | #define flash_EBIU_AMBCTL0_TT B0TT_2 | ||
321 | #endif | ||
322 | #if (flash_EBIU_AMBCTL_TT < 2) | ||
323 | #define flash_EBIU_AMBCTL0_TT B0TT_1 | ||
324 | #endif | ||
325 | |||
326 | #if (flash_EBIU_AMBCTL_ST > 3) | ||
327 | #define flash_EBIU_AMBCTL0_ST B0ST_4 | ||
328 | #endif | ||
329 | #if (flash_EBIU_AMBCTL_ST == 3) | ||
330 | #define flash_EBIU_AMBCTL0_ST B0ST_3 | ||
331 | #endif | ||
332 | #if (flash_EBIU_AMBCTL_ST == 2) | ||
333 | #define flash_EBIU_AMBCTL0_ST B0ST_2 | ||
334 | #endif | ||
335 | #if (flash_EBIU_AMBCTL_ST < 2) | ||
336 | #define flash_EBIU_AMBCTL0_ST B0ST_1 | ||
337 | #endif | ||
338 | |||
339 | #if (flash_EBIU_AMBCTL_HT > 2) | ||
340 | #define flash_EBIU_AMBCTL0_HT B0HT_3 | ||
341 | #endif | ||
342 | #if (flash_EBIU_AMBCTL_HT == 2) | ||
343 | #define flash_EBIU_AMBCTL0_HT B0HT_2 | ||
344 | #endif | ||
345 | #if (flash_EBIU_AMBCTL_HT == 1) | ||
346 | #define flash_EBIU_AMBCTL0_HT B0HT_1 | ||
347 | #endif | ||
348 | #if (flash_EBIU_AMBCTL_HT == 0 && CONFIG_FLASH_SPEED_BHT == 0) | ||
349 | #define flash_EBIU_AMBCTL0_HT B0HT_0 | ||
350 | #endif | ||
351 | #if (flash_EBIU_AMBCTL_HT == 0 && CONFIG_FLASH_SPEED_BHT != 0) | ||
352 | #define flash_EBIU_AMBCTL0_HT B0HT_1 | ||
353 | #endif | ||
354 | |||
355 | #if (flash_EBIU_AMBCTL_WAT > 14) | ||
356 | #define flash_EBIU_AMBCTL0_WAT B0WAT_15 | ||
357 | #endif | ||
358 | #if (flash_EBIU_AMBCTL_WAT == 14) | ||
359 | #define flash_EBIU_AMBCTL0_WAT B0WAT_14 | ||
360 | #endif | ||
361 | #if (flash_EBIU_AMBCTL_WAT == 13) | ||
362 | #define flash_EBIU_AMBCTL0_WAT B0WAT_13 | ||
363 | #endif | ||
364 | #if (flash_EBIU_AMBCTL_WAT == 12) | ||
365 | #define flash_EBIU_AMBCTL0_WAT B0WAT_12 | ||
366 | #endif | ||
367 | #if (flash_EBIU_AMBCTL_WAT == 11) | ||
368 | #define flash_EBIU_AMBCTL0_WAT B0WAT_11 | ||
369 | #endif | ||
370 | #if (flash_EBIU_AMBCTL_WAT == 10) | ||
371 | #define flash_EBIU_AMBCTL0_WAT B0WAT_10 | ||
372 | #endif | ||
373 | #if (flash_EBIU_AMBCTL_WAT == 9) | ||
374 | #define flash_EBIU_AMBCTL0_WAT B0WAT_9 | ||
375 | #endif | ||
376 | #if (flash_EBIU_AMBCTL_WAT == 8) | ||
377 | #define flash_EBIU_AMBCTL0_WAT B0WAT_8 | ||
378 | #endif | ||
379 | #if (flash_EBIU_AMBCTL_WAT == 7) | ||
380 | #define flash_EBIU_AMBCTL0_WAT B0WAT_7 | ||
381 | #endif | ||
382 | #if (flash_EBIU_AMBCTL_WAT == 6) | ||
383 | #define flash_EBIU_AMBCTL0_WAT B0WAT_6 | ||
384 | #endif | ||
385 | #if (flash_EBIU_AMBCTL_WAT == 5) | ||
386 | #define flash_EBIU_AMBCTL0_WAT B0WAT_5 | ||
387 | #endif | ||
388 | #if (flash_EBIU_AMBCTL_WAT == 4) | ||
389 | #define flash_EBIU_AMBCTL0_WAT B0WAT_4 | ||
390 | #endif | ||
391 | #if (flash_EBIU_AMBCTL_WAT == 3) | ||
392 | #define flash_EBIU_AMBCTL0_WAT B0WAT_3 | ||
393 | #endif | ||
394 | #if (flash_EBIU_AMBCTL_WAT == 2) | ||
395 | #define flash_EBIU_AMBCTL0_WAT B0WAT_2 | ||
396 | #endif | ||
397 | #if (flash_EBIU_AMBCTL_WAT == 1) | ||
398 | #define flash_EBIU_AMBCTL0_WAT B0WAT_1 | ||
399 | #endif | ||
400 | |||
401 | #if (flash_EBIU_AMBCTL_RAT > 14) | ||
402 | #define flash_EBIU_AMBCTL0_RAT B0RAT_15 | ||
403 | #endif | ||
404 | #if (flash_EBIU_AMBCTL_RAT == 14) | ||
405 | #define flash_EBIU_AMBCTL0_RAT B0RAT_14 | ||
406 | #endif | ||
407 | #if (flash_EBIU_AMBCTL_RAT == 13) | ||
408 | #define flash_EBIU_AMBCTL0_RAT B0RAT_13 | ||
409 | #endif | ||
410 | #if (flash_EBIU_AMBCTL_RAT == 12) | ||
411 | #define flash_EBIU_AMBCTL0_RAT B0RAT_12 | ||
412 | #endif | ||
413 | #if (flash_EBIU_AMBCTL_RAT == 11) | ||
414 | #define flash_EBIU_AMBCTL0_RAT B0RAT_11 | ||
415 | #endif | ||
416 | #if (flash_EBIU_AMBCTL_RAT == 10) | ||
417 | #define flash_EBIU_AMBCTL0_RAT B0RAT_10 | ||
418 | #endif | ||
419 | #if (flash_EBIU_AMBCTL_RAT == 9) | ||
420 | #define flash_EBIU_AMBCTL0_RAT B0RAT_9 | ||
421 | #endif | ||
422 | #if (flash_EBIU_AMBCTL_RAT == 8) | ||
423 | #define flash_EBIU_AMBCTL0_RAT B0RAT_8 | ||
424 | #endif | ||
425 | #if (flash_EBIU_AMBCTL_RAT == 7) | ||
426 | #define flash_EBIU_AMBCTL0_RAT B0RAT_7 | ||
427 | #endif | ||
428 | #if (flash_EBIU_AMBCTL_RAT == 6) | ||
429 | #define flash_EBIU_AMBCTL0_RAT B0RAT_6 | ||
430 | #endif | ||
431 | #if (flash_EBIU_AMBCTL_RAT == 5) | ||
432 | #define flash_EBIU_AMBCTL0_RAT B0RAT_5 | ||
433 | #endif | ||
434 | #if (flash_EBIU_AMBCTL_RAT == 4) | ||
435 | #define flash_EBIU_AMBCTL0_RAT B0RAT_4 | ||
436 | #endif | ||
437 | #if (flash_EBIU_AMBCTL_RAT == 3) | ||
438 | #define flash_EBIU_AMBCTL0_RAT B0RAT_3 | ||
439 | #endif | ||
440 | #if (flash_EBIU_AMBCTL_RAT == 2) | ||
441 | #define flash_EBIU_AMBCTL0_RAT B0RAT_2 | ||
442 | #endif | ||
443 | #if (flash_EBIU_AMBCTL_RAT == 1) | ||
444 | #define flash_EBIU_AMBCTL0_RAT B0RAT_1 | ||
445 | #endif | ||
446 | |||
447 | #define flash_EBIU_AMBCTL0 \ | ||
448 | (flash_EBIU_AMBCTL0_WAT | flash_EBIU_AMBCTL0_RAT | flash_EBIU_AMBCTL0_HT | \ | ||
449 | flash_EBIU_AMBCTL0_ST | flash_EBIU_AMBCTL0_TT | CONFIG_FLASH_SPEED_RDYEN) | ||
450 | #endif | ||
diff --git a/arch/blackfin/include/asm/mmu_context.h b/arch/blackfin/include/asm/mmu_context.h index 4a3be376ad5b..ae8ef4ffd806 100644 --- a/arch/blackfin/include/asm/mmu_context.h +++ b/arch/blackfin/include/asm/mmu_context.h | |||
@@ -66,8 +66,8 @@ activate_l1stack(struct mm_struct *mm, unsigned long sp_base) | |||
66 | 66 | ||
67 | #define activate_mm(prev, next) switch_mm(prev, next, NULL) | 67 | #define activate_mm(prev, next) switch_mm(prev, next, NULL) |
68 | 68 | ||
69 | static inline void switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, | 69 | static inline void __switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, |
70 | struct task_struct *tsk) | 70 | struct task_struct *tsk) |
71 | { | 71 | { |
72 | #ifdef CONFIG_MPU | 72 | #ifdef CONFIG_MPU |
73 | unsigned int cpu = smp_processor_id(); | 73 | unsigned int cpu = smp_processor_id(); |
@@ -95,7 +95,24 @@ static inline void switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_m | |||
95 | #endif | 95 | #endif |
96 | } | 96 | } |
97 | 97 | ||
98 | #ifdef CONFIG_IPIPE | ||
99 | #define lock_mm_switch(flags) local_irq_save_hw_cond(flags) | ||
100 | #define unlock_mm_switch(flags) local_irq_restore_hw_cond(flags) | ||
101 | #else | ||
102 | #define lock_mm_switch(flags) do { (void)(flags); } while (0) | ||
103 | #define unlock_mm_switch(flags) do { (void)(flags); } while (0) | ||
104 | #endif /* CONFIG_IPIPE */ | ||
105 | |||
98 | #ifdef CONFIG_MPU | 106 | #ifdef CONFIG_MPU |
107 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | ||
108 | struct task_struct *tsk) | ||
109 | { | ||
110 | unsigned long flags; | ||
111 | lock_mm_switch(flags); | ||
112 | __switch_mm(prev, next, tsk); | ||
113 | unlock_mm_switch(flags); | ||
114 | } | ||
115 | |||
99 | static inline void protect_page(struct mm_struct *mm, unsigned long addr, | 116 | static inline void protect_page(struct mm_struct *mm, unsigned long addr, |
100 | unsigned long flags) | 117 | unsigned long flags) |
101 | { | 118 | { |
@@ -128,6 +145,12 @@ static inline void update_protections(struct mm_struct *mm) | |||
128 | set_mask_dcplbs(mm->context.page_rwx_mask, cpu); | 145 | set_mask_dcplbs(mm->context.page_rwx_mask, cpu); |
129 | } | 146 | } |
130 | } | 147 | } |
148 | #else /* !CONFIG_MPU */ | ||
149 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | ||
150 | struct task_struct *tsk) | ||
151 | { | ||
152 | __switch_mm(prev, next, tsk); | ||
153 | } | ||
131 | #endif | 154 | #endif |
132 | 155 | ||
133 | static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) | 156 | static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) |
@@ -173,4 +196,10 @@ static inline void destroy_context(struct mm_struct *mm) | |||
173 | #endif | 196 | #endif |
174 | } | 197 | } |
175 | 198 | ||
199 | #define ipipe_mm_switch_protect(flags) \ | ||
200 | local_irq_save_hw_cond(flags) | ||
201 | |||
202 | #define ipipe_mm_switch_unprotect(flags) \ | ||
203 | local_irq_restore_hw_cond(flags) | ||
204 | |||
176 | #endif | 205 | #endif |
diff --git a/arch/blackfin/include/asm/module.h b/arch/blackfin/include/asm/module.h index 9c1cfffddd9b..4282b169ead9 100644 --- a/arch/blackfin/include/asm/module.h +++ b/arch/blackfin/include/asm/module.h | |||
@@ -7,8 +7,6 @@ | |||
7 | #ifndef _ASM_BFIN_MODULE_H | 7 | #ifndef _ASM_BFIN_MODULE_H |
8 | #define _ASM_BFIN_MODULE_H | 8 | #define _ASM_BFIN_MODULE_H |
9 | 9 | ||
10 | #define MODULE_SYMBOL_PREFIX "_" | ||
11 | |||
12 | #define Elf_Shdr Elf32_Shdr | 10 | #define Elf_Shdr Elf32_Shdr |
13 | #define Elf_Sym Elf32_Sym | 11 | #define Elf_Sym Elf32_Sym |
14 | #define Elf_Ehdr Elf32_Ehdr | 12 | #define Elf_Ehdr Elf32_Ehdr |
diff --git a/arch/blackfin/include/asm/pci.h b/arch/blackfin/include/asm/pci.h index 61277358c865..99cae2e3bac7 100644 --- a/arch/blackfin/include/asm/pci.h +++ b/arch/blackfin/include/asm/pci.h | |||
@@ -4,145 +4,19 @@ | |||
4 | #define _ASM_BFIN_PCI_H | 4 | #define _ASM_BFIN_PCI_H |
5 | 5 | ||
6 | #include <asm/scatterlist.h> | 6 | #include <asm/scatterlist.h> |
7 | #include <asm-generic/pci-dma-compat.h> | ||
8 | #include <asm-generic/pci.h> | ||
7 | 9 | ||
8 | /* | ||
9 | * | ||
10 | * Written by Wout Klaren. | ||
11 | */ | ||
12 | |||
13 | /* Added by Chang Junxiao */ | ||
14 | #define PCIBIOS_MIN_IO 0x00001000 | 10 | #define PCIBIOS_MIN_IO 0x00001000 |
15 | #define PCIBIOS_MIN_MEM 0x10000000 | 11 | #define PCIBIOS_MIN_MEM 0x10000000 |
16 | 12 | ||
17 | #define PCI_DMA_BUS_IS_PHYS (1) | ||
18 | struct pci_ops; | ||
19 | |||
20 | /* | ||
21 | * Structure with hardware dependent information and functions of the | ||
22 | * PCI bus. | ||
23 | */ | ||
24 | struct pci_bus_info { | ||
25 | |||
26 | /* | ||
27 | * Resources of the PCI bus. | ||
28 | */ | ||
29 | struct resource mem_space; | ||
30 | struct resource io_space; | ||
31 | |||
32 | /* | ||
33 | * System dependent functions. | ||
34 | */ | ||
35 | struct pci_ops *bfin_pci_ops; | ||
36 | void (*fixup) (int pci_modify); | ||
37 | void (*conf_device) (unsigned char bus, unsigned char device_fn); | ||
38 | }; | ||
39 | |||
40 | #define pcibios_assign_all_busses() 0 | ||
41 | static inline void pcibios_set_master(struct pci_dev *dev) | 13 | static inline void pcibios_set_master(struct pci_dev *dev) |
42 | { | 14 | { |
43 | |||
44 | /* No special bus mastering setup handling */ | 15 | /* No special bus mastering setup handling */ |
45 | } | 16 | } |
46 | static inline void pcibios_penalize_isa_irq(int irq) | 17 | static inline void pcibios_penalize_isa_irq(int irq) |
47 | { | 18 | { |
48 | |||
49 | /* We don't do dynamic PCI IRQ allocation */ | 19 | /* We don't do dynamic PCI IRQ allocation */ |
50 | } | 20 | } |
51 | static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, | ||
52 | size_t size, int direction) | ||
53 | { | ||
54 | if (direction == PCI_DMA_NONE) | ||
55 | BUG(); | ||
56 | |||
57 | /* return virt_to_bus(ptr); */ | ||
58 | return (dma_addr_t) ptr; | ||
59 | } | ||
60 | |||
61 | /* Unmap a single streaming mode DMA translation. The dma_addr and size | ||
62 | * must match what was provided for in a previous pci_map_single call. All | ||
63 | * other usages are undefined. | ||
64 | * | ||
65 | * After this call, reads by the cpu to the buffer are guarenteed to see | ||
66 | * whatever the device wrote there. | ||
67 | */ | ||
68 | static inline void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, | ||
69 | size_t size, int direction) | ||
70 | { | ||
71 | if (direction == PCI_DMA_NONE) | ||
72 | BUG(); | ||
73 | |||
74 | /* Nothing to do */ | ||
75 | } | ||
76 | |||
77 | /* Map a set of buffers described by scatterlist in streaming | ||
78 | * mode for DMA. This is the scather-gather version of the | ||
79 | * above pci_map_single interface. Here the scatter gather list | ||
80 | * elements are each tagged with the appropriate dma address | ||
81 | * and length. They are obtained via sg_dma_{address,length}(SG). | ||
82 | * | ||
83 | * NOTE: An implementation may be able to use a smaller number of | ||
84 | * DMA address/length pairs than there are SG table elements. | ||
85 | * (for example via virtual mapping capabilities) | ||
86 | * The routine returns the number of addr/length pairs actually | ||
87 | * used, at most nents. | ||
88 | * | ||
89 | * Device ownership issues as mentioned above for pci_map_single are | ||
90 | * the same here. | ||
91 | */ | ||
92 | static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, | ||
93 | int nents, int direction) | ||
94 | { | ||
95 | if (direction == PCI_DMA_NONE) | ||
96 | BUG(); | ||
97 | return nents; | ||
98 | } | ||
99 | |||
100 | /* Unmap a set of streaming mode DMA translations. | ||
101 | * Again, cpu read rules concerning calls here are the same as for | ||
102 | * pci_unmap_single() above. | ||
103 | */ | ||
104 | static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, | ||
105 | int nents, int direction) | ||
106 | { | ||
107 | if (direction == PCI_DMA_NONE) | ||
108 | BUG(); | ||
109 | |||
110 | /* Nothing to do */ | ||
111 | } | ||
112 | |||
113 | /* Make physical memory consistent for a single | ||
114 | * streaming mode DMA translation after a transfer. | ||
115 | * | ||
116 | * If you perform a pci_map_single() but wish to interrogate the | ||
117 | * buffer using the cpu, yet do not wish to teardown the PCI dma | ||
118 | * mapping, you must call this function before doing so. At the | ||
119 | * next point you give the PCI dma address back to the card, the | ||
120 | * device again owns the buffer. | ||
121 | */ | ||
122 | static inline void pci_dma_sync_single(struct pci_dev *hwdev, | ||
123 | dma_addr_t dma_handle, size_t size, | ||
124 | int direction) | ||
125 | { | ||
126 | if (direction == PCI_DMA_NONE) | ||
127 | BUG(); | ||
128 | |||
129 | /* Nothing to do */ | ||
130 | } | ||
131 | |||
132 | /* Make physical memory consistent for a set of streaming | ||
133 | * mode DMA translations after a transfer. | ||
134 | * | ||
135 | * The same as pci_dma_sync_single but for a scatter-gather list, | ||
136 | * same rules and usage. | ||
137 | */ | ||
138 | static inline void pci_dma_sync_sg(struct pci_dev *hwdev, | ||
139 | struct scatterlist *sg, int nelems, | ||
140 | int direction) | ||
141 | { | ||
142 | if (direction == PCI_DMA_NONE) | ||
143 | BUG(); | ||
144 | |||
145 | /* Nothing to do */ | ||
146 | } | ||
147 | 21 | ||
148 | #endif /* _ASM_BFIN_PCI_H */ | 22 | #endif /* _ASM_BFIN_PCI_H */ |
diff --git a/arch/blackfin/include/asm/ptrace.h b/arch/blackfin/include/asm/ptrace.h index 27290c955a7a..b33a4488f498 100644 --- a/arch/blackfin/include/asm/ptrace.h +++ b/arch/blackfin/include/asm/ptrace.h | |||
@@ -89,9 +89,9 @@ struct pt_regs { | |||
89 | #define PTRACE_GETREGS 12 | 89 | #define PTRACE_GETREGS 12 |
90 | #define PTRACE_SETREGS 13 /* ptrace signal */ | 90 | #define PTRACE_SETREGS 13 /* ptrace signal */ |
91 | 91 | ||
92 | #define PTRACE_GETFDPIC 31 | 92 | #define PTRACE_GETFDPIC 31 /* get the ELF fdpic loadmap address */ |
93 | #define PTRACE_GETFDPIC_EXEC 0 | 93 | #define PTRACE_GETFDPIC_EXEC 0 /* [addr] request the executable loadmap */ |
94 | #define PTRACE_GETFDPIC_INTERP 1 | 94 | #define PTRACE_GETFDPIC_INTERP 1 /* [addr] request the interpreter loadmap */ |
95 | 95 | ||
96 | #define PS_S (0x0002) | 96 | #define PS_S (0x0002) |
97 | 97 | ||
diff --git a/arch/blackfin/include/asm/sections.h b/arch/blackfin/include/asm/sections.h index 1f5381fbb4a7..42f6c53c59c6 100644 --- a/arch/blackfin/include/asm/sections.h +++ b/arch/blackfin/include/asm/sections.h | |||
@@ -13,10 +13,18 @@ extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; | |||
13 | extern unsigned long _ramstart, _ramend, _rambase; | 13 | extern unsigned long _ramstart, _ramend, _rambase; |
14 | extern unsigned long memory_start, memory_end, physical_mem_end; | 14 | extern unsigned long memory_start, memory_end, physical_mem_end; |
15 | 15 | ||
16 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | 16 | /* |
17 | _ebss_l1[], _l1_lma_start[], _sdata_b_l1[], _sbss_b_l1[], _ebss_b_l1[], | 17 | * The weak markings on the lengths might seem weird, but this is required |
18 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], | 18 | * in order to make gcc accept the fact that these may actually have a value |
19 | _ebss_l2[], _l2_lma_start[]; | 19 | * of 0 (since they aren't actually addresses, but sizes of sections). |
20 | */ | ||
21 | extern char _stext_l1[], _etext_l1[], _text_l1_lma[], __weak _text_l1_len[]; | ||
22 | extern char _sdata_l1[], _edata_l1[], _sbss_l1[], _ebss_l1[], | ||
23 | _data_l1_lma[], __weak _data_l1_len[]; | ||
24 | extern char _sdata_b_l1[], _edata_b_l1[], _sbss_b_l1[], _ebss_b_l1[], | ||
25 | _data_b_l1_lma[], __weak _data_b_l1_len[]; | ||
26 | extern char _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], | ||
27 | _sbss_l2[], _ebss_l2[], _l2_lma[], __weak _l2_len[]; | ||
20 | 28 | ||
21 | #include <asm/mem_map.h> | 29 | #include <asm/mem_map.h> |
22 | 30 | ||
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h index afb3a8626380..a40d9368c38a 100644 --- a/arch/blackfin/include/asm/thread_info.h +++ b/arch/blackfin/include/asm/thread_info.h | |||
@@ -103,11 +103,13 @@ static inline struct thread_info *current_thread_info(void) | |||
103 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ | 103 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ |
104 | #define TIF_FREEZE 6 /* is freezing for suspend */ | 104 | #define TIF_FREEZE 6 /* is freezing for suspend */ |
105 | #define TIF_IRQ_SYNC 7 /* sync pipeline stage */ | 105 | #define TIF_IRQ_SYNC 7 /* sync pipeline stage */ |
106 | #define TIF_NOTIFY_RESUME 8 /* callback before returning to user */ | ||
106 | 107 | ||
107 | /* as above, but as bit values */ | 108 | /* as above, but as bit values */ |
108 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 109 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
109 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 110 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
110 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) | 111 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
112 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) | ||
111 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 113 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
112 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) | 114 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) |
113 | #define _TIF_FREEZE (1<<TIF_FREEZE) | 115 | #define _TIF_FREEZE (1<<TIF_FREEZE) |
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h index 609ad3c84189..dc0aa55ae773 100644 --- a/arch/blackfin/include/asm/trace.h +++ b/arch/blackfin/include/asm/trace.h | |||
@@ -28,6 +28,8 @@ extern unsigned long software_trace_buff[]; | |||
28 | 28 | ||
29 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | 29 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
30 | 30 | ||
31 | #define trace_buffer_init() bfin_write_TBUFCTL(BFIN_TRACE_INIT) | ||
32 | |||
31 | #define trace_buffer_save(x) \ | 33 | #define trace_buffer_save(x) \ |
32 | do { \ | 34 | do { \ |
33 | (x) = bfin_read_TBUFCTL(); \ | 35 | (x) = bfin_read_TBUFCTL(); \ |
diff --git a/arch/blackfin/include/asm/uaccess.h b/arch/blackfin/include/asm/uaccess.h index c03b8532aad3..1c0d190adaef 100644 --- a/arch/blackfin/include/asm/uaccess.h +++ b/arch/blackfin/include/asm/uaccess.h | |||
@@ -17,9 +17,7 @@ | |||
17 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | 18 | ||
19 | #include <asm/segment.h> | 19 | #include <asm/segment.h> |
20 | #ifdef CONFIG_ACCESS_CHECK | 20 | #include <asm/sections.h> |
21 | # include <asm/bfin-global.h> | ||
22 | #endif | ||
23 | 21 | ||
24 | #define get_ds() (KERNEL_DS) | 22 | #define get_ds() (KERNEL_DS) |
25 | #define get_fs() (current_thread_info()->addr_limit) | 23 | #define get_fs() (current_thread_info()->addr_limit) |
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h index 779be02a910a..22886cbdae7a 100644 --- a/arch/blackfin/include/asm/unistd.h +++ b/arch/blackfin/include/asm/unistd.h | |||
@@ -388,8 +388,9 @@ | |||
388 | #define __NR_pwritev 367 | 388 | #define __NR_pwritev 367 |
389 | #define __NR_rt_tgsigqueueinfo 368 | 389 | #define __NR_rt_tgsigqueueinfo 368 |
390 | #define __NR_perf_event_open 369 | 390 | #define __NR_perf_event_open 369 |
391 | #define __NR_recvmmsg 370 | ||
391 | 392 | ||
392 | #define __NR_syscall 370 | 393 | #define __NR_syscall 371 |
393 | #define NR_syscalls __NR_syscall | 394 | #define NR_syscalls __NR_syscall |
394 | 395 | ||
395 | /* Old optional stuff no one actually uses */ | 396 | /* Old optional stuff no one actually uses */ |
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 3946aff4f414..924c00286bab 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -37,9 +37,8 @@ static int __init blackfin_dma_init(void) | |||
37 | printk(KERN_INFO "Blackfin DMA Controller\n"); | 37 | printk(KERN_INFO "Blackfin DMA Controller\n"); |
38 | 38 | ||
39 | for (i = 0; i < MAX_DMA_CHANNELS; i++) { | 39 | for (i = 0; i < MAX_DMA_CHANNELS; i++) { |
40 | dma_ch[i].chan_status = DMA_CHANNEL_FREE; | 40 | atomic_set(&dma_ch[i].chan_status, 0); |
41 | dma_ch[i].regs = dma_io_base_addr[i]; | 41 | dma_ch[i].regs = dma_io_base_addr[i]; |
42 | mutex_init(&(dma_ch[i].dmalock)); | ||
43 | } | 42 | } |
44 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ | 43 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ |
45 | request_dma(CH_MEM_STREAM0_DEST, "Blackfin dma_memcpy"); | 44 | request_dma(CH_MEM_STREAM0_DEST, "Blackfin dma_memcpy"); |
@@ -60,7 +59,7 @@ static int proc_dma_show(struct seq_file *m, void *v) | |||
60 | int i; | 59 | int i; |
61 | 60 | ||
62 | for (i = 0; i < MAX_DMA_CHANNELS; ++i) | 61 | for (i = 0; i < MAX_DMA_CHANNELS; ++i) |
63 | if (dma_ch[i].chan_status != DMA_CHANNEL_FREE) | 62 | if (dma_channel_active(i)) |
64 | seq_printf(m, "%2d: %s\n", i, dma_ch[i].device_id); | 63 | seq_printf(m, "%2d: %s\n", i, dma_ch[i].device_id); |
65 | 64 | ||
66 | return 0; | 65 | return 0; |
@@ -107,20 +106,11 @@ int request_dma(unsigned int channel, const char *device_id) | |||
107 | } | 106 | } |
108 | #endif | 107 | #endif |
109 | 108 | ||
110 | mutex_lock(&(dma_ch[channel].dmalock)); | 109 | if (atomic_cmpxchg(&dma_ch[channel].chan_status, 0, 1)) { |
111 | |||
112 | if ((dma_ch[channel].chan_status == DMA_CHANNEL_REQUESTED) | ||
113 | || (dma_ch[channel].chan_status == DMA_CHANNEL_ENABLED)) { | ||
114 | mutex_unlock(&(dma_ch[channel].dmalock)); | ||
115 | pr_debug("DMA CHANNEL IN USE \n"); | 110 | pr_debug("DMA CHANNEL IN USE \n"); |
116 | return -EBUSY; | 111 | return -EBUSY; |
117 | } else { | ||
118 | dma_ch[channel].chan_status = DMA_CHANNEL_REQUESTED; | ||
119 | pr_debug("DMA CHANNEL IS ALLOCATED \n"); | ||
120 | } | 112 | } |
121 | 113 | ||
122 | mutex_unlock(&(dma_ch[channel].dmalock)); | ||
123 | |||
124 | #ifdef CONFIG_BF54x | 114 | #ifdef CONFIG_BF54x |
125 | if (channel >= CH_UART2_RX && channel <= CH_UART3_TX) { | 115 | if (channel >= CH_UART2_RX && channel <= CH_UART3_TX) { |
126 | unsigned int per_map; | 116 | unsigned int per_map; |
@@ -148,21 +138,20 @@ EXPORT_SYMBOL(request_dma); | |||
148 | 138 | ||
149 | int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data) | 139 | int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data) |
150 | { | 140 | { |
151 | BUG_ON(channel >= MAX_DMA_CHANNELS || | 141 | int ret; |
152 | dma_ch[channel].chan_status == DMA_CHANNEL_FREE); | 142 | unsigned int irq; |
153 | 143 | ||
154 | if (callback != NULL) { | 144 | BUG_ON(channel >= MAX_DMA_CHANNELS || !callback || |
155 | int ret; | 145 | !atomic_read(&dma_ch[channel].chan_status)); |
156 | unsigned int irq = channel2irq(channel); | ||
157 | 146 | ||
158 | ret = request_irq(irq, callback, IRQF_DISABLED, | 147 | irq = channel2irq(channel); |
159 | dma_ch[channel].device_id, data); | 148 | ret = request_irq(irq, callback, 0, dma_ch[channel].device_id, data); |
160 | if (ret) | 149 | if (ret) |
161 | return ret; | 150 | return ret; |
151 | |||
152 | dma_ch[channel].irq = irq; | ||
153 | dma_ch[channel].data = data; | ||
162 | 154 | ||
163 | dma_ch[channel].irq = irq; | ||
164 | dma_ch[channel].data = data; | ||
165 | } | ||
166 | return 0; | 155 | return 0; |
167 | } | 156 | } |
168 | EXPORT_SYMBOL(set_dma_callback); | 157 | EXPORT_SYMBOL(set_dma_callback); |
@@ -184,7 +173,7 @@ void free_dma(unsigned int channel) | |||
184 | { | 173 | { |
185 | pr_debug("freedma() : BEGIN \n"); | 174 | pr_debug("freedma() : BEGIN \n"); |
186 | BUG_ON(channel >= MAX_DMA_CHANNELS || | 175 | BUG_ON(channel >= MAX_DMA_CHANNELS || |
187 | dma_ch[channel].chan_status == DMA_CHANNEL_FREE); | 176 | !atomic_read(&dma_ch[channel].chan_status)); |
188 | 177 | ||
189 | /* Halt the DMA */ | 178 | /* Halt the DMA */ |
190 | disable_dma(channel); | 179 | disable_dma(channel); |
@@ -194,9 +183,7 @@ void free_dma(unsigned int channel) | |||
194 | free_irq(dma_ch[channel].irq, dma_ch[channel].data); | 183 | free_irq(dma_ch[channel].irq, dma_ch[channel].data); |
195 | 184 | ||
196 | /* Clear the DMA Variable in the Channel */ | 185 | /* Clear the DMA Variable in the Channel */ |
197 | mutex_lock(&(dma_ch[channel].dmalock)); | 186 | atomic_set(&dma_ch[channel].chan_status, 0); |
198 | dma_ch[channel].chan_status = DMA_CHANNEL_FREE; | ||
199 | mutex_unlock(&(dma_ch[channel].dmalock)); | ||
200 | 187 | ||
201 | pr_debug("freedma() : END \n"); | 188 | pr_debug("freedma() : END \n"); |
202 | } | 189 | } |
@@ -210,13 +197,14 @@ int blackfin_dma_suspend(void) | |||
210 | { | 197 | { |
211 | int i; | 198 | int i; |
212 | 199 | ||
213 | for (i = 0; i < MAX_DMA_SUSPEND_CHANNELS; ++i) { | 200 | for (i = 0; i < MAX_DMA_CHANNELS; ++i) { |
214 | if (dma_ch[i].chan_status == DMA_CHANNEL_ENABLED) { | 201 | if (dma_ch[i].regs->cfg & DMAEN) { |
215 | printk(KERN_ERR "DMA Channel %d failed to suspend\n", i); | 202 | printk(KERN_ERR "DMA Channel %d failed to suspend\n", i); |
216 | return -EBUSY; | 203 | return -EBUSY; |
217 | } | 204 | } |
218 | 205 | ||
219 | dma_ch[i].saved_peripheral_map = dma_ch[i].regs->peripheral_map; | 206 | if (i < MAX_DMA_SUSPEND_CHANNELS) |
207 | dma_ch[i].saved_peripheral_map = dma_ch[i].regs->peripheral_map; | ||
220 | } | 208 | } |
221 | 209 | ||
222 | return 0; | 210 | return 0; |
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index 22705eeff34f..a174596cc009 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
@@ -100,6 +100,12 @@ u8 pmux_offset[][16] = { | |||
100 | }; | 100 | }; |
101 | # endif | 101 | # endif |
102 | 102 | ||
103 | #elif defined(BF538_FAMILY) | ||
104 | static unsigned short * const port_fer[] = { | ||
105 | (unsigned short *) PORTCIO_FER, | ||
106 | (unsigned short *) PORTDIO_FER, | ||
107 | (unsigned short *) PORTEIO_FER, | ||
108 | }; | ||
103 | #endif | 109 | #endif |
104 | 110 | ||
105 | static unsigned short reserved_gpio_map[GPIO_BANK_NUM]; | 111 | static unsigned short reserved_gpio_map[GPIO_BANK_NUM]; |
@@ -163,6 +169,27 @@ static int cmp_label(unsigned short ident, const char *label) | |||
163 | 169 | ||
164 | static void port_setup(unsigned gpio, unsigned short usage) | 170 | static void port_setup(unsigned gpio, unsigned short usage) |
165 | { | 171 | { |
172 | #if defined(BF538_FAMILY) | ||
173 | /* | ||
174 | * BF538/9 Port C,D and E are special. | ||
175 | * Inverted PORT_FER polarity on CDE and no PORF_FER on F | ||
176 | * Regular PORT F GPIOs are handled here, CDE are exclusively | ||
177 | * managed by GPIOLIB | ||
178 | */ | ||
179 | |||
180 | if (gpio < MAX_BLACKFIN_GPIOS || gpio >= MAX_RESOURCES) | ||
181 | return; | ||
182 | |||
183 | gpio -= MAX_BLACKFIN_GPIOS; | ||
184 | |||
185 | if (usage == GPIO_USAGE) | ||
186 | *port_fer[gpio_bank(gpio)] |= gpio_bit(gpio); | ||
187 | else | ||
188 | *port_fer[gpio_bank(gpio)] &= ~gpio_bit(gpio); | ||
189 | SSYNC(); | ||
190 | return; | ||
191 | #endif | ||
192 | |||
166 | if (check_gpio(gpio)) | 193 | if (check_gpio(gpio)) |
167 | return; | 194 | return; |
168 | 195 | ||
@@ -762,6 +789,8 @@ int peripheral_request(unsigned short per, const char *label) | |||
762 | if (!(per & P_DEFINED)) | 789 | if (!(per & P_DEFINED)) |
763 | return -ENODEV; | 790 | return -ENODEV; |
764 | 791 | ||
792 | BUG_ON(ident >= MAX_RESOURCES); | ||
793 | |||
765 | local_irq_save_hw(flags); | 794 | local_irq_save_hw(flags); |
766 | 795 | ||
767 | /* If a pin can be muxed as either GPIO or peripheral, make | 796 | /* If a pin can be muxed as either GPIO or peripheral, make |
@@ -979,6 +1008,76 @@ void bfin_gpio_free(unsigned gpio) | |||
979 | } | 1008 | } |
980 | EXPORT_SYMBOL(bfin_gpio_free); | 1009 | EXPORT_SYMBOL(bfin_gpio_free); |
981 | 1010 | ||
1011 | #ifdef BFIN_SPECIAL_GPIO_BANKS | ||
1012 | static unsigned short reserved_special_gpio_map[gpio_bank(MAX_RESOURCES)]; | ||
1013 | |||
1014 | int bfin_special_gpio_request(unsigned gpio, const char *label) | ||
1015 | { | ||
1016 | unsigned long flags; | ||
1017 | |||
1018 | local_irq_save_hw(flags); | ||
1019 | |||
1020 | /* | ||
1021 | * Allow that the identical GPIO can | ||
1022 | * be requested from the same driver twice | ||
1023 | * Do nothing and return - | ||
1024 | */ | ||
1025 | |||
1026 | if (cmp_label(gpio, label) == 0) { | ||
1027 | local_irq_restore_hw(flags); | ||
1028 | return 0; | ||
1029 | } | ||
1030 | |||
1031 | if (unlikely(reserved_special_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | ||
1032 | local_irq_restore_hw(flags); | ||
1033 | printk(KERN_ERR "bfin-gpio: GPIO %d is already reserved by %s !\n", | ||
1034 | gpio, get_label(gpio)); | ||
1035 | |||
1036 | return -EBUSY; | ||
1037 | } | ||
1038 | if (unlikely(reserved_peri_map[gpio_bank(gpio)] & gpio_bit(gpio))) { | ||
1039 | local_irq_restore_hw(flags); | ||
1040 | printk(KERN_ERR | ||
1041 | "bfin-gpio: GPIO %d is already reserved as Peripheral by %s !\n", | ||
1042 | gpio, get_label(gpio)); | ||
1043 | |||
1044 | return -EBUSY; | ||
1045 | } | ||
1046 | |||
1047 | reserved_special_gpio_map[gpio_bank(gpio)] |= gpio_bit(gpio); | ||
1048 | reserved_peri_map[gpio_bank(gpio)] |= gpio_bit(gpio); | ||
1049 | |||
1050 | set_label(gpio, label); | ||
1051 | local_irq_restore_hw(flags); | ||
1052 | port_setup(gpio, GPIO_USAGE); | ||
1053 | |||
1054 | return 0; | ||
1055 | } | ||
1056 | EXPORT_SYMBOL(bfin_special_gpio_request); | ||
1057 | |||
1058 | void bfin_special_gpio_free(unsigned gpio) | ||
1059 | { | ||
1060 | unsigned long flags; | ||
1061 | |||
1062 | might_sleep(); | ||
1063 | |||
1064 | local_irq_save_hw(flags); | ||
1065 | |||
1066 | if (unlikely(!(reserved_special_gpio_map[gpio_bank(gpio)] & gpio_bit(gpio)))) { | ||
1067 | gpio_error(gpio); | ||
1068 | local_irq_restore_hw(flags); | ||
1069 | return; | ||
1070 | } | ||
1071 | |||
1072 | reserved_special_gpio_map[gpio_bank(gpio)] &= ~gpio_bit(gpio); | ||
1073 | reserved_peri_map[gpio_bank(gpio)] &= ~gpio_bit(gpio); | ||
1074 | set_label(gpio, "free"); | ||
1075 | local_irq_restore_hw(flags); | ||
1076 | } | ||
1077 | EXPORT_SYMBOL(bfin_special_gpio_free); | ||
1078 | #endif | ||
1079 | |||
1080 | |||
982 | int bfin_gpio_irq_request(unsigned gpio, const char *label) | 1081 | int bfin_gpio_irq_request(unsigned gpio, const char *label) |
983 | { | 1082 | { |
984 | unsigned long flags; | 1083 | unsigned long flags; |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c index b52c1f8c4bc0..8d42b9e50dfa 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c | |||
@@ -92,6 +92,6 @@ void __init generate_cplb_tables_cpu(unsigned int cpu) | |||
92 | icplb_tbl[cpu][i_i++].data = 0; | 92 | icplb_tbl[cpu][i_i++].data = 0; |
93 | } | 93 | } |
94 | 94 | ||
95 | void generate_cplb_tables_all(void) | 95 | void __init generate_cplb_tables_all(void) |
96 | { | 96 | { |
97 | } | 97 | } |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c index 69e0e530d70f..930c01c06813 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c | |||
@@ -113,11 +113,11 @@ static noinline int dcplb_miss(unsigned int cpu) | |||
113 | addr = L2_START; | 113 | addr = L2_START; |
114 | d_data = L2_DMEMORY; | 114 | d_data = L2_DMEMORY; |
115 | } else if (addr >= physical_mem_end) { | 115 | } else if (addr >= physical_mem_end) { |
116 | if (addr >= ASYNC_BANK0_BASE && addr < ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE | 116 | if (addr >= ASYNC_BANK0_BASE && addr < ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE) { |
117 | && (status & FAULT_USERSUPV)) { | 117 | addr &= ~(4 * 1024 * 1024 - 1); |
118 | addr &= ~0x3fffff; | ||
119 | d_data &= ~PAGE_SIZE_4KB; | 118 | d_data &= ~PAGE_SIZE_4KB; |
120 | d_data |= PAGE_SIZE_4MB; | 119 | d_data |= PAGE_SIZE_4MB; |
120 | d_data |= CPLB_USER_RD | CPLB_USER_WR; | ||
121 | } else if (addr >= BOOT_ROM_START && addr < BOOT_ROM_START + BOOT_ROM_LENGTH | 121 | } else if (addr >= BOOT_ROM_START && addr < BOOT_ROM_START + BOOT_ROM_LENGTH |
122 | && (status & (FAULT_RW | FAULT_USERSUPV)) == FAULT_USERSUPV) { | 122 | && (status & (FAULT_RW | FAULT_USERSUPV)) == FAULT_USERSUPV) { |
123 | addr &= ~(1 * 1024 * 1024 - 1); | 123 | addr &= ~(1 * 1024 * 1024 - 1); |
@@ -203,7 +203,12 @@ static noinline int icplb_miss(unsigned int cpu) | |||
203 | addr = L2_START; | 203 | addr = L2_START; |
204 | i_data = L2_IMEMORY; | 204 | i_data = L2_IMEMORY; |
205 | } else if (addr >= physical_mem_end) { | 205 | } else if (addr >= physical_mem_end) { |
206 | if (addr >= BOOT_ROM_START && addr < BOOT_ROM_START + BOOT_ROM_LENGTH | 206 | if (addr >= ASYNC_BANK0_BASE && addr < ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE) { |
207 | addr &= ~(4 * 1024 * 1024 - 1); | ||
208 | i_data &= ~PAGE_SIZE_4KB; | ||
209 | i_data |= PAGE_SIZE_4MB; | ||
210 | i_data |= CPLB_USER_RD; | ||
211 | } else if (addr >= BOOT_ROM_START && addr < BOOT_ROM_START + BOOT_ROM_LENGTH | ||
207 | && (status & FAULT_USERSUPV)) { | 212 | && (status & FAULT_USERSUPV)) { |
208 | addr &= ~(1 * 1024 * 1024 - 1); | 213 | addr &= ~(1 * 1024 * 1024 - 1); |
209 | i_data &= ~PAGE_SIZE_4KB; | 214 | i_data &= ~PAGE_SIZE_4KB; |
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index fd9a2f31e686..282a7919821b 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c | |||
@@ -89,15 +89,25 @@ void __init generate_cplb_tables_cpu(unsigned int cpu) | |||
89 | 89 | ||
90 | void __init generate_cplb_tables_all(void) | 90 | void __init generate_cplb_tables_all(void) |
91 | { | 91 | { |
92 | unsigned long uncached_end; | ||
92 | int i_d, i_i; | 93 | int i_d, i_i; |
93 | 94 | ||
94 | i_d = 0; | 95 | i_d = 0; |
95 | /* Normal RAM, including MTD FS. */ | 96 | /* Normal RAM, including MTD FS. */ |
96 | #ifdef CONFIG_MTD_UCLINUX | 97 | #ifdef CONFIG_MTD_UCLINUX |
97 | dcplb_bounds[i_d].eaddr = memory_mtd_start + mtd_size; | 98 | uncached_end = memory_mtd_start + mtd_size; |
98 | #else | 99 | #else |
99 | dcplb_bounds[i_d].eaddr = memory_end; | 100 | uncached_end = memory_end; |
100 | #endif | 101 | #endif |
102 | /* | ||
103 | * if DMA uncached is less than 1MB, mark the 1MB chunk as uncached | ||
104 | * so that we don't have to use 4kB pages and cause CPLB thrashing | ||
105 | */ | ||
106 | if ((DMA_UNCACHED_REGION >= 1 * 1024 * 1024) || !DMA_UNCACHED_REGION || | ||
107 | ((_ramend - uncached_end) >= 1 * 1024 * 1024)) | ||
108 | dcplb_bounds[i_d].eaddr = uncached_end; | ||
109 | else | ||
110 | dcplb_bounds[i_d].eaddr = uncached_end & ~(1 * 1024 * 1024); | ||
101 | dcplb_bounds[i_d++].data = SDRAM_DGENERIC; | 111 | dcplb_bounds[i_d++].data = SDRAM_DGENERIC; |
102 | /* DMA uncached region. */ | 112 | /* DMA uncached region. */ |
103 | if (DMA_UNCACHED_REGION) { | 113 | if (DMA_UNCACHED_REGION) { |
@@ -135,18 +145,15 @@ void __init generate_cplb_tables_all(void) | |||
135 | 145 | ||
136 | i_i = 0; | 146 | i_i = 0; |
137 | /* Normal RAM, including MTD FS. */ | 147 | /* Normal RAM, including MTD FS. */ |
138 | #ifdef CONFIG_MTD_UCLINUX | 148 | icplb_bounds[i_i].eaddr = uncached_end; |
139 | icplb_bounds[i_i].eaddr = memory_mtd_start + mtd_size; | ||
140 | #else | ||
141 | icplb_bounds[i_i].eaddr = memory_end; | ||
142 | #endif | ||
143 | icplb_bounds[i_i++].data = SDRAM_IGENERIC; | 149 | icplb_bounds[i_i++].data = SDRAM_IGENERIC; |
144 | /* DMA uncached region. */ | ||
145 | if (DMA_UNCACHED_REGION) { | ||
146 | icplb_bounds[i_i].eaddr = _ramend; | ||
147 | icplb_bounds[i_i++].data = 0; | ||
148 | } | ||
149 | if (_ramend != physical_mem_end) { | 150 | if (_ramend != physical_mem_end) { |
151 | /* DMA uncached region. */ | ||
152 | if (DMA_UNCACHED_REGION) { | ||
153 | /* Normally this hole is caught by the async below. */ | ||
154 | icplb_bounds[i_i].eaddr = _ramend; | ||
155 | icplb_bounds[i_i++].data = 0; | ||
156 | } | ||
150 | /* Reserved memory. */ | 157 | /* Reserved memory. */ |
151 | icplb_bounds[i_i].eaddr = physical_mem_end; | 158 | icplb_bounds[i_i].eaddr = physical_mem_end; |
152 | icplb_bounds[i_i++].data = (reserved_mem_icache_on ? | 159 | icplb_bounds[i_i++].data = (reserved_mem_icache_on ? |
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index e74e74d7733f..e937f323d82c 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c | |||
@@ -7,30 +7,25 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
10 | #include <linux/mm.h> | 10 | #include <linux/gfp.h> |
11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
12 | #include <linux/bootmem.h> | ||
13 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
14 | #include <linux/device.h> | ||
15 | #include <linux/dma-mapping.h> | 13 | #include <linux/dma-mapping.h> |
16 | #include <linux/io.h> | ||
17 | #include <linux/scatterlist.h> | 14 | #include <linux/scatterlist.h> |
18 | #include <asm/cacheflush.h> | ||
19 | #include <asm/bfin-global.h> | ||
20 | 15 | ||
21 | static spinlock_t dma_page_lock; | 16 | static spinlock_t dma_page_lock; |
22 | static unsigned int *dma_page; | 17 | static unsigned long *dma_page; |
23 | static unsigned int dma_pages; | 18 | static unsigned int dma_pages; |
24 | static unsigned long dma_base; | 19 | static unsigned long dma_base; |
25 | static unsigned long dma_size; | 20 | static unsigned long dma_size; |
26 | static unsigned int dma_initialized; | 21 | static unsigned int dma_initialized; |
27 | 22 | ||
28 | void dma_alloc_init(unsigned long start, unsigned long end) | 23 | static void dma_alloc_init(unsigned long start, unsigned long end) |
29 | { | 24 | { |
30 | spin_lock_init(&dma_page_lock); | 25 | spin_lock_init(&dma_page_lock); |
31 | dma_initialized = 0; | 26 | dma_initialized = 0; |
32 | 27 | ||
33 | dma_page = (unsigned int *)__get_free_page(GFP_KERNEL); | 28 | dma_page = (unsigned long *)__get_free_page(GFP_KERNEL); |
34 | memset(dma_page, 0, PAGE_SIZE); | 29 | memset(dma_page, 0, PAGE_SIZE); |
35 | dma_base = PAGE_ALIGN(start); | 30 | dma_base = PAGE_ALIGN(start); |
36 | dma_size = PAGE_ALIGN(end) - PAGE_ALIGN(start); | 31 | dma_size = PAGE_ALIGN(end) - PAGE_ALIGN(start); |
@@ -58,10 +53,11 @@ static unsigned long __alloc_dma_pages(unsigned int pages) | |||
58 | spin_lock_irqsave(&dma_page_lock, flags); | 53 | spin_lock_irqsave(&dma_page_lock, flags); |
59 | 54 | ||
60 | for (i = 0; i < dma_pages;) { | 55 | for (i = 0; i < dma_pages;) { |
61 | if (dma_page[i++] == 0) { | 56 | if (test_bit(i++, dma_page) == 0) { |
62 | if (++count == pages) { | 57 | if (++count == pages) { |
63 | while (count--) | 58 | while (count--) |
64 | dma_page[--i] = 1; | 59 | __set_bit(--i, dma_page); |
60 | |||
65 | ret = dma_base + (i << PAGE_SHIFT); | 61 | ret = dma_base + (i << PAGE_SHIFT); |
66 | break; | 62 | break; |
67 | } | 63 | } |
@@ -84,14 +80,14 @@ static void __free_dma_pages(unsigned long addr, unsigned int pages) | |||
84 | } | 80 | } |
85 | 81 | ||
86 | spin_lock_irqsave(&dma_page_lock, flags); | 82 | spin_lock_irqsave(&dma_page_lock, flags); |
87 | for (i = page; i < page + pages; i++) { | 83 | for (i = page; i < page + pages; i++) |
88 | dma_page[i] = 0; | 84 | __clear_bit(i, dma_page); |
89 | } | 85 | |
90 | spin_unlock_irqrestore(&dma_page_lock, flags); | 86 | spin_unlock_irqrestore(&dma_page_lock, flags); |
91 | } | 87 | } |
92 | 88 | ||
93 | void *dma_alloc_coherent(struct device *dev, size_t size, | 89 | void *dma_alloc_coherent(struct device *dev, size_t size, |
94 | dma_addr_t * dma_handle, gfp_t gfp) | 90 | dma_addr_t *dma_handle, gfp_t gfp) |
95 | { | 91 | { |
96 | void *ret; | 92 | void *ret; |
97 | 93 | ||
@@ -115,21 +111,14 @@ dma_free_coherent(struct device *dev, size_t size, void *vaddr, | |||
115 | EXPORT_SYMBOL(dma_free_coherent); | 111 | EXPORT_SYMBOL(dma_free_coherent); |
116 | 112 | ||
117 | /* | 113 | /* |
118 | * Dummy functions defined for some existing drivers | 114 | * Streaming DMA mappings |
119 | */ | 115 | */ |
120 | 116 | void __dma_sync(dma_addr_t addr, size_t size, | |
121 | dma_addr_t | 117 | enum dma_data_direction dir) |
122 | dma_map_single(struct device *dev, void *ptr, size_t size, | ||
123 | enum dma_data_direction direction) | ||
124 | { | 118 | { |
125 | BUG_ON(direction == DMA_NONE); | 119 | _dma_sync(addr, size, dir); |
126 | |||
127 | invalidate_dcache_range((unsigned long)ptr, | ||
128 | (unsigned long)ptr + size); | ||
129 | |||
130 | return (dma_addr_t) ptr; | ||
131 | } | 120 | } |
132 | EXPORT_SYMBOL(dma_map_single); | 121 | EXPORT_SYMBOL(__dma_sync); |
133 | 122 | ||
134 | int | 123 | int |
135 | dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, | 124 | dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, |
@@ -137,30 +126,23 @@ dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, | |||
137 | { | 126 | { |
138 | int i; | 127 | int i; |
139 | 128 | ||
140 | BUG_ON(direction == DMA_NONE); | ||
141 | |||
142 | for (i = 0; i < nents; i++, sg++) { | 129 | for (i = 0; i < nents; i++, sg++) { |
143 | sg->dma_address = (dma_addr_t) sg_virt(sg); | 130 | sg->dma_address = (dma_addr_t) sg_virt(sg); |
144 | 131 | __dma_sync(sg_dma_address(sg), sg_dma_len(sg), direction); | |
145 | invalidate_dcache_range(sg_dma_address(sg), | ||
146 | sg_dma_address(sg) + | ||
147 | sg_dma_len(sg)); | ||
148 | } | 132 | } |
149 | 133 | ||
150 | return nents; | 134 | return nents; |
151 | } | 135 | } |
152 | EXPORT_SYMBOL(dma_map_sg); | 136 | EXPORT_SYMBOL(dma_map_sg); |
153 | 137 | ||
154 | void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, | 138 | void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, |
155 | enum dma_data_direction direction) | 139 | int nelems, enum dma_data_direction direction) |
156 | { | 140 | { |
157 | BUG_ON(direction == DMA_NONE); | 141 | int i; |
158 | } | ||
159 | EXPORT_SYMBOL(dma_unmap_single); | ||
160 | 142 | ||
161 | void dma_unmap_sg(struct device *dev, struct scatterlist *sg, | 143 | for (i = 0; i < nelems; i++, sg++) { |
162 | int nhwentries, enum dma_data_direction direction) | 144 | sg->dma_address = (dma_addr_t) sg_virt(sg); |
163 | { | 145 | __dma_sync(sg_dma_address(sg), sg_dma_len(sg), direction); |
164 | BUG_ON(direction == DMA_NONE); | 146 | } |
165 | } | 147 | } |
166 | EXPORT_SYMBOL(dma_unmap_sg); | 148 | EXPORT_SYMBOL(dma_sync_sg_for_device); |
diff --git a/arch/blackfin/kernel/gptimers.c b/arch/blackfin/kernel/gptimers.c index 7281a91d26b5..cdbe075de1dc 100644 --- a/arch/blackfin/kernel/gptimers.c +++ b/arch/blackfin/kernel/gptimers.c | |||
@@ -137,7 +137,7 @@ static uint32_t const timil_mask[MAX_BLACKFIN_GPTIMERS] = | |||
137 | #endif | 137 | #endif |
138 | }; | 138 | }; |
139 | 139 | ||
140 | void set_gptimer_pwidth(int timer_id, uint32_t value) | 140 | void set_gptimer_pwidth(unsigned int timer_id, uint32_t value) |
141 | { | 141 | { |
142 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 142 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
143 | timer_regs[timer_id]->width = value; | 143 | timer_regs[timer_id]->width = value; |
@@ -145,14 +145,14 @@ void set_gptimer_pwidth(int timer_id, uint32_t value) | |||
145 | } | 145 | } |
146 | EXPORT_SYMBOL(set_gptimer_pwidth); | 146 | EXPORT_SYMBOL(set_gptimer_pwidth); |
147 | 147 | ||
148 | uint32_t get_gptimer_pwidth(int timer_id) | 148 | uint32_t get_gptimer_pwidth(unsigned int timer_id) |
149 | { | 149 | { |
150 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 150 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
151 | return timer_regs[timer_id]->width; | 151 | return timer_regs[timer_id]->width; |
152 | } | 152 | } |
153 | EXPORT_SYMBOL(get_gptimer_pwidth); | 153 | EXPORT_SYMBOL(get_gptimer_pwidth); |
154 | 154 | ||
155 | void set_gptimer_period(int timer_id, uint32_t period) | 155 | void set_gptimer_period(unsigned int timer_id, uint32_t period) |
156 | { | 156 | { |
157 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 157 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
158 | timer_regs[timer_id]->period = period; | 158 | timer_regs[timer_id]->period = period; |
@@ -160,28 +160,28 @@ void set_gptimer_period(int timer_id, uint32_t period) | |||
160 | } | 160 | } |
161 | EXPORT_SYMBOL(set_gptimer_period); | 161 | EXPORT_SYMBOL(set_gptimer_period); |
162 | 162 | ||
163 | uint32_t get_gptimer_period(int timer_id) | 163 | uint32_t get_gptimer_period(unsigned int timer_id) |
164 | { | 164 | { |
165 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 165 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
166 | return timer_regs[timer_id]->period; | 166 | return timer_regs[timer_id]->period; |
167 | } | 167 | } |
168 | EXPORT_SYMBOL(get_gptimer_period); | 168 | EXPORT_SYMBOL(get_gptimer_period); |
169 | 169 | ||
170 | uint32_t get_gptimer_count(int timer_id) | 170 | uint32_t get_gptimer_count(unsigned int timer_id) |
171 | { | 171 | { |
172 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 172 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
173 | return timer_regs[timer_id]->counter; | 173 | return timer_regs[timer_id]->counter; |
174 | } | 174 | } |
175 | EXPORT_SYMBOL(get_gptimer_count); | 175 | EXPORT_SYMBOL(get_gptimer_count); |
176 | 176 | ||
177 | uint32_t get_gptimer_status(int group) | 177 | uint32_t get_gptimer_status(unsigned int group) |
178 | { | 178 | { |
179 | tassert(group < BFIN_TIMER_NUM_GROUP); | 179 | tassert(group < BFIN_TIMER_NUM_GROUP); |
180 | return group_regs[group]->status; | 180 | return group_regs[group]->status; |
181 | } | 181 | } |
182 | EXPORT_SYMBOL(get_gptimer_status); | 182 | EXPORT_SYMBOL(get_gptimer_status); |
183 | 183 | ||
184 | void set_gptimer_status(int group, uint32_t value) | 184 | void set_gptimer_status(unsigned int group, uint32_t value) |
185 | { | 185 | { |
186 | tassert(group < BFIN_TIMER_NUM_GROUP); | 186 | tassert(group < BFIN_TIMER_NUM_GROUP); |
187 | group_regs[group]->status = value; | 187 | group_regs[group]->status = value; |
@@ -189,42 +189,42 @@ void set_gptimer_status(int group, uint32_t value) | |||
189 | } | 189 | } |
190 | EXPORT_SYMBOL(set_gptimer_status); | 190 | EXPORT_SYMBOL(set_gptimer_status); |
191 | 191 | ||
192 | int get_gptimer_intr(int timer_id) | 192 | int get_gptimer_intr(unsigned int timer_id) |
193 | { | 193 | { |
194 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 194 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
195 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & timil_mask[timer_id]); | 195 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & timil_mask[timer_id]); |
196 | } | 196 | } |
197 | EXPORT_SYMBOL(get_gptimer_intr); | 197 | EXPORT_SYMBOL(get_gptimer_intr); |
198 | 198 | ||
199 | void clear_gptimer_intr(int timer_id) | 199 | void clear_gptimer_intr(unsigned int timer_id) |
200 | { | 200 | { |
201 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 201 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
202 | group_regs[BFIN_TIMER_OCTET(timer_id)]->status = timil_mask[timer_id]; | 202 | group_regs[BFIN_TIMER_OCTET(timer_id)]->status = timil_mask[timer_id]; |
203 | } | 203 | } |
204 | EXPORT_SYMBOL(clear_gptimer_intr); | 204 | EXPORT_SYMBOL(clear_gptimer_intr); |
205 | 205 | ||
206 | int get_gptimer_over(int timer_id) | 206 | int get_gptimer_over(unsigned int timer_id) |
207 | { | 207 | { |
208 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 208 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
209 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & tovf_mask[timer_id]); | 209 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & tovf_mask[timer_id]); |
210 | } | 210 | } |
211 | EXPORT_SYMBOL(get_gptimer_over); | 211 | EXPORT_SYMBOL(get_gptimer_over); |
212 | 212 | ||
213 | void clear_gptimer_over(int timer_id) | 213 | void clear_gptimer_over(unsigned int timer_id) |
214 | { | 214 | { |
215 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 215 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
216 | group_regs[BFIN_TIMER_OCTET(timer_id)]->status = tovf_mask[timer_id]; | 216 | group_regs[BFIN_TIMER_OCTET(timer_id)]->status = tovf_mask[timer_id]; |
217 | } | 217 | } |
218 | EXPORT_SYMBOL(clear_gptimer_over); | 218 | EXPORT_SYMBOL(clear_gptimer_over); |
219 | 219 | ||
220 | int get_gptimer_run(int timer_id) | 220 | int get_gptimer_run(unsigned int timer_id) |
221 | { | 221 | { |
222 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 222 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
223 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & trun_mask[timer_id]); | 223 | return !!(group_regs[BFIN_TIMER_OCTET(timer_id)]->status & trun_mask[timer_id]); |
224 | } | 224 | } |
225 | EXPORT_SYMBOL(get_gptimer_run); | 225 | EXPORT_SYMBOL(get_gptimer_run); |
226 | 226 | ||
227 | void set_gptimer_config(int timer_id, uint16_t config) | 227 | void set_gptimer_config(unsigned int timer_id, uint16_t config) |
228 | { | 228 | { |
229 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 229 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
230 | timer_regs[timer_id]->config = config; | 230 | timer_regs[timer_id]->config = config; |
@@ -232,7 +232,7 @@ void set_gptimer_config(int timer_id, uint16_t config) | |||
232 | } | 232 | } |
233 | EXPORT_SYMBOL(set_gptimer_config); | 233 | EXPORT_SYMBOL(set_gptimer_config); |
234 | 234 | ||
235 | uint16_t get_gptimer_config(int timer_id) | 235 | uint16_t get_gptimer_config(unsigned int timer_id) |
236 | { | 236 | { |
237 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 237 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
238 | return timer_regs[timer_id]->config; | 238 | return timer_regs[timer_id]->config; |
@@ -280,7 +280,7 @@ void disable_gptimers_sync(uint16_t mask) | |||
280 | } | 280 | } |
281 | EXPORT_SYMBOL(disable_gptimers_sync); | 281 | EXPORT_SYMBOL(disable_gptimers_sync); |
282 | 282 | ||
283 | void set_gptimer_pulse_hi(int timer_id) | 283 | void set_gptimer_pulse_hi(unsigned int timer_id) |
284 | { | 284 | { |
285 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 285 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
286 | timer_regs[timer_id]->config |= TIMER_PULSE_HI; | 286 | timer_regs[timer_id]->config |= TIMER_PULSE_HI; |
@@ -288,7 +288,7 @@ void set_gptimer_pulse_hi(int timer_id) | |||
288 | } | 288 | } |
289 | EXPORT_SYMBOL(set_gptimer_pulse_hi); | 289 | EXPORT_SYMBOL(set_gptimer_pulse_hi); |
290 | 290 | ||
291 | void clear_gptimer_pulse_hi(int timer_id) | 291 | void clear_gptimer_pulse_hi(unsigned int timer_id) |
292 | { | 292 | { |
293 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); | 293 | tassert(timer_id < MAX_BLACKFIN_GPTIMERS); |
294 | timer_regs[timer_id]->config &= ~TIMER_PULSE_HI; | 294 | timer_regs[timer_id]->config &= ~TIMER_PULSE_HI; |
diff --git a/arch/blackfin/kernel/ipipe.c b/arch/blackfin/kernel/ipipe.c index 5d7382396dc0..a77307a4473b 100644 --- a/arch/blackfin/kernel/ipipe.c +++ b/arch/blackfin/kernel/ipipe.c | |||
@@ -335,3 +335,70 @@ void __ipipe_enable_root_irqs_hw(void) | |||
335 | __clear_bit(IPIPE_STALL_FLAG, &ipipe_root_cpudom_var(status)); | 335 | __clear_bit(IPIPE_STALL_FLAG, &ipipe_root_cpudom_var(status)); |
336 | bfin_sti(bfin_irq_flags); | 336 | bfin_sti(bfin_irq_flags); |
337 | } | 337 | } |
338 | |||
339 | /* | ||
340 | * We could use standard atomic bitops in the following root status | ||
341 | * manipulation routines, but let's prepare for SMP support in the | ||
342 | * same move, preventing CPU migration as required. | ||
343 | */ | ||
344 | void __ipipe_stall_root(void) | ||
345 | { | ||
346 | unsigned long *p, flags; | ||
347 | |||
348 | local_irq_save_hw(flags); | ||
349 | p = &__ipipe_root_status; | ||
350 | __set_bit(IPIPE_STALL_FLAG, p); | ||
351 | local_irq_restore_hw(flags); | ||
352 | } | ||
353 | EXPORT_SYMBOL(__ipipe_stall_root); | ||
354 | |||
355 | unsigned long __ipipe_test_and_stall_root(void) | ||
356 | { | ||
357 | unsigned long *p, flags; | ||
358 | int x; | ||
359 | |||
360 | local_irq_save_hw(flags); | ||
361 | p = &__ipipe_root_status; | ||
362 | x = __test_and_set_bit(IPIPE_STALL_FLAG, p); | ||
363 | local_irq_restore_hw(flags); | ||
364 | |||
365 | return x; | ||
366 | } | ||
367 | EXPORT_SYMBOL(__ipipe_test_and_stall_root); | ||
368 | |||
369 | unsigned long __ipipe_test_root(void) | ||
370 | { | ||
371 | const unsigned long *p; | ||
372 | unsigned long flags; | ||
373 | int x; | ||
374 | |||
375 | local_irq_save_hw_smp(flags); | ||
376 | p = &__ipipe_root_status; | ||
377 | x = test_bit(IPIPE_STALL_FLAG, p); | ||
378 | local_irq_restore_hw_smp(flags); | ||
379 | |||
380 | return x; | ||
381 | } | ||
382 | EXPORT_SYMBOL(__ipipe_test_root); | ||
383 | |||
384 | void __ipipe_lock_root(void) | ||
385 | { | ||
386 | unsigned long *p, flags; | ||
387 | |||
388 | local_irq_save_hw(flags); | ||
389 | p = &__ipipe_root_status; | ||
390 | __set_bit(IPIPE_SYNCDEFER_FLAG, p); | ||
391 | local_irq_restore_hw(flags); | ||
392 | } | ||
393 | EXPORT_SYMBOL(__ipipe_lock_root); | ||
394 | |||
395 | void __ipipe_unlock_root(void) | ||
396 | { | ||
397 | unsigned long *p, flags; | ||
398 | |||
399 | local_irq_save_hw(flags); | ||
400 | p = &__ipipe_root_status; | ||
401 | __clear_bit(IPIPE_SYNCDEFER_FLAG, p); | ||
402 | local_irq_restore_hw(flags); | ||
403 | } | ||
404 | EXPORT_SYMBOL(__ipipe_unlock_root); | ||
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index cce79d05b90b..f1036b6b9293 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c | |||
@@ -24,16 +24,6 @@ | |||
24 | #include <asm/blackfin.h> | 24 | #include <asm/blackfin.h> |
25 | #include <asm/dma.h> | 25 | #include <asm/dma.h> |
26 | 26 | ||
27 | /* Put the error code here just in case the user cares. */ | ||
28 | int gdb_bfin_errcode; | ||
29 | /* Likewise, the vector number here (since GDB only gets the signal | ||
30 | number through the usual means, and that's not very specific). */ | ||
31 | int gdb_bfin_vector = -1; | ||
32 | |||
33 | #if KGDB_MAX_NO_CPUS != 8 | ||
34 | #error change the definition of slavecpulocks | ||
35 | #endif | ||
36 | |||
37 | void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) | 27 | void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) |
38 | { | 28 | { |
39 | gdb_regs[BFIN_R0] = regs->r0; | 29 | gdb_regs[BFIN_R0] = regs->r0; |
@@ -369,13 +359,6 @@ void kgdb_roundup_cpu(int cpu, unsigned long flags) | |||
369 | } | 359 | } |
370 | #endif | 360 | #endif |
371 | 361 | ||
372 | void kgdb_post_primary_code(struct pt_regs *regs, int eVector, int err_code) | ||
373 | { | ||
374 | /* Master processor is completely in the debugger */ | ||
375 | gdb_bfin_vector = eVector; | ||
376 | gdb_bfin_errcode = err_code; | ||
377 | } | ||
378 | |||
379 | int kgdb_arch_handle_exception(int vector, int signo, | 362 | int kgdb_arch_handle_exception(int vector, int signo, |
380 | int err_code, char *remcom_in_buffer, | 363 | int err_code, char *remcom_in_buffer, |
381 | char *remcom_out_buffer, | 364 | char *remcom_out_buffer, |
diff --git a/arch/blackfin/kernel/kgdb_test.c b/arch/blackfin/kernel/kgdb_test.c index 59fc42dc5d6a..9a4b07594389 100644 --- a/arch/blackfin/kernel/kgdb_test.c +++ b/arch/blackfin/kernel/kgdb_test.c | |||
@@ -17,8 +17,9 @@ | |||
17 | 17 | ||
18 | #include <asm/blackfin.h> | 18 | #include <asm/blackfin.h> |
19 | 19 | ||
20 | /* Symbols are here for kgdb test to poke directly */ | ||
20 | static char cmdline[256]; | 21 | static char cmdline[256]; |
21 | static unsigned long len; | 22 | static size_t len; |
22 | 23 | ||
23 | #ifndef CONFIG_SMP | 24 | #ifndef CONFIG_SMP |
24 | static int num1 __attribute__((l1_data)); | 25 | static int num1 __attribute__((l1_data)); |
@@ -27,11 +28,10 @@ void kgdb_l1_test(void) __attribute__((l1_text)); | |||
27 | 28 | ||
28 | void kgdb_l1_test(void) | 29 | void kgdb_l1_test(void) |
29 | { | 30 | { |
30 | printk(KERN_ALERT "L1(before change) : data variable addr = 0x%p, data value is %d\n", &num1, num1); | 31 | pr_alert("L1(before change) : data variable addr = 0x%p, data value is %d\n", &num1, num1); |
31 | printk(KERN_ALERT "L1 : code function addr = 0x%p\n", kgdb_l1_test); | 32 | pr_alert("L1 : code function addr = 0x%p\n", kgdb_l1_test); |
32 | num1 = num1 + 10 ; | 33 | num1 = num1 + 10; |
33 | printk(KERN_ALERT "L1(after change) : data variable addr = 0x%p, data value is %d\n", &num1, num1); | 34 | pr_alert("L1(after change) : data variable addr = 0x%p, data value is %d\n", &num1, num1); |
34 | return ; | ||
35 | } | 35 | } |
36 | #endif | 36 | #endif |
37 | 37 | ||
@@ -42,11 +42,10 @@ void kgdb_l2_test(void) __attribute__((l2)); | |||
42 | 42 | ||
43 | void kgdb_l2_test(void) | 43 | void kgdb_l2_test(void) |
44 | { | 44 | { |
45 | printk(KERN_ALERT "L2(before change) : data variable addr = 0x%p, data value is %d\n", &num2, num2); | 45 | pr_alert("L2(before change) : data variable addr = 0x%p, data value is %d\n", &num2, num2); |
46 | printk(KERN_ALERT "L2 : code function addr = 0x%p\n", kgdb_l2_test); | 46 | pr_alert("L2 : code function addr = 0x%p\n", kgdb_l2_test); |
47 | num2 = num2 + 20 ; | 47 | num2 = num2 + 20; |
48 | printk(KERN_ALERT "L2(after change) : data variable addr = 0x%p, data value is %d\n", &num2, num2); | 48 | pr_alert("L2(after change) : data variable addr = 0x%p, data value is %d\n", &num2, num2); |
49 | return ; | ||
50 | } | 49 | } |
51 | 50 | ||
52 | #endif | 51 | #endif |
@@ -54,12 +53,14 @@ void kgdb_l2_test(void) | |||
54 | 53 | ||
55 | int kgdb_test(char *name, int len, int count, int z) | 54 | int kgdb_test(char *name, int len, int count, int z) |
56 | { | 55 | { |
57 | printk(KERN_ALERT "kgdb name(%d): %s, %d, %d\n", len, name, count, z); | 56 | pr_alert("kgdb name(%d): %s, %d, %d\n", len, name, count, z); |
58 | count = z; | 57 | count = z; |
59 | return count; | 58 | return count; |
60 | } | 59 | } |
61 | 60 | ||
62 | static int test_proc_output(char *buf) | 61 | static ssize_t |
62 | kgdb_test_proc_read(struct file *file, char __user *buf, | ||
63 | size_t count, loff_t *ppos) | ||
63 | { | 64 | { |
64 | kgdb_test("hello world!", 12, 0x55, 0x10); | 65 | kgdb_test("hello world!", 12, 0x55, 0x10); |
65 | #ifndef CONFIG_SMP | 66 | #ifndef CONFIG_SMP |
@@ -72,49 +73,31 @@ static int test_proc_output(char *buf) | |||
72 | return 0; | 73 | return 0; |
73 | } | 74 | } |
74 | 75 | ||
75 | static int test_read_proc(char *page, char **start, off_t off, | 76 | static ssize_t |
76 | int count, int *eof, void *data) | 77 | kgdb_test_proc_write(struct file *file, const char __user *buffer, |
78 | size_t count, loff_t *pos) | ||
77 | { | 79 | { |
78 | int len; | 80 | len = min_t(size_t, 255, count); |
79 | |||
80 | len = test_proc_output(page); | ||
81 | if (len <= off+count) | ||
82 | *eof = 1; | ||
83 | *start = page + off; | ||
84 | len -= off; | ||
85 | if (len > count) | ||
86 | len = count; | ||
87 | if (len < 0) | ||
88 | len = 0; | ||
89 | return len; | ||
90 | } | ||
91 | |||
92 | static int test_write_proc(struct file *file, const char *buffer, | ||
93 | unsigned long count, void *data) | ||
94 | { | ||
95 | if (count >= 256) | ||
96 | len = 255; | ||
97 | else | ||
98 | len = count; | ||
99 | |||
100 | memcpy(cmdline, buffer, count); | 81 | memcpy(cmdline, buffer, count); |
101 | cmdline[len] = 0; | 82 | cmdline[len] = 0; |
102 | 83 | ||
103 | return len; | 84 | return len; |
104 | } | 85 | } |
105 | 86 | ||
87 | static const struct file_operations kgdb_test_proc_fops = { | ||
88 | .owner = THIS_MODULE, | ||
89 | .read = kgdb_test_proc_read, | ||
90 | .write = kgdb_test_proc_write, | ||
91 | }; | ||
92 | |||
106 | static int __init kgdbtest_init(void) | 93 | static int __init kgdbtest_init(void) |
107 | { | 94 | { |
108 | struct proc_dir_entry *entry; | 95 | struct proc_dir_entry *entry; |
109 | 96 | ||
110 | entry = create_proc_entry("kgdbtest", 0, NULL); | 97 | entry = proc_create("kgdbtest", 0, NULL, &kgdb_test_proc_fops); |
111 | if (entry == NULL) | 98 | if (entry == NULL) |
112 | return -ENOMEM; | 99 | return -ENOMEM; |
113 | 100 | ||
114 | entry->read_proc = test_read_proc; | ||
115 | entry->write_proc = test_write_proc; | ||
116 | entry->data = NULL; | ||
117 | |||
118 | return 0; | 101 | return 0; |
119 | } | 102 | } |
120 | 103 | ||
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 45876427eb2d..b56b0e485e0b 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c | |||
@@ -258,9 +258,12 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
258 | int __user *up0 = (int __user *)regs->p0; | 258 | int __user *up0 = (int __user *)regs->p0; |
259 | 259 | ||
260 | switch (regs->pc) { | 260 | switch (regs->pc) { |
261 | default: | ||
262 | /* not in middle of an atomic step, so resume like normal */ | ||
263 | return; | ||
264 | |||
261 | case ATOMIC_XCHG32 + 2: | 265 | case ATOMIC_XCHG32 + 2: |
262 | put_user(regs->r1, up0); | 266 | put_user(regs->r1, up0); |
263 | regs->pc = ATOMIC_XCHG32 + 4; | ||
264 | break; | 267 | break; |
265 | 268 | ||
266 | case ATOMIC_CAS32 + 2: | 269 | case ATOMIC_CAS32 + 2: |
@@ -268,7 +271,6 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
268 | if (regs->r0 == regs->r1) | 271 | if (regs->r0 == regs->r1) |
269 | case ATOMIC_CAS32 + 6: | 272 | case ATOMIC_CAS32 + 6: |
270 | put_user(regs->r2, up0); | 273 | put_user(regs->r2, up0); |
271 | regs->pc = ATOMIC_CAS32 + 8; | ||
272 | break; | 274 | break; |
273 | 275 | ||
274 | case ATOMIC_ADD32 + 2: | 276 | case ATOMIC_ADD32 + 2: |
@@ -276,7 +278,6 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
276 | /* fall through */ | 278 | /* fall through */ |
277 | case ATOMIC_ADD32 + 4: | 279 | case ATOMIC_ADD32 + 4: |
278 | put_user(regs->r0, up0); | 280 | put_user(regs->r0, up0); |
279 | regs->pc = ATOMIC_ADD32 + 6; | ||
280 | break; | 281 | break; |
281 | 282 | ||
282 | case ATOMIC_SUB32 + 2: | 283 | case ATOMIC_SUB32 + 2: |
@@ -284,7 +285,6 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
284 | /* fall through */ | 285 | /* fall through */ |
285 | case ATOMIC_SUB32 + 4: | 286 | case ATOMIC_SUB32 + 4: |
286 | put_user(regs->r0, up0); | 287 | put_user(regs->r0, up0); |
287 | regs->pc = ATOMIC_SUB32 + 6; | ||
288 | break; | 288 | break; |
289 | 289 | ||
290 | case ATOMIC_IOR32 + 2: | 290 | case ATOMIC_IOR32 + 2: |
@@ -292,7 +292,6 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
292 | /* fall through */ | 292 | /* fall through */ |
293 | case ATOMIC_IOR32 + 4: | 293 | case ATOMIC_IOR32 + 4: |
294 | put_user(regs->r0, up0); | 294 | put_user(regs->r0, up0); |
295 | regs->pc = ATOMIC_IOR32 + 6; | ||
296 | break; | 295 | break; |
297 | 296 | ||
298 | case ATOMIC_AND32 + 2: | 297 | case ATOMIC_AND32 + 2: |
@@ -300,7 +299,6 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
300 | /* fall through */ | 299 | /* fall through */ |
301 | case ATOMIC_AND32 + 4: | 300 | case ATOMIC_AND32 + 4: |
302 | put_user(regs->r0, up0); | 301 | put_user(regs->r0, up0); |
303 | regs->pc = ATOMIC_AND32 + 6; | ||
304 | break; | 302 | break; |
305 | 303 | ||
306 | case ATOMIC_XOR32 + 2: | 304 | case ATOMIC_XOR32 + 2: |
@@ -308,9 +306,15 @@ void finish_atomic_sections (struct pt_regs *regs) | |||
308 | /* fall through */ | 306 | /* fall through */ |
309 | case ATOMIC_XOR32 + 4: | 307 | case ATOMIC_XOR32 + 4: |
310 | put_user(regs->r0, up0); | 308 | put_user(regs->r0, up0); |
311 | regs->pc = ATOMIC_XOR32 + 6; | ||
312 | break; | 309 | break; |
313 | } | 310 | } |
311 | |||
312 | /* | ||
313 | * We've finished the atomic section, and the only thing left for | ||
314 | * userspace is to do a RTS, so we might as well handle that too | ||
315 | * since we need to update the PC anyways. | ||
316 | */ | ||
317 | regs->pc = regs->rets; | ||
314 | } | 318 | } |
315 | 319 | ||
316 | static inline | 320 | static inline |
@@ -332,12 +336,58 @@ int in_mem_const(unsigned long addr, unsigned long size, | |||
332 | { | 336 | { |
333 | return in_mem_const_off(addr, size, 0, const_addr, const_size); | 337 | return in_mem_const_off(addr, size, 0, const_addr, const_size); |
334 | } | 338 | } |
335 | #define IN_ASYNC(bnum, bctlnum) \ | 339 | #define ASYNC_ENABLED(bnum, bctlnum) \ |
336 | ({ \ | 340 | ({ \ |
337 | (bfin_read_EBIU_AMGCTL() & 0xe) < ((bnum + 1) << 1) ? -EFAULT : \ | 341 | (bfin_read_EBIU_AMGCTL() & 0xe) < ((bnum + 1) << 1) ? 0 : \ |
338 | bfin_read_EBIU_AMBCTL##bctlnum() & B##bnum##RDYEN ? -EFAULT : \ | 342 | bfin_read_EBIU_AMBCTL##bctlnum() & B##bnum##RDYEN ? 0 : \ |
339 | BFIN_MEM_ACCESS_CORE; \ | 343 | 1; \ |
340 | }) | 344 | }) |
345 | /* | ||
346 | * We can't read EBIU banks that aren't enabled or we end up hanging | ||
347 | * on the access to the async space. Make sure we validate accesses | ||
348 | * that cross async banks too. | ||
349 | * 0 - found, but unusable | ||
350 | * 1 - found & usable | ||
351 | * 2 - not found | ||
352 | */ | ||
353 | static | ||
354 | int in_async(unsigned long addr, unsigned long size) | ||
355 | { | ||
356 | if (addr >= ASYNC_BANK0_BASE && addr < ASYNC_BANK0_BASE + ASYNC_BANK0_SIZE) { | ||
357 | if (!ASYNC_ENABLED(0, 0)) | ||
358 | return 0; | ||
359 | if (addr + size <= ASYNC_BANK0_BASE + ASYNC_BANK0_SIZE) | ||
360 | return 1; | ||
361 | size -= ASYNC_BANK0_BASE + ASYNC_BANK0_SIZE - addr; | ||
362 | addr = ASYNC_BANK0_BASE + ASYNC_BANK0_SIZE; | ||
363 | } | ||
364 | if (addr >= ASYNC_BANK1_BASE && addr < ASYNC_BANK1_BASE + ASYNC_BANK1_SIZE) { | ||
365 | if (!ASYNC_ENABLED(1, 0)) | ||
366 | return 0; | ||
367 | if (addr + size <= ASYNC_BANK1_BASE + ASYNC_BANK1_SIZE) | ||
368 | return 1; | ||
369 | size -= ASYNC_BANK1_BASE + ASYNC_BANK1_SIZE - addr; | ||
370 | addr = ASYNC_BANK1_BASE + ASYNC_BANK1_SIZE; | ||
371 | } | ||
372 | if (addr >= ASYNC_BANK2_BASE && addr < ASYNC_BANK2_BASE + ASYNC_BANK2_SIZE) { | ||
373 | if (!ASYNC_ENABLED(2, 1)) | ||
374 | return 0; | ||
375 | if (addr + size <= ASYNC_BANK2_BASE + ASYNC_BANK2_SIZE) | ||
376 | return 1; | ||
377 | size -= ASYNC_BANK2_BASE + ASYNC_BANK2_SIZE - addr; | ||
378 | addr = ASYNC_BANK2_BASE + ASYNC_BANK2_SIZE; | ||
379 | } | ||
380 | if (addr >= ASYNC_BANK3_BASE && addr < ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE) { | ||
381 | if (ASYNC_ENABLED(3, 1)) | ||
382 | return 0; | ||
383 | if (addr + size <= ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE) | ||
384 | return 1; | ||
385 | return 0; | ||
386 | } | ||
387 | |||
388 | /* not within async bounds */ | ||
389 | return 2; | ||
390 | } | ||
341 | 391 | ||
342 | int bfin_mem_access_type(unsigned long addr, unsigned long size) | 392 | int bfin_mem_access_type(unsigned long addr, unsigned long size) |
343 | { | 393 | { |
@@ -374,17 +424,11 @@ int bfin_mem_access_type(unsigned long addr, unsigned long size) | |||
374 | if (addr >= SYSMMR_BASE) | 424 | if (addr >= SYSMMR_BASE) |
375 | return BFIN_MEM_ACCESS_CORE_ONLY; | 425 | return BFIN_MEM_ACCESS_CORE_ONLY; |
376 | 426 | ||
377 | /* We can't read EBIU banks that aren't enabled or we end up hanging | 427 | switch (in_async(addr, size)) { |
378 | * on the access to the async space. | 428 | case 0: return -EFAULT; |
379 | */ | 429 | case 1: return BFIN_MEM_ACCESS_CORE; |
380 | if (in_mem_const(addr, size, ASYNC_BANK0_BASE, ASYNC_BANK0_SIZE)) | 430 | case 2: /* fall through */; |
381 | return IN_ASYNC(0, 0); | 431 | } |
382 | if (in_mem_const(addr, size, ASYNC_BANK1_BASE, ASYNC_BANK1_SIZE)) | ||
383 | return IN_ASYNC(1, 0); | ||
384 | if (in_mem_const(addr, size, ASYNC_BANK2_BASE, ASYNC_BANK2_SIZE)) | ||
385 | return IN_ASYNC(2, 1); | ||
386 | if (in_mem_const(addr, size, ASYNC_BANK3_BASE, ASYNC_BANK3_SIZE)) | ||
387 | return IN_ASYNC(3, 1); | ||
388 | 432 | ||
389 | if (in_mem_const(addr, size, BOOT_ROM_START, BOOT_ROM_LENGTH)) | 433 | if (in_mem_const(addr, size, BOOT_ROM_START, BOOT_ROM_LENGTH)) |
390 | return BFIN_MEM_ACCESS_CORE; | 434 | return BFIN_MEM_ACCESS_CORE; |
@@ -401,6 +445,8 @@ __attribute__((l1_text)) | |||
401 | /* Return 1 if access to memory range is OK, 0 otherwise */ | 445 | /* Return 1 if access to memory range is OK, 0 otherwise */ |
402 | int _access_ok(unsigned long addr, unsigned long size) | 446 | int _access_ok(unsigned long addr, unsigned long size) |
403 | { | 447 | { |
448 | int aret; | ||
449 | |||
404 | if (size == 0) | 450 | if (size == 0) |
405 | return 1; | 451 | return 1; |
406 | /* Check that things do not wrap around */ | 452 | /* Check that things do not wrap around */ |
@@ -450,6 +496,11 @@ int _access_ok(unsigned long addr, unsigned long size) | |||
450 | if (in_mem_const(addr, size, COREB_L1_DATA_B_START, COREB_L1_DATA_B_LENGTH)) | 496 | if (in_mem_const(addr, size, COREB_L1_DATA_B_START, COREB_L1_DATA_B_LENGTH)) |
451 | return 1; | 497 | return 1; |
452 | #endif | 498 | #endif |
499 | |||
500 | aret = in_async(addr, size); | ||
501 | if (aret < 2) | ||
502 | return aret; | ||
503 | |||
453 | if (in_mem_const_off(addr, size, _ebss_l2 - _stext_l2, L2_START, L2_LENGTH)) | 504 | if (in_mem_const_off(addr, size, _ebss_l2 - _stext_l2, L2_START, L2_LENGTH)) |
454 | return 1; | 505 | return 1; |
455 | 506 | ||
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index 56b0ba12175f..65567dc4b9f5 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
@@ -316,19 +316,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
316 | case BFIN_MEM_ACCESS_CORE_ONLY: | 316 | case BFIN_MEM_ACCESS_CORE_ONLY: |
317 | copied = access_process_vm(child, addr, &data, | 317 | copied = access_process_vm(child, addr, &data, |
318 | to_copy, 1); | 318 | to_copy, 1); |
319 | if (copied) | ||
320 | break; | ||
321 | |||
322 | /* hrm, why didn't that work ... maybe no mapping */ | ||
323 | if (addr >= FIXED_CODE_START && | ||
324 | addr + to_copy <= FIXED_CODE_END) { | ||
325 | copy_to_user_page(0, 0, 0, paddr, &data, to_copy); | ||
326 | copied = to_copy; | ||
327 | } else if (addr >= BOOT_ROM_START) { | ||
328 | memcpy(paddr, &data, to_copy); | ||
329 | copied = to_copy; | ||
330 | } | ||
331 | |||
332 | break; | 319 | break; |
333 | case BFIN_MEM_ACCESS_DMA: | 320 | case BFIN_MEM_ACCESS_DMA: |
334 | if (safe_dma_memcpy(paddr, &data, to_copy)) | 321 | if (safe_dma_memcpy(paddr, &data, to_copy)) |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index c202a44d1416..95448ae9c43a 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -178,10 +178,10 @@ void __init bfin_cache_init(void) | |||
178 | 178 | ||
179 | void __init bfin_relocate_l1_mem(void) | 179 | void __init bfin_relocate_l1_mem(void) |
180 | { | 180 | { |
181 | unsigned long l1_code_length; | 181 | unsigned long text_l1_len = (unsigned long)_text_l1_len; |
182 | unsigned long l1_data_a_length; | 182 | unsigned long data_l1_len = (unsigned long)_data_l1_len; |
183 | unsigned long l1_data_b_length; | 183 | unsigned long data_b_l1_len = (unsigned long)_data_b_l1_len; |
184 | unsigned long l2_length; | 184 | unsigned long l2_len = (unsigned long)_l2_len; |
185 | 185 | ||
186 | early_shadow_stamp(); | 186 | early_shadow_stamp(); |
187 | 187 | ||
@@ -201,30 +201,23 @@ void __init bfin_relocate_l1_mem(void) | |||
201 | 201 | ||
202 | blackfin_dma_early_init(); | 202 | blackfin_dma_early_init(); |
203 | 203 | ||
204 | /* if necessary, copy _stext_l1 to _etext_l1 to L1 instruction SRAM */ | 204 | /* if necessary, copy L1 text to L1 instruction SRAM */ |
205 | l1_code_length = _etext_l1 - _stext_l1; | 205 | if (L1_CODE_LENGTH && text_l1_len) |
206 | if (l1_code_length) | 206 | early_dma_memcpy(_stext_l1, _text_l1_lma, text_l1_len); |
207 | early_dma_memcpy(_stext_l1, _l1_lma_start, l1_code_length); | ||
208 | 207 | ||
209 | /* if necessary, copy _sdata_l1 to _sbss_l1 to L1 data bank A SRAM */ | 208 | /* if necessary, copy L1 data to L1 data bank A SRAM */ |
210 | l1_data_a_length = _sbss_l1 - _sdata_l1; | 209 | if (L1_DATA_A_LENGTH && data_l1_len) |
211 | if (l1_data_a_length) | 210 | early_dma_memcpy(_sdata_l1, _data_l1_lma, data_l1_len); |
212 | early_dma_memcpy(_sdata_l1, _l1_lma_start + l1_code_length, l1_data_a_length); | ||
213 | 211 | ||
214 | /* if necessary, copy _sdata_b_l1 to _sbss_b_l1 to L1 data bank B SRAM */ | 212 | /* if necessary, copy L1 data B to L1 data bank B SRAM */ |
215 | l1_data_b_length = _sbss_b_l1 - _sdata_b_l1; | 213 | if (L1_DATA_B_LENGTH && data_b_l1_len) |
216 | if (l1_data_b_length) | 214 | early_dma_memcpy(_sdata_b_l1, _data_b_l1_lma, data_b_l1_len); |
217 | early_dma_memcpy(_sdata_b_l1, _l1_lma_start + l1_code_length + | ||
218 | l1_data_a_length, l1_data_b_length); | ||
219 | 215 | ||
220 | early_dma_memcpy_done(); | 216 | early_dma_memcpy_done(); |
221 | 217 | ||
222 | /* if necessary, copy _stext_l2 to _edata_l2 to L2 SRAM */ | 218 | /* if necessary, copy L2 text/data to L2 SRAM */ |
223 | if (L2_LENGTH != 0) { | 219 | if (L2_LENGTH && l2_len) |
224 | l2_length = _sbss_l2 - _stext_l2; | 220 | memcpy(_stext_l2, _l2_lma, l2_len); |
225 | if (l2_length) | ||
226 | memcpy(_stext_l2, _l2_lma_start, l2_length); | ||
227 | } | ||
228 | } | 221 | } |
229 | 222 | ||
230 | /* add_memory_region to memmap */ | 223 | /* add_memory_region to memmap */ |
@@ -608,11 +601,6 @@ static __init void memory_setup(void) | |||
608 | page_mask_order = get_order(3 * page_mask_nelts * sizeof(long)); | 601 | page_mask_order = get_order(3 * page_mask_nelts * sizeof(long)); |
609 | #endif | 602 | #endif |
610 | 603 | ||
611 | #if !defined(CONFIG_MTD_UCLINUX) | ||
612 | /*In case there is no valid CPLB behind memory_end make sure we don't get to close*/ | ||
613 | memory_end -= SIZE_4K; | ||
614 | #endif | ||
615 | |||
616 | init_mm.start_code = (unsigned long)_stext; | 604 | init_mm.start_code = (unsigned long)_stext; |
617 | init_mm.end_code = (unsigned long)_etext; | 605 | init_mm.end_code = (unsigned long)_etext; |
618 | init_mm.end_data = (unsigned long)_edata; | 606 | init_mm.end_data = (unsigned long)_edata; |
@@ -917,7 +905,7 @@ void __init setup_arch(char **cmdline_p) | |||
917 | 905 | ||
918 | printk(KERN_INFO "Blackfin support (C) 2004-2009 Analog Devices, Inc.\n"); | 906 | printk(KERN_INFO "Blackfin support (C) 2004-2009 Analog Devices, Inc.\n"); |
919 | if (bfin_compiled_revid() == 0xffff) | 907 | if (bfin_compiled_revid() == 0xffff) |
920 | printk(KERN_INFO "Compiled for ADSP-%s Rev any\n", CPU); | 908 | printk(KERN_INFO "Compiled for ADSP-%s Rev any, running on 0.%d\n", CPU, bfin_revid()); |
921 | else if (bfin_compiled_revid() == -1) | 909 | else if (bfin_compiled_revid() == -1) |
922 | printk(KERN_INFO "Compiled for ADSP-%s Rev none\n", CPU); | 910 | printk(KERN_INFO "Compiled for ADSP-%s Rev none\n", CPU); |
923 | else | 911 | else |
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index 9d90c18fab23..e0fd63e9e38a 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/binfmts.h> | 12 | #include <linux/binfmts.h> |
13 | #include <linux/freezer.h> | 13 | #include <linux/freezer.h> |
14 | #include <linux/uaccess.h> | 14 | #include <linux/uaccess.h> |
15 | #include <linux/tracehook.h> | ||
15 | 16 | ||
16 | #include <asm/cacheflush.h> | 17 | #include <asm/cacheflush.h> |
17 | #include <asm/ucontext.h> | 18 | #include <asm/ucontext.h> |
@@ -332,3 +333,20 @@ asmlinkage void do_signal(struct pt_regs *regs) | |||
332 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); | 333 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); |
333 | } | 334 | } |
334 | } | 335 | } |
336 | |||
337 | /* | ||
338 | * notification of userspace execution resumption | ||
339 | */ | ||
340 | asmlinkage void do_notify_resume(struct pt_regs *regs) | ||
341 | { | ||
342 | if (test_thread_flag(TIF_SIGPENDING) || test_thread_flag(TIF_RESTORE_SIGMASK)) | ||
343 | do_signal(regs); | ||
344 | |||
345 | if (test_thread_flag(TIF_NOTIFY_RESUME)) { | ||
346 | clear_thread_flag(TIF_NOTIFY_RESUME); | ||
347 | tracehook_notify_resume(regs); | ||
348 | if (current->replacement_session_keyring) | ||
349 | key_replace_session_keyring(); | ||
350 | } | ||
351 | } | ||
352 | |||
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c index 359cfb1815ca..17c38c5b5b22 100644 --- a/arch/blackfin/kernel/time-ts.c +++ b/arch/blackfin/kernel/time-ts.c | |||
@@ -22,8 +22,6 @@ | |||
22 | #include <asm/time.h> | 22 | #include <asm/time.h> |
23 | #include <asm/gptimers.h> | 23 | #include <asm/gptimers.h> |
24 | 24 | ||
25 | #if defined(CONFIG_CYCLES_CLOCKSOURCE) | ||
26 | |||
27 | /* Accelerators for sched_clock() | 25 | /* Accelerators for sched_clock() |
28 | * convert from cycles(64bits) => nanoseconds (64bits) | 26 | * convert from cycles(64bits) => nanoseconds (64bits) |
29 | * basic equation: | 27 | * basic equation: |
@@ -46,20 +44,11 @@ | |||
46 | * -johnstul@us.ibm.com "math is hard, lets go shopping!" | 44 | * -johnstul@us.ibm.com "math is hard, lets go shopping!" |
47 | */ | 45 | */ |
48 | 46 | ||
49 | static unsigned long cyc2ns_scale; | ||
50 | #define CYC2NS_SCALE_FACTOR 10 /* 2^10, carefully chosen */ | 47 | #define CYC2NS_SCALE_FACTOR 10 /* 2^10, carefully chosen */ |
51 | 48 | ||
52 | static inline void set_cyc2ns_scale(unsigned long cpu_khz) | 49 | #if defined(CONFIG_CYCLES_CLOCKSOURCE) |
53 | { | ||
54 | cyc2ns_scale = (1000000 << CYC2NS_SCALE_FACTOR) / cpu_khz; | ||
55 | } | ||
56 | |||
57 | static inline unsigned long long cycles_2_ns(cycle_t cyc) | ||
58 | { | ||
59 | return (cyc * cyc2ns_scale) >> CYC2NS_SCALE_FACTOR; | ||
60 | } | ||
61 | 50 | ||
62 | static cycle_t bfin_read_cycles(struct clocksource *cs) | 51 | static notrace cycle_t bfin_read_cycles(struct clocksource *cs) |
63 | { | 52 | { |
64 | return __bfin_cycles_off + (get_cycles() << __bfin_cycles_mod); | 53 | return __bfin_cycles_off + (get_cycles() << __bfin_cycles_mod); |
65 | } | 54 | } |
@@ -69,19 +58,18 @@ static struct clocksource bfin_cs_cycles = { | |||
69 | .rating = 400, | 58 | .rating = 400, |
70 | .read = bfin_read_cycles, | 59 | .read = bfin_read_cycles, |
71 | .mask = CLOCKSOURCE_MASK(64), | 60 | .mask = CLOCKSOURCE_MASK(64), |
72 | .shift = 22, | 61 | .shift = CYC2NS_SCALE_FACTOR, |
73 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 62 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
74 | }; | 63 | }; |
75 | 64 | ||
76 | unsigned long long sched_clock(void) | 65 | static inline unsigned long long bfin_cs_cycles_sched_clock(void) |
77 | { | 66 | { |
78 | return cycles_2_ns(bfin_read_cycles(&bfin_cs_cycles)); | 67 | return clocksource_cyc2ns(bfin_read_cycles(&bfin_cs_cycles), |
68 | bfin_cs_cycles.mult, bfin_cs_cycles.shift); | ||
79 | } | 69 | } |
80 | 70 | ||
81 | static int __init bfin_cs_cycles_init(void) | 71 | static int __init bfin_cs_cycles_init(void) |
82 | { | 72 | { |
83 | set_cyc2ns_scale(get_cclk() / 1000); | ||
84 | |||
85 | bfin_cs_cycles.mult = \ | 73 | bfin_cs_cycles.mult = \ |
86 | clocksource_hz2mult(get_cclk(), bfin_cs_cycles.shift); | 74 | clocksource_hz2mult(get_cclk(), bfin_cs_cycles.shift); |
87 | 75 | ||
@@ -108,7 +96,7 @@ void __init setup_gptimer0(void) | |||
108 | enable_gptimers(TIMER0bit); | 96 | enable_gptimers(TIMER0bit); |
109 | } | 97 | } |
110 | 98 | ||
111 | static cycle_t bfin_read_gptimer0(void) | 99 | static cycle_t bfin_read_gptimer0(struct clocksource *cs) |
112 | { | 100 | { |
113 | return bfin_read_TIMER0_COUNTER(); | 101 | return bfin_read_TIMER0_COUNTER(); |
114 | } | 102 | } |
@@ -118,10 +106,16 @@ static struct clocksource bfin_cs_gptimer0 = { | |||
118 | .rating = 350, | 106 | .rating = 350, |
119 | .read = bfin_read_gptimer0, | 107 | .read = bfin_read_gptimer0, |
120 | .mask = CLOCKSOURCE_MASK(32), | 108 | .mask = CLOCKSOURCE_MASK(32), |
121 | .shift = 22, | 109 | .shift = CYC2NS_SCALE_FACTOR, |
122 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 110 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
123 | }; | 111 | }; |
124 | 112 | ||
113 | static inline unsigned long long bfin_cs_gptimer0_sched_clock(void) | ||
114 | { | ||
115 | return clocksource_cyc2ns(bfin_read_TIMER0_COUNTER(), | ||
116 | bfin_cs_gptimer0.mult, bfin_cs_gptimer0.shift); | ||
117 | } | ||
118 | |||
125 | static int __init bfin_cs_gptimer0_init(void) | 119 | static int __init bfin_cs_gptimer0_init(void) |
126 | { | 120 | { |
127 | setup_gptimer0(); | 121 | setup_gptimer0(); |
@@ -138,6 +132,19 @@ static int __init bfin_cs_gptimer0_init(void) | |||
138 | # define bfin_cs_gptimer0_init() | 132 | # define bfin_cs_gptimer0_init() |
139 | #endif | 133 | #endif |
140 | 134 | ||
135 | |||
136 | #if defined(CONFIG_GPTMR0_CLOCKSOURCE) || defined(CONFIG_CYCLES_CLOCKSOURCE) | ||
137 | /* prefer to use cycles since it has higher rating */ | ||
138 | notrace unsigned long long sched_clock(void) | ||
139 | { | ||
140 | #if defined(CONFIG_CYCLES_CLOCKSOURCE) | ||
141 | return bfin_cs_cycles_sched_clock(); | ||
142 | #else | ||
143 | return bfin_cs_gptimer0_sched_clock(); | ||
144 | #endif | ||
145 | } | ||
146 | #endif | ||
147 | |||
141 | #ifdef CONFIG_CORE_TIMER_IRQ_L1 | 148 | #ifdef CONFIG_CORE_TIMER_IRQ_L1 |
142 | __attribute__((l1_text)) | 149 | __attribute__((l1_text)) |
143 | #endif | 150 | #endif |
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index bd3b53da295e..13c1ee3e6408 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -184,11 +184,3 @@ void __init time_init(void) | |||
184 | 184 | ||
185 | time_sched_init(timer_interrupt); | 185 | time_sched_init(timer_interrupt); |
186 | } | 186 | } |
187 | |||
188 | /* | ||
189 | * Scheduler clock - returns current time in nanosec units. | ||
190 | */ | ||
191 | unsigned long long sched_clock(void) | ||
192 | { | ||
193 | return (unsigned long long)jiffies *(NSEC_PER_SEC / HZ); | ||
194 | } | ||
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 9636bace00e8..d3cbcd6bd985 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -119,6 +119,15 @@ static void decode_address(char *buf, unsigned long address) | |||
119 | return; | 119 | return; |
120 | } | 120 | } |
121 | 121 | ||
122 | /* | ||
123 | * Don't walk any of the vmas if we are oopsing, it has been known | ||
124 | * to cause problems - corrupt vmas (kernel crashes) cause double faults | ||
125 | */ | ||
126 | if (oops_in_progress) { | ||
127 | strcat(buf, "/* kernel dynamic memory (maybe user-space) */"); | ||
128 | return; | ||
129 | } | ||
130 | |||
122 | /* looks like we're off in user-land, so let's walk all the | 131 | /* looks like we're off in user-land, so let's walk all the |
123 | * mappings of all our processes and see if we can't be a whee | 132 | * mappings of all our processes and see if we can't be a whee |
124 | * bit more specific | 133 | * bit more specific |
@@ -515,6 +524,36 @@ asmlinkage notrace void trap_c(struct pt_regs *fp) | |||
515 | break; | 524 | break; |
516 | /* External Memory Addressing Error */ | 525 | /* External Memory Addressing Error */ |
517 | case (SEQSTAT_HWERRCAUSE_EXTERN_ADDR): | 526 | case (SEQSTAT_HWERRCAUSE_EXTERN_ADDR): |
527 | if (ANOMALY_05000310) { | ||
528 | static unsigned long anomaly_rets; | ||
529 | |||
530 | if ((fp->pc >= (L1_CODE_START + L1_CODE_LENGTH - 512)) && | ||
531 | (fp->pc < (L1_CODE_START + L1_CODE_LENGTH))) { | ||
532 | /* | ||
533 | * A false hardware error will happen while fetching at | ||
534 | * the L1 instruction SRAM boundary. Ignore it. | ||
535 | */ | ||
536 | anomaly_rets = fp->rets; | ||
537 | goto traps_done; | ||
538 | } else if (fp->rets == anomaly_rets) { | ||
539 | /* | ||
540 | * While boundary code returns to a function, at the ret | ||
541 | * point, a new false hardware error might occur too based | ||
542 | * on tests. Ignore it too. | ||
543 | */ | ||
544 | goto traps_done; | ||
545 | } else if ((fp->rets >= (L1_CODE_START + L1_CODE_LENGTH - 512)) && | ||
546 | (fp->rets < (L1_CODE_START + L1_CODE_LENGTH))) { | ||
547 | /* | ||
548 | * If boundary code calls a function, at the entry point, | ||
549 | * a new false hardware error maybe happen based on tests. | ||
550 | * Ignore it too. | ||
551 | */ | ||
552 | goto traps_done; | ||
553 | } else | ||
554 | anomaly_rets = 0; | ||
555 | } | ||
556 | |||
518 | info.si_code = BUS_ADRERR; | 557 | info.si_code = BUS_ADRERR; |
519 | sig = SIGBUS; | 558 | sig = SIGBUS; |
520 | strerror = KERN_NOTICE HWC_x3(KERN_NOTICE); | 559 | strerror = KERN_NOTICE HWC_x3(KERN_NOTICE); |
@@ -976,12 +1015,12 @@ void dump_bfin_process(struct pt_regs *fp) | |||
976 | !((unsigned long)current & 0x3) && current->pid) { | 1015 | !((unsigned long)current & 0x3) && current->pid) { |
977 | verbose_printk(KERN_NOTICE "CURRENT PROCESS:\n"); | 1016 | verbose_printk(KERN_NOTICE "CURRENT PROCESS:\n"); |
978 | if (current->comm >= (char *)FIXED_CODE_START) | 1017 | if (current->comm >= (char *)FIXED_CODE_START) |
979 | verbose_printk(KERN_NOTICE "COMM=%s PID=%d\n", | 1018 | verbose_printk(KERN_NOTICE "COMM=%s PID=%d", |
980 | current->comm, current->pid); | 1019 | current->comm, current->pid); |
981 | else | 1020 | else |
982 | verbose_printk(KERN_NOTICE "COMM= invalid\n"); | 1021 | verbose_printk(KERN_NOTICE "COMM= invalid"); |
983 | 1022 | ||
984 | printk(KERN_NOTICE "CPU = %d\n", current_thread_info()->cpu); | 1023 | printk(KERN_CONT " CPU=%d\n", current_thread_info()->cpu); |
985 | if (!((unsigned long)current->mm & 0x3) && (unsigned long)current->mm >= FIXED_CODE_START) | 1024 | if (!((unsigned long)current->mm & 0x3) && (unsigned long)current->mm >= FIXED_CODE_START) |
986 | verbose_printk(KERN_NOTICE | 1025 | verbose_printk(KERN_NOTICE |
987 | "TEXT = 0x%p-0x%p DATA = 0x%p-0x%p\n" | 1026 | "TEXT = 0x%p-0x%p DATA = 0x%p-0x%p\n" |
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index 10e12539000e..66799e763dc9 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -4,8 +4,6 @@ | |||
4 | * Licensed under the GPL-2 or later | 4 | * Licensed under the GPL-2 or later |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ | ||
8 | |||
9 | #include <asm-generic/vmlinux.lds.h> | 7 | #include <asm-generic/vmlinux.lds.h> |
10 | #include <asm/mem_map.h> | 8 | #include <asm/mem_map.h> |
11 | #include <asm/page.h> | 9 | #include <asm/page.h> |
@@ -123,8 +121,6 @@ SECTIONS | |||
123 | EXIT_DATA | 121 | EXIT_DATA |
124 | } | 122 | } |
125 | 123 | ||
126 | __l1_lma_start = .; | ||
127 | |||
128 | .text_l1 L1_CODE_START : AT(LOADADDR(.exit.data) + SIZEOF(.exit.data)) | 124 | .text_l1 L1_CODE_START : AT(LOADADDR(.exit.data) + SIZEOF(.exit.data)) |
129 | { | 125 | { |
130 | . = ALIGN(4); | 126 | . = ALIGN(4); |
@@ -136,9 +132,11 @@ SECTIONS | |||
136 | . = ALIGN(4); | 132 | . = ALIGN(4); |
137 | __etext_l1 = .; | 133 | __etext_l1 = .; |
138 | } | 134 | } |
139 | ASSERT (SIZEOF(.text_l1) <= L1_CODE_LENGTH, "L1 text overflow!") | 135 | __text_l1_lma = LOADADDR(.text_l1); |
136 | __text_l1_len = SIZEOF(.text_l1); | ||
137 | ASSERT (__text_l1_len <= L1_CODE_LENGTH, "L1 text overflow!") | ||
140 | 138 | ||
141 | .data_l1 L1_DATA_A_START : AT(LOADADDR(.text_l1) + SIZEOF(.text_l1)) | 139 | .data_l1 L1_DATA_A_START : AT(__text_l1_lma + __text_l1_len) |
142 | { | 140 | { |
143 | . = ALIGN(4); | 141 | . = ALIGN(4); |
144 | __sdata_l1 = .; | 142 | __sdata_l1 = .; |
@@ -154,9 +152,11 @@ SECTIONS | |||
154 | . = ALIGN(4); | 152 | . = ALIGN(4); |
155 | __ebss_l1 = .; | 153 | __ebss_l1 = .; |
156 | } | 154 | } |
157 | ASSERT (SIZEOF(.data_l1) <= L1_DATA_A_LENGTH, "L1 data A overflow!") | 155 | __data_l1_lma = LOADADDR(.data_l1); |
156 | __data_l1_len = SIZEOF(.data_l1); | ||
157 | ASSERT (__data_l1_len <= L1_DATA_A_LENGTH, "L1 data A overflow!") | ||
158 | 158 | ||
159 | .data_b_l1 L1_DATA_B_START : AT(LOADADDR(.data_l1) + SIZEOF(.data_l1)) | 159 | .data_b_l1 L1_DATA_B_START : AT(__data_l1_lma + __data_l1_len) |
160 | { | 160 | { |
161 | . = ALIGN(4); | 161 | . = ALIGN(4); |
162 | __sdata_b_l1 = .; | 162 | __sdata_b_l1 = .; |
@@ -169,11 +169,11 @@ SECTIONS | |||
169 | . = ALIGN(4); | 169 | . = ALIGN(4); |
170 | __ebss_b_l1 = .; | 170 | __ebss_b_l1 = .; |
171 | } | 171 | } |
172 | ASSERT (SIZEOF(.data_b_l1) <= L1_DATA_B_LENGTH, "L1 data B overflow!") | 172 | __data_b_l1_lma = LOADADDR(.data_b_l1); |
173 | 173 | __data_b_l1_len = SIZEOF(.data_b_l1); | |
174 | __l2_lma_start = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1); | 174 | ASSERT (__data_b_l1_len <= L1_DATA_B_LENGTH, "L1 data B overflow!") |
175 | 175 | ||
176 | .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1)) | 176 | .text_data_l2 L2_START : AT(__data_b_l1_lma + __data_b_l1_len) |
177 | { | 177 | { |
178 | . = ALIGN(4); | 178 | . = ALIGN(4); |
179 | __stext_l2 = .; | 179 | __stext_l2 = .; |
@@ -195,12 +195,14 @@ SECTIONS | |||
195 | . = ALIGN(4); | 195 | . = ALIGN(4); |
196 | __ebss_l2 = .; | 196 | __ebss_l2 = .; |
197 | } | 197 | } |
198 | ASSERT (SIZEOF(.text_data_l2) <= L2_LENGTH, "L2 overflow!") | 198 | __l2_lma = LOADADDR(.text_data_l2); |
199 | __l2_len = SIZEOF(.text_data_l2); | ||
200 | ASSERT (__l2_len <= L2_LENGTH, "L2 overflow!") | ||
199 | 201 | ||
200 | /* Force trailing alignment of our init section so that when we | 202 | /* Force trailing alignment of our init section so that when we |
201 | * free our init memory, we don't leave behind a partial page. | 203 | * free our init memory, we don't leave behind a partial page. |
202 | */ | 204 | */ |
203 | . = LOADADDR(.text_data_l2) + SIZEOF(.text_data_l2); | 205 | . = __l2_lma + __l2_len; |
204 | . = ALIGN(PAGE_SIZE); | 206 | . = ALIGN(PAGE_SIZE); |
205 | ___init_end = .; | 207 | ___init_end = .; |
206 | 208 | ||
diff --git a/arch/blackfin/lib/Makefile b/arch/blackfin/lib/Makefile index 635288fc5f54..42c47dc9e12f 100644 --- a/arch/blackfin/lib/Makefile +++ b/arch/blackfin/lib/Makefile | |||
@@ -5,7 +5,7 @@ | |||
5 | lib-y := \ | 5 | lib-y := \ |
6 | ashldi3.o ashrdi3.o lshrdi3.o \ | 6 | ashldi3.o ashrdi3.o lshrdi3.o \ |
7 | muldi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \ | 7 | muldi3.o divsi3.o udivsi3.o modsi3.o umodsi3.o \ |
8 | checksum.o memcpy.o memset.o memcmp.o memchr.o memmove.o \ | 8 | memcpy.o memset.o memcmp.o memchr.o memmove.o \ |
9 | strcmp.o strcpy.o strncmp.o strncpy.o \ | 9 | strcmp.o strcpy.o strncmp.o strncpy.o \ |
10 | umulsi3_highpart.o smulsi3_highpart.o \ | 10 | umulsi3_highpart.o smulsi3_highpart.o \ |
11 | ins.o outs.o | 11 | ins.o outs.o |
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c deleted file mode 100644 index c62969dc1bbb..000000000000 --- a/arch/blackfin/lib/checksum.c +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright 2004-2009 Analog Devices Inc. | ||
3 | * | ||
4 | * Licensed under the GPL-2 or later. | ||
5 | * | ||
6 | * An implementation of the TCP/IP protocol suite for the LINUX operating | ||
7 | * system. INET is implemented using the BSD Socket interface as the | ||
8 | * means of communication with the user level. | ||
9 | * | ||
10 | */ | ||
11 | |||
12 | #include <linux/module.h> | ||
13 | #include <net/checksum.h> | ||
14 | #include <asm/checksum.h> | ||
15 | |||
16 | #ifdef CONFIG_IP_CHECKSUM_L1 | ||
17 | static unsigned short do_csum(const unsigned char *buff, int len)__attribute__((l1_text)); | ||
18 | #endif | ||
19 | |||
20 | static unsigned short do_csum(const unsigned char *buff, int len) | ||
21 | { | ||
22 | register unsigned long sum = 0; | ||
23 | int swappem = 0; | ||
24 | |||
25 | if (1 & (unsigned long)buff) { | ||
26 | sum = *buff << 8; | ||
27 | buff++; | ||
28 | len--; | ||
29 | ++swappem; | ||
30 | } | ||
31 | |||
32 | while (len > 1) { | ||
33 | sum += *(unsigned short *)buff; | ||
34 | buff += 2; | ||
35 | len -= 2; | ||
36 | } | ||
37 | |||
38 | if (len > 0) | ||
39 | sum += *buff; | ||
40 | |||
41 | /* Fold 32-bit sum to 16 bits */ | ||
42 | while (sum >> 16) | ||
43 | sum = (sum & 0xffff) + (sum >> 16); | ||
44 | |||
45 | if (swappem) | ||
46 | sum = ((sum & 0xff00) >> 8) + ((sum & 0x00ff) << 8); | ||
47 | |||
48 | return sum; | ||
49 | |||
50 | } | ||
51 | |||
52 | /* | ||
53 | * This is a version of ip_compute_csum() optimized for IP headers, | ||
54 | * which always checksum on 4 octet boundaries. | ||
55 | */ | ||
56 | __sum16 ip_fast_csum(unsigned char *iph, unsigned int ihl) | ||
57 | { | ||
58 | return (__force __sum16)~do_csum(iph, ihl * 4); | ||
59 | } | ||
60 | EXPORT_SYMBOL(ip_fast_csum); | ||
61 | |||
62 | /* | ||
63 | * computes the checksum of a memory block at buff, length len, | ||
64 | * and adds in "sum" (32-bit) | ||
65 | * | ||
66 | * returns a 32-bit number suitable for feeding into itself | ||
67 | * or csum_tcpudp_magic | ||
68 | * | ||
69 | * this function must be called with even lengths, except | ||
70 | * for the last fragment, which may be odd | ||
71 | * | ||
72 | * it's best to have buff aligned on a 32-bit boundary | ||
73 | */ | ||
74 | __wsum csum_partial(const void *buff, int len, __wsum sum) | ||
75 | { | ||
76 | /* | ||
77 | * Just in case we get nasty checksum data... | ||
78 | * Like 0xffff6ec3 in the case of our IPv6 multicast header. | ||
79 | * We fold to begin with, as well as at the end. | ||
80 | */ | ||
81 | sum = (sum & 0xffff) + (sum >> 16); | ||
82 | |||
83 | sum += do_csum(buff, len); | ||
84 | |||
85 | sum = (sum & 0xffff) + (sum >> 16); | ||
86 | |||
87 | return sum; | ||
88 | } | ||
89 | EXPORT_SYMBOL(csum_partial); | ||
90 | |||
91 | /* | ||
92 | * this routine is used for miscellaneous IP-like checksums, mainly | ||
93 | * in icmp.c | ||
94 | */ | ||
95 | __sum16 ip_compute_csum(const void *buff, int len) | ||
96 | { | ||
97 | return (__force __sum16)~do_csum(buff, len); | ||
98 | } | ||
99 | EXPORT_SYMBOL(ip_compute_csum); | ||
100 | |||
101 | /* | ||
102 | * copy from fs while checksumming, otherwise like csum_partial | ||
103 | */ | ||
104 | |||
105 | __wsum | ||
106 | csum_partial_copy_from_user(const void __user *src, void *dst, | ||
107 | int len, __wsum sum, int *csum_err) | ||
108 | { | ||
109 | if (csum_err) | ||
110 | *csum_err = 0; | ||
111 | memcpy(dst, (__force void *)src, len); | ||
112 | return csum_partial(dst, len, sum); | ||
113 | } | ||
114 | EXPORT_SYMBOL(csum_partial_copy_from_user); | ||
115 | |||
116 | /* | ||
117 | * copy from ds while checksumming, otherwise like csum_partial | ||
118 | */ | ||
119 | |||
120 | __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum) | ||
121 | { | ||
122 | memcpy(dst, src, len); | ||
123 | return csum_partial(dst, len, sum); | ||
124 | } | ||
125 | EXPORT_SYMBOL(csum_partial_copy); | ||
diff --git a/arch/blackfin/mach-bf518/Kconfig b/arch/blackfin/mach-bf518/Kconfig index 4c76fefb7a3b..4ab2d166c832 100644 --- a/arch/blackfin/mach-bf518/Kconfig +++ b/arch/blackfin/mach-bf518/Kconfig | |||
@@ -1,3 +1,7 @@ | |||
1 | config BF51x | ||
2 | def_bool y | ||
3 | depends on (BF512 || BF514 || BF516 || BF518) | ||
4 | |||
1 | if (BF51x) | 5 | if (BF51x) |
2 | 6 | ||
3 | source "arch/blackfin/mach-bf518/boards/Kconfig" | 7 | source "arch/blackfin/mach-bf518/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf518/include/mach/blackfin.h b/arch/blackfin/mach-bf518/include/mach/blackfin.h index 6cfb246aebec..9053462be4b1 100644 --- a/arch/blackfin/mach-bf518/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf518/include/mach/blackfin.h | |||
@@ -58,10 +58,4 @@ | |||
58 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ | 58 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ |
59 | #define OFFSET_GCTL 0x24 /* Global Control Register */ | 59 | #define OFFSET_GCTL 0x24 /* Global Control Register */ |
60 | 60 | ||
61 | /* PLL_DIV Masks */ | ||
62 | #define CCLK_DIV1 CSEL_DIV1 /* CCLK = VCO / 1 */ | ||
63 | #define CCLK_DIV2 CSEL_DIV2 /* CCLK = VCO / 2 */ | ||
64 | #define CCLK_DIV4 CSEL_DIV4 /* CCLK = VCO / 4 */ | ||
65 | #define CCLK_DIV8 CSEL_DIV8 /* CCLK = VCO / 8 */ | ||
66 | |||
67 | #endif | 61 | #endif |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h index e1d99911025d..108fa4bde277 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2008-2009 Analog Devices Inc. | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * | 3 | * |
4 | * Licensed under the GPL-2 or later | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef _CDEF_BF514_H | 7 | #ifndef _CDEF_BF514_H |
@@ -10,15 +10,8 @@ | |||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF514.h" | 11 | #include "defBF514.h" |
12 | 12 | ||
13 | /* include core specific register pointer definitions */ | 13 | /* BF514 is BF512 + RSI */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include "cdefBF512.h" |
15 | |||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF514 */ | ||
17 | |||
18 | /* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
19 | #include "cdefBF51x_base.h" | ||
20 | |||
21 | /* The following are the #defines needed by ADSP-BF514 that are not in the common header */ | ||
22 | 15 | ||
23 | /* Removable Storage Interface Registers */ | 16 | /* Removable Storage Interface Registers */ |
24 | 17 | ||
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h index 6b364eda4947..2751592ef1c1 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2008-2009 Analog Devices Inc. | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * | 3 | * |
4 | * Licensed under the GPL-2 or later | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef _CDEF_BF516_H | 7 | #ifndef _CDEF_BF516_H |
@@ -10,15 +10,8 @@ | |||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF516.h" | 11 | #include "defBF516.h" |
12 | 12 | ||
13 | /* include core specific register pointer definitions */ | 13 | /* BF516 is BF514 + EMAC */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include "cdefBF514.h" |
15 | |||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF516 */ | ||
17 | |||
18 | /* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
19 | #include "cdefBF51x_base.h" | ||
20 | |||
21 | /* The following are the #defines needed by ADSP-BF516 that are not in the common header */ | ||
22 | 15 | ||
23 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | 16 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ |
24 | 17 | ||
@@ -185,71 +178,4 @@ | |||
185 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | 178 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) |
186 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | 179 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) |
187 | 180 | ||
188 | /* Removable Storage Interface Registers */ | ||
189 | |||
190 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) | ||
191 | #define bfin_write_RSI_PWR_CTL(val) bfin_write16(RSI_PWR_CONTROL, val) | ||
192 | #define bfin_read_RSI_CLK_CTL() bfin_read16(RSI_CLK_CONTROL) | ||
193 | #define bfin_write_RSI_CLK_CTL(val) bfin_write16(RSI_CLK_CONTROL, val) | ||
194 | #define bfin_read_RSI_ARGUMENT() bfin_read32(RSI_ARGUMENT) | ||
195 | #define bfin_write_RSI_ARGUMENT(val) bfin_write32(RSI_ARGUMENT, val) | ||
196 | #define bfin_read_RSI_COMMAND() bfin_read16(RSI_COMMAND) | ||
197 | #define bfin_write_RSI_COMMAND(val) bfin_write16(RSI_COMMAND, val) | ||
198 | #define bfin_read_RSI_RESP_CMD() bfin_read16(RSI_RESP_CMD) | ||
199 | #define bfin_write_RSI_RESP_CMD(val) bfin_write16(RSI_RESP_CMD, val) | ||
200 | #define bfin_read_RSI_RESPONSE0() bfin_read32(RSI_RESPONSE0) | ||
201 | #define bfin_write_RSI_RESPONSE0(val) bfin_write32(RSI_RESPONSE0, val) | ||
202 | #define bfin_read_RSI_RESPONSE1() bfin_read32(RSI_RESPONSE1) | ||
203 | #define bfin_write_RSI_RESPONSE1(val) bfin_write32(RSI_RESPONSE1, val) | ||
204 | #define bfin_read_RSI_RESPONSE2() bfin_read32(RSI_RESPONSE2) | ||
205 | #define bfin_write_RSI_RESPONSE2(val) bfin_write32(RSI_RESPONSE2, val) | ||
206 | #define bfin_read_RSI_RESPONSE3() bfin_read32(RSI_RESPONSE3) | ||
207 | #define bfin_write_RSI_RESPONSE3(val) bfin_write32(RSI_RESPONSE3, val) | ||
208 | #define bfin_read_RSI_DATA_TIMER() bfin_read32(RSI_DATA_TIMER) | ||
209 | #define bfin_write_RSI_DATA_TIMER(val) bfin_write32(RSI_DATA_TIMER, val) | ||
210 | #define bfin_read_RSI_DATA_LGTH() bfin_read16(RSI_DATA_LGTH) | ||
211 | #define bfin_write_RSI_DATA_LGTH(val) bfin_write16(RSI_DATA_LGTH, val) | ||
212 | #define bfin_read_RSI_DATA_CTL() bfin_read16(RSI_DATA_CONTROL) | ||
213 | #define bfin_write_RSI_DATA_CTL(val) bfin_write16(RSI_DATA_CONTROL, val) | ||
214 | #define bfin_read_RSI_DATA_CNT() bfin_read16(RSI_DATA_CNT) | ||
215 | #define bfin_write_RSI_DATA_CNT(val) bfin_write16(RSI_DATA_CNT, val) | ||
216 | #define bfin_read_RSI_STATUS() bfin_read32(RSI_STATUS) | ||
217 | #define bfin_write_RSI_STATUS(val) bfin_write32(RSI_STATUS, val) | ||
218 | #define bfin_read_RSI_STATUS_CLR() bfin_read16(RSI_STATUSCL) | ||
219 | #define bfin_write_RSI_STATUS_CLR(val) bfin_write16(RSI_STATUSCL, val) | ||
220 | #define bfin_read_RSI_MASK0() bfin_read32(RSI_MASK0) | ||
221 | #define bfin_write_RSI_MASK0(val) bfin_write32(RSI_MASK0, val) | ||
222 | #define bfin_read_RSI_MASK1() bfin_read32(RSI_MASK1) | ||
223 | #define bfin_write_RSI_MASK1(val) bfin_write32(RSI_MASK1, val) | ||
224 | #define bfin_read_RSI_FIFO_CNT() bfin_read16(RSI_FIFO_CNT) | ||
225 | #define bfin_write_RSI_FIFO_CNT(val) bfin_write16(RSI_FIFO_CNT, val) | ||
226 | #define bfin_read_RSI_CEATA_CTL() bfin_read16(RSI_CEATA_CONTROL) | ||
227 | #define bfin_write_RSI_CEATA_CTL(val) bfin_write16(RSI_CEATA_CONTROL, val) | ||
228 | #define bfin_read_RSI_FIFO() bfin_read32(RSI_FIFO) | ||
229 | #define bfin_write_RSI_FIFO(val) bfin_write32(RSI_FIFO, val) | ||
230 | #define bfin_read_RSI_E_STATUS() bfin_read16(RSI_ESTAT) | ||
231 | #define bfin_write_RSI_E_STATUS(val) bfin_write16(RSI_ESTAT, val) | ||
232 | #define bfin_read_RSI_E_MASK() bfin_read16(RSI_EMASK) | ||
233 | #define bfin_write_RSI_E_MASK(val) bfin_write16(RSI_EMASK, val) | ||
234 | #define bfin_read_RSI_CFG() bfin_read16(RSI_CONFIG) | ||
235 | #define bfin_write_RSI_CFG(val) bfin_write16(RSI_CONFIG, val) | ||
236 | #define bfin_read_RSI_RD_WAIT_EN() bfin_read16(RSI_RD_WAIT_EN) | ||
237 | #define bfin_write_RSI_RD_WAIT_EN(val) bfin_write16(RSI_RD_WAIT_EN, val) | ||
238 | #define bfin_read_RSI_PID0() bfin_read16(RSI_PID0) | ||
239 | #define bfin_write_RSI_PID0(val) bfin_write16(RSI_PID0, val) | ||
240 | #define bfin_read_RSI_PID1() bfin_read16(RSI_PID1) | ||
241 | #define bfin_write_RSI_PID1(val) bfin_write16(RSI_PID1, val) | ||
242 | #define bfin_read_RSI_PID2() bfin_read16(RSI_PID2) | ||
243 | #define bfin_write_RSI_PID2(val) bfin_write16(RSI_PID2, val) | ||
244 | #define bfin_read_RSI_PID3() bfin_read16(RSI_PID3) | ||
245 | #define bfin_write_RSI_PID3(val) bfin_write16(RSI_PID3, val) | ||
246 | #define bfin_read_RSI_PID4() bfin_read16(RSI_PID4) | ||
247 | #define bfin_write_RSI_PID4(val) bfin_write16(RSI_PID4, val) | ||
248 | #define bfin_read_RSI_PID5() bfin_read16(RSI_PID5) | ||
249 | #define bfin_write_RSI_PID5(val) bfin_write16(RSI_PID5, val) | ||
250 | #define bfin_read_RSI_PID6() bfin_read16(RSI_PID6) | ||
251 | #define bfin_write_RSI_PID6(val) bfin_write16(RSI_PID6, val) | ||
252 | #define bfin_read_RSI_PID7() bfin_read16(RSI_PID7) | ||
253 | #define bfin_write_RSI_PID7(val) bfin_write16(RSI_PID7, val) | ||
254 | |||
255 | #endif /* _CDEF_BF516_H */ | 181 | #endif /* _CDEF_BF516_H */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h index 929b90650bd4..7fb7f0eab990 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2008-2009 Analog Devices Inc. | 2 | * Copyright 2008-2009 Analog Devices Inc. |
3 | * | 3 | * |
4 | * Licensed under the GPL-2 or later | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef _CDEF_BF518_H | 7 | #ifndef _CDEF_BF518_H |
@@ -10,181 +10,10 @@ | |||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF518.h" | 11 | #include "defBF518.h" |
12 | 12 | ||
13 | /* include core specific register pointer definitions */ | 13 | /* BF518 is BF516 + IEEE-1588 */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include "cdefBF516.h" |
15 | 15 | ||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF518 */ | 16 | /* PTP TSYNC Registers */ |
17 | |||
18 | /* include cdefBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
19 | #include "cdefBF51x_base.h" | ||
20 | |||
21 | /* The following are the #defines needed by ADSP-BF518 that are not in the common header */ | ||
22 | |||
23 | |||
24 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | ||
25 | |||
26 | #define bfin_read_EMAC_OPMODE() bfin_read32(EMAC_OPMODE) | ||
27 | #define bfin_write_EMAC_OPMODE(val) bfin_write32(EMAC_OPMODE, val) | ||
28 | #define bfin_read_EMAC_ADDRLO() bfin_read32(EMAC_ADDRLO) | ||
29 | #define bfin_write_EMAC_ADDRLO(val) bfin_write32(EMAC_ADDRLO, val) | ||
30 | #define bfin_read_EMAC_ADDRHI() bfin_read32(EMAC_ADDRHI) | ||
31 | #define bfin_write_EMAC_ADDRHI(val) bfin_write32(EMAC_ADDRHI, val) | ||
32 | #define bfin_read_EMAC_HASHLO() bfin_read32(EMAC_HASHLO) | ||
33 | #define bfin_write_EMAC_HASHLO(val) bfin_write32(EMAC_HASHLO, val) | ||
34 | #define bfin_read_EMAC_HASHHI() bfin_read32(EMAC_HASHHI) | ||
35 | #define bfin_write_EMAC_HASHHI(val) bfin_write32(EMAC_HASHHI, val) | ||
36 | #define bfin_read_EMAC_STAADD() bfin_read32(EMAC_STAADD) | ||
37 | #define bfin_write_EMAC_STAADD(val) bfin_write32(EMAC_STAADD, val) | ||
38 | #define bfin_read_EMAC_STADAT() bfin_read32(EMAC_STADAT) | ||
39 | #define bfin_write_EMAC_STADAT(val) bfin_write32(EMAC_STADAT, val) | ||
40 | #define bfin_read_EMAC_FLC() bfin_read32(EMAC_FLC) | ||
41 | #define bfin_write_EMAC_FLC(val) bfin_write32(EMAC_FLC, val) | ||
42 | #define bfin_read_EMAC_VLAN1() bfin_read32(EMAC_VLAN1) | ||
43 | #define bfin_write_EMAC_VLAN1(val) bfin_write32(EMAC_VLAN1, val) | ||
44 | #define bfin_read_EMAC_VLAN2() bfin_read32(EMAC_VLAN2) | ||
45 | #define bfin_write_EMAC_VLAN2(val) bfin_write32(EMAC_VLAN2, val) | ||
46 | #define bfin_read_EMAC_WKUP_CTL() bfin_read32(EMAC_WKUP_CTL) | ||
47 | #define bfin_write_EMAC_WKUP_CTL(val) bfin_write32(EMAC_WKUP_CTL, val) | ||
48 | #define bfin_read_EMAC_WKUP_FFMSK0() bfin_read32(EMAC_WKUP_FFMSK0) | ||
49 | #define bfin_write_EMAC_WKUP_FFMSK0(val) bfin_write32(EMAC_WKUP_FFMSK0, val) | ||
50 | #define bfin_read_EMAC_WKUP_FFMSK1() bfin_read32(EMAC_WKUP_FFMSK1) | ||
51 | #define bfin_write_EMAC_WKUP_FFMSK1(val) bfin_write32(EMAC_WKUP_FFMSK1, val) | ||
52 | #define bfin_read_EMAC_WKUP_FFMSK2() bfin_read32(EMAC_WKUP_FFMSK2) | ||
53 | #define bfin_write_EMAC_WKUP_FFMSK2(val) bfin_write32(EMAC_WKUP_FFMSK2, val) | ||
54 | #define bfin_read_EMAC_WKUP_FFMSK3() bfin_read32(EMAC_WKUP_FFMSK3) | ||
55 | #define bfin_write_EMAC_WKUP_FFMSK3(val) bfin_write32(EMAC_WKUP_FFMSK3, val) | ||
56 | #define bfin_read_EMAC_WKUP_FFCMD() bfin_read32(EMAC_WKUP_FFCMD) | ||
57 | #define bfin_write_EMAC_WKUP_FFCMD(val) bfin_write32(EMAC_WKUP_FFCMD, val) | ||
58 | #define bfin_read_EMAC_WKUP_FFOFF() bfin_read32(EMAC_WKUP_FFOFF) | ||
59 | #define bfin_write_EMAC_WKUP_FFOFF(val) bfin_write32(EMAC_WKUP_FFOFF, val) | ||
60 | #define bfin_read_EMAC_WKUP_FFCRC0() bfin_read32(EMAC_WKUP_FFCRC0) | ||
61 | #define bfin_write_EMAC_WKUP_FFCRC0(val) bfin_write32(EMAC_WKUP_FFCRC0, val) | ||
62 | #define bfin_read_EMAC_WKUP_FFCRC1() bfin_read32(EMAC_WKUP_FFCRC1) | ||
63 | #define bfin_write_EMAC_WKUP_FFCRC1(val) bfin_write32(EMAC_WKUP_FFCRC1, val) | ||
64 | |||
65 | #define bfin_read_EMAC_SYSCTL() bfin_read32(EMAC_SYSCTL) | ||
66 | #define bfin_write_EMAC_SYSCTL(val) bfin_write32(EMAC_SYSCTL, val) | ||
67 | #define bfin_read_EMAC_SYSTAT() bfin_read32(EMAC_SYSTAT) | ||
68 | #define bfin_write_EMAC_SYSTAT(val) bfin_write32(EMAC_SYSTAT, val) | ||
69 | #define bfin_read_EMAC_RX_STAT() bfin_read32(EMAC_RX_STAT) | ||
70 | #define bfin_write_EMAC_RX_STAT(val) bfin_write32(EMAC_RX_STAT, val) | ||
71 | #define bfin_read_EMAC_RX_STKY() bfin_read32(EMAC_RX_STKY) | ||
72 | #define bfin_write_EMAC_RX_STKY(val) bfin_write32(EMAC_RX_STKY, val) | ||
73 | #define bfin_read_EMAC_RX_IRQE() bfin_read32(EMAC_RX_IRQE) | ||
74 | #define bfin_write_EMAC_RX_IRQE(val) bfin_write32(EMAC_RX_IRQE, val) | ||
75 | #define bfin_read_EMAC_TX_STAT() bfin_read32(EMAC_TX_STAT) | ||
76 | #define bfin_write_EMAC_TX_STAT(val) bfin_write32(EMAC_TX_STAT, val) | ||
77 | #define bfin_read_EMAC_TX_STKY() bfin_read32(EMAC_TX_STKY) | ||
78 | #define bfin_write_EMAC_TX_STKY(val) bfin_write32(EMAC_TX_STKY, val) | ||
79 | #define bfin_read_EMAC_TX_IRQE() bfin_read32(EMAC_TX_IRQE) | ||
80 | #define bfin_write_EMAC_TX_IRQE(val) bfin_write32(EMAC_TX_IRQE, val) | ||
81 | |||
82 | #define bfin_read_EMAC_MMC_CTL() bfin_read32(EMAC_MMC_CTL) | ||
83 | #define bfin_write_EMAC_MMC_CTL(val) bfin_write32(EMAC_MMC_CTL, val) | ||
84 | #define bfin_read_EMAC_MMC_RIRQS() bfin_read32(EMAC_MMC_RIRQS) | ||
85 | #define bfin_write_EMAC_MMC_RIRQS(val) bfin_write32(EMAC_MMC_RIRQS, val) | ||
86 | #define bfin_read_EMAC_MMC_RIRQE() bfin_read32(EMAC_MMC_RIRQE) | ||
87 | #define bfin_write_EMAC_MMC_RIRQE(val) bfin_write32(EMAC_MMC_RIRQE, val) | ||
88 | #define bfin_read_EMAC_MMC_TIRQS() bfin_read32(EMAC_MMC_TIRQS) | ||
89 | #define bfin_write_EMAC_MMC_TIRQS(val) bfin_write32(EMAC_MMC_TIRQS, val) | ||
90 | #define bfin_read_EMAC_MMC_TIRQE() bfin_read32(EMAC_MMC_TIRQE) | ||
91 | #define bfin_write_EMAC_MMC_TIRQE(val) bfin_write32(EMAC_MMC_TIRQE, val) | ||
92 | |||
93 | #define bfin_read_EMAC_RXC_OK() bfin_read32(EMAC_RXC_OK) | ||
94 | #define bfin_write_EMAC_RXC_OK(val) bfin_write32(EMAC_RXC_OK, val) | ||
95 | #define bfin_read_EMAC_RXC_FCS() bfin_read32(EMAC_RXC_FCS) | ||
96 | #define bfin_write_EMAC_RXC_FCS(val) bfin_write32(EMAC_RXC_FCS, val) | ||
97 | #define bfin_read_EMAC_RXC_ALIGN() bfin_read32(EMAC_RXC_ALIGN) | ||
98 | #define bfin_write_EMAC_RXC_ALIGN(val) bfin_write32(EMAC_RXC_ALIGN, val) | ||
99 | #define bfin_read_EMAC_RXC_OCTET() bfin_read32(EMAC_RXC_OCTET) | ||
100 | #define bfin_write_EMAC_RXC_OCTET(val) bfin_write32(EMAC_RXC_OCTET, val) | ||
101 | #define bfin_read_EMAC_RXC_DMAOVF() bfin_read32(EMAC_RXC_DMAOVF) | ||
102 | #define bfin_write_EMAC_RXC_DMAOVF(val) bfin_write32(EMAC_RXC_DMAOVF, val) | ||
103 | #define bfin_read_EMAC_RXC_UNICST() bfin_read32(EMAC_RXC_UNICST) | ||
104 | #define bfin_write_EMAC_RXC_UNICST(val) bfin_write32(EMAC_RXC_UNICST, val) | ||
105 | #define bfin_read_EMAC_RXC_MULTI() bfin_read32(EMAC_RXC_MULTI) | ||
106 | #define bfin_write_EMAC_RXC_MULTI(val) bfin_write32(EMAC_RXC_MULTI, val) | ||
107 | #define bfin_read_EMAC_RXC_BROAD() bfin_read32(EMAC_RXC_BROAD) | ||
108 | #define bfin_write_EMAC_RXC_BROAD(val) bfin_write32(EMAC_RXC_BROAD, val) | ||
109 | #define bfin_read_EMAC_RXC_LNERRI() bfin_read32(EMAC_RXC_LNERRI) | ||
110 | #define bfin_write_EMAC_RXC_LNERRI(val) bfin_write32(EMAC_RXC_LNERRI, val) | ||
111 | #define bfin_read_EMAC_RXC_LNERRO() bfin_read32(EMAC_RXC_LNERRO) | ||
112 | #define bfin_write_EMAC_RXC_LNERRO(val) bfin_write32(EMAC_RXC_LNERRO, val) | ||
113 | #define bfin_read_EMAC_RXC_LONG() bfin_read32(EMAC_RXC_LONG) | ||
114 | #define bfin_write_EMAC_RXC_LONG(val) bfin_write32(EMAC_RXC_LONG, val) | ||
115 | #define bfin_read_EMAC_RXC_MACCTL() bfin_read32(EMAC_RXC_MACCTL) | ||
116 | #define bfin_write_EMAC_RXC_MACCTL(val) bfin_write32(EMAC_RXC_MACCTL, val) | ||
117 | #define bfin_read_EMAC_RXC_OPCODE() bfin_read32(EMAC_RXC_OPCODE) | ||
118 | #define bfin_write_EMAC_RXC_OPCODE(val) bfin_write32(EMAC_RXC_OPCODE, val) | ||
119 | #define bfin_read_EMAC_RXC_PAUSE() bfin_read32(EMAC_RXC_PAUSE) | ||
120 | #define bfin_write_EMAC_RXC_PAUSE(val) bfin_write32(EMAC_RXC_PAUSE, val) | ||
121 | #define bfin_read_EMAC_RXC_ALLFRM() bfin_read32(EMAC_RXC_ALLFRM) | ||
122 | #define bfin_write_EMAC_RXC_ALLFRM(val) bfin_write32(EMAC_RXC_ALLFRM, val) | ||
123 | #define bfin_read_EMAC_RXC_ALLOCT() bfin_read32(EMAC_RXC_ALLOCT) | ||
124 | #define bfin_write_EMAC_RXC_ALLOCT(val) bfin_write32(EMAC_RXC_ALLOCT, val) | ||
125 | #define bfin_read_EMAC_RXC_TYPED() bfin_read32(EMAC_RXC_TYPED) | ||
126 | #define bfin_write_EMAC_RXC_TYPED(val) bfin_write32(EMAC_RXC_TYPED, val) | ||
127 | #define bfin_read_EMAC_RXC_SHORT() bfin_read32(EMAC_RXC_SHORT) | ||
128 | #define bfin_write_EMAC_RXC_SHORT(val) bfin_write32(EMAC_RXC_SHORT, val) | ||
129 | #define bfin_read_EMAC_RXC_EQ64() bfin_read32(EMAC_RXC_EQ64) | ||
130 | #define bfin_write_EMAC_RXC_EQ64(val) bfin_write32(EMAC_RXC_EQ64, val) | ||
131 | #define bfin_read_EMAC_RXC_LT128() bfin_read32(EMAC_RXC_LT128) | ||
132 | #define bfin_write_EMAC_RXC_LT128(val) bfin_write32(EMAC_RXC_LT128, val) | ||
133 | #define bfin_read_EMAC_RXC_LT256() bfin_read32(EMAC_RXC_LT256) | ||
134 | #define bfin_write_EMAC_RXC_LT256(val) bfin_write32(EMAC_RXC_LT256, val) | ||
135 | #define bfin_read_EMAC_RXC_LT512() bfin_read32(EMAC_RXC_LT512) | ||
136 | #define bfin_write_EMAC_RXC_LT512(val) bfin_write32(EMAC_RXC_LT512, val) | ||
137 | #define bfin_read_EMAC_RXC_LT1024() bfin_read32(EMAC_RXC_LT1024) | ||
138 | #define bfin_write_EMAC_RXC_LT1024(val) bfin_write32(EMAC_RXC_LT1024, val) | ||
139 | #define bfin_read_EMAC_RXC_GE1024() bfin_read32(EMAC_RXC_GE1024) | ||
140 | #define bfin_write_EMAC_RXC_GE1024(val) bfin_write32(EMAC_RXC_GE1024, val) | ||
141 | |||
142 | #define bfin_read_EMAC_TXC_OK() bfin_read32(EMAC_TXC_OK) | ||
143 | #define bfin_write_EMAC_TXC_OK(val) bfin_write32(EMAC_TXC_OK, val) | ||
144 | #define bfin_read_EMAC_TXC_1COL() bfin_read32(EMAC_TXC_1COL) | ||
145 | #define bfin_write_EMAC_TXC_1COL(val) bfin_write32(EMAC_TXC_1COL, val) | ||
146 | #define bfin_read_EMAC_TXC_GT1COL() bfin_read32(EMAC_TXC_GT1COL) | ||
147 | #define bfin_write_EMAC_TXC_GT1COL(val) bfin_write32(EMAC_TXC_GT1COL, val) | ||
148 | #define bfin_read_EMAC_TXC_OCTET() bfin_read32(EMAC_TXC_OCTET) | ||
149 | #define bfin_write_EMAC_TXC_OCTET(val) bfin_write32(EMAC_TXC_OCTET, val) | ||
150 | #define bfin_read_EMAC_TXC_DEFER() bfin_read32(EMAC_TXC_DEFER) | ||
151 | #define bfin_write_EMAC_TXC_DEFER(val) bfin_write32(EMAC_TXC_DEFER, val) | ||
152 | #define bfin_read_EMAC_TXC_LATECL() bfin_read32(EMAC_TXC_LATECL) | ||
153 | #define bfin_write_EMAC_TXC_LATECL(val) bfin_write32(EMAC_TXC_LATECL, val) | ||
154 | #define bfin_read_EMAC_TXC_XS_COL() bfin_read32(EMAC_TXC_XS_COL) | ||
155 | #define bfin_write_EMAC_TXC_XS_COL(val) bfin_write32(EMAC_TXC_XS_COL, val) | ||
156 | #define bfin_read_EMAC_TXC_DMAUND() bfin_read32(EMAC_TXC_DMAUND) | ||
157 | #define bfin_write_EMAC_TXC_DMAUND(val) bfin_write32(EMAC_TXC_DMAUND, val) | ||
158 | #define bfin_read_EMAC_TXC_CRSERR() bfin_read32(EMAC_TXC_CRSERR) | ||
159 | #define bfin_write_EMAC_TXC_CRSERR(val) bfin_write32(EMAC_TXC_CRSERR, val) | ||
160 | #define bfin_read_EMAC_TXC_UNICST() bfin_read32(EMAC_TXC_UNICST) | ||
161 | #define bfin_write_EMAC_TXC_UNICST(val) bfin_write32(EMAC_TXC_UNICST, val) | ||
162 | #define bfin_read_EMAC_TXC_MULTI() bfin_read32(EMAC_TXC_MULTI) | ||
163 | #define bfin_write_EMAC_TXC_MULTI(val) bfin_write32(EMAC_TXC_MULTI, val) | ||
164 | #define bfin_read_EMAC_TXC_BROAD() bfin_read32(EMAC_TXC_BROAD) | ||
165 | #define bfin_write_EMAC_TXC_BROAD(val) bfin_write32(EMAC_TXC_BROAD, val) | ||
166 | #define bfin_read_EMAC_TXC_XS_DFR() bfin_read32(EMAC_TXC_XS_DFR) | ||
167 | #define bfin_write_EMAC_TXC_XS_DFR(val) bfin_write32(EMAC_TXC_XS_DFR, val) | ||
168 | #define bfin_read_EMAC_TXC_MACCTL() bfin_read32(EMAC_TXC_MACCTL) | ||
169 | #define bfin_write_EMAC_TXC_MACCTL(val) bfin_write32(EMAC_TXC_MACCTL, val) | ||
170 | #define bfin_read_EMAC_TXC_ALLFRM() bfin_read32(EMAC_TXC_ALLFRM) | ||
171 | #define bfin_write_EMAC_TXC_ALLFRM(val) bfin_write32(EMAC_TXC_ALLFRM, val) | ||
172 | #define bfin_read_EMAC_TXC_ALLOCT() bfin_read32(EMAC_TXC_ALLOCT) | ||
173 | #define bfin_write_EMAC_TXC_ALLOCT(val) bfin_write32(EMAC_TXC_ALLOCT, val) | ||
174 | #define bfin_read_EMAC_TXC_EQ64() bfin_read32(EMAC_TXC_EQ64) | ||
175 | #define bfin_write_EMAC_TXC_EQ64(val) bfin_write32(EMAC_TXC_EQ64, val) | ||
176 | #define bfin_read_EMAC_TXC_LT128() bfin_read32(EMAC_TXC_LT128) | ||
177 | #define bfin_write_EMAC_TXC_LT128(val) bfin_write32(EMAC_TXC_LT128, val) | ||
178 | #define bfin_read_EMAC_TXC_LT256() bfin_read32(EMAC_TXC_LT256) | ||
179 | #define bfin_write_EMAC_TXC_LT256(val) bfin_write32(EMAC_TXC_LT256, val) | ||
180 | #define bfin_read_EMAC_TXC_LT512() bfin_read32(EMAC_TXC_LT512) | ||
181 | #define bfin_write_EMAC_TXC_LT512(val) bfin_write32(EMAC_TXC_LT512, val) | ||
182 | #define bfin_read_EMAC_TXC_LT1024() bfin_read32(EMAC_TXC_LT1024) | ||
183 | #define bfin_write_EMAC_TXC_LT1024(val) bfin_write32(EMAC_TXC_LT1024, val) | ||
184 | #define bfin_read_EMAC_TXC_GE1024() bfin_read32(EMAC_TXC_GE1024) | ||
185 | #define bfin_write_EMAC_TXC_GE1024(val) bfin_write32(EMAC_TXC_GE1024, val) | ||
186 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | ||
187 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | ||
188 | 17 | ||
189 | #define bfin_read_EMAC_PTP_CTL() bfin_read16(EMAC_PTP_CTL) | 18 | #define bfin_read_EMAC_PTP_CTL() bfin_read16(EMAC_PTP_CTL) |
190 | #define bfin_write_EMAC_PTP_CTL(val) bfin_write16(EMAC_PTP_CTL, val) | 19 | #define bfin_write_EMAC_PTP_CTL(val) bfin_write16(EMAC_PTP_CTL, val) |
@@ -227,72 +56,4 @@ | |||
227 | #define bfin_read_EMAC_PTP_PPS_PERIOD() bfin_read32(EMAC_PTP_PPS_PERIOD) | 56 | #define bfin_read_EMAC_PTP_PPS_PERIOD() bfin_read32(EMAC_PTP_PPS_PERIOD) |
228 | #define bfin_write_EMAC_PTP_PPS_PERIOD(val) bfin_write32(EMAC_PTP_PPS_PERIOD, val) | 57 | #define bfin_write_EMAC_PTP_PPS_PERIOD(val) bfin_write32(EMAC_PTP_PPS_PERIOD, val) |
229 | 58 | ||
230 | /* Removable Storage Interface Registers */ | ||
231 | |||
232 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) | ||
233 | #define bfin_write_RSI_PWR_CTL(val) bfin_write16(RSI_PWR_CONTROL, val) | ||
234 | #define bfin_read_RSI_CLK_CTL() bfin_read16(RSI_CLK_CONTROL) | ||
235 | #define bfin_write_RSI_CLK_CTL(val) bfin_write16(RSI_CLK_CONTROL, val) | ||
236 | #define bfin_read_RSI_ARGUMENT() bfin_read32(RSI_ARGUMENT) | ||
237 | #define bfin_write_RSI_ARGUMENT(val) bfin_write32(RSI_ARGUMENT, val) | ||
238 | #define bfin_read_RSI_COMMAND() bfin_read16(RSI_COMMAND) | ||
239 | #define bfin_write_RSI_COMMAND(val) bfin_write16(RSI_COMMAND, val) | ||
240 | #define bfin_read_RSI_RESP_CMD() bfin_read16(RSI_RESP_CMD) | ||
241 | #define bfin_write_RSI_RESP_CMD(val) bfin_write16(RSI_RESP_CMD, val) | ||
242 | #define bfin_read_RSI_RESPONSE0() bfin_read32(RSI_RESPONSE0) | ||
243 | #define bfin_write_RSI_RESPONSE0(val) bfin_write32(RSI_RESPONSE0, val) | ||
244 | #define bfin_read_RSI_RESPONSE1() bfin_read32(RSI_RESPONSE1) | ||
245 | #define bfin_write_RSI_RESPONSE1(val) bfin_write32(RSI_RESPONSE1, val) | ||
246 | #define bfin_read_RSI_RESPONSE2() bfin_read32(RSI_RESPONSE2) | ||
247 | #define bfin_write_RSI_RESPONSE2(val) bfin_write32(RSI_RESPONSE2, val) | ||
248 | #define bfin_read_RSI_RESPONSE3() bfin_read32(RSI_RESPONSE3) | ||
249 | #define bfin_write_RSI_RESPONSE3(val) bfin_write32(RSI_RESPONSE3, val) | ||
250 | #define bfin_read_RSI_DATA_TIMER() bfin_read32(RSI_DATA_TIMER) | ||
251 | #define bfin_write_RSI_DATA_TIMER(val) bfin_write32(RSI_DATA_TIMER, val) | ||
252 | #define bfin_read_RSI_DATA_LGTH() bfin_read16(RSI_DATA_LGTH) | ||
253 | #define bfin_write_RSI_DATA_LGTH(val) bfin_write16(RSI_DATA_LGTH, val) | ||
254 | #define bfin_read_RSI_DATA_CTL() bfin_read16(RSI_DATA_CONTROL) | ||
255 | #define bfin_write_RSI_DATA_CTL(val) bfin_write16(RSI_DATA_CONTROL, val) | ||
256 | #define bfin_read_RSI_DATA_CNT() bfin_read16(RSI_DATA_CNT) | ||
257 | #define bfin_write_RSI_DATA_CNT(val) bfin_write16(RSI_DATA_CNT, val) | ||
258 | #define bfin_read_RSI_STATUS() bfin_read32(RSI_STATUS) | ||
259 | #define bfin_write_RSI_STATUS(val) bfin_write32(RSI_STATUS, val) | ||
260 | #define bfin_read_RSI_STATUS_CLR() bfin_read16(RSI_STATUSCL) | ||
261 | #define bfin_write_RSI_STATUS_CLR(val) bfin_write16(RSI_STATUSCL, val) | ||
262 | #define bfin_read_RSI_MASK0() bfin_read32(RSI_MASK0) | ||
263 | #define bfin_write_RSI_MASK0(val) bfin_write32(RSI_MASK0, val) | ||
264 | #define bfin_read_RSI_MASK1() bfin_read32(RSI_MASK1) | ||
265 | #define bfin_write_RSI_MASK1(val) bfin_write32(RSI_MASK1, val) | ||
266 | #define bfin_read_RSI_FIFO_CNT() bfin_read16(RSI_FIFO_CNT) | ||
267 | #define bfin_write_RSI_FIFO_CNT(val) bfin_write16(RSI_FIFO_CNT, val) | ||
268 | #define bfin_read_RSI_CEATA_CTL() bfin_read16(RSI_CEATA_CONTROL) | ||
269 | #define bfin_write_RSI_CEATA_CTL(val) bfin_write16(RSI_CEATA_CONTROL, val) | ||
270 | #define bfin_read_RSI_FIFO() bfin_read32(RSI_FIFO) | ||
271 | #define bfin_write_RSI_FIFO(val) bfin_write32(RSI_FIFO, val) | ||
272 | #define bfin_read_RSI_E_STATUS() bfin_read16(RSI_ESTAT) | ||
273 | #define bfin_write_RSI_E_STATUS(val) bfin_write16(RSI_ESTAT, val) | ||
274 | #define bfin_read_RSI_E_MASK() bfin_read16(RSI_EMASK) | ||
275 | #define bfin_write_RSI_E_MASK(val) bfin_write16(RSI_EMASK, val) | ||
276 | #define bfin_read_RSI_CFG() bfin_read16(RSI_CONFIG) | ||
277 | #define bfin_write_RSI_CFG(val) bfin_write16(RSI_CONFIG, val) | ||
278 | #define bfin_read_RSI_RD_WAIT_EN() bfin_read16(RSI_RD_WAIT_EN) | ||
279 | #define bfin_write_RSI_RD_WAIT_EN(val) bfin_write16(RSI_RD_WAIT_EN, val) | ||
280 | #define bfin_read_RSI_PID0() bfin_read16(RSI_PID0) | ||
281 | #define bfin_write_RSI_PID0(val) bfin_write16(RSI_PID0, val) | ||
282 | #define bfin_read_RSI_PID1() bfin_read16(RSI_PID1) | ||
283 | #define bfin_write_RSI_PID1(val) bfin_write16(RSI_PID1, val) | ||
284 | #define bfin_read_RSI_PID2() bfin_read16(RSI_PID2) | ||
285 | #define bfin_write_RSI_PID2(val) bfin_write16(RSI_PID2, val) | ||
286 | #define bfin_read_RSI_PID3() bfin_read16(RSI_PID3) | ||
287 | #define bfin_write_RSI_PID3(val) bfin_write16(RSI_PID3, val) | ||
288 | #define bfin_read_RSI_PID4() bfin_read16(RSI_PID4) | ||
289 | #define bfin_write_RSI_PID4(val) bfin_write16(RSI_PID4, val) | ||
290 | #define bfin_read_RSI_PID5() bfin_read16(RSI_PID5) | ||
291 | #define bfin_write_RSI_PID5(val) bfin_write16(RSI_PID5, val) | ||
292 | #define bfin_read_RSI_PID6() bfin_read16(RSI_PID6) | ||
293 | #define bfin_write_RSI_PID6(val) bfin_write16(RSI_PID6, val) | ||
294 | #define bfin_read_RSI_PID7() bfin_read16(RSI_PID7) | ||
295 | #define bfin_write_RSI_PID7(val) bfin_write16(RSI_PID7, val) | ||
296 | |||
297 | |||
298 | #endif /* _CDEF_BF518_H */ | 59 | #endif /* _CDEF_BF518_H */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h index 1d970df7aee9..e548e9d1d6fa 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h | |||
@@ -131,23 +131,6 @@ | |||
131 | #define bfin_write_UART0_GCTL(val) bfin_write16(UART0_GCTL, val) | 131 | #define bfin_write_UART0_GCTL(val) bfin_write16(UART0_GCTL, val) |
132 | 132 | ||
133 | 133 | ||
134 | /* SPI Controller (0xFFC00500 - 0xFFC005FF) */ | ||
135 | #define bfin_read_SPI_CTL() bfin_read16(SPI_CTL) | ||
136 | #define bfin_write_SPI_CTL(val) bfin_write16(SPI_CTL, val) | ||
137 | #define bfin_read_SPI_FLG() bfin_read16(SPI_FLG) | ||
138 | #define bfin_write_SPI_FLG(val) bfin_write16(SPI_FLG, val) | ||
139 | #define bfin_read_SPI_STAT() bfin_read16(SPI_STAT) | ||
140 | #define bfin_write_SPI_STAT(val) bfin_write16(SPI_STAT, val) | ||
141 | #define bfin_read_SPI_TDBR() bfin_read16(SPI_TDBR) | ||
142 | #define bfin_write_SPI_TDBR(val) bfin_write16(SPI_TDBR, val) | ||
143 | #define bfin_read_SPI_RDBR() bfin_read16(SPI_RDBR) | ||
144 | #define bfin_write_SPI_RDBR(val) bfin_write16(SPI_RDBR, val) | ||
145 | #define bfin_read_SPI_BAUD() bfin_read16(SPI_BAUD) | ||
146 | #define bfin_write_SPI_BAUD(val) bfin_write16(SPI_BAUD, val) | ||
147 | #define bfin_read_SPI_SHADOW() bfin_read16(SPI_SHADOW) | ||
148 | #define bfin_write_SPI_SHADOW(val) bfin_write16(SPI_SHADOW, val) | ||
149 | |||
150 | |||
151 | /* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */ | 134 | /* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */ |
152 | #define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG) | 135 | #define bfin_read_TIMER0_CONFIG() bfin_read16(TIMER0_CONFIG) |
153 | #define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val) | 136 | #define bfin_write_TIMER0_CONFIG(val) bfin_write16(TIMER0_CONFIG, val) |
@@ -844,6 +827,7 @@ | |||
844 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) | 827 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) |
845 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) | 828 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) |
846 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) | 829 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) |
830 | #define bfin_clear_PPI_STATUS() bfin_write_PPI_STATUS(0xFFFF) | ||
847 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) | 831 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) |
848 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) | 832 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) |
849 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) | 833 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) |
@@ -1062,17 +1046,6 @@ | |||
1062 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) | 1046 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) |
1063 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) | 1047 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) |
1064 | 1048 | ||
1065 | /* OTP/FUSE Registers */ | ||
1066 | |||
1067 | #define bfin_read_OTP_CONTROL() bfin_read16(OTP_CONTROL) | ||
1068 | #define bfin_write_OTP_CONTROL(val) bfin_write16(OTP_CONTROL, val) | ||
1069 | #define bfin_read_OTP_BEN() bfin_read16(OTP_BEN) | ||
1070 | #define bfin_write_OTP_BEN(val) bfin_write16(OTP_BEN, val) | ||
1071 | #define bfin_read_OTP_STATUS() bfin_read16(OTP_STATUS) | ||
1072 | #define bfin_write_OTP_STATUS(val) bfin_write16(OTP_STATUS, val) | ||
1073 | #define bfin_read_OTP_TIMING() bfin_read32(OTP_TIMING) | ||
1074 | #define bfin_write_OTP_TIMING(val) bfin_write32(OTP_TIMING, val) | ||
1075 | |||
1076 | /* Security Registers */ | 1049 | /* Security Registers */ |
1077 | 1050 | ||
1078 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) | 1051 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) |
@@ -1082,52 +1055,6 @@ | |||
1082 | #define bfin_read_SECURE_STATUS() bfin_read16(SECURE_STATUS) | 1055 | #define bfin_read_SECURE_STATUS() bfin_read16(SECURE_STATUS) |
1083 | #define bfin_write_SECURE_STATUS(val) bfin_write16(SECURE_STATUS, val) | 1056 | #define bfin_write_SECURE_STATUS(val) bfin_write16(SECURE_STATUS, val) |
1084 | 1057 | ||
1085 | /* OTP Read/Write Data Buffer Registers */ | ||
1086 | |||
1087 | #define bfin_read_OTP_DATA0() bfin_read32(OTP_DATA0) | ||
1088 | #define bfin_write_OTP_DATA0(val) bfin_write32(OTP_DATA0, val) | ||
1089 | #define bfin_read_OTP_DATA1() bfin_read32(OTP_DATA1) | ||
1090 | #define bfin_write_OTP_DATA1(val) bfin_write32(OTP_DATA1, val) | ||
1091 | #define bfin_read_OTP_DATA2() bfin_read32(OTP_DATA2) | ||
1092 | #define bfin_write_OTP_DATA2(val) bfin_write32(OTP_DATA2, val) | ||
1093 | #define bfin_read_OTP_DATA3() bfin_read32(OTP_DATA3) | ||
1094 | #define bfin_write_OTP_DATA3(val) bfin_write32(OTP_DATA3, val) | ||
1095 | |||
1096 | /* NFC Registers */ | ||
1097 | |||
1098 | #define bfin_read_NFC_CTL() bfin_read16(NFC_CTL) | ||
1099 | #define bfin_write_NFC_CTL(val) bfin_write16(NFC_CTL, val) | ||
1100 | #define bfin_read_NFC_STAT() bfin_read16(NFC_STAT) | ||
1101 | #define bfin_write_NFC_STAT(val) bfin_write16(NFC_STAT, val) | ||
1102 | #define bfin_read_NFC_IRQSTAT() bfin_read16(NFC_IRQSTAT) | ||
1103 | #define bfin_write_NFC_IRQSTAT(val) bfin_write16(NFC_IRQSTAT, val) | ||
1104 | #define bfin_read_NFC_IRQMASK() bfin_read16(NFC_IRQMASK) | ||
1105 | #define bfin_write_NFC_IRQMASK(val) bfin_write16(NFC_IRQMASK, val) | ||
1106 | #define bfin_read_NFC_ECC0() bfin_read16(NFC_ECC0) | ||
1107 | #define bfin_write_NFC_ECC0(val) bfin_write16(NFC_ECC0, val) | ||
1108 | #define bfin_read_NFC_ECC1() bfin_read16(NFC_ECC1) | ||
1109 | #define bfin_write_NFC_ECC1(val) bfin_write16(NFC_ECC1, val) | ||
1110 | #define bfin_read_NFC_ECC2() bfin_read16(NFC_ECC2) | ||
1111 | #define bfin_write_NFC_ECC2(val) bfin_write16(NFC_ECC2, val) | ||
1112 | #define bfin_read_NFC_ECC3() bfin_read16(NFC_ECC3) | ||
1113 | #define bfin_write_NFC_ECC3(val) bfin_write16(NFC_ECC3, val) | ||
1114 | #define bfin_read_NFC_COUNT() bfin_read16(NFC_COUNT) | ||
1115 | #define bfin_write_NFC_COUNT(val) bfin_write16(NFC_COUNT, val) | ||
1116 | #define bfin_read_NFC_RST() bfin_read16(NFC_RST) | ||
1117 | #define bfin_write_NFC_RST(val) bfin_write16(NFC_RST, val) | ||
1118 | #define bfin_read_NFC_PGCTL() bfin_read16(NFC_PGCTL) | ||
1119 | #define bfin_write_NFC_PGCTL(val) bfin_write16(NFC_PGCTL, val) | ||
1120 | #define bfin_read_NFC_READ() bfin_read16(NFC_READ) | ||
1121 | #define bfin_write_NFC_READ(val) bfin_write16(NFC_READ, val) | ||
1122 | #define bfin_read_NFC_ADDR() bfin_read16(NFC_ADDR) | ||
1123 | #define bfin_write_NFC_ADDR(val) bfin_write16(NFC_ADDR, val) | ||
1124 | #define bfin_read_NFC_CMD() bfin_read16(NFC_CMD) | ||
1125 | #define bfin_write_NFC_CMD(val) bfin_write16(NFC_CMD, val) | ||
1126 | #define bfin_read_NFC_DATA_WR() bfin_read16(NFC_DATA_WR) | ||
1127 | #define bfin_write_NFC_DATA_WR(val) bfin_write16(NFC_DATA_WR, val) | ||
1128 | #define bfin_read_NFC_DATA_RD() bfin_read16(NFC_DATA_RD) | ||
1129 | #define bfin_write_NFC_DATA_RD(val) bfin_write16(NFC_DATA_RD, val) | ||
1130 | |||
1131 | /* These need to be last due to the cdef/linux inter-dependencies */ | 1058 | /* These need to be last due to the cdef/linux inter-dependencies */ |
1132 | #include <asm/irq.h> | 1059 | #include <asm/irq.h> |
1133 | 1060 | ||
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF514.h b/arch/blackfin/mach-bf518/include/mach/defBF514.h index b5adca23a788..92e950d6e996 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF514.h | |||
@@ -7,49 +7,8 @@ | |||
7 | #ifndef _DEF_BF514_H | 7 | #ifndef _DEF_BF514_H |
8 | #define _DEF_BF514_H | 8 | #define _DEF_BF514_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* BF514 is BF512 + RSI */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include "defBF512.h" |
12 | |||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF514 */ | ||
14 | |||
15 | /* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
16 | #include "defBF51x_base.h" | ||
17 | |||
18 | /* The following are the #defines needed by ADSP-BF514 that are not in the common header */ | ||
19 | |||
20 | /* SDH Registers */ | ||
21 | |||
22 | #define SDH_PWR_CTL 0xFFC03900 /* SDH Power Control */ | ||
23 | #define SDH_CLK_CTL 0xFFC03904 /* SDH Clock Control */ | ||
24 | #define SDH_ARGUMENT 0xFFC03908 /* SDH Argument */ | ||
25 | #define SDH_COMMAND 0xFFC0390C /* SDH Command */ | ||
26 | #define SDH_RESP_CMD 0xFFC03910 /* SDH Response Command */ | ||
27 | #define SDH_RESPONSE0 0xFFC03914 /* SDH Response0 */ | ||
28 | #define SDH_RESPONSE1 0xFFC03918 /* SDH Response1 */ | ||
29 | #define SDH_RESPONSE2 0xFFC0391C /* SDH Response2 */ | ||
30 | #define SDH_RESPONSE3 0xFFC03920 /* SDH Response3 */ | ||
31 | #define SDH_DATA_TIMER 0xFFC03924 /* SDH Data Timer */ | ||
32 | #define SDH_DATA_LGTH 0xFFC03928 /* SDH Data Length */ | ||
33 | #define SDH_DATA_CTL 0xFFC0392C /* SDH Data Control */ | ||
34 | #define SDH_DATA_CNT 0xFFC03930 /* SDH Data Counter */ | ||
35 | #define SDH_STATUS 0xFFC03934 /* SDH Status */ | ||
36 | #define SDH_STATUS_CLR 0xFFC03938 /* SDH Status Clear */ | ||
37 | #define SDH_MASK0 0xFFC0393C /* SDH Interrupt0 Mask */ | ||
38 | #define SDH_MASK1 0xFFC03940 /* SDH Interrupt1 Mask */ | ||
39 | #define SDH_FIFO_CNT 0xFFC03948 /* SDH FIFO Counter */ | ||
40 | #define SDH_FIFO 0xFFC03980 /* SDH Data FIFO */ | ||
41 | #define SDH_E_STATUS 0xFFC039C0 /* SDH Exception Status */ | ||
42 | #define SDH_E_MASK 0xFFC039C4 /* SDH Exception Mask */ | ||
43 | #define SDH_CFG 0xFFC039C8 /* SDH Configuration */ | ||
44 | #define SDH_RD_WAIT_EN 0xFFC039CC /* SDH Read Wait Enable */ | ||
45 | #define SDH_PID0 0xFFC039D0 /* SDH Peripheral Identification0 */ | ||
46 | #define SDH_PID1 0xFFC039D4 /* SDH Peripheral Identification1 */ | ||
47 | #define SDH_PID2 0xFFC039D8 /* SDH Peripheral Identification2 */ | ||
48 | #define SDH_PID3 0xFFC039DC /* SDH Peripheral Identification3 */ | ||
49 | #define SDH_PID4 0xFFC039E0 /* SDH Peripheral Identification4 */ | ||
50 | #define SDH_PID5 0xFFC039E4 /* SDH Peripheral Identification5 */ | ||
51 | #define SDH_PID6 0xFFC039E8 /* SDH Peripheral Identification6 */ | ||
52 | #define SDH_PID7 0xFFC039EC /* SDH Peripheral Identification7 */ | ||
53 | 12 | ||
54 | /* Removable Storage Interface Registers */ | 13 | /* Removable Storage Interface Registers */ |
55 | 14 | ||
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF516.h b/arch/blackfin/mach-bf518/include/mach/defBF516.h index 7eb18774d727..22a3aa0d2629 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF516.h | |||
@@ -7,13 +7,8 @@ | |||
7 | #ifndef _DEF_BF516_H | 7 | #ifndef _DEF_BF516_H |
8 | #define _DEF_BF516_H | 8 | #define _DEF_BF516_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* BF516 is BF514 + EMAC */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include "defBF514.h" |
12 | |||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF516 */ | ||
14 | |||
15 | /* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
16 | #include "defBF51x_base.h" | ||
17 | 12 | ||
18 | /* The following are the #defines needed by ADSP-BF516 that are not in the common header */ | 13 | /* The following are the #defines needed by ADSP-BF516 that are not in the common header */ |
19 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | 14 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ |
@@ -394,208 +389,4 @@ | |||
394 | #define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */ | 389 | #define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */ |
395 | #define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */ | 390 | #define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */ |
396 | 391 | ||
397 | /* SDH Registers */ | ||
398 | |||
399 | #define SDH_PWR_CTL 0xFFC03900 /* SDH Power Control */ | ||
400 | #define SDH_CLK_CTL 0xFFC03904 /* SDH Clock Control */ | ||
401 | #define SDH_ARGUMENT 0xFFC03908 /* SDH Argument */ | ||
402 | #define SDH_COMMAND 0xFFC0390C /* SDH Command */ | ||
403 | #define SDH_RESP_CMD 0xFFC03910 /* SDH Response Command */ | ||
404 | #define SDH_RESPONSE0 0xFFC03914 /* SDH Response0 */ | ||
405 | #define SDH_RESPONSE1 0xFFC03918 /* SDH Response1 */ | ||
406 | #define SDH_RESPONSE2 0xFFC0391C /* SDH Response2 */ | ||
407 | #define SDH_RESPONSE3 0xFFC03920 /* SDH Response3 */ | ||
408 | #define SDH_DATA_TIMER 0xFFC03924 /* SDH Data Timer */ | ||
409 | #define SDH_DATA_LGTH 0xFFC03928 /* SDH Data Length */ | ||
410 | #define SDH_DATA_CTL 0xFFC0392C /* SDH Data Control */ | ||
411 | #define SDH_DATA_CNT 0xFFC03930 /* SDH Data Counter */ | ||
412 | #define SDH_STATUS 0xFFC03934 /* SDH Status */ | ||
413 | #define SDH_STATUS_CLR 0xFFC03938 /* SDH Status Clear */ | ||
414 | #define SDH_MASK0 0xFFC0393C /* SDH Interrupt0 Mask */ | ||
415 | #define SDH_MASK1 0xFFC03940 /* SDH Interrupt1 Mask */ | ||
416 | #define SDH_FIFO_CNT 0xFFC03948 /* SDH FIFO Counter */ | ||
417 | #define SDH_FIFO 0xFFC03980 /* SDH Data FIFO */ | ||
418 | #define SDH_E_STATUS 0xFFC039C0 /* SDH Exception Status */ | ||
419 | #define SDH_E_MASK 0xFFC039C4 /* SDH Exception Mask */ | ||
420 | #define SDH_CFG 0xFFC039C8 /* SDH Configuration */ | ||
421 | #define SDH_RD_WAIT_EN 0xFFC039CC /* SDH Read Wait Enable */ | ||
422 | #define SDH_PID0 0xFFC039D0 /* SDH Peripheral Identification0 */ | ||
423 | #define SDH_PID1 0xFFC039D4 /* SDH Peripheral Identification1 */ | ||
424 | #define SDH_PID2 0xFFC039D8 /* SDH Peripheral Identification2 */ | ||
425 | #define SDH_PID3 0xFFC039DC /* SDH Peripheral Identification3 */ | ||
426 | #define SDH_PID4 0xFFC039E0 /* SDH Peripheral Identification4 */ | ||
427 | #define SDH_PID5 0xFFC039E4 /* SDH Peripheral Identification5 */ | ||
428 | #define SDH_PID6 0xFFC039E8 /* SDH Peripheral Identification6 */ | ||
429 | #define SDH_PID7 0xFFC039EC /* SDH Peripheral Identification7 */ | ||
430 | |||
431 | /* Removable Storage Interface Registers */ | ||
432 | |||
433 | #define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */ | ||
434 | #define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */ | ||
435 | #define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */ | ||
436 | #define RSI_COMMAND 0xFFC0380C /* RSI Command Register */ | ||
437 | #define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */ | ||
438 | #define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */ | ||
439 | #define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */ | ||
440 | #define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */ | ||
441 | #define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */ | ||
442 | #define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */ | ||
443 | #define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */ | ||
444 | #define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */ | ||
445 | #define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */ | ||
446 | #define RSI_STATUS 0xFFC03834 /* RSI Status Register */ | ||
447 | #define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */ | ||
448 | #define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */ | ||
449 | #define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */ | ||
450 | #define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */ | ||
451 | #define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */ | ||
452 | #define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */ | ||
453 | #define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */ | ||
454 | #define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */ | ||
455 | #define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */ | ||
456 | #define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */ | ||
457 | #define RSI_PID0 0xFFC03FE0 /* RSI Peripheral ID Register 0 */ | ||
458 | #define RSI_PID1 0xFFC03FE4 /* RSI Peripheral ID Register 1 */ | ||
459 | #define RSI_PID2 0xFFC03FE8 /* RSI Peripheral ID Register 2 */ | ||
460 | #define RSI_PID3 0xFFC03FEC /* RSI Peripheral ID Register 3 */ | ||
461 | #define RSI_PID4 0xFFC03FF0 /* RSI Peripheral ID Register 4 */ | ||
462 | #define RSI_PID5 0xFFC03FF4 /* RSI Peripheral ID Register 5 */ | ||
463 | #define RSI_PID6 0xFFC03FF8 /* RSI Peripheral ID Register 6 */ | ||
464 | #define RSI_PID7 0xFFC03FFC /* RSI Peripheral ID Register 7 */ | ||
465 | |||
466 | /* ********************************************************** */ | ||
467 | /* SINGLE BIT MACRO PAIRS (bit mask and negated one) */ | ||
468 | /* and MULTI BIT READ MACROS */ | ||
469 | /* ********************************************************** */ | ||
470 | |||
471 | /* Bit masks for SDH_COMMAND */ | ||
472 | |||
473 | #define CMD_IDX 0x3f /* Command Index */ | ||
474 | #define CMD_RSP 0x40 /* Response */ | ||
475 | #define CMD_L_RSP 0x80 /* Long Response */ | ||
476 | #define CMD_INT_E 0x100 /* Command Interrupt */ | ||
477 | #define CMD_PEND_E 0x200 /* Command Pending */ | ||
478 | #define CMD_E 0x400 /* Command Enable */ | ||
479 | |||
480 | /* Bit masks for SDH_PWR_CTL */ | ||
481 | |||
482 | #define PWR_ON 0x3 /* Power On */ | ||
483 | #if 0 | ||
484 | #define TBD 0x3c /* TBD */ | ||
485 | #endif | ||
486 | #define SD_CMD_OD 0x40 /* Open Drain Output */ | ||
487 | #define ROD_CTL 0x80 /* Rod Control */ | ||
488 | |||
489 | /* Bit masks for SDH_CLK_CTL */ | ||
490 | |||
491 | #define CLKDIV 0xff /* MC_CLK Divisor */ | ||
492 | #define CLK_E 0x100 /* MC_CLK Bus Clock Enable */ | ||
493 | #define PWR_SV_E 0x200 /* Power Save Enable */ | ||
494 | #define CLKDIV_BYPASS 0x400 /* Bypass Divisor */ | ||
495 | #define WIDE_BUS 0x800 /* Wide Bus Mode Enable */ | ||
496 | |||
497 | /* Bit masks for SDH_RESP_CMD */ | ||
498 | |||
499 | #define RESP_CMD 0x3f /* Response Command */ | ||
500 | |||
501 | /* Bit masks for SDH_DATA_CTL */ | ||
502 | |||
503 | #define DTX_E 0x1 /* Data Transfer Enable */ | ||
504 | #define DTX_DIR 0x2 /* Data Transfer Direction */ | ||
505 | #define DTX_MODE 0x4 /* Data Transfer Mode */ | ||
506 | #define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */ | ||
507 | #define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */ | ||
508 | |||
509 | /* Bit masks for SDH_STATUS */ | ||
510 | |||
511 | #define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */ | ||
512 | #define DAT_CRC_FAIL 0x2 /* Data CRC Fail */ | ||
513 | #define CMD_TIME_OUT 0x4 /* CMD Time Out */ | ||
514 | #define DAT_TIME_OUT 0x8 /* Data Time Out */ | ||
515 | #define TX_UNDERRUN 0x10 /* Transmit Underrun */ | ||
516 | #define RX_OVERRUN 0x20 /* Receive Overrun */ | ||
517 | #define CMD_RESP_END 0x40 /* CMD Response End */ | ||
518 | #define CMD_SENT 0x80 /* CMD Sent */ | ||
519 | #define DAT_END 0x100 /* Data End */ | ||
520 | #define START_BIT_ERR 0x200 /* Start Bit Error */ | ||
521 | #define DAT_BLK_END 0x400 /* Data Block End */ | ||
522 | #define CMD_ACT 0x800 /* CMD Active */ | ||
523 | #define TX_ACT 0x1000 /* Transmit Active */ | ||
524 | #define RX_ACT 0x2000 /* Receive Active */ | ||
525 | #define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */ | ||
526 | #define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */ | ||
527 | #define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */ | ||
528 | #define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */ | ||
529 | #define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */ | ||
530 | #define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */ | ||
531 | #define TX_DAT_RDY 0x100000 /* Transmit Data Available */ | ||
532 | #define RX_FIFO_RDY 0x200000 /* Receive Data Available */ | ||
533 | |||
534 | /* Bit masks for SDH_STATUS_CLR */ | ||
535 | |||
536 | #define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */ | ||
537 | #define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */ | ||
538 | #define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */ | ||
539 | #define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */ | ||
540 | #define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */ | ||
541 | #define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */ | ||
542 | #define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */ | ||
543 | #define CMD_SENT_STAT 0x80 /* CMD Sent Status */ | ||
544 | #define DAT_END_STAT 0x100 /* Data End Status */ | ||
545 | #define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */ | ||
546 | #define DAT_BLK_END_STAT 0x400 /* Data Block End Status */ | ||
547 | |||
548 | /* Bit masks for SDH_MASK0 */ | ||
549 | |||
550 | #define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */ | ||
551 | #define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */ | ||
552 | #define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */ | ||
553 | #define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */ | ||
554 | #define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */ | ||
555 | #define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */ | ||
556 | #define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */ | ||
557 | #define CMD_SENT_MASK 0x80 /* CMD Sent Mask */ | ||
558 | #define DAT_END_MASK 0x100 /* Data End Mask */ | ||
559 | #define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */ | ||
560 | #define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */ | ||
561 | #define CMD_ACT_MASK 0x800 /* CMD Active Mask */ | ||
562 | #define TX_ACT_MASK 0x1000 /* Transmit Active Mask */ | ||
563 | #define RX_ACT_MASK 0x2000 /* Receive Active Mask */ | ||
564 | #define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */ | ||
565 | #define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */ | ||
566 | #define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */ | ||
567 | #define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */ | ||
568 | #define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */ | ||
569 | #define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */ | ||
570 | #define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */ | ||
571 | #define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */ | ||
572 | |||
573 | /* Bit masks for SDH_FIFO_CNT */ | ||
574 | |||
575 | #define FIFO_COUNT 0x7fff /* FIFO Count */ | ||
576 | |||
577 | /* Bit masks for SDH_E_STATUS */ | ||
578 | |||
579 | #define SDIO_INT_DET 0x2 /* SDIO Int Detected */ | ||
580 | #define SD_CARD_DET 0x10 /* SD Card Detect */ | ||
581 | |||
582 | /* Bit masks for SDH_E_MASK */ | ||
583 | |||
584 | #define SDIO_MSK 0x2 /* Mask SDIO Int Detected */ | ||
585 | #define SCD_MSK 0x40 /* Mask Card Detect */ | ||
586 | |||
587 | /* Bit masks for SDH_CFG */ | ||
588 | |||
589 | #define CLKS_EN 0x1 /* Clocks Enable */ | ||
590 | #define SD4E 0x4 /* SDIO 4-Bit Enable */ | ||
591 | #define MWE 0x8 /* Moving Window Enable */ | ||
592 | #define SD_RST 0x10 /* SDMMC Reset */ | ||
593 | #define PUP_SDDAT 0x20 /* Pull-up SD_DAT */ | ||
594 | #define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */ | ||
595 | #define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */ | ||
596 | |||
597 | /* Bit masks for SDH_RD_WAIT_EN */ | ||
598 | |||
599 | #define RWR 0x1 /* Read Wait Request */ | ||
600 | |||
601 | #endif /* _DEF_BF516_H */ | 392 | #endif /* _DEF_BF516_H */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF518.h b/arch/blackfin/mach-bf518/include/mach/defBF518.h index 794cf06eb5ba..cb18270e55c2 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF518.h | |||
@@ -7,461 +7,8 @@ | |||
7 | #ifndef _DEF_BF518_H | 7 | #ifndef _DEF_BF518_H |
8 | #define _DEF_BF518_H | 8 | #define _DEF_BF518_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* BF518 is BF516 + IEEE-1588 */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include "defBF516.h" |
12 | |||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF518 */ | ||
14 | |||
15 | /* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */ | ||
16 | #include "defBF51x_base.h" | ||
17 | |||
18 | /* The following are the #defines needed by ADSP-BF518 that are not in the common header */ | ||
19 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | ||
20 | |||
21 | #define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */ | ||
22 | #define EMAC_ADDRLO 0xFFC03004 /* Address Low (32 LSBs) Register */ | ||
23 | #define EMAC_ADDRHI 0xFFC03008 /* Address High (16 MSBs) Register */ | ||
24 | #define EMAC_HASHLO 0xFFC0300C /* Multicast Hash Table Low (Bins 31-0) Register */ | ||
25 | #define EMAC_HASHHI 0xFFC03010 /* Multicast Hash Table High (Bins 63-32) Register */ | ||
26 | #define EMAC_STAADD 0xFFC03014 /* Station Management Address Register */ | ||
27 | #define EMAC_STADAT 0xFFC03018 /* Station Management Data Register */ | ||
28 | #define EMAC_FLC 0xFFC0301C /* Flow Control Register */ | ||
29 | #define EMAC_VLAN1 0xFFC03020 /* VLAN1 Tag Register */ | ||
30 | #define EMAC_VLAN2 0xFFC03024 /* VLAN2 Tag Register */ | ||
31 | #define EMAC_WKUP_CTL 0xFFC0302C /* Wake-Up Control/Status Register */ | ||
32 | #define EMAC_WKUP_FFMSK0 0xFFC03030 /* Wake-Up Frame Filter 0 Byte Mask Register */ | ||
33 | #define EMAC_WKUP_FFMSK1 0xFFC03034 /* Wake-Up Frame Filter 1 Byte Mask Register */ | ||
34 | #define EMAC_WKUP_FFMSK2 0xFFC03038 /* Wake-Up Frame Filter 2 Byte Mask Register */ | ||
35 | #define EMAC_WKUP_FFMSK3 0xFFC0303C /* Wake-Up Frame Filter 3 Byte Mask Register */ | ||
36 | #define EMAC_WKUP_FFCMD 0xFFC03040 /* Wake-Up Frame Filter Commands Register */ | ||
37 | #define EMAC_WKUP_FFOFF 0xFFC03044 /* Wake-Up Frame Filter Offsets Register */ | ||
38 | #define EMAC_WKUP_FFCRC0 0xFFC03048 /* Wake-Up Frame Filter 0,1 CRC-16 Register */ | ||
39 | #define EMAC_WKUP_FFCRC1 0xFFC0304C /* Wake-Up Frame Filter 2,3 CRC-16 Register */ | ||
40 | |||
41 | #define EMAC_SYSCTL 0xFFC03060 /* EMAC System Control Register */ | ||
42 | #define EMAC_SYSTAT 0xFFC03064 /* EMAC System Status Register */ | ||
43 | #define EMAC_RX_STAT 0xFFC03068 /* RX Current Frame Status Register */ | ||
44 | #define EMAC_RX_STKY 0xFFC0306C /* RX Sticky Frame Status Register */ | ||
45 | #define EMAC_RX_IRQE 0xFFC03070 /* RX Frame Status Interrupt Enables Register */ | ||
46 | #define EMAC_TX_STAT 0xFFC03074 /* TX Current Frame Status Register */ | ||
47 | #define EMAC_TX_STKY 0xFFC03078 /* TX Sticky Frame Status Register */ | ||
48 | #define EMAC_TX_IRQE 0xFFC0307C /* TX Frame Status Interrupt Enables Register */ | ||
49 | |||
50 | #define EMAC_MMC_CTL 0xFFC03080 /* MMC Counter Control Register */ | ||
51 | #define EMAC_MMC_RIRQS 0xFFC03084 /* MMC RX Interrupt Status Register */ | ||
52 | #define EMAC_MMC_RIRQE 0xFFC03088 /* MMC RX Interrupt Enables Register */ | ||
53 | #define EMAC_MMC_TIRQS 0xFFC0308C /* MMC TX Interrupt Status Register */ | ||
54 | #define EMAC_MMC_TIRQE 0xFFC03090 /* MMC TX Interrupt Enables Register */ | ||
55 | |||
56 | #define EMAC_RXC_OK 0xFFC03100 /* RX Frame Successful Count */ | ||
57 | #define EMAC_RXC_FCS 0xFFC03104 /* RX Frame FCS Failure Count */ | ||
58 | #define EMAC_RXC_ALIGN 0xFFC03108 /* RX Alignment Error Count */ | ||
59 | #define EMAC_RXC_OCTET 0xFFC0310C /* RX Octets Successfully Received Count */ | ||
60 | #define EMAC_RXC_DMAOVF 0xFFC03110 /* Internal MAC Sublayer Error RX Frame Count */ | ||
61 | #define EMAC_RXC_UNICST 0xFFC03114 /* Unicast RX Frame Count */ | ||
62 | #define EMAC_RXC_MULTI 0xFFC03118 /* Multicast RX Frame Count */ | ||
63 | #define EMAC_RXC_BROAD 0xFFC0311C /* Broadcast RX Frame Count */ | ||
64 | #define EMAC_RXC_LNERRI 0xFFC03120 /* RX Frame In Range Error Count */ | ||
65 | #define EMAC_RXC_LNERRO 0xFFC03124 /* RX Frame Out Of Range Error Count */ | ||
66 | #define EMAC_RXC_LONG 0xFFC03128 /* RX Frame Too Long Count */ | ||
67 | #define EMAC_RXC_MACCTL 0xFFC0312C /* MAC Control RX Frame Count */ | ||
68 | #define EMAC_RXC_OPCODE 0xFFC03130 /* Unsupported Op-Code RX Frame Count */ | ||
69 | #define EMAC_RXC_PAUSE 0xFFC03134 /* MAC Control Pause RX Frame Count */ | ||
70 | #define EMAC_RXC_ALLFRM 0xFFC03138 /* Overall RX Frame Count */ | ||
71 | #define EMAC_RXC_ALLOCT 0xFFC0313C /* Overall RX Octet Count */ | ||
72 | #define EMAC_RXC_TYPED 0xFFC03140 /* Type/Length Consistent RX Frame Count */ | ||
73 | #define EMAC_RXC_SHORT 0xFFC03144 /* RX Frame Fragment Count - Byte Count x < 64 */ | ||
74 | #define EMAC_RXC_EQ64 0xFFC03148 /* Good RX Frame Count - Byte Count x = 64 */ | ||
75 | #define EMAC_RXC_LT128 0xFFC0314C /* Good RX Frame Count - Byte Count 64 < x < 128 */ | ||
76 | #define EMAC_RXC_LT256 0xFFC03150 /* Good RX Frame Count - Byte Count 128 <= x < 256 */ | ||
77 | #define EMAC_RXC_LT512 0xFFC03154 /* Good RX Frame Count - Byte Count 256 <= x < 512 */ | ||
78 | #define EMAC_RXC_LT1024 0xFFC03158 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */ | ||
79 | #define EMAC_RXC_GE1024 0xFFC0315C /* Good RX Frame Count - Byte Count x >= 1024 */ | ||
80 | |||
81 | #define EMAC_TXC_OK 0xFFC03180 /* TX Frame Successful Count */ | ||
82 | #define EMAC_TXC_1COL 0xFFC03184 /* TX Frames Successful After Single Collision Count */ | ||
83 | #define EMAC_TXC_GT1COL 0xFFC03188 /* TX Frames Successful After Multiple Collisions Count */ | ||
84 | #define EMAC_TXC_OCTET 0xFFC0318C /* TX Octets Successfully Received Count */ | ||
85 | #define EMAC_TXC_DEFER 0xFFC03190 /* TX Frame Delayed Due To Busy Count */ | ||
86 | #define EMAC_TXC_LATECL 0xFFC03194 /* Late TX Collisions Count */ | ||
87 | #define EMAC_TXC_XS_COL 0xFFC03198 /* TX Frame Failed Due To Excessive Collisions Count */ | ||
88 | #define EMAC_TXC_DMAUND 0xFFC0319C /* Internal MAC Sublayer Error TX Frame Count */ | ||
89 | #define EMAC_TXC_CRSERR 0xFFC031A0 /* Carrier Sense Deasserted During TX Frame Count */ | ||
90 | #define EMAC_TXC_UNICST 0xFFC031A4 /* Unicast TX Frame Count */ | ||
91 | #define EMAC_TXC_MULTI 0xFFC031A8 /* Multicast TX Frame Count */ | ||
92 | #define EMAC_TXC_BROAD 0xFFC031AC /* Broadcast TX Frame Count */ | ||
93 | #define EMAC_TXC_XS_DFR 0xFFC031B0 /* TX Frames With Excessive Deferral Count */ | ||
94 | #define EMAC_TXC_MACCTL 0xFFC031B4 /* MAC Control TX Frame Count */ | ||
95 | #define EMAC_TXC_ALLFRM 0xFFC031B8 /* Overall TX Frame Count */ | ||
96 | #define EMAC_TXC_ALLOCT 0xFFC031BC /* Overall TX Octet Count */ | ||
97 | #define EMAC_TXC_EQ64 0xFFC031C0 /* Good TX Frame Count - Byte Count x = 64 */ | ||
98 | #define EMAC_TXC_LT128 0xFFC031C4 /* Good TX Frame Count - Byte Count 64 < x < 128 */ | ||
99 | #define EMAC_TXC_LT256 0xFFC031C8 /* Good TX Frame Count - Byte Count 128 <= x < 256 */ | ||
100 | #define EMAC_TXC_LT512 0xFFC031CC /* Good TX Frame Count - Byte Count 256 <= x < 512 */ | ||
101 | #define EMAC_TXC_LT1024 0xFFC031D0 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */ | ||
102 | #define EMAC_TXC_GE1024 0xFFC031D4 /* Good TX Frame Count - Byte Count x >= 1024 */ | ||
103 | #define EMAC_TXC_ABORT 0xFFC031D8 /* Total TX Frames Aborted Count */ | ||
104 | |||
105 | /* Listing for IEEE-Supported Count Registers */ | ||
106 | |||
107 | #define FramesReceivedOK EMAC_RXC_OK /* RX Frame Successful Count */ | ||
108 | #define FrameCheckSequenceErrors EMAC_RXC_FCS /* RX Frame FCS Failure Count */ | ||
109 | #define AlignmentErrors EMAC_RXC_ALIGN /* RX Alignment Error Count */ | ||
110 | #define OctetsReceivedOK EMAC_RXC_OCTET /* RX Octets Successfully Received Count */ | ||
111 | #define FramesLostDueToIntMACRcvError EMAC_RXC_DMAOVF /* Internal MAC Sublayer Error RX Frame Count */ | ||
112 | #define UnicastFramesReceivedOK EMAC_RXC_UNICST /* Unicast RX Frame Count */ | ||
113 | #define MulticastFramesReceivedOK EMAC_RXC_MULTI /* Multicast RX Frame Count */ | ||
114 | #define BroadcastFramesReceivedOK EMAC_RXC_BROAD /* Broadcast RX Frame Count */ | ||
115 | #define InRangeLengthErrors EMAC_RXC_LNERRI /* RX Frame In Range Error Count */ | ||
116 | #define OutOfRangeLengthField EMAC_RXC_LNERRO /* RX Frame Out Of Range Error Count */ | ||
117 | #define FrameTooLongErrors EMAC_RXC_LONG /* RX Frame Too Long Count */ | ||
118 | #define MACControlFramesReceived EMAC_RXC_MACCTL /* MAC Control RX Frame Count */ | ||
119 | #define UnsupportedOpcodesReceived EMAC_RXC_OPCODE /* Unsupported Op-Code RX Frame Count */ | ||
120 | #define PAUSEMACCtrlFramesReceived EMAC_RXC_PAUSE /* MAC Control Pause RX Frame Count */ | ||
121 | #define FramesReceivedAll EMAC_RXC_ALLFRM /* Overall RX Frame Count */ | ||
122 | #define OctetsReceivedAll EMAC_RXC_ALLOCT /* Overall RX Octet Count */ | ||
123 | #define TypedFramesReceived EMAC_RXC_TYPED /* Type/Length Consistent RX Frame Count */ | ||
124 | #define FramesLenLt64Received EMAC_RXC_SHORT /* RX Frame Fragment Count - Byte Count x < 64 */ | ||
125 | #define FramesLenEq64Received EMAC_RXC_EQ64 /* Good RX Frame Count - Byte Count x = 64 */ | ||
126 | #define FramesLen65_127Received EMAC_RXC_LT128 /* Good RX Frame Count - Byte Count 64 < x < 128 */ | ||
127 | #define FramesLen128_255Received EMAC_RXC_LT256 /* Good RX Frame Count - Byte Count 128 <= x < 256 */ | ||
128 | #define FramesLen256_511Received EMAC_RXC_LT512 /* Good RX Frame Count - Byte Count 256 <= x < 512 */ | ||
129 | #define FramesLen512_1023Received EMAC_RXC_LT1024 /* Good RX Frame Count - Byte Count 512 <= x < 1024 */ | ||
130 | #define FramesLen1024_MaxReceived EMAC_RXC_GE1024 /* Good RX Frame Count - Byte Count x >= 1024 */ | ||
131 | |||
132 | #define FramesTransmittedOK EMAC_TXC_OK /* TX Frame Successful Count */ | ||
133 | #define SingleCollisionFrames EMAC_TXC_1COL /* TX Frames Successful After Single Collision Count */ | ||
134 | #define MultipleCollisionFrames EMAC_TXC_GT1COL /* TX Frames Successful After Multiple Collisions Count */ | ||
135 | #define OctetsTransmittedOK EMAC_TXC_OCTET /* TX Octets Successfully Received Count */ | ||
136 | #define FramesWithDeferredXmissions EMAC_TXC_DEFER /* TX Frame Delayed Due To Busy Count */ | ||
137 | #define LateCollisions EMAC_TXC_LATECL /* Late TX Collisions Count */ | ||
138 | #define FramesAbortedDueToXSColls EMAC_TXC_XS_COL /* TX Frame Failed Due To Excessive Collisions Count */ | ||
139 | #define FramesLostDueToIntMacXmitError EMAC_TXC_DMAUND /* Internal MAC Sublayer Error TX Frame Count */ | ||
140 | #define CarrierSenseErrors EMAC_TXC_CRSERR /* Carrier Sense Deasserted During TX Frame Count */ | ||
141 | #define UnicastFramesXmittedOK EMAC_TXC_UNICST /* Unicast TX Frame Count */ | ||
142 | #define MulticastFramesXmittedOK EMAC_TXC_MULTI /* Multicast TX Frame Count */ | ||
143 | #define BroadcastFramesXmittedOK EMAC_TXC_BROAD /* Broadcast TX Frame Count */ | ||
144 | #define FramesWithExcessiveDeferral EMAC_TXC_XS_DFR /* TX Frames With Excessive Deferral Count */ | ||
145 | #define MACControlFramesTransmitted EMAC_TXC_MACCTL /* MAC Control TX Frame Count */ | ||
146 | #define FramesTransmittedAll EMAC_TXC_ALLFRM /* Overall TX Frame Count */ | ||
147 | #define OctetsTransmittedAll EMAC_TXC_ALLOCT /* Overall TX Octet Count */ | ||
148 | #define FramesLenEq64Transmitted EMAC_TXC_EQ64 /* Good TX Frame Count - Byte Count x = 64 */ | ||
149 | #define FramesLen65_127Transmitted EMAC_TXC_LT128 /* Good TX Frame Count - Byte Count 64 < x < 128 */ | ||
150 | #define FramesLen128_255Transmitted EMAC_TXC_LT256 /* Good TX Frame Count - Byte Count 128 <= x < 256 */ | ||
151 | #define FramesLen256_511Transmitted EMAC_TXC_LT512 /* Good TX Frame Count - Byte Count 256 <= x < 512 */ | ||
152 | #define FramesLen512_1023Transmitted EMAC_TXC_LT1024 /* Good TX Frame Count - Byte Count 512 <= x < 1024 */ | ||
153 | #define FramesLen1024_MaxTransmitted EMAC_TXC_GE1024 /* Good TX Frame Count - Byte Count x >= 1024 */ | ||
154 | #define TxAbortedFrames EMAC_TXC_ABORT /* Total TX Frames Aborted Count */ | ||
155 | |||
156 | /*********************************************************************************** | ||
157 | ** System MMR Register Bits And Macros | ||
158 | ** | ||
159 | ** Disclaimer: All macros are intended to make C and Assembly code more readable. | ||
160 | ** Use these macros carefully, as any that do left shifts for field | ||
161 | ** depositing will result in the lower order bits being destroyed. Any | ||
162 | ** macro that shifts left to properly position the bit-field should be | ||
163 | ** used as part of an OR to initialize a register and NOT as a dynamic | ||
164 | ** modifier UNLESS the lower order bits are saved and ORed back in when | ||
165 | ** the macro is used. | ||
166 | *************************************************************************************/ | ||
167 | |||
168 | /************************ ETHERNET 10/100 CONTROLLER MASKS ************************/ | ||
169 | |||
170 | /* EMAC_OPMODE Masks */ | ||
171 | |||
172 | #define RE 0x00000001 /* Receiver Enable */ | ||
173 | #define ASTP 0x00000002 /* Enable Automatic Pad Stripping On RX Frames */ | ||
174 | #define HU 0x00000010 /* Hash Filter Unicast Address */ | ||
175 | #define HM 0x00000020 /* Hash Filter Multicast Address */ | ||
176 | #define PAM 0x00000040 /* Pass-All-Multicast Mode Enable */ | ||
177 | #define PR 0x00000080 /* Promiscuous Mode Enable */ | ||
178 | #define IFE 0x00000100 /* Inverse Filtering Enable */ | ||
179 | #define DBF 0x00000200 /* Disable Broadcast Frame Reception */ | ||
180 | #define PBF 0x00000400 /* Pass Bad Frames Enable */ | ||
181 | #define PSF 0x00000800 /* Pass Short Frames Enable */ | ||
182 | #define RAF 0x00001000 /* Receive-All Mode */ | ||
183 | #define TE 0x00010000 /* Transmitter Enable */ | ||
184 | #define DTXPAD 0x00020000 /* Disable Automatic TX Padding */ | ||
185 | #define DTXCRC 0x00040000 /* Disable Automatic TX CRC Generation */ | ||
186 | #define DC 0x00080000 /* Deferral Check */ | ||
187 | #define BOLMT 0x00300000 /* Back-Off Limit */ | ||
188 | #define BOLMT_10 0x00000000 /* 10-bit range */ | ||
189 | #define BOLMT_8 0x00100000 /* 8-bit range */ | ||
190 | #define BOLMT_4 0x00200000 /* 4-bit range */ | ||
191 | #define BOLMT_1 0x00300000 /* 1-bit range */ | ||
192 | #define DRTY 0x00400000 /* Disable TX Retry On Collision */ | ||
193 | #define LCTRE 0x00800000 /* Enable TX Retry On Late Collision */ | ||
194 | #define RMII 0x01000000 /* RMII/MII* Mode */ | ||
195 | #define RMII_10 0x02000000 /* Speed Select for RMII Port (10MBit/100MBit*) */ | ||
196 | #define FDMODE 0x04000000 /* Duplex Mode Enable (Full/Half*) */ | ||
197 | #define LB 0x08000000 /* Internal Loopback Enable */ | ||
198 | #define DRO 0x10000000 /* Disable Receive Own Frames (Half-Duplex Mode) */ | ||
199 | |||
200 | /* EMAC_STAADD Masks */ | ||
201 | |||
202 | #define STABUSY 0x00000001 /* Initiate Station Mgt Reg Access / STA Busy Stat */ | ||
203 | #define STAOP 0x00000002 /* Station Management Operation Code (Write/Read*) */ | ||
204 | #define STADISPRE 0x00000004 /* Disable Preamble Generation */ | ||
205 | #define STAIE 0x00000008 /* Station Mgt. Transfer Done Interrupt Enable */ | ||
206 | #define REGAD 0x000007C0 /* STA Register Address */ | ||
207 | #define PHYAD 0x0000F800 /* PHY Device Address */ | ||
208 | |||
209 | #define SET_REGAD(x) (((x)&0x1F)<< 6 ) /* Set STA Register Address */ | ||
210 | #define SET_PHYAD(x) (((x)&0x1F)<< 11 ) /* Set PHY Device Address */ | ||
211 | |||
212 | /* EMAC_STADAT Mask */ | ||
213 | |||
214 | #define STADATA 0x0000FFFF /* Station Management Data */ | ||
215 | |||
216 | /* EMAC_FLC Masks */ | ||
217 | |||
218 | #define FLCBUSY 0x00000001 /* Send Flow Ctrl Frame / Flow Ctrl Busy Status */ | ||
219 | #define FLCE 0x00000002 /* Flow Control Enable */ | ||
220 | #define PCF 0x00000004 /* Pass Control Frames */ | ||
221 | #define BKPRSEN 0x00000008 /* Enable Backpressure */ | ||
222 | #define FLCPAUSE 0xFFFF0000 /* Pause Time */ | ||
223 | |||
224 | #define SET_FLCPAUSE(x) (((x)&0xFFFF)<< 16) /* Set Pause Time */ | ||
225 | |||
226 | /* EMAC_WKUP_CTL Masks */ | ||
227 | |||
228 | #define CAPWKFRM 0x00000001 /* Capture Wake-Up Frames */ | ||
229 | #define MPKE 0x00000002 /* Magic Packet Enable */ | ||
230 | #define RWKE 0x00000004 /* Remote Wake-Up Frame Enable */ | ||
231 | #define GUWKE 0x00000008 /* Global Unicast Wake Enable */ | ||
232 | #define MPKS 0x00000020 /* Magic Packet Received Status */ | ||
233 | #define RWKS 0x00000F00 /* Wake-Up Frame Received Status, Filters 3:0 */ | ||
234 | |||
235 | /* EMAC_WKUP_FFCMD Masks */ | ||
236 | |||
237 | #define WF0_E 0x00000001 /* Enable Wake-Up Filter 0 */ | ||
238 | #define WF0_T 0x00000008 /* Wake-Up Filter 0 Addr Type (Multicast/Unicast*) */ | ||
239 | #define WF1_E 0x00000100 /* Enable Wake-Up Filter 1 */ | ||
240 | #define WF1_T 0x00000800 /* Wake-Up Filter 1 Addr Type (Multicast/Unicast*) */ | ||
241 | #define WF2_E 0x00010000 /* Enable Wake-Up Filter 2 */ | ||
242 | #define WF2_T 0x00080000 /* Wake-Up Filter 2 Addr Type (Multicast/Unicast*) */ | ||
243 | #define WF3_E 0x01000000 /* Enable Wake-Up Filter 3 */ | ||
244 | #define WF3_T 0x08000000 /* Wake-Up Filter 3 Addr Type (Multicast/Unicast*) */ | ||
245 | |||
246 | /* EMAC_WKUP_FFOFF Masks */ | ||
247 | |||
248 | #define WF0_OFF 0x000000FF /* Wake-Up Filter 0 Pattern Offset */ | ||
249 | #define WF1_OFF 0x0000FF00 /* Wake-Up Filter 1 Pattern Offset */ | ||
250 | #define WF2_OFF 0x00FF0000 /* Wake-Up Filter 2 Pattern Offset */ | ||
251 | #define WF3_OFF 0xFF000000 /* Wake-Up Filter 3 Pattern Offset */ | ||
252 | |||
253 | #define SET_WF0_OFF(x) (((x)&0xFF)<< 0 ) /* Set Wake-Up Filter 0 Byte Offset */ | ||
254 | #define SET_WF1_OFF(x) (((x)&0xFF)<< 8 ) /* Set Wake-Up Filter 1 Byte Offset */ | ||
255 | #define SET_WF2_OFF(x) (((x)&0xFF)<< 16 ) /* Set Wake-Up Filter 2 Byte Offset */ | ||
256 | #define SET_WF3_OFF(x) (((x)&0xFF)<< 24 ) /* Set Wake-Up Filter 3 Byte Offset */ | ||
257 | /* Set ALL Offsets */ | ||
258 | #define SET_WF_OFFS(x0,x1,x2,x3) (SET_WF0_OFF((x0))|SET_WF1_OFF((x1))|SET_WF2_OFF((x2))|SET_WF3_OFF((x3))) | ||
259 | |||
260 | /* EMAC_WKUP_FFCRC0 Masks */ | ||
261 | |||
262 | #define WF0_CRC 0x0000FFFF /* Wake-Up Filter 0 Pattern CRC */ | ||
263 | #define WF1_CRC 0xFFFF0000 /* Wake-Up Filter 1 Pattern CRC */ | ||
264 | |||
265 | #define SET_WF0_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 0 Target CRC */ | ||
266 | #define SET_WF1_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 1 Target CRC */ | ||
267 | |||
268 | /* EMAC_WKUP_FFCRC1 Masks */ | ||
269 | |||
270 | #define WF2_CRC 0x0000FFFF /* Wake-Up Filter 2 Pattern CRC */ | ||
271 | #define WF3_CRC 0xFFFF0000 /* Wake-Up Filter 3 Pattern CRC */ | ||
272 | |||
273 | #define SET_WF2_CRC(x) (((x)&0xFFFF)<< 0 ) /* Set Wake-Up Filter 2 Target CRC */ | ||
274 | #define SET_WF3_CRC(x) (((x)&0xFFFF)<< 16 ) /* Set Wake-Up Filter 3 Target CRC */ | ||
275 | |||
276 | /* EMAC_SYSCTL Masks */ | ||
277 | |||
278 | #define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */ | ||
279 | #define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */ | ||
280 | #define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */ | ||
281 | #define TXDWA 0x00000010 /* Transmit Frame DMA Word Alignment (Odd/Even*) */ | ||
282 | #define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */ | ||
283 | |||
284 | #define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */ | ||
285 | |||
286 | /* EMAC_SYSTAT Masks */ | ||
287 | |||
288 | #define PHYINT 0x00000001 /* PHY_INT Interrupt Status */ | ||
289 | #define MMCINT 0x00000002 /* MMC Counter Interrupt Status */ | ||
290 | #define RXFSINT 0x00000004 /* RX Frame-Status Interrupt Status */ | ||
291 | #define TXFSINT 0x00000008 /* TX Frame-Status Interrupt Status */ | ||
292 | #define WAKEDET 0x00000010 /* Wake-Up Detected Status */ | ||
293 | #define RXDMAERR 0x00000020 /* RX DMA Direction Error Status */ | ||
294 | #define TXDMAERR 0x00000040 /* TX DMA Direction Error Status */ | ||
295 | #define STMDONE 0x00000080 /* Station Mgt. Transfer Done Interrupt Status */ | ||
296 | |||
297 | /* EMAC_RX_STAT, EMAC_RX_STKY, and EMAC_RX_IRQE Masks */ | ||
298 | |||
299 | #define RX_FRLEN 0x000007FF /* Frame Length In Bytes */ | ||
300 | #define RX_COMP 0x00001000 /* RX Frame Complete */ | ||
301 | #define RX_OK 0x00002000 /* RX Frame Received With No Errors */ | ||
302 | #define RX_LONG 0x00004000 /* RX Frame Too Long Error */ | ||
303 | #define RX_ALIGN 0x00008000 /* RX Frame Alignment Error */ | ||
304 | #define RX_CRC 0x00010000 /* RX Frame CRC Error */ | ||
305 | #define RX_LEN 0x00020000 /* RX Frame Length Error */ | ||
306 | #define RX_FRAG 0x00040000 /* RX Frame Fragment Error */ | ||
307 | #define RX_ADDR 0x00080000 /* RX Frame Address Filter Failed Error */ | ||
308 | #define RX_DMAO 0x00100000 /* RX Frame DMA Overrun Error */ | ||
309 | #define RX_PHY 0x00200000 /* RX Frame PHY Error */ | ||
310 | #define RX_LATE 0x00400000 /* RX Frame Late Collision Error */ | ||
311 | #define RX_RANGE 0x00800000 /* RX Frame Length Field Out of Range Error */ | ||
312 | #define RX_MULTI 0x01000000 /* RX Multicast Frame Indicator */ | ||
313 | #define RX_BROAD 0x02000000 /* RX Broadcast Frame Indicator */ | ||
314 | #define RX_CTL 0x04000000 /* RX Control Frame Indicator */ | ||
315 | #define RX_UCTL 0x08000000 /* Unsupported RX Control Frame Indicator */ | ||
316 | #define RX_TYPE 0x10000000 /* RX Typed Frame Indicator */ | ||
317 | #define RX_VLAN1 0x20000000 /* RX VLAN1 Frame Indicator */ | ||
318 | #define RX_VLAN2 0x40000000 /* RX VLAN2 Frame Indicator */ | ||
319 | #define RX_ACCEPT 0x80000000 /* RX Frame Accepted Indicator */ | ||
320 | |||
321 | /* EMAC_TX_STAT, EMAC_TX_STKY, and EMAC_TX_IRQE Masks */ | ||
322 | |||
323 | #define TX_COMP 0x00000001 /* TX Frame Complete */ | ||
324 | #define TX_OK 0x00000002 /* TX Frame Sent With No Errors */ | ||
325 | #define TX_ECOLL 0x00000004 /* TX Frame Excessive Collision Error */ | ||
326 | #define TX_LATE 0x00000008 /* TX Frame Late Collision Error */ | ||
327 | #define TX_DMAU 0x00000010 /* TX Frame DMA Underrun Error (STAT) */ | ||
328 | #define TX_MACE 0x00000010 /* Internal MAC Error Detected (STKY and IRQE) */ | ||
329 | #define TX_EDEFER 0x00000020 /* TX Frame Excessive Deferral Error */ | ||
330 | #define TX_BROAD 0x00000040 /* TX Broadcast Frame Indicator */ | ||
331 | #define TX_MULTI 0x00000080 /* TX Multicast Frame Indicator */ | ||
332 | #define TX_CCNT 0x00000F00 /* TX Frame Collision Count */ | ||
333 | #define TX_DEFER 0x00001000 /* TX Frame Deferred Indicator */ | ||
334 | #define TX_CRS 0x00002000 /* TX Frame Carrier Sense Not Asserted Error */ | ||
335 | #define TX_LOSS 0x00004000 /* TX Frame Carrier Lost During TX Error */ | ||
336 | #define TX_RETRY 0x00008000 /* TX Frame Successful After Retry */ | ||
337 | #define TX_FRLEN 0x07FF0000 /* TX Frame Length (Bytes) */ | ||
338 | |||
339 | /* EMAC_MMC_CTL Masks */ | ||
340 | #define RSTC 0x00000001 /* Reset All Counters */ | ||
341 | #define CROLL 0x00000002 /* Counter Roll-Over Enable */ | ||
342 | #define CCOR 0x00000004 /* Counter Clear-On-Read Mode Enable */ | ||
343 | #define MMCE 0x00000008 /* Enable MMC Counter Operation */ | ||
344 | |||
345 | /* EMAC_MMC_RIRQS and EMAC_MMC_RIRQE Masks */ | ||
346 | #define RX_OK_CNT 0x00000001 /* RX Frames Received With No Errors */ | ||
347 | #define RX_FCS_CNT 0x00000002 /* RX Frames W/Frame Check Sequence Errors */ | ||
348 | #define RX_ALIGN_CNT 0x00000004 /* RX Frames With Alignment Errors */ | ||
349 | #define RX_OCTET_CNT 0x00000008 /* RX Octets Received OK */ | ||
350 | #define RX_LOST_CNT 0x00000010 /* RX Frames Lost Due To Internal MAC RX Error */ | ||
351 | #define RX_UNI_CNT 0x00000020 /* Unicast RX Frames Received OK */ | ||
352 | #define RX_MULTI_CNT 0x00000040 /* Multicast RX Frames Received OK */ | ||
353 | #define RX_BROAD_CNT 0x00000080 /* Broadcast RX Frames Received OK */ | ||
354 | #define RX_IRL_CNT 0x00000100 /* RX Frames With In-Range Length Errors */ | ||
355 | #define RX_ORL_CNT 0x00000200 /* RX Frames With Out-Of-Range Length Errors */ | ||
356 | #define RX_LONG_CNT 0x00000400 /* RX Frames With Frame Too Long Errors */ | ||
357 | #define RX_MACCTL_CNT 0x00000800 /* MAC Control RX Frames Received */ | ||
358 | #define RX_OPCODE_CTL 0x00001000 /* Unsupported Op-Code RX Frames Received */ | ||
359 | #define RX_PAUSE_CNT 0x00002000 /* PAUSEMAC Control RX Frames Received */ | ||
360 | #define RX_ALLF_CNT 0x00004000 /* All RX Frames Received */ | ||
361 | #define RX_ALLO_CNT 0x00008000 /* All RX Octets Received */ | ||
362 | #define RX_TYPED_CNT 0x00010000 /* Typed RX Frames Received */ | ||
363 | #define RX_SHORT_CNT 0x00020000 /* RX Frame Fragments (< 64 Bytes) Received */ | ||
364 | #define RX_EQ64_CNT 0x00040000 /* 64-Byte RX Frames Received */ | ||
365 | #define RX_LT128_CNT 0x00080000 /* 65-127-Byte RX Frames Received */ | ||
366 | #define RX_LT256_CNT 0x00100000 /* 128-255-Byte RX Frames Received */ | ||
367 | #define RX_LT512_CNT 0x00200000 /* 256-511-Byte RX Frames Received */ | ||
368 | #define RX_LT1024_CNT 0x00400000 /* 512-1023-Byte RX Frames Received */ | ||
369 | #define RX_GE1024_CNT 0x00800000 /* 1024-Max-Byte RX Frames Received */ | ||
370 | |||
371 | /* EMAC_MMC_TIRQS and EMAC_MMC_TIRQE Masks */ | ||
372 | |||
373 | #define TX_OK_CNT 0x00000001 /* TX Frames Sent OK */ | ||
374 | #define TX_SCOLL_CNT 0x00000002 /* TX Frames With Single Collisions */ | ||
375 | #define TX_MCOLL_CNT 0x00000004 /* TX Frames With Multiple Collisions */ | ||
376 | #define TX_OCTET_CNT 0x00000008 /* TX Octets Sent OK */ | ||
377 | #define TX_DEFER_CNT 0x00000010 /* TX Frames With Deferred Transmission */ | ||
378 | #define TX_LATE_CNT 0x00000020 /* TX Frames With Late Collisions */ | ||
379 | #define TX_ABORTC_CNT 0x00000040 /* TX Frames Aborted Due To Excess Collisions */ | ||
380 | #define TX_LOST_CNT 0x00000080 /* TX Frames Lost Due To Internal MAC TX Error */ | ||
381 | #define TX_CRS_CNT 0x00000100 /* TX Frames With Carrier Sense Errors */ | ||
382 | #define TX_UNI_CNT 0x00000200 /* Unicast TX Frames Sent */ | ||
383 | #define TX_MULTI_CNT 0x00000400 /* Multicast TX Frames Sent */ | ||
384 | #define TX_BROAD_CNT 0x00000800 /* Broadcast TX Frames Sent */ | ||
385 | #define TX_EXDEF_CTL 0x00001000 /* TX Frames With Excessive Deferral */ | ||
386 | #define TX_MACCTL_CNT 0x00002000 /* MAC Control TX Frames Sent */ | ||
387 | #define TX_ALLF_CNT 0x00004000 /* All TX Frames Sent */ | ||
388 | #define TX_ALLO_CNT 0x00008000 /* All TX Octets Sent */ | ||
389 | #define TX_EQ64_CNT 0x00010000 /* 64-Byte TX Frames Sent */ | ||
390 | #define TX_LT128_CNT 0x00020000 /* 65-127-Byte TX Frames Sent */ | ||
391 | #define TX_LT256_CNT 0x00040000 /* 128-255-Byte TX Frames Sent */ | ||
392 | #define TX_LT512_CNT 0x00080000 /* 256-511-Byte TX Frames Sent */ | ||
393 | #define TX_LT1024_CNT 0x00100000 /* 512-1023-Byte TX Frames Sent */ | ||
394 | #define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */ | ||
395 | #define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */ | ||
396 | |||
397 | /* SDH Registers */ | ||
398 | |||
399 | #define SDH_PWR_CTL 0xFFC03900 /* SDH Power Control */ | ||
400 | #define SDH_CLK_CTL 0xFFC03904 /* SDH Clock Control */ | ||
401 | #define SDH_ARGUMENT 0xFFC03908 /* SDH Argument */ | ||
402 | #define SDH_COMMAND 0xFFC0390C /* SDH Command */ | ||
403 | #define SDH_RESP_CMD 0xFFC03910 /* SDH Response Command */ | ||
404 | #define SDH_RESPONSE0 0xFFC03914 /* SDH Response0 */ | ||
405 | #define SDH_RESPONSE1 0xFFC03918 /* SDH Response1 */ | ||
406 | #define SDH_RESPONSE2 0xFFC0391C /* SDH Response2 */ | ||
407 | #define SDH_RESPONSE3 0xFFC03920 /* SDH Response3 */ | ||
408 | #define SDH_DATA_TIMER 0xFFC03924 /* SDH Data Timer */ | ||
409 | #define SDH_DATA_LGTH 0xFFC03928 /* SDH Data Length */ | ||
410 | #define SDH_DATA_CTL 0xFFC0392C /* SDH Data Control */ | ||
411 | #define SDH_DATA_CNT 0xFFC03930 /* SDH Data Counter */ | ||
412 | #define SDH_STATUS 0xFFC03934 /* SDH Status */ | ||
413 | #define SDH_STATUS_CLR 0xFFC03938 /* SDH Status Clear */ | ||
414 | #define SDH_MASK0 0xFFC0393C /* SDH Interrupt0 Mask */ | ||
415 | #define SDH_MASK1 0xFFC03940 /* SDH Interrupt1 Mask */ | ||
416 | #define SDH_FIFO_CNT 0xFFC03948 /* SDH FIFO Counter */ | ||
417 | #define SDH_FIFO 0xFFC03980 /* SDH Data FIFO */ | ||
418 | #define SDH_E_STATUS 0xFFC039C0 /* SDH Exception Status */ | ||
419 | #define SDH_E_MASK 0xFFC039C4 /* SDH Exception Mask */ | ||
420 | #define SDH_CFG 0xFFC039C8 /* SDH Configuration */ | ||
421 | #define SDH_RD_WAIT_EN 0xFFC039CC /* SDH Read Wait Enable */ | ||
422 | #define SDH_PID0 0xFFC039D0 /* SDH Peripheral Identification0 */ | ||
423 | #define SDH_PID1 0xFFC039D4 /* SDH Peripheral Identification1 */ | ||
424 | #define SDH_PID2 0xFFC039D8 /* SDH Peripheral Identification2 */ | ||
425 | #define SDH_PID3 0xFFC039DC /* SDH Peripheral Identification3 */ | ||
426 | #define SDH_PID4 0xFFC039E0 /* SDH Peripheral Identification4 */ | ||
427 | #define SDH_PID5 0xFFC039E4 /* SDH Peripheral Identification5 */ | ||
428 | #define SDH_PID6 0xFFC039E8 /* SDH Peripheral Identification6 */ | ||
429 | #define SDH_PID7 0xFFC039EC /* SDH Peripheral Identification7 */ | ||
430 | |||
431 | /* Removable Storage Interface Registers */ | ||
432 | |||
433 | #define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */ | ||
434 | #define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */ | ||
435 | #define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */ | ||
436 | #define RSI_COMMAND 0xFFC0380C /* RSI Command Register */ | ||
437 | #define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */ | ||
438 | #define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */ | ||
439 | #define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */ | ||
440 | #define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */ | ||
441 | #define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */ | ||
442 | #define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */ | ||
443 | #define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */ | ||
444 | #define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */ | ||
445 | #define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */ | ||
446 | #define RSI_STATUS 0xFFC03834 /* RSI Status Register */ | ||
447 | #define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */ | ||
448 | #define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */ | ||
449 | #define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */ | ||
450 | #define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */ | ||
451 | #define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */ | ||
452 | #define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */ | ||
453 | #define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */ | ||
454 | #define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */ | ||
455 | #define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */ | ||
456 | #define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */ | ||
457 | #define RSI_PID0 0xFFC03FE0 /* RSI Peripheral ID Register 0 */ | ||
458 | #define RSI_PID1 0xFFC03FE4 /* RSI Peripheral ID Register 1 */ | ||
459 | #define RSI_PID2 0xFFC03FE8 /* RSI Peripheral ID Register 2 */ | ||
460 | #define RSI_PID3 0xFFC03FEC /* RSI Peripheral ID Register 3 */ | ||
461 | #define RSI_PID4 0xFFC03FF0 /* RSI Peripheral ID Register 4 */ | ||
462 | #define RSI_PID5 0xFFC03FF4 /* RSI Peripheral ID Register 5 */ | ||
463 | #define RSI_PID6 0xFFC03FF8 /* RSI Peripheral ID Register 6 */ | ||
464 | #define RSI_PID7 0xFFC03FFC /* RSI Peripheral ID Register 7 */ | ||
465 | 12 | ||
466 | /* PTP TSYNC Registers */ | 13 | /* PTP TSYNC Registers */ |
467 | 14 | ||
@@ -489,141 +36,6 @@ | |||
489 | #define EMAC_PTP_PPS_STARTHI 0xFFC030F4 /* PPS Start Time High */ | 36 | #define EMAC_PTP_PPS_STARTHI 0xFFC030F4 /* PPS Start Time High */ |
490 | #define EMAC_PTP_PPS_PERIOD 0xFFC030F8 /* PPS Count Register */ | 37 | #define EMAC_PTP_PPS_PERIOD 0xFFC030F8 /* PPS Count Register */ |
491 | 38 | ||
492 | /* ********************************************************** */ | ||
493 | /* SINGLE BIT MACRO PAIRS (bit mask and negated one) */ | ||
494 | /* and MULTI BIT READ MACROS */ | ||
495 | /* ********************************************************** */ | ||
496 | |||
497 | /* Bit masks for SDH_COMMAND */ | ||
498 | |||
499 | #define CMD_IDX 0x3f /* Command Index */ | ||
500 | #define CMD_RSP 0x40 /* Response */ | ||
501 | #define CMD_L_RSP 0x80 /* Long Response */ | ||
502 | #define CMD_INT_E 0x100 /* Command Interrupt */ | ||
503 | #define CMD_PEND_E 0x200 /* Command Pending */ | ||
504 | #define CMD_E 0x400 /* Command Enable */ | ||
505 | |||
506 | /* Bit masks for SDH_PWR_CTL */ | ||
507 | |||
508 | #define PWR_ON 0x3 /* Power On */ | ||
509 | #if 0 | ||
510 | #define TBD 0x3c /* TBD */ | ||
511 | #endif | ||
512 | #define SD_CMD_OD 0x40 /* Open Drain Output */ | ||
513 | #define ROD_CTL 0x80 /* Rod Control */ | ||
514 | |||
515 | /* Bit masks for SDH_CLK_CTL */ | ||
516 | |||
517 | #define CLKDIV 0xff /* MC_CLK Divisor */ | ||
518 | #define CLK_E 0x100 /* MC_CLK Bus Clock Enable */ | ||
519 | #define PWR_SV_E 0x200 /* Power Save Enable */ | ||
520 | #define CLKDIV_BYPASS 0x400 /* Bypass Divisor */ | ||
521 | #define WIDE_BUS 0x800 /* Wide Bus Mode Enable */ | ||
522 | |||
523 | /* Bit masks for SDH_RESP_CMD */ | ||
524 | |||
525 | #define RESP_CMD 0x3f /* Response Command */ | ||
526 | |||
527 | /* Bit masks for SDH_DATA_CTL */ | ||
528 | |||
529 | #define DTX_E 0x1 /* Data Transfer Enable */ | ||
530 | #define DTX_DIR 0x2 /* Data Transfer Direction */ | ||
531 | #define DTX_MODE 0x4 /* Data Transfer Mode */ | ||
532 | #define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */ | ||
533 | #define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */ | ||
534 | |||
535 | /* Bit masks for SDH_STATUS */ | ||
536 | |||
537 | #define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */ | ||
538 | #define DAT_CRC_FAIL 0x2 /* Data CRC Fail */ | ||
539 | #define CMD_TIME_OUT 0x4 /* CMD Time Out */ | ||
540 | #define DAT_TIME_OUT 0x8 /* Data Time Out */ | ||
541 | #define TX_UNDERRUN 0x10 /* Transmit Underrun */ | ||
542 | #define RX_OVERRUN 0x20 /* Receive Overrun */ | ||
543 | #define CMD_RESP_END 0x40 /* CMD Response End */ | ||
544 | #define CMD_SENT 0x80 /* CMD Sent */ | ||
545 | #define DAT_END 0x100 /* Data End */ | ||
546 | #define START_BIT_ERR 0x200 /* Start Bit Error */ | ||
547 | #define DAT_BLK_END 0x400 /* Data Block End */ | ||
548 | #define CMD_ACT 0x800 /* CMD Active */ | ||
549 | #define TX_ACT 0x1000 /* Transmit Active */ | ||
550 | #define RX_ACT 0x2000 /* Receive Active */ | ||
551 | #define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */ | ||
552 | #define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */ | ||
553 | #define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */ | ||
554 | #define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */ | ||
555 | #define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */ | ||
556 | #define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */ | ||
557 | #define TX_DAT_RDY 0x100000 /* Transmit Data Available */ | ||
558 | #define RX_FIFO_RDY 0x200000 /* Receive Data Available */ | ||
559 | |||
560 | /* Bit masks for SDH_STATUS_CLR */ | ||
561 | |||
562 | #define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */ | ||
563 | #define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */ | ||
564 | #define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */ | ||
565 | #define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */ | ||
566 | #define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */ | ||
567 | #define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */ | ||
568 | #define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */ | ||
569 | #define CMD_SENT_STAT 0x80 /* CMD Sent Status */ | ||
570 | #define DAT_END_STAT 0x100 /* Data End Status */ | ||
571 | #define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */ | ||
572 | #define DAT_BLK_END_STAT 0x400 /* Data Block End Status */ | ||
573 | |||
574 | /* Bit masks for SDH_MASK0 */ | ||
575 | |||
576 | #define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */ | ||
577 | #define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */ | ||
578 | #define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */ | ||
579 | #define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */ | ||
580 | #define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */ | ||
581 | #define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */ | ||
582 | #define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */ | ||
583 | #define CMD_SENT_MASK 0x80 /* CMD Sent Mask */ | ||
584 | #define DAT_END_MASK 0x100 /* Data End Mask */ | ||
585 | #define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */ | ||
586 | #define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */ | ||
587 | #define CMD_ACT_MASK 0x800 /* CMD Active Mask */ | ||
588 | #define TX_ACT_MASK 0x1000 /* Transmit Active Mask */ | ||
589 | #define RX_ACT_MASK 0x2000 /* Receive Active Mask */ | ||
590 | #define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */ | ||
591 | #define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */ | ||
592 | #define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */ | ||
593 | #define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */ | ||
594 | #define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */ | ||
595 | #define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */ | ||
596 | #define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */ | ||
597 | #define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */ | ||
598 | |||
599 | /* Bit masks for SDH_FIFO_CNT */ | ||
600 | |||
601 | #define FIFO_COUNT 0x7fff /* FIFO Count */ | ||
602 | |||
603 | /* Bit masks for SDH_E_STATUS */ | ||
604 | |||
605 | #define SDIO_INT_DET 0x2 /* SDIO Int Detected */ | ||
606 | #define SD_CARD_DET 0x10 /* SD Card Detect */ | ||
607 | |||
608 | /* Bit masks for SDH_E_MASK */ | ||
609 | |||
610 | #define SDIO_MSK 0x2 /* Mask SDIO Int Detected */ | ||
611 | #define SCD_MSK 0x40 /* Mask Card Detect */ | ||
612 | |||
613 | /* Bit masks for SDH_CFG */ | ||
614 | |||
615 | #define CLKS_EN 0x1 /* Clocks Enable */ | ||
616 | #define SD4E 0x4 /* SDIO 4-Bit Enable */ | ||
617 | #define MWE 0x8 /* Moving Window Enable */ | ||
618 | #define SD_RST 0x10 /* SDMMC Reset */ | ||
619 | #define PUP_SDDAT 0x20 /* Pull-up SD_DAT */ | ||
620 | #define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */ | ||
621 | #define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */ | ||
622 | |||
623 | /* Bit masks for SDH_RD_WAIT_EN */ | ||
624 | |||
625 | #define RWR 0x1 /* Read Wait Request */ | ||
626 | |||
627 | /* Bit masks for EMAC_PTP_CTL */ | 39 | /* Bit masks for EMAC_PTP_CTL */ |
628 | 40 | ||
629 | #define PTP_EN 0x1 /* Enable the PTP_TSYNC module */ | 41 | #define PTP_EN 0x1 /* Enable the PTP_TSYNC module */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h index f9fd2b2a2956..9241205fb992 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | |||
@@ -585,58 +585,6 @@ | |||
585 | ** modifier UNLESS the lower order bits are saved and ORed back in when | 585 | ** modifier UNLESS the lower order bits are saved and ORed back in when |
586 | ** the macro is used. | 586 | ** the macro is used. |
587 | *************************************************************************************/ | 587 | *************************************************************************************/ |
588 | /* | ||
589 | ** ********************* PLL AND RESET MASKS ****************************************/ | ||
590 | /* PLL_CTL Masks */ | ||
591 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
592 | #define PLL_OFF 0x0002 /* PLL Not Powered */ | ||
593 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
594 | #define PDWN 0x0020 /* Enter Deep Sleep Mode */ | ||
595 | #define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */ | ||
596 | #define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */ | ||
597 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
598 | #define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */ | ||
599 | /* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */ | ||
600 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
601 | |||
602 | /* PLL_DIV Masks */ | ||
603 | #define SSEL 0x000F /* System Select */ | ||
604 | #define CSEL 0x0030 /* Core Select */ | ||
605 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
606 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
607 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
608 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
609 | /* PLL_DIV Macros */ | ||
610 | #define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
611 | |||
612 | /* VR_CTL Masks */ | ||
613 | #define FREQ 0x3000 /* Switching Oscillator Frequency For Regulator */ | ||
614 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
615 | |||
616 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
617 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
618 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
619 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
620 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
621 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
622 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
623 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
624 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
625 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
626 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
627 | |||
628 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
629 | #define USBWE 0x0200 /* Enable USB Wakeup From Hibernate */ | ||
630 | #define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */ | ||
631 | #define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */ | ||
632 | #define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */ | ||
633 | #define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */ | ||
634 | |||
635 | /* PLL_STAT Masks */ | ||
636 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
637 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
638 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
639 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
640 | 588 | ||
641 | /* CHIPID Masks */ | 589 | /* CHIPID Masks */ |
642 | #define CHIPID_VERSION 0xF0000000 | 590 | #define CHIPID_VERSION 0xF0000000 |
@@ -756,66 +704,6 @@ | |||
756 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ | 704 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ |
757 | 705 | ||
758 | 706 | ||
759 | /* ********* WATCHDOG TIMER MASKS ******************** */ | ||
760 | |||
761 | /* Watchdog Timer WDOG_CTL Register Masks */ | ||
762 | |||
763 | #define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */ | ||
764 | #define WDEV_RESET 0x0000 /* generate reset event on roll over */ | ||
765 | #define WDEV_NMI 0x0002 /* generate NMI event on roll over */ | ||
766 | #define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */ | ||
767 | #define WDEV_NONE 0x0006 /* no event on roll over */ | ||
768 | #define WDEN 0x0FF0 /* enable watchdog */ | ||
769 | #define WDDIS 0x0AD0 /* disable watchdog */ | ||
770 | #define WDRO 0x8000 /* watchdog rolled over latch */ | ||
771 | |||
772 | /* depreciated WDOG_CTL Register Masks for legacy code */ | ||
773 | |||
774 | |||
775 | #define ICTL WDEV | ||
776 | #define ENABLE_RESET WDEV_RESET | ||
777 | #define WDOG_RESET WDEV_RESET | ||
778 | #define ENABLE_NMI WDEV_NMI | ||
779 | #define WDOG_NMI WDEV_NMI | ||
780 | #define ENABLE_GPI WDEV_GPI | ||
781 | #define WDOG_GPI WDEV_GPI | ||
782 | #define DISABLE_EVT WDEV_NONE | ||
783 | #define WDOG_NONE WDEV_NONE | ||
784 | |||
785 | #define TMR_EN WDEN | ||
786 | #define TMR_DIS WDDIS | ||
787 | #define TRO WDRO | ||
788 | #define ICTL_P0 0x01 | ||
789 | #define ICTL_P1 0x02 | ||
790 | #define TRO_P 0x0F | ||
791 | |||
792 | |||
793 | |||
794 | /* *************** REAL TIME CLOCK MASKS **************************/ | ||
795 | /* RTC_STAT and RTC_ALARM Masks */ | ||
796 | #define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */ | ||
797 | #define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */ | ||
798 | #define RTC_HR 0x0001F000 /* Real-Time Clock Hours */ | ||
799 | #define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */ | ||
800 | |||
801 | /* RTC_ALARM Macro z=day y=hr x=min w=sec */ | ||
802 | #define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F)) | ||
803 | |||
804 | /* RTC_ICTL and RTC_ISTAT Masks */ | ||
805 | #define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */ | ||
806 | #define ALARM 0x0002 /* Alarm Interrupt Enable */ | ||
807 | #define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */ | ||
808 | #define MINUTE 0x0008 /* Minutes Interrupt Enable */ | ||
809 | #define HOUR 0x0010 /* Hours Interrupt Enable */ | ||
810 | #define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */ | ||
811 | #define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */ | ||
812 | #define WRITE_PENDING 0x4000 /* Write Pending Status */ | ||
813 | #define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */ | ||
814 | |||
815 | /* RTC_FAST / RTC_PREN Mask */ | ||
816 | #define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */ | ||
817 | |||
818 | |||
819 | /* ************** UART CONTROLLER MASKS *************************/ | 707 | /* ************** UART CONTROLLER MASKS *************************/ |
820 | /* UARTx_LCR Masks */ | 708 | /* UARTx_LCR Masks */ |
821 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ | 709 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ |
@@ -1372,33 +1260,6 @@ | |||
1372 | 1260 | ||
1373 | 1261 | ||
1374 | /* ************************** DMA CONTROLLER MASKS ********************************/ | 1262 | /* ************************** DMA CONTROLLER MASKS ********************************/ |
1375 | /* DMAx_CONFIG, MDMA_yy_CONFIG Masks */ | ||
1376 | #define DMAEN 0x0001 /* DMA Channel Enable */ | ||
1377 | #define WNR 0x0002 /* Channel Direction (W/R*) */ | ||
1378 | #define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */ | ||
1379 | #define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */ | ||
1380 | #define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */ | ||
1381 | #define DMA2D 0x0010 /* DMA Mode (2D/1D*) */ | ||
1382 | #define RESTART 0x0020 /* DMA Buffer Clear */ | ||
1383 | #define DI_SEL 0x0040 /* Data Interrupt Timing Select */ | ||
1384 | #define DI_EN 0x0080 /* Data Interrupt Enable */ | ||
1385 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1386 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1387 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1388 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1389 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1390 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1391 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1392 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1393 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1394 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1395 | #define NDSIZE 0x0900 /* Next Descriptor Size */ | ||
1396 | #define DMAFLOW 0x7000 /* Flow Control */ | ||
1397 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1398 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1399 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1400 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1401 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1402 | 1263 | ||
1403 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ | 1264 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ |
1404 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ | 1265 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ |
@@ -1416,13 +1277,6 @@ | |||
1416 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ | 1277 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ |
1417 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ | 1278 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ |
1418 | 1279 | ||
1419 | /* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */ | ||
1420 | #define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */ | ||
1421 | #define DMA_ERR 0x0002 /* DMA Error Interrupt Status */ | ||
1422 | #define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */ | ||
1423 | #define DMA_RUN 0x0008 /* DMA Channel Running Indicator */ | ||
1424 | |||
1425 | |||
1426 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ | 1280 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ |
1427 | /* PPI_CONTROL Masks */ | 1281 | /* PPI_CONTROL Masks */ |
1428 | #define PORT_EN 0x0001 /* PPI Port Enable */ | 1282 | #define PORT_EN 0x0001 /* PPI Port Enable */ |
@@ -1830,46 +1684,6 @@ | |||
1830 | #define BNDMODE_CAPT 0x2000 /* boundary capture mode */ | 1684 | #define BNDMODE_CAPT 0x2000 /* boundary capture mode */ |
1831 | #define BNDMODE_AEXT 0x3000 /* boundary auto-extend mode */ | 1685 | #define BNDMODE_AEXT 0x3000 /* boundary auto-extend mode */ |
1832 | 1686 | ||
1833 | /* Bit masks for OTP_CONTROL */ | ||
1834 | |||
1835 | #define FUSE_FADDR 0x1ff /* OTP/Fuse Address */ | ||
1836 | #define FIEN 0x800 /* OTP/Fuse Interrupt Enable */ | ||
1837 | #define nFIEN 0x0 | ||
1838 | #define FTESTDEC 0x1000 /* OTP/Fuse Test Decoder */ | ||
1839 | #define nFTESTDEC 0x0 | ||
1840 | #define FWRTEST 0x2000 /* OTP/Fuse Write Test */ | ||
1841 | #define nFWRTEST 0x0 | ||
1842 | #define FRDEN 0x4000 /* OTP/Fuse Read Enable */ | ||
1843 | #define nFRDEN 0x0 | ||
1844 | #define FWREN 0x8000 /* OTP/Fuse Write Enable */ | ||
1845 | #define nFWREN 0x0 | ||
1846 | |||
1847 | /* Bit masks for OTP_BEN */ | ||
1848 | |||
1849 | #define FBEN 0xffff /* OTP/Fuse Byte Enable */ | ||
1850 | |||
1851 | /* Bit masks for OTP_STATUS */ | ||
1852 | |||
1853 | #define FCOMP 0x1 /* OTP/Fuse Access Complete */ | ||
1854 | #define nFCOMP 0x0 | ||
1855 | #define FERROR 0x2 /* OTP/Fuse Access Error */ | ||
1856 | #define nFERROR 0x0 | ||
1857 | #define MMRGLOAD 0x10 /* Memory Mapped Register Gasket Load */ | ||
1858 | #define nMMRGLOAD 0x0 | ||
1859 | #define MMRGLOCK 0x20 /* Memory Mapped Register Gasket Lock */ | ||
1860 | #define nMMRGLOCK 0x0 | ||
1861 | #define FPGMEN 0x40 /* OTP/Fuse Program Enable */ | ||
1862 | #define nFPGMEN 0x0 | ||
1863 | |||
1864 | /* Bit masks for OTP_TIMING */ | ||
1865 | |||
1866 | #define USECDIV 0xff /* Micro Second Divider */ | ||
1867 | #define READACC 0x7f00 /* Read Access Time */ | ||
1868 | #define CPUMPRL 0x38000 /* Charge Pump Release Time */ | ||
1869 | #define CPUMPSU 0xc0000 /* Charge Pump Setup Time */ | ||
1870 | #define CPUMPHD 0xf00000 /* Charge Pump Hold Time */ | ||
1871 | #define PGMTIME 0xff000000 /* Program Time */ | ||
1872 | |||
1873 | /* Bit masks for SECURE_SYSSWT */ | 1687 | /* Bit masks for SECURE_SYSSWT */ |
1874 | 1688 | ||
1875 | #define EMUDABL 0x1 /* Emulation Disable. */ | 1689 | #define EMUDABL 0x1 /* Emulation Disable. */ |
diff --git a/arch/blackfin/mach-bf527/Kconfig b/arch/blackfin/mach-bf527/Kconfig index 848ac6f86823..1f8cbe9d6b9a 100644 --- a/arch/blackfin/mach-bf527/Kconfig +++ b/arch/blackfin/mach-bf527/Kconfig | |||
@@ -1,3 +1,7 @@ | |||
1 | config BF52x | ||
2 | def_bool y | ||
3 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) | ||
4 | |||
1 | if (BF52x) | 5 | if (BF52x) |
2 | 6 | ||
3 | source "arch/blackfin/mach-bf527/boards/Kconfig" | 7 | source "arch/blackfin/mach-bf527/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index f1996b13a3da..7ab0800e2914 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -15,9 +15,6 @@ | |||
15 | #include <linux/spi/spi.h> | 15 | #include <linux/spi/spi.h> |
16 | #include <linux/spi/flash.h> | 16 | #include <linux/spi/flash.h> |
17 | #include <linux/etherdevice.h> | 17 | #include <linux/etherdevice.h> |
18 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
19 | #include <linux/usb/isp1362.h> | ||
20 | #endif | ||
21 | #include <linux/i2c.h> | 18 | #include <linux/i2c.h> |
22 | #include <linux/irq.h> | 19 | #include <linux/irq.h> |
23 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
@@ -65,7 +62,7 @@ static struct isp1760_platform_data isp1760_priv = { | |||
65 | }; | 62 | }; |
66 | 63 | ||
67 | static struct platform_device bfin_isp1760_device = { | 64 | static struct platform_device bfin_isp1760_device = { |
68 | .name = "isp1760-hcd", | 65 | .name = "isp1760", |
69 | .id = 0, | 66 | .id = 0, |
70 | .dev = { | 67 | .dev = { |
71 | .platform_data = &isp1760_priv, | 68 | .platform_data = &isp1760_priv, |
@@ -317,45 +314,6 @@ static struct platform_device sl811_hcd_device = { | |||
317 | }; | 314 | }; |
318 | #endif | 315 | #endif |
319 | 316 | ||
320 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
321 | static struct resource isp1362_hcd_resources[] = { | ||
322 | { | ||
323 | .start = 0x20360000, | ||
324 | .end = 0x20360000, | ||
325 | .flags = IORESOURCE_MEM, | ||
326 | }, { | ||
327 | .start = 0x20360004, | ||
328 | .end = 0x20360004, | ||
329 | .flags = IORESOURCE_MEM, | ||
330 | }, { | ||
331 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
332 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
333 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
334 | }, | ||
335 | }; | ||
336 | |||
337 | static struct isp1362_platform_data isp1362_priv = { | ||
338 | .sel15Kres = 1, | ||
339 | .clknotstop = 0, | ||
340 | .oc_enable = 0, | ||
341 | .int_act_high = 0, | ||
342 | .int_edge_triggered = 0, | ||
343 | .remote_wakeup_connected = 0, | ||
344 | .no_power_switching = 1, | ||
345 | .power_switching_mode = 0, | ||
346 | }; | ||
347 | |||
348 | static struct platform_device isp1362_hcd_device = { | ||
349 | .name = "isp1362-hcd", | ||
350 | .id = 0, | ||
351 | .dev = { | ||
352 | .platform_data = &isp1362_priv, | ||
353 | }, | ||
354 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
355 | .resource = isp1362_hcd_resources, | ||
356 | }; | ||
357 | #endif | ||
358 | |||
359 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 317 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
360 | static struct platform_device bfin_mii_bus = { | 318 | static struct platform_device bfin_mii_bus = { |
361 | .name = "bfin_mii_bus", | 319 | .name = "bfin_mii_bus", |
@@ -841,10 +799,6 @@ static struct platform_device *cmbf527_devices[] __initdata = { | |||
841 | &sl811_hcd_device, | 799 | &sl811_hcd_device, |
842 | #endif | 800 | #endif |
843 | 801 | ||
844 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
845 | &isp1362_hcd_device, | ||
846 | #endif | ||
847 | |||
848 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | 802 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) |
849 | &bfin_isp1760_device, | 803 | &bfin_isp1760_device, |
850 | #endif | 804 | #endif |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index f09665f74ba0..5294fdd20732 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -13,9 +13,6 @@ | |||
13 | #include <linux/mtd/physmap.h> | 13 | #include <linux/mtd/physmap.h> |
14 | #include <linux/spi/spi.h> | 14 | #include <linux/spi/spi.h> |
15 | #include <linux/spi/flash.h> | 15 | #include <linux/spi/flash.h> |
16 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
17 | #include <linux/usb/isp1362.h> | ||
18 | #endif | ||
19 | #include <linux/i2c.h> | 16 | #include <linux/i2c.h> |
20 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
21 | #include <linux/interrupt.h> | 18 | #include <linux/interrupt.h> |
@@ -63,7 +60,7 @@ static struct isp1760_platform_data isp1760_priv = { | |||
63 | }; | 60 | }; |
64 | 61 | ||
65 | static struct platform_device bfin_isp1760_device = { | 62 | static struct platform_device bfin_isp1760_device = { |
66 | .name = "isp1760-hcd", | 63 | .name = "isp1760", |
67 | .id = 0, | 64 | .id = 0, |
68 | .dev = { | 65 | .dev = { |
69 | .platform_data = &isp1760_priv, | 66 | .platform_data = &isp1760_priv, |
@@ -373,45 +370,6 @@ static struct platform_device sl811_hcd_device = { | |||
373 | }; | 370 | }; |
374 | #endif | 371 | #endif |
375 | 372 | ||
376 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
377 | static struct resource isp1362_hcd_resources[] = { | ||
378 | { | ||
379 | .start = 0x20360000, | ||
380 | .end = 0x20360000, | ||
381 | .flags = IORESOURCE_MEM, | ||
382 | }, { | ||
383 | .start = 0x20360004, | ||
384 | .end = 0x20360004, | ||
385 | .flags = IORESOURCE_MEM, | ||
386 | }, { | ||
387 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
388 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
389 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
390 | }, | ||
391 | }; | ||
392 | |||
393 | static struct isp1362_platform_data isp1362_priv = { | ||
394 | .sel15Kres = 1, | ||
395 | .clknotstop = 0, | ||
396 | .oc_enable = 0, | ||
397 | .int_act_high = 0, | ||
398 | .int_edge_triggered = 0, | ||
399 | .remote_wakeup_connected = 0, | ||
400 | .no_power_switching = 1, | ||
401 | .power_switching_mode = 0, | ||
402 | }; | ||
403 | |||
404 | static struct platform_device isp1362_hcd_device = { | ||
405 | .name = "isp1362-hcd", | ||
406 | .id = 0, | ||
407 | .dev = { | ||
408 | .platform_data = &isp1362_priv, | ||
409 | }, | ||
410 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
411 | .resource = isp1362_hcd_resources, | ||
412 | }; | ||
413 | #endif | ||
414 | |||
415 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 373 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
416 | static struct platform_device bfin_mii_bus = { | 374 | static struct platform_device bfin_mii_bus = { |
417 | .name = "bfin_mii_bus", | 375 | .name = "bfin_mii_bus", |
@@ -688,12 +646,6 @@ static struct platform_device bfin_spi0_device = { | |||
688 | }; | 646 | }; |
689 | #endif /* spi master and devices */ | 647 | #endif /* spi master and devices */ |
690 | 648 | ||
691 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | ||
692 | static struct platform_device bfin_fb_device = { | ||
693 | .name = "bf537-lq035", | ||
694 | }; | ||
695 | #endif | ||
696 | |||
697 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 649 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
698 | static struct resource bfin_uart_resources[] = { | 650 | static struct resource bfin_uart_resources[] = { |
699 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 651 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
@@ -850,7 +802,7 @@ static struct platform_device bfin_device_gpiokeys = { | |||
850 | }; | 802 | }; |
851 | #endif | 803 | #endif |
852 | 804 | ||
853 | #if defined(CONFIG_JOYSTICK_BFIN_ROTARY) || defined(CONFIG_JOYSTICK_BFIN_ROTARY_MODULE) | 805 | #if defined(CONFIG_INPUT_BFIN_ROTARY) || defined(CONFIG_INPUT_BFIN_ROTARY_MODULE) |
854 | #include <linux/input.h> | 806 | #include <linux/input.h> |
855 | #include <asm/bfin_rotary.h> | 807 | #include <asm/bfin_rotary.h> |
856 | 808 | ||
@@ -924,10 +876,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
924 | &sl811_hcd_device, | 876 | &sl811_hcd_device, |
925 | #endif | 877 | #endif |
926 | 878 | ||
927 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
928 | &isp1362_hcd_device, | ||
929 | #endif | ||
930 | |||
931 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | 879 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) |
932 | &bfin_isp1760_device, | 880 | &bfin_isp1760_device, |
933 | #endif | 881 | #endif |
@@ -957,10 +905,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
957 | &bfin_spi0_device, | 905 | &bfin_spi0_device, |
958 | #endif | 906 | #endif |
959 | 907 | ||
960 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | ||
961 | &bfin_fb_device, | ||
962 | #endif | ||
963 | |||
964 | #if defined(CONFIG_FB_BFIN_T350MCQB) || defined(CONFIG_FB_BFIN_T350MCQB_MODULE) | 908 | #if defined(CONFIG_FB_BFIN_T350MCQB) || defined(CONFIG_FB_BFIN_T350MCQB_MODULE) |
965 | &bf52x_t350mcqb_device, | 909 | &bf52x_t350mcqb_device, |
966 | #endif | 910 | #endif |
@@ -991,7 +935,7 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
991 | &bfin_device_gpiokeys, | 935 | &bfin_device_gpiokeys, |
992 | #endif | 936 | #endif |
993 | 937 | ||
994 | #if defined(CONFIG_JOYSTICK_BFIN_ROTARY) || defined(CONFIG_JOYSTICK_BFIN_ROTARY_MODULE) | 938 | #if defined(CONFIG_INPUT_BFIN_ROTARY) || defined(CONFIG_INPUT_BFIN_ROTARY_MODULE) |
995 | &bfin_rotary_device, | 939 | &bfin_rotary_device, |
996 | #endif | 940 | #endif |
997 | 941 | ||
diff --git a/arch/blackfin/mach-bf527/include/mach/blackfin.h b/arch/blackfin/mach-bf527/include/mach/blackfin.h index e7d6034f268f..f714c5de3073 100644 --- a/arch/blackfin/mach-bf527/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf527/include/mach/blackfin.h | |||
@@ -46,10 +46,4 @@ | |||
46 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ | 46 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ |
47 | #define OFFSET_GCTL 0x24 /* Global Control Register */ | 47 | #define OFFSET_GCTL 0x24 /* Global Control Register */ |
48 | 48 | ||
49 | /* PLL_DIV Masks */ | ||
50 | #define CCLK_DIV1 CSEL_DIV1 /* CCLK = VCO / 1 */ | ||
51 | #define CCLK_DIV2 CSEL_DIV2 /* CCLK = VCO / 2 */ | ||
52 | #define CCLK_DIV4 CSEL_DIV4 /* CCLK = VCO / 4 */ | ||
53 | #define CCLK_DIV8 CSEL_DIV8 /* CCLK = VCO / 8 */ | ||
54 | |||
55 | #endif | 49 | #endif |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h index dc3119e9f663..d7e2751c6bcc 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h | |||
@@ -10,15 +10,8 @@ | |||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF525.h" | 11 | #include "defBF525.h" |
12 | 12 | ||
13 | /* include core specific register pointer definitions */ | 13 | /* BF525 is BF522 + USB */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include "cdefBF522.h" |
15 | |||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF525 */ | ||
17 | |||
18 | /* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */ | ||
19 | #include "cdefBF52x_base.h" | ||
20 | |||
21 | /* The following are the #defines needed by ADSP-BF525 that are not in the common header */ | ||
22 | 15 | ||
23 | /* USB Control Registers */ | 16 | /* USB Control Registers */ |
24 | 17 | ||
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h index d6579449ee46..c7ba544d50b6 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h | |||
@@ -10,15 +10,8 @@ | |||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF527.h" | 11 | #include "defBF527.h" |
12 | 12 | ||
13 | /* include core specific register pointer definitions */ | 13 | /* BF527 is BF525 + EMAC */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include "cdefBF525.h" |
15 | |||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF527 */ | ||
17 | |||
18 | /* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */ | ||
19 | #include "cdefBF52x_base.h" | ||
20 | |||
21 | /* The following are the #defines needed by ADSP-BF527 that are not in the common header */ | ||
22 | 15 | ||
23 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | 16 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ |
24 | 17 | ||
@@ -185,417 +178,4 @@ | |||
185 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | 178 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) |
186 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | 179 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) |
187 | 180 | ||
188 | /* USB Control Registers */ | ||
189 | |||
190 | #define bfin_read_USB_FADDR() bfin_read16(USB_FADDR) | ||
191 | #define bfin_write_USB_FADDR(val) bfin_write16(USB_FADDR, val) | ||
192 | #define bfin_read_USB_POWER() bfin_read16(USB_POWER) | ||
193 | #define bfin_write_USB_POWER(val) bfin_write16(USB_POWER, val) | ||
194 | #define bfin_read_USB_INTRTX() bfin_read16(USB_INTRTX) | ||
195 | #define bfin_write_USB_INTRTX(val) bfin_write16(USB_INTRTX, val) | ||
196 | #define bfin_read_USB_INTRRX() bfin_read16(USB_INTRRX) | ||
197 | #define bfin_write_USB_INTRRX(val) bfin_write16(USB_INTRRX, val) | ||
198 | #define bfin_read_USB_INTRTXE() bfin_read16(USB_INTRTXE) | ||
199 | #define bfin_write_USB_INTRTXE(val) bfin_write16(USB_INTRTXE, val) | ||
200 | #define bfin_read_USB_INTRRXE() bfin_read16(USB_INTRRXE) | ||
201 | #define bfin_write_USB_INTRRXE(val) bfin_write16(USB_INTRRXE, val) | ||
202 | #define bfin_read_USB_INTRUSB() bfin_read16(USB_INTRUSB) | ||
203 | #define bfin_write_USB_INTRUSB(val) bfin_write16(USB_INTRUSB, val) | ||
204 | #define bfin_read_USB_INTRUSBE() bfin_read16(USB_INTRUSBE) | ||
205 | #define bfin_write_USB_INTRUSBE(val) bfin_write16(USB_INTRUSBE, val) | ||
206 | #define bfin_read_USB_FRAME() bfin_read16(USB_FRAME) | ||
207 | #define bfin_write_USB_FRAME(val) bfin_write16(USB_FRAME, val) | ||
208 | #define bfin_read_USB_INDEX() bfin_read16(USB_INDEX) | ||
209 | #define bfin_write_USB_INDEX(val) bfin_write16(USB_INDEX, val) | ||
210 | #define bfin_read_USB_TESTMODE() bfin_read16(USB_TESTMODE) | ||
211 | #define bfin_write_USB_TESTMODE(val) bfin_write16(USB_TESTMODE, val) | ||
212 | #define bfin_read_USB_GLOBINTR() bfin_read16(USB_GLOBINTR) | ||
213 | #define bfin_write_USB_GLOBINTR(val) bfin_write16(USB_GLOBINTR, val) | ||
214 | #define bfin_read_USB_GLOBAL_CTL() bfin_read16(USB_GLOBAL_CTL) | ||
215 | #define bfin_write_USB_GLOBAL_CTL(val) bfin_write16(USB_GLOBAL_CTL, val) | ||
216 | |||
217 | /* USB Packet Control Registers */ | ||
218 | |||
219 | #define bfin_read_USB_TX_MAX_PACKET() bfin_read16(USB_TX_MAX_PACKET) | ||
220 | #define bfin_write_USB_TX_MAX_PACKET(val) bfin_write16(USB_TX_MAX_PACKET, val) | ||
221 | #define bfin_read_USB_CSR0() bfin_read16(USB_CSR0) | ||
222 | #define bfin_write_USB_CSR0(val) bfin_write16(USB_CSR0, val) | ||
223 | #define bfin_read_USB_TXCSR() bfin_read16(USB_TXCSR) | ||
224 | #define bfin_write_USB_TXCSR(val) bfin_write16(USB_TXCSR, val) | ||
225 | #define bfin_read_USB_RX_MAX_PACKET() bfin_read16(USB_RX_MAX_PACKET) | ||
226 | #define bfin_write_USB_RX_MAX_PACKET(val) bfin_write16(USB_RX_MAX_PACKET, val) | ||
227 | #define bfin_read_USB_RXCSR() bfin_read16(USB_RXCSR) | ||
228 | #define bfin_write_USB_RXCSR(val) bfin_write16(USB_RXCSR, val) | ||
229 | #define bfin_read_USB_COUNT0() bfin_read16(USB_COUNT0) | ||
230 | #define bfin_write_USB_COUNT0(val) bfin_write16(USB_COUNT0, val) | ||
231 | #define bfin_read_USB_RXCOUNT() bfin_read16(USB_RXCOUNT) | ||
232 | #define bfin_write_USB_RXCOUNT(val) bfin_write16(USB_RXCOUNT, val) | ||
233 | #define bfin_read_USB_TXTYPE() bfin_read16(USB_TXTYPE) | ||
234 | #define bfin_write_USB_TXTYPE(val) bfin_write16(USB_TXTYPE, val) | ||
235 | #define bfin_read_USB_NAKLIMIT0() bfin_read16(USB_NAKLIMIT0) | ||
236 | #define bfin_write_USB_NAKLIMIT0(val) bfin_write16(USB_NAKLIMIT0, val) | ||
237 | #define bfin_read_USB_TXINTERVAL() bfin_read16(USB_TXINTERVAL) | ||
238 | #define bfin_write_USB_TXINTERVAL(val) bfin_write16(USB_TXINTERVAL, val) | ||
239 | #define bfin_read_USB_RXTYPE() bfin_read16(USB_RXTYPE) | ||
240 | #define bfin_write_USB_RXTYPE(val) bfin_write16(USB_RXTYPE, val) | ||
241 | #define bfin_read_USB_RXINTERVAL() bfin_read16(USB_RXINTERVAL) | ||
242 | #define bfin_write_USB_RXINTERVAL(val) bfin_write16(USB_RXINTERVAL, val) | ||
243 | #define bfin_read_USB_TXCOUNT() bfin_read16(USB_TXCOUNT) | ||
244 | #define bfin_write_USB_TXCOUNT(val) bfin_write16(USB_TXCOUNT, val) | ||
245 | |||
246 | /* USB Endpoint FIFO Registers */ | ||
247 | |||
248 | #define bfin_read_USB_EP0_FIFO() bfin_read16(USB_EP0_FIFO) | ||
249 | #define bfin_write_USB_EP0_FIFO(val) bfin_write16(USB_EP0_FIFO, val) | ||
250 | #define bfin_read_USB_EP1_FIFO() bfin_read16(USB_EP1_FIFO) | ||
251 | #define bfin_write_USB_EP1_FIFO(val) bfin_write16(USB_EP1_FIFO, val) | ||
252 | #define bfin_read_USB_EP2_FIFO() bfin_read16(USB_EP2_FIFO) | ||
253 | #define bfin_write_USB_EP2_FIFO(val) bfin_write16(USB_EP2_FIFO, val) | ||
254 | #define bfin_read_USB_EP3_FIFO() bfin_read16(USB_EP3_FIFO) | ||
255 | #define bfin_write_USB_EP3_FIFO(val) bfin_write16(USB_EP3_FIFO, val) | ||
256 | #define bfin_read_USB_EP4_FIFO() bfin_read16(USB_EP4_FIFO) | ||
257 | #define bfin_write_USB_EP4_FIFO(val) bfin_write16(USB_EP4_FIFO, val) | ||
258 | #define bfin_read_USB_EP5_FIFO() bfin_read16(USB_EP5_FIFO) | ||
259 | #define bfin_write_USB_EP5_FIFO(val) bfin_write16(USB_EP5_FIFO, val) | ||
260 | #define bfin_read_USB_EP6_FIFO() bfin_read16(USB_EP6_FIFO) | ||
261 | #define bfin_write_USB_EP6_FIFO(val) bfin_write16(USB_EP6_FIFO, val) | ||
262 | #define bfin_read_USB_EP7_FIFO() bfin_read16(USB_EP7_FIFO) | ||
263 | #define bfin_write_USB_EP7_FIFO(val) bfin_write16(USB_EP7_FIFO, val) | ||
264 | |||
265 | /* USB OTG Control Registers */ | ||
266 | |||
267 | #define bfin_read_USB_OTG_DEV_CTL() bfin_read16(USB_OTG_DEV_CTL) | ||
268 | #define bfin_write_USB_OTG_DEV_CTL(val) bfin_write16(USB_OTG_DEV_CTL, val) | ||
269 | #define bfin_read_USB_OTG_VBUS_IRQ() bfin_read16(USB_OTG_VBUS_IRQ) | ||
270 | #define bfin_write_USB_OTG_VBUS_IRQ(val) bfin_write16(USB_OTG_VBUS_IRQ, val) | ||
271 | #define bfin_read_USB_OTG_VBUS_MASK() bfin_read16(USB_OTG_VBUS_MASK) | ||
272 | #define bfin_write_USB_OTG_VBUS_MASK(val) bfin_write16(USB_OTG_VBUS_MASK, val) | ||
273 | |||
274 | /* USB Phy Control Registers */ | ||
275 | |||
276 | #define bfin_read_USB_LINKINFO() bfin_read16(USB_LINKINFO) | ||
277 | #define bfin_write_USB_LINKINFO(val) bfin_write16(USB_LINKINFO, val) | ||
278 | #define bfin_read_USB_VPLEN() bfin_read16(USB_VPLEN) | ||
279 | #define bfin_write_USB_VPLEN(val) bfin_write16(USB_VPLEN, val) | ||
280 | #define bfin_read_USB_HS_EOF1() bfin_read16(USB_HS_EOF1) | ||
281 | #define bfin_write_USB_HS_EOF1(val) bfin_write16(USB_HS_EOF1, val) | ||
282 | #define bfin_read_USB_FS_EOF1() bfin_read16(USB_FS_EOF1) | ||
283 | #define bfin_write_USB_FS_EOF1(val) bfin_write16(USB_FS_EOF1, val) | ||
284 | #define bfin_read_USB_LS_EOF1() bfin_read16(USB_LS_EOF1) | ||
285 | #define bfin_write_USB_LS_EOF1(val) bfin_write16(USB_LS_EOF1, val) | ||
286 | |||
287 | /* (APHY_CNTRL is for ADI usage only) */ | ||
288 | |||
289 | #define bfin_read_USB_APHY_CNTRL() bfin_read16(USB_APHY_CNTRL) | ||
290 | #define bfin_write_USB_APHY_CNTRL(val) bfin_write16(USB_APHY_CNTRL, val) | ||
291 | |||
292 | /* (APHY_CALIB is for ADI usage only) */ | ||
293 | |||
294 | #define bfin_read_USB_APHY_CALIB() bfin_read16(USB_APHY_CALIB) | ||
295 | #define bfin_write_USB_APHY_CALIB(val) bfin_write16(USB_APHY_CALIB, val) | ||
296 | |||
297 | #define bfin_read_USB_APHY_CNTRL2() bfin_read16(USB_APHY_CNTRL2) | ||
298 | #define bfin_write_USB_APHY_CNTRL2(val) bfin_write16(USB_APHY_CNTRL2, val) | ||
299 | |||
300 | /* (PHY_TEST is for ADI usage only) */ | ||
301 | |||
302 | #define bfin_read_USB_PHY_TEST() bfin_read16(USB_PHY_TEST) | ||
303 | #define bfin_write_USB_PHY_TEST(val) bfin_write16(USB_PHY_TEST, val) | ||
304 | |||
305 | #define bfin_read_USB_PLLOSC_CTRL() bfin_read16(USB_PLLOSC_CTRL) | ||
306 | #define bfin_write_USB_PLLOSC_CTRL(val) bfin_write16(USB_PLLOSC_CTRL, val) | ||
307 | #define bfin_read_USB_SRP_CLKDIV() bfin_read16(USB_SRP_CLKDIV) | ||
308 | #define bfin_write_USB_SRP_CLKDIV(val) bfin_write16(USB_SRP_CLKDIV, val) | ||
309 | |||
310 | /* USB Endpoint 0 Control Registers */ | ||
311 | |||
312 | #define bfin_read_USB_EP_NI0_TXMAXP() bfin_read16(USB_EP_NI0_TXMAXP) | ||
313 | #define bfin_write_USB_EP_NI0_TXMAXP(val) bfin_write16(USB_EP_NI0_TXMAXP, val) | ||
314 | #define bfin_read_USB_EP_NI0_TXCSR() bfin_read16(USB_EP_NI0_TXCSR) | ||
315 | #define bfin_write_USB_EP_NI0_TXCSR(val) bfin_write16(USB_EP_NI0_TXCSR, val) | ||
316 | #define bfin_read_USB_EP_NI0_RXMAXP() bfin_read16(USB_EP_NI0_RXMAXP) | ||
317 | #define bfin_write_USB_EP_NI0_RXMAXP(val) bfin_write16(USB_EP_NI0_RXMAXP, val) | ||
318 | #define bfin_read_USB_EP_NI0_RXCSR() bfin_read16(USB_EP_NI0_RXCSR) | ||
319 | #define bfin_write_USB_EP_NI0_RXCSR(val) bfin_write16(USB_EP_NI0_RXCSR, val) | ||
320 | #define bfin_read_USB_EP_NI0_RXCOUNT() bfin_read16(USB_EP_NI0_RXCOUNT) | ||
321 | #define bfin_write_USB_EP_NI0_RXCOUNT(val) bfin_write16(USB_EP_NI0_RXCOUNT, val) | ||
322 | #define bfin_read_USB_EP_NI0_TXTYPE() bfin_read16(USB_EP_NI0_TXTYPE) | ||
323 | #define bfin_write_USB_EP_NI0_TXTYPE(val) bfin_write16(USB_EP_NI0_TXTYPE, val) | ||
324 | #define bfin_read_USB_EP_NI0_TXINTERVAL() bfin_read16(USB_EP_NI0_TXINTERVAL) | ||
325 | #define bfin_write_USB_EP_NI0_TXINTERVAL(val) bfin_write16(USB_EP_NI0_TXINTERVAL, val) | ||
326 | #define bfin_read_USB_EP_NI0_RXTYPE() bfin_read16(USB_EP_NI0_RXTYPE) | ||
327 | #define bfin_write_USB_EP_NI0_RXTYPE(val) bfin_write16(USB_EP_NI0_RXTYPE, val) | ||
328 | #define bfin_read_USB_EP_NI0_RXINTERVAL() bfin_read16(USB_EP_NI0_RXINTERVAL) | ||
329 | #define bfin_write_USB_EP_NI0_RXINTERVAL(val) bfin_write16(USB_EP_NI0_RXINTERVAL, val) | ||
330 | #define bfin_read_USB_EP_NI0_TXCOUNT() bfin_read16(USB_EP_NI0_TXCOUNT) | ||
331 | #define bfin_write_USB_EP_NI0_TXCOUNT(val) bfin_write16(USB_EP_NI0_TXCOUNT, val) | ||
332 | |||
333 | /* USB Endpoint 1 Control Registers */ | ||
334 | |||
335 | #define bfin_read_USB_EP_NI1_TXMAXP() bfin_read16(USB_EP_NI1_TXMAXP) | ||
336 | #define bfin_write_USB_EP_NI1_TXMAXP(val) bfin_write16(USB_EP_NI1_TXMAXP, val) | ||
337 | #define bfin_read_USB_EP_NI1_TXCSR() bfin_read16(USB_EP_NI1_TXCSR) | ||
338 | #define bfin_write_USB_EP_NI1_TXCSR(val) bfin_write16(USB_EP_NI1_TXCSR, val) | ||
339 | #define bfin_read_USB_EP_NI1_RXMAXP() bfin_read16(USB_EP_NI1_RXMAXP) | ||
340 | #define bfin_write_USB_EP_NI1_RXMAXP(val) bfin_write16(USB_EP_NI1_RXMAXP, val) | ||
341 | #define bfin_read_USB_EP_NI1_RXCSR() bfin_read16(USB_EP_NI1_RXCSR) | ||
342 | #define bfin_write_USB_EP_NI1_RXCSR(val) bfin_write16(USB_EP_NI1_RXCSR, val) | ||
343 | #define bfin_read_USB_EP_NI1_RXCOUNT() bfin_read16(USB_EP_NI1_RXCOUNT) | ||
344 | #define bfin_write_USB_EP_NI1_RXCOUNT(val) bfin_write16(USB_EP_NI1_RXCOUNT, val) | ||
345 | #define bfin_read_USB_EP_NI1_TXTYPE() bfin_read16(USB_EP_NI1_TXTYPE) | ||
346 | #define bfin_write_USB_EP_NI1_TXTYPE(val) bfin_write16(USB_EP_NI1_TXTYPE, val) | ||
347 | #define bfin_read_USB_EP_NI1_TXINTERVAL() bfin_read16(USB_EP_NI1_TXINTERVAL) | ||
348 | #define bfin_write_USB_EP_NI1_TXINTERVAL(val) bfin_write16(USB_EP_NI1_TXINTERVAL, val) | ||
349 | #define bfin_read_USB_EP_NI1_RXTYPE() bfin_read16(USB_EP_NI1_RXTYPE) | ||
350 | #define bfin_write_USB_EP_NI1_RXTYPE(val) bfin_write16(USB_EP_NI1_RXTYPE, val) | ||
351 | #define bfin_read_USB_EP_NI1_RXINTERVAL() bfin_read16(USB_EP_NI1_RXINTERVAL) | ||
352 | #define bfin_write_USB_EP_NI1_RXINTERVAL(val) bfin_write16(USB_EP_NI1_RXINTERVAL, val) | ||
353 | #define bfin_read_USB_EP_NI1_TXCOUNT() bfin_read16(USB_EP_NI1_TXCOUNT) | ||
354 | #define bfin_write_USB_EP_NI1_TXCOUNT(val) bfin_write16(USB_EP_NI1_TXCOUNT, val) | ||
355 | |||
356 | /* USB Endpoint 2 Control Registers */ | ||
357 | |||
358 | #define bfin_read_USB_EP_NI2_TXMAXP() bfin_read16(USB_EP_NI2_TXMAXP) | ||
359 | #define bfin_write_USB_EP_NI2_TXMAXP(val) bfin_write16(USB_EP_NI2_TXMAXP, val) | ||
360 | #define bfin_read_USB_EP_NI2_TXCSR() bfin_read16(USB_EP_NI2_TXCSR) | ||
361 | #define bfin_write_USB_EP_NI2_TXCSR(val) bfin_write16(USB_EP_NI2_TXCSR, val) | ||
362 | #define bfin_read_USB_EP_NI2_RXMAXP() bfin_read16(USB_EP_NI2_RXMAXP) | ||
363 | #define bfin_write_USB_EP_NI2_RXMAXP(val) bfin_write16(USB_EP_NI2_RXMAXP, val) | ||
364 | #define bfin_read_USB_EP_NI2_RXCSR() bfin_read16(USB_EP_NI2_RXCSR) | ||
365 | #define bfin_write_USB_EP_NI2_RXCSR(val) bfin_write16(USB_EP_NI2_RXCSR, val) | ||
366 | #define bfin_read_USB_EP_NI2_RXCOUNT() bfin_read16(USB_EP_NI2_RXCOUNT) | ||
367 | #define bfin_write_USB_EP_NI2_RXCOUNT(val) bfin_write16(USB_EP_NI2_RXCOUNT, val) | ||
368 | #define bfin_read_USB_EP_NI2_TXTYPE() bfin_read16(USB_EP_NI2_TXTYPE) | ||
369 | #define bfin_write_USB_EP_NI2_TXTYPE(val) bfin_write16(USB_EP_NI2_TXTYPE, val) | ||
370 | #define bfin_read_USB_EP_NI2_TXINTERVAL() bfin_read16(USB_EP_NI2_TXINTERVAL) | ||
371 | #define bfin_write_USB_EP_NI2_TXINTERVAL(val) bfin_write16(USB_EP_NI2_TXINTERVAL, val) | ||
372 | #define bfin_read_USB_EP_NI2_RXTYPE() bfin_read16(USB_EP_NI2_RXTYPE) | ||
373 | #define bfin_write_USB_EP_NI2_RXTYPE(val) bfin_write16(USB_EP_NI2_RXTYPE, val) | ||
374 | #define bfin_read_USB_EP_NI2_RXINTERVAL() bfin_read16(USB_EP_NI2_RXINTERVAL) | ||
375 | #define bfin_write_USB_EP_NI2_RXINTERVAL(val) bfin_write16(USB_EP_NI2_RXINTERVAL, val) | ||
376 | #define bfin_read_USB_EP_NI2_TXCOUNT() bfin_read16(USB_EP_NI2_TXCOUNT) | ||
377 | #define bfin_write_USB_EP_NI2_TXCOUNT(val) bfin_write16(USB_EP_NI2_TXCOUNT, val) | ||
378 | |||
379 | /* USB Endpoint 3 Control Registers */ | ||
380 | |||
381 | #define bfin_read_USB_EP_NI3_TXMAXP() bfin_read16(USB_EP_NI3_TXMAXP) | ||
382 | #define bfin_write_USB_EP_NI3_TXMAXP(val) bfin_write16(USB_EP_NI3_TXMAXP, val) | ||
383 | #define bfin_read_USB_EP_NI3_TXCSR() bfin_read16(USB_EP_NI3_TXCSR) | ||
384 | #define bfin_write_USB_EP_NI3_TXCSR(val) bfin_write16(USB_EP_NI3_TXCSR, val) | ||
385 | #define bfin_read_USB_EP_NI3_RXMAXP() bfin_read16(USB_EP_NI3_RXMAXP) | ||
386 | #define bfin_write_USB_EP_NI3_RXMAXP(val) bfin_write16(USB_EP_NI3_RXMAXP, val) | ||
387 | #define bfin_read_USB_EP_NI3_RXCSR() bfin_read16(USB_EP_NI3_RXCSR) | ||
388 | #define bfin_write_USB_EP_NI3_RXCSR(val) bfin_write16(USB_EP_NI3_RXCSR, val) | ||
389 | #define bfin_read_USB_EP_NI3_RXCOUNT() bfin_read16(USB_EP_NI3_RXCOUNT) | ||
390 | #define bfin_write_USB_EP_NI3_RXCOUNT(val) bfin_write16(USB_EP_NI3_RXCOUNT, val) | ||
391 | #define bfin_read_USB_EP_NI3_TXTYPE() bfin_read16(USB_EP_NI3_TXTYPE) | ||
392 | #define bfin_write_USB_EP_NI3_TXTYPE(val) bfin_write16(USB_EP_NI3_TXTYPE, val) | ||
393 | #define bfin_read_USB_EP_NI3_TXINTERVAL() bfin_read16(USB_EP_NI3_TXINTERVAL) | ||
394 | #define bfin_write_USB_EP_NI3_TXINTERVAL(val) bfin_write16(USB_EP_NI3_TXINTERVAL, val) | ||
395 | #define bfin_read_USB_EP_NI3_RXTYPE() bfin_read16(USB_EP_NI3_RXTYPE) | ||
396 | #define bfin_write_USB_EP_NI3_RXTYPE(val) bfin_write16(USB_EP_NI3_RXTYPE, val) | ||
397 | #define bfin_read_USB_EP_NI3_RXINTERVAL() bfin_read16(USB_EP_NI3_RXINTERVAL) | ||
398 | #define bfin_write_USB_EP_NI3_RXINTERVAL(val) bfin_write16(USB_EP_NI3_RXINTERVAL, val) | ||
399 | #define bfin_read_USB_EP_NI3_TXCOUNT() bfin_read16(USB_EP_NI3_TXCOUNT) | ||
400 | #define bfin_write_USB_EP_NI3_TXCOUNT(val) bfin_write16(USB_EP_NI3_TXCOUNT, val) | ||
401 | |||
402 | /* USB Endpoint 4 Control Registers */ | ||
403 | |||
404 | #define bfin_read_USB_EP_NI4_TXMAXP() bfin_read16(USB_EP_NI4_TXMAXP) | ||
405 | #define bfin_write_USB_EP_NI4_TXMAXP(val) bfin_write16(USB_EP_NI4_TXMAXP, val) | ||
406 | #define bfin_read_USB_EP_NI4_TXCSR() bfin_read16(USB_EP_NI4_TXCSR) | ||
407 | #define bfin_write_USB_EP_NI4_TXCSR(val) bfin_write16(USB_EP_NI4_TXCSR, val) | ||
408 | #define bfin_read_USB_EP_NI4_RXMAXP() bfin_read16(USB_EP_NI4_RXMAXP) | ||
409 | #define bfin_write_USB_EP_NI4_RXMAXP(val) bfin_write16(USB_EP_NI4_RXMAXP, val) | ||
410 | #define bfin_read_USB_EP_NI4_RXCSR() bfin_read16(USB_EP_NI4_RXCSR) | ||
411 | #define bfin_write_USB_EP_NI4_RXCSR(val) bfin_write16(USB_EP_NI4_RXCSR, val) | ||
412 | #define bfin_read_USB_EP_NI4_RXCOUNT() bfin_read16(USB_EP_NI4_RXCOUNT) | ||
413 | #define bfin_write_USB_EP_NI4_RXCOUNT(val) bfin_write16(USB_EP_NI4_RXCOUNT, val) | ||
414 | #define bfin_read_USB_EP_NI4_TXTYPE() bfin_read16(USB_EP_NI4_TXTYPE) | ||
415 | #define bfin_write_USB_EP_NI4_TXTYPE(val) bfin_write16(USB_EP_NI4_TXTYPE, val) | ||
416 | #define bfin_read_USB_EP_NI4_TXINTERVAL() bfin_read16(USB_EP_NI4_TXINTERVAL) | ||
417 | #define bfin_write_USB_EP_NI4_TXINTERVAL(val) bfin_write16(USB_EP_NI4_TXINTERVAL, val) | ||
418 | #define bfin_read_USB_EP_NI4_RXTYPE() bfin_read16(USB_EP_NI4_RXTYPE) | ||
419 | #define bfin_write_USB_EP_NI4_RXTYPE(val) bfin_write16(USB_EP_NI4_RXTYPE, val) | ||
420 | #define bfin_read_USB_EP_NI4_RXINTERVAL() bfin_read16(USB_EP_NI4_RXINTERVAL) | ||
421 | #define bfin_write_USB_EP_NI4_RXINTERVAL(val) bfin_write16(USB_EP_NI4_RXINTERVAL, val) | ||
422 | #define bfin_read_USB_EP_NI4_TXCOUNT() bfin_read16(USB_EP_NI4_TXCOUNT) | ||
423 | #define bfin_write_USB_EP_NI4_TXCOUNT(val) bfin_write16(USB_EP_NI4_TXCOUNT, val) | ||
424 | |||
425 | /* USB Endpoint 5 Control Registers */ | ||
426 | |||
427 | #define bfin_read_USB_EP_NI5_TXMAXP() bfin_read16(USB_EP_NI5_TXMAXP) | ||
428 | #define bfin_write_USB_EP_NI5_TXMAXP(val) bfin_write16(USB_EP_NI5_TXMAXP, val) | ||
429 | #define bfin_read_USB_EP_NI5_TXCSR() bfin_read16(USB_EP_NI5_TXCSR) | ||
430 | #define bfin_write_USB_EP_NI5_TXCSR(val) bfin_write16(USB_EP_NI5_TXCSR, val) | ||
431 | #define bfin_read_USB_EP_NI5_RXMAXP() bfin_read16(USB_EP_NI5_RXMAXP) | ||
432 | #define bfin_write_USB_EP_NI5_RXMAXP(val) bfin_write16(USB_EP_NI5_RXMAXP, val) | ||
433 | #define bfin_read_USB_EP_NI5_RXCSR() bfin_read16(USB_EP_NI5_RXCSR) | ||
434 | #define bfin_write_USB_EP_NI5_RXCSR(val) bfin_write16(USB_EP_NI5_RXCSR, val) | ||
435 | #define bfin_read_USB_EP_NI5_RXCOUNT() bfin_read16(USB_EP_NI5_RXCOUNT) | ||
436 | #define bfin_write_USB_EP_NI5_RXCOUNT(val) bfin_write16(USB_EP_NI5_RXCOUNT, val) | ||
437 | #define bfin_read_USB_EP_NI5_TXTYPE() bfin_read16(USB_EP_NI5_TXTYPE) | ||
438 | #define bfin_write_USB_EP_NI5_TXTYPE(val) bfin_write16(USB_EP_NI5_TXTYPE, val) | ||
439 | #define bfin_read_USB_EP_NI5_TXINTERVAL() bfin_read16(USB_EP_NI5_TXINTERVAL) | ||
440 | #define bfin_write_USB_EP_NI5_TXINTERVAL(val) bfin_write16(USB_EP_NI5_TXINTERVAL, val) | ||
441 | #define bfin_read_USB_EP_NI5_RXTYPE() bfin_read16(USB_EP_NI5_RXTYPE) | ||
442 | #define bfin_write_USB_EP_NI5_RXTYPE(val) bfin_write16(USB_EP_NI5_RXTYPE, val) | ||
443 | #define bfin_read_USB_EP_NI5_RXINTERVAL() bfin_read16(USB_EP_NI5_RXINTERVAL) | ||
444 | #define bfin_write_USB_EP_NI5_RXINTERVAL(val) bfin_write16(USB_EP_NI5_RXINTERVAL, val) | ||
445 | #define bfin_read_USB_EP_NI5_TXCOUNT() bfin_read16(USB_EP_NI5_TXCOUNT) | ||
446 | #define bfin_write_USB_EP_NI5_TXCOUNT(val) bfin_write16(USB_EP_NI5_TXCOUNT, val) | ||
447 | |||
448 | /* USB Endpoint 6 Control Registers */ | ||
449 | |||
450 | #define bfin_read_USB_EP_NI6_TXMAXP() bfin_read16(USB_EP_NI6_TXMAXP) | ||
451 | #define bfin_write_USB_EP_NI6_TXMAXP(val) bfin_write16(USB_EP_NI6_TXMAXP, val) | ||
452 | #define bfin_read_USB_EP_NI6_TXCSR() bfin_read16(USB_EP_NI6_TXCSR) | ||
453 | #define bfin_write_USB_EP_NI6_TXCSR(val) bfin_write16(USB_EP_NI6_TXCSR, val) | ||
454 | #define bfin_read_USB_EP_NI6_RXMAXP() bfin_read16(USB_EP_NI6_RXMAXP) | ||
455 | #define bfin_write_USB_EP_NI6_RXMAXP(val) bfin_write16(USB_EP_NI6_RXMAXP, val) | ||
456 | #define bfin_read_USB_EP_NI6_RXCSR() bfin_read16(USB_EP_NI6_RXCSR) | ||
457 | #define bfin_write_USB_EP_NI6_RXCSR(val) bfin_write16(USB_EP_NI6_RXCSR, val) | ||
458 | #define bfin_read_USB_EP_NI6_RXCOUNT() bfin_read16(USB_EP_NI6_RXCOUNT) | ||
459 | #define bfin_write_USB_EP_NI6_RXCOUNT(val) bfin_write16(USB_EP_NI6_RXCOUNT, val) | ||
460 | #define bfin_read_USB_EP_NI6_TXTYPE() bfin_read16(USB_EP_NI6_TXTYPE) | ||
461 | #define bfin_write_USB_EP_NI6_TXTYPE(val) bfin_write16(USB_EP_NI6_TXTYPE, val) | ||
462 | #define bfin_read_USB_EP_NI6_TXINTERVAL() bfin_read16(USB_EP_NI6_TXINTERVAL) | ||
463 | #define bfin_write_USB_EP_NI6_TXINTERVAL(val) bfin_write16(USB_EP_NI6_TXINTERVAL, val) | ||
464 | #define bfin_read_USB_EP_NI6_RXTYPE() bfin_read16(USB_EP_NI6_RXTYPE) | ||
465 | #define bfin_write_USB_EP_NI6_RXTYPE(val) bfin_write16(USB_EP_NI6_RXTYPE, val) | ||
466 | #define bfin_read_USB_EP_NI6_RXINTERVAL() bfin_read16(USB_EP_NI6_RXINTERVAL) | ||
467 | #define bfin_write_USB_EP_NI6_RXINTERVAL(val) bfin_write16(USB_EP_NI6_RXINTERVAL, val) | ||
468 | #define bfin_read_USB_EP_NI6_TXCOUNT() bfin_read16(USB_EP_NI6_TXCOUNT) | ||
469 | #define bfin_write_USB_EP_NI6_TXCOUNT(val) bfin_write16(USB_EP_NI6_TXCOUNT, val) | ||
470 | |||
471 | /* USB Endpoint 7 Control Registers */ | ||
472 | |||
473 | #define bfin_read_USB_EP_NI7_TXMAXP() bfin_read16(USB_EP_NI7_TXMAXP) | ||
474 | #define bfin_write_USB_EP_NI7_TXMAXP(val) bfin_write16(USB_EP_NI7_TXMAXP, val) | ||
475 | #define bfin_read_USB_EP_NI7_TXCSR() bfin_read16(USB_EP_NI7_TXCSR) | ||
476 | #define bfin_write_USB_EP_NI7_TXCSR(val) bfin_write16(USB_EP_NI7_TXCSR, val) | ||
477 | #define bfin_read_USB_EP_NI7_RXMAXP() bfin_read16(USB_EP_NI7_RXMAXP) | ||
478 | #define bfin_write_USB_EP_NI7_RXMAXP(val) bfin_write16(USB_EP_NI7_RXMAXP, val) | ||
479 | #define bfin_read_USB_EP_NI7_RXCSR() bfin_read16(USB_EP_NI7_RXCSR) | ||
480 | #define bfin_write_USB_EP_NI7_RXCSR(val) bfin_write16(USB_EP_NI7_RXCSR, val) | ||
481 | #define bfin_read_USB_EP_NI7_RXCOUNT() bfin_read16(USB_EP_NI7_RXCOUNT) | ||
482 | #define bfin_write_USB_EP_NI7_RXCOUNT(val) bfin_write16(USB_EP_NI7_RXCOUNT, val) | ||
483 | #define bfin_read_USB_EP_NI7_TXTYPE() bfin_read16(USB_EP_NI7_TXTYPE) | ||
484 | #define bfin_write_USB_EP_NI7_TXTYPE(val) bfin_write16(USB_EP_NI7_TXTYPE, val) | ||
485 | #define bfin_read_USB_EP_NI7_TXINTERVAL() bfin_read16(USB_EP_NI7_TXINTERVAL) | ||
486 | #define bfin_write_USB_EP_NI7_TXINTERVAL(val) bfin_write16(USB_EP_NI7_TXINTERVAL, val) | ||
487 | #define bfin_read_USB_EP_NI7_RXTYPE() bfin_read16(USB_EP_NI7_RXTYPE) | ||
488 | #define bfin_write_USB_EP_NI7_RXTYPE(val) bfin_write16(USB_EP_NI7_RXTYPE, val) | ||
489 | #define bfin_read_USB_EP_NI7_RXINTERVAL() bfin_read16(USB_EP_NI7_RXINTERVAL) | ||
490 | #define bfin_write_USB_EP_NI7_RXINTERVAL(val) bfin_write16(USB_EP_NI7_RXINTERVAL, val) | ||
491 | #define bfin_read_USB_EP_NI7_TXCOUNT() bfin_read16(USB_EP_NI7_TXCOUNT) | ||
492 | #define bfin_write_USB_EP_NI7_TXCOUNT(val) bfin_write16(USB_EP_NI7_TXCOUNT, val) | ||
493 | |||
494 | #define bfin_read_USB_DMA_INTERRUPT() bfin_read16(USB_DMA_INTERRUPT) | ||
495 | #define bfin_write_USB_DMA_INTERRUPT(val) bfin_write16(USB_DMA_INTERRUPT, val) | ||
496 | |||
497 | /* USB Channel 0 Config Registers */ | ||
498 | |||
499 | #define bfin_read_USB_DMA0CONTROL() bfin_read16(USB_DMA0CONTROL) | ||
500 | #define bfin_write_USB_DMA0CONTROL(val) bfin_write16(USB_DMA0CONTROL, val) | ||
501 | #define bfin_read_USB_DMA0ADDRLOW() bfin_read16(USB_DMA0ADDRLOW) | ||
502 | #define bfin_write_USB_DMA0ADDRLOW(val) bfin_write16(USB_DMA0ADDRLOW, val) | ||
503 | #define bfin_read_USB_DMA0ADDRHIGH() bfin_read16(USB_DMA0ADDRHIGH) | ||
504 | #define bfin_write_USB_DMA0ADDRHIGH(val) bfin_write16(USB_DMA0ADDRHIGH, val) | ||
505 | #define bfin_read_USB_DMA0COUNTLOW() bfin_read16(USB_DMA0COUNTLOW) | ||
506 | #define bfin_write_USB_DMA0COUNTLOW(val) bfin_write16(USB_DMA0COUNTLOW, val) | ||
507 | #define bfin_read_USB_DMA0COUNTHIGH() bfin_read16(USB_DMA0COUNTHIGH) | ||
508 | #define bfin_write_USB_DMA0COUNTHIGH(val) bfin_write16(USB_DMA0COUNTHIGH, val) | ||
509 | |||
510 | /* USB Channel 1 Config Registers */ | ||
511 | |||
512 | #define bfin_read_USB_DMA1CONTROL() bfin_read16(USB_DMA1CONTROL) | ||
513 | #define bfin_write_USB_DMA1CONTROL(val) bfin_write16(USB_DMA1CONTROL, val) | ||
514 | #define bfin_read_USB_DMA1ADDRLOW() bfin_read16(USB_DMA1ADDRLOW) | ||
515 | #define bfin_write_USB_DMA1ADDRLOW(val) bfin_write16(USB_DMA1ADDRLOW, val) | ||
516 | #define bfin_read_USB_DMA1ADDRHIGH() bfin_read16(USB_DMA1ADDRHIGH) | ||
517 | #define bfin_write_USB_DMA1ADDRHIGH(val) bfin_write16(USB_DMA1ADDRHIGH, val) | ||
518 | #define bfin_read_USB_DMA1COUNTLOW() bfin_read16(USB_DMA1COUNTLOW) | ||
519 | #define bfin_write_USB_DMA1COUNTLOW(val) bfin_write16(USB_DMA1COUNTLOW, val) | ||
520 | #define bfin_read_USB_DMA1COUNTHIGH() bfin_read16(USB_DMA1COUNTHIGH) | ||
521 | #define bfin_write_USB_DMA1COUNTHIGH(val) bfin_write16(USB_DMA1COUNTHIGH, val) | ||
522 | |||
523 | /* USB Channel 2 Config Registers */ | ||
524 | |||
525 | #define bfin_read_USB_DMA2CONTROL() bfin_read16(USB_DMA2CONTROL) | ||
526 | #define bfin_write_USB_DMA2CONTROL(val) bfin_write16(USB_DMA2CONTROL, val) | ||
527 | #define bfin_read_USB_DMA2ADDRLOW() bfin_read16(USB_DMA2ADDRLOW) | ||
528 | #define bfin_write_USB_DMA2ADDRLOW(val) bfin_write16(USB_DMA2ADDRLOW, val) | ||
529 | #define bfin_read_USB_DMA2ADDRHIGH() bfin_read16(USB_DMA2ADDRHIGH) | ||
530 | #define bfin_write_USB_DMA2ADDRHIGH(val) bfin_write16(USB_DMA2ADDRHIGH, val) | ||
531 | #define bfin_read_USB_DMA2COUNTLOW() bfin_read16(USB_DMA2COUNTLOW) | ||
532 | #define bfin_write_USB_DMA2COUNTLOW(val) bfin_write16(USB_DMA2COUNTLOW, val) | ||
533 | #define bfin_read_USB_DMA2COUNTHIGH() bfin_read16(USB_DMA2COUNTHIGH) | ||
534 | #define bfin_write_USB_DMA2COUNTHIGH(val) bfin_write16(USB_DMA2COUNTHIGH, val) | ||
535 | |||
536 | /* USB Channel 3 Config Registers */ | ||
537 | |||
538 | #define bfin_read_USB_DMA3CONTROL() bfin_read16(USB_DMA3CONTROL) | ||
539 | #define bfin_write_USB_DMA3CONTROL(val) bfin_write16(USB_DMA3CONTROL, val) | ||
540 | #define bfin_read_USB_DMA3ADDRLOW() bfin_read16(USB_DMA3ADDRLOW) | ||
541 | #define bfin_write_USB_DMA3ADDRLOW(val) bfin_write16(USB_DMA3ADDRLOW, val) | ||
542 | #define bfin_read_USB_DMA3ADDRHIGH() bfin_read16(USB_DMA3ADDRHIGH) | ||
543 | #define bfin_write_USB_DMA3ADDRHIGH(val) bfin_write16(USB_DMA3ADDRHIGH, val) | ||
544 | #define bfin_read_USB_DMA3COUNTLOW() bfin_read16(USB_DMA3COUNTLOW) | ||
545 | #define bfin_write_USB_DMA3COUNTLOW(val) bfin_write16(USB_DMA3COUNTLOW, val) | ||
546 | #define bfin_read_USB_DMA3COUNTHIGH() bfin_read16(USB_DMA3COUNTHIGH) | ||
547 | #define bfin_write_USB_DMA3COUNTHIGH(val) bfin_write16(USB_DMA3COUNTHIGH, val) | ||
548 | |||
549 | /* USB Channel 4 Config Registers */ | ||
550 | |||
551 | #define bfin_read_USB_DMA4CONTROL() bfin_read16(USB_DMA4CONTROL) | ||
552 | #define bfin_write_USB_DMA4CONTROL(val) bfin_write16(USB_DMA4CONTROL, val) | ||
553 | #define bfin_read_USB_DMA4ADDRLOW() bfin_read16(USB_DMA4ADDRLOW) | ||
554 | #define bfin_write_USB_DMA4ADDRLOW(val) bfin_write16(USB_DMA4ADDRLOW, val) | ||
555 | #define bfin_read_USB_DMA4ADDRHIGH() bfin_read16(USB_DMA4ADDRHIGH) | ||
556 | #define bfin_write_USB_DMA4ADDRHIGH(val) bfin_write16(USB_DMA4ADDRHIGH, val) | ||
557 | #define bfin_read_USB_DMA4COUNTLOW() bfin_read16(USB_DMA4COUNTLOW) | ||
558 | #define bfin_write_USB_DMA4COUNTLOW(val) bfin_write16(USB_DMA4COUNTLOW, val) | ||
559 | #define bfin_read_USB_DMA4COUNTHIGH() bfin_read16(USB_DMA4COUNTHIGH) | ||
560 | #define bfin_write_USB_DMA4COUNTHIGH(val) bfin_write16(USB_DMA4COUNTHIGH, val) | ||
561 | |||
562 | /* USB Channel 5 Config Registers */ | ||
563 | |||
564 | #define bfin_read_USB_DMA5CONTROL() bfin_read16(USB_DMA5CONTROL) | ||
565 | #define bfin_write_USB_DMA5CONTROL(val) bfin_write16(USB_DMA5CONTROL, val) | ||
566 | #define bfin_read_USB_DMA5ADDRLOW() bfin_read16(USB_DMA5ADDRLOW) | ||
567 | #define bfin_write_USB_DMA5ADDRLOW(val) bfin_write16(USB_DMA5ADDRLOW, val) | ||
568 | #define bfin_read_USB_DMA5ADDRHIGH() bfin_read16(USB_DMA5ADDRHIGH) | ||
569 | #define bfin_write_USB_DMA5ADDRHIGH(val) bfin_write16(USB_DMA5ADDRHIGH, val) | ||
570 | #define bfin_read_USB_DMA5COUNTLOW() bfin_read16(USB_DMA5COUNTLOW) | ||
571 | #define bfin_write_USB_DMA5COUNTLOW(val) bfin_write16(USB_DMA5COUNTLOW, val) | ||
572 | #define bfin_read_USB_DMA5COUNTHIGH() bfin_read16(USB_DMA5COUNTHIGH) | ||
573 | #define bfin_write_USB_DMA5COUNTHIGH(val) bfin_write16(USB_DMA5COUNTHIGH, val) | ||
574 | |||
575 | /* USB Channel 6 Config Registers */ | ||
576 | |||
577 | #define bfin_read_USB_DMA6CONTROL() bfin_read16(USB_DMA6CONTROL) | ||
578 | #define bfin_write_USB_DMA6CONTROL(val) bfin_write16(USB_DMA6CONTROL, val) | ||
579 | #define bfin_read_USB_DMA6ADDRLOW() bfin_read16(USB_DMA6ADDRLOW) | ||
580 | #define bfin_write_USB_DMA6ADDRLOW(val) bfin_write16(USB_DMA6ADDRLOW, val) | ||
581 | #define bfin_read_USB_DMA6ADDRHIGH() bfin_read16(USB_DMA6ADDRHIGH) | ||
582 | #define bfin_write_USB_DMA6ADDRHIGH(val) bfin_write16(USB_DMA6ADDRHIGH, val) | ||
583 | #define bfin_read_USB_DMA6COUNTLOW() bfin_read16(USB_DMA6COUNTLOW) | ||
584 | #define bfin_write_USB_DMA6COUNTLOW(val) bfin_write16(USB_DMA6COUNTLOW, val) | ||
585 | #define bfin_read_USB_DMA6COUNTHIGH() bfin_read16(USB_DMA6COUNTHIGH) | ||
586 | #define bfin_write_USB_DMA6COUNTHIGH(val) bfin_write16(USB_DMA6COUNTHIGH, val) | ||
587 | |||
588 | /* USB Channel 7 Config Registers */ | ||
589 | |||
590 | #define bfin_read_USB_DMA7CONTROL() bfin_read16(USB_DMA7CONTROL) | ||
591 | #define bfin_write_USB_DMA7CONTROL(val) bfin_write16(USB_DMA7CONTROL, val) | ||
592 | #define bfin_read_USB_DMA7ADDRLOW() bfin_read16(USB_DMA7ADDRLOW) | ||
593 | #define bfin_write_USB_DMA7ADDRLOW(val) bfin_write16(USB_DMA7ADDRLOW, val) | ||
594 | #define bfin_read_USB_DMA7ADDRHIGH() bfin_read16(USB_DMA7ADDRHIGH) | ||
595 | #define bfin_write_USB_DMA7ADDRHIGH(val) bfin_write16(USB_DMA7ADDRHIGH, val) | ||
596 | #define bfin_read_USB_DMA7COUNTLOW() bfin_read16(USB_DMA7COUNTLOW) | ||
597 | #define bfin_write_USB_DMA7COUNTLOW(val) bfin_write16(USB_DMA7COUNTLOW, val) | ||
598 | #define bfin_read_USB_DMA7COUNTHIGH() bfin_read16(USB_DMA7COUNTHIGH) | ||
599 | #define bfin_write_USB_DMA7COUNTHIGH(val) bfin_write16(USB_DMA7COUNTHIGH, val) | ||
600 | |||
601 | #endif /* _CDEF_BF527_H */ | 181 | #endif /* _CDEF_BF527_H */ |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h index 7014dde10dd6..12f2ad45314e 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h | |||
@@ -844,6 +844,7 @@ | |||
844 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) | 844 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) |
845 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) | 845 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) |
846 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) | 846 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) |
847 | #define bfin_clear_PPI_STATUS() bfin_write_PPI_STATUS(0xFFFF) | ||
847 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) | 848 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) |
848 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) | 849 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) |
849 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) | 850 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) |
@@ -1062,17 +1063,6 @@ | |||
1062 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) | 1063 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) |
1063 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) | 1064 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) |
1064 | 1065 | ||
1065 | /* OTP/FUSE Registers */ | ||
1066 | |||
1067 | #define bfin_read_OTP_CONTROL() bfin_read16(OTP_CONTROL) | ||
1068 | #define bfin_write_OTP_CONTROL(val) bfin_write16(OTP_CONTROL, val) | ||
1069 | #define bfin_read_OTP_BEN() bfin_read16(OTP_BEN) | ||
1070 | #define bfin_write_OTP_BEN(val) bfin_write16(OTP_BEN, val) | ||
1071 | #define bfin_read_OTP_STATUS() bfin_read16(OTP_STATUS) | ||
1072 | #define bfin_write_OTP_STATUS(val) bfin_write16(OTP_STATUS, val) | ||
1073 | #define bfin_read_OTP_TIMING() bfin_read32(OTP_TIMING) | ||
1074 | #define bfin_write_OTP_TIMING(val) bfin_write32(OTP_TIMING, val) | ||
1075 | |||
1076 | /* Security Registers */ | 1066 | /* Security Registers */ |
1077 | 1067 | ||
1078 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) | 1068 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) |
@@ -1082,17 +1072,6 @@ | |||
1082 | #define bfin_read_SECURE_STATUS() bfin_read16(SECURE_STATUS) | 1072 | #define bfin_read_SECURE_STATUS() bfin_read16(SECURE_STATUS) |
1083 | #define bfin_write_SECURE_STATUS(val) bfin_write16(SECURE_STATUS, val) | 1073 | #define bfin_write_SECURE_STATUS(val) bfin_write16(SECURE_STATUS, val) |
1084 | 1074 | ||
1085 | /* OTP Read/Write Data Buffer Registers */ | ||
1086 | |||
1087 | #define bfin_read_OTP_DATA0() bfin_read32(OTP_DATA0) | ||
1088 | #define bfin_write_OTP_DATA0(val) bfin_write32(OTP_DATA0, val) | ||
1089 | #define bfin_read_OTP_DATA1() bfin_read32(OTP_DATA1) | ||
1090 | #define bfin_write_OTP_DATA1(val) bfin_write32(OTP_DATA1, val) | ||
1091 | #define bfin_read_OTP_DATA2() bfin_read32(OTP_DATA2) | ||
1092 | #define bfin_write_OTP_DATA2(val) bfin_write32(OTP_DATA2, val) | ||
1093 | #define bfin_read_OTP_DATA3() bfin_read32(OTP_DATA3) | ||
1094 | #define bfin_write_OTP_DATA3(val) bfin_write32(OTP_DATA3, val) | ||
1095 | |||
1096 | /* NFC Registers */ | 1075 | /* NFC Registers */ |
1097 | 1076 | ||
1098 | #define bfin_read_NFC_CTL() bfin_read16(NFC_CTL) | 1077 | #define bfin_read_NFC_CTL() bfin_read16(NFC_CTL) |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF525.h b/arch/blackfin/mach-bf527/include/mach/defBF525.h index 82abefc1ef6c..c136f7032962 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF525.h | |||
@@ -7,15 +7,8 @@ | |||
7 | #ifndef _DEF_BF525_H | 7 | #ifndef _DEF_BF525_H |
8 | #define _DEF_BF525_H | 8 | #define _DEF_BF525_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* BF525 is BF522 + USB */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include "defBF522.h" |
12 | |||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF525 */ | ||
14 | |||
15 | /* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */ | ||
16 | #include "defBF52x_base.h" | ||
17 | |||
18 | /* The following are the #defines needed by ADSP-BF525 that are not in the common header */ | ||
19 | 12 | ||
20 | /* USB Control Registers */ | 13 | /* USB Control Registers */ |
21 | 14 | ||
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF527.h b/arch/blackfin/mach-bf527/include/mach/defBF527.h index 570a125df025..4dd58fb33156 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF527.h | |||
@@ -7,15 +7,9 @@ | |||
7 | #ifndef _DEF_BF527_H | 7 | #ifndef _DEF_BF527_H |
8 | #define _DEF_BF527_H | 8 | #define _DEF_BF527_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* BF527 is BF525 + EMAC */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include "defBF525.h" |
12 | 12 | ||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF527 */ | ||
14 | |||
15 | /* Include defBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */ | ||
16 | #include "defBF52x_base.h" | ||
17 | |||
18 | /* The following are the #defines needed by ADSP-BF527 that are not in the common header */ | ||
19 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ | 13 | /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ |
20 | 14 | ||
21 | #define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */ | 15 | #define EMAC_OPMODE 0xFFC03000 /* Operating Mode Register */ |
@@ -394,673 +388,4 @@ | |||
394 | #define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */ | 388 | #define TX_GE1024_CNT 0x00200000 /* 1024-Max-Byte TX Frames Sent */ |
395 | #define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */ | 389 | #define TX_ABORT_CNT 0x00400000 /* TX Frames Aborted */ |
396 | 390 | ||
397 | /* USB Control Registers */ | ||
398 | |||
399 | #define USB_FADDR 0xffc03800 /* Function address register */ | ||
400 | #define USB_POWER 0xffc03804 /* Power management register */ | ||
401 | #define USB_INTRTX 0xffc03808 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */ | ||
402 | #define USB_INTRRX 0xffc0380c /* Interrupt register for Rx endpoints 1 to 7 */ | ||
403 | #define USB_INTRTXE 0xffc03810 /* Interrupt enable register for IntrTx */ | ||
404 | #define USB_INTRRXE 0xffc03814 /* Interrupt enable register for IntrRx */ | ||
405 | #define USB_INTRUSB 0xffc03818 /* Interrupt register for common USB interrupts */ | ||
406 | #define USB_INTRUSBE 0xffc0381c /* Interrupt enable register for IntrUSB */ | ||
407 | #define USB_FRAME 0xffc03820 /* USB frame number */ | ||
408 | #define USB_INDEX 0xffc03824 /* Index register for selecting the indexed endpoint registers */ | ||
409 | #define USB_TESTMODE 0xffc03828 /* Enabled USB 20 test modes */ | ||
410 | #define USB_GLOBINTR 0xffc0382c /* Global Interrupt Mask register and Wakeup Exception Interrupt */ | ||
411 | #define USB_GLOBAL_CTL 0xffc03830 /* Global Clock Control for the core */ | ||
412 | |||
413 | /* USB Packet Control Registers */ | ||
414 | |||
415 | #define USB_TX_MAX_PACKET 0xffc03840 /* Maximum packet size for Host Tx endpoint */ | ||
416 | #define USB_CSR0 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
417 | #define USB_TXCSR 0xffc03844 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
418 | #define USB_RX_MAX_PACKET 0xffc03848 /* Maximum packet size for Host Rx endpoint */ | ||
419 | #define USB_RXCSR 0xffc0384c /* Control Status register for Host Rx endpoint */ | ||
420 | #define USB_COUNT0 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
421 | #define USB_RXCOUNT 0xffc03850 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
422 | #define USB_TXTYPE 0xffc03854 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */ | ||
423 | #define USB_NAKLIMIT0 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
424 | #define USB_TXINTERVAL 0xffc03858 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
425 | #define USB_RXTYPE 0xffc0385c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */ | ||
426 | #define USB_RXINTERVAL 0xffc03860 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */ | ||
427 | #define USB_TXCOUNT 0xffc03868 /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
428 | |||
429 | /* USB Endpoint FIFO Registers */ | ||
430 | |||
431 | #define USB_EP0_FIFO 0xffc03880 /* Endpoint 0 FIFO */ | ||
432 | #define USB_EP1_FIFO 0xffc03888 /* Endpoint 1 FIFO */ | ||
433 | #define USB_EP2_FIFO 0xffc03890 /* Endpoint 2 FIFO */ | ||
434 | #define USB_EP3_FIFO 0xffc03898 /* Endpoint 3 FIFO */ | ||
435 | #define USB_EP4_FIFO 0xffc038a0 /* Endpoint 4 FIFO */ | ||
436 | #define USB_EP5_FIFO 0xffc038a8 /* Endpoint 5 FIFO */ | ||
437 | #define USB_EP6_FIFO 0xffc038b0 /* Endpoint 6 FIFO */ | ||
438 | #define USB_EP7_FIFO 0xffc038b8 /* Endpoint 7 FIFO */ | ||
439 | |||
440 | /* USB OTG Control Registers */ | ||
441 | |||
442 | #define USB_OTG_DEV_CTL 0xffc03900 /* OTG Device Control Register */ | ||
443 | #define USB_OTG_VBUS_IRQ 0xffc03904 /* OTG VBUS Control Interrupts */ | ||
444 | #define USB_OTG_VBUS_MASK 0xffc03908 /* VBUS Control Interrupt Enable */ | ||
445 | |||
446 | /* USB Phy Control Registers */ | ||
447 | |||
448 | #define USB_LINKINFO 0xffc03948 /* Enables programming of some PHY-side delays */ | ||
449 | #define USB_VPLEN 0xffc0394c /* Determines duration of VBUS pulse for VBUS charging */ | ||
450 | #define USB_HS_EOF1 0xffc03950 /* Time buffer for High-Speed transactions */ | ||
451 | #define USB_FS_EOF1 0xffc03954 /* Time buffer for Full-Speed transactions */ | ||
452 | #define USB_LS_EOF1 0xffc03958 /* Time buffer for Low-Speed transactions */ | ||
453 | |||
454 | /* (APHY_CNTRL is for ADI usage only) */ | ||
455 | |||
456 | #define USB_APHY_CNTRL 0xffc039e0 /* Register that increases visibility of Analog PHY */ | ||
457 | |||
458 | /* (APHY_CALIB is for ADI usage only) */ | ||
459 | |||
460 | #define USB_APHY_CALIB 0xffc039e4 /* Register used to set some calibration values */ | ||
461 | |||
462 | #define USB_APHY_CNTRL2 0xffc039e8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */ | ||
463 | |||
464 | /* (PHY_TEST is for ADI usage only) */ | ||
465 | |||
466 | #define USB_PHY_TEST 0xffc039ec /* Used for reducing simulation time and simplifies FIFO testability */ | ||
467 | |||
468 | #define USB_PLLOSC_CTRL 0xffc039f0 /* Used to program different parameters for USB PLL and Oscillator */ | ||
469 | #define USB_SRP_CLKDIV 0xffc039f4 /* Used to program clock divide value for the clock fed to the SRP detection logic */ | ||
470 | |||
471 | /* USB Endpoint 0 Control Registers */ | ||
472 | |||
473 | #define USB_EP_NI0_TXMAXP 0xffc03a00 /* Maximum packet size for Host Tx endpoint0 */ | ||
474 | #define USB_EP_NI0_TXCSR 0xffc03a04 /* Control Status register for endpoint 0 */ | ||
475 | #define USB_EP_NI0_RXMAXP 0xffc03a08 /* Maximum packet size for Host Rx endpoint0 */ | ||
476 | #define USB_EP_NI0_RXCSR 0xffc03a0c /* Control Status register for Host Rx endpoint0 */ | ||
477 | #define USB_EP_NI0_RXCOUNT 0xffc03a10 /* Number of bytes received in endpoint 0 FIFO */ | ||
478 | #define USB_EP_NI0_TXTYPE 0xffc03a14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */ | ||
479 | #define USB_EP_NI0_TXINTERVAL 0xffc03a18 /* Sets the NAK response timeout on Endpoint 0 */ | ||
480 | #define USB_EP_NI0_RXTYPE 0xffc03a1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */ | ||
481 | #define USB_EP_NI0_RXINTERVAL 0xffc03a20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */ | ||
482 | #define USB_EP_NI0_TXCOUNT 0xffc03a28 /* Number of bytes to be written to the endpoint0 Tx FIFO */ | ||
483 | |||
484 | /* USB Endpoint 1 Control Registers */ | ||
485 | |||
486 | #define USB_EP_NI1_TXMAXP 0xffc03a40 /* Maximum packet size for Host Tx endpoint1 */ | ||
487 | #define USB_EP_NI1_TXCSR 0xffc03a44 /* Control Status register for endpoint1 */ | ||
488 | #define USB_EP_NI1_RXMAXP 0xffc03a48 /* Maximum packet size for Host Rx endpoint1 */ | ||
489 | #define USB_EP_NI1_RXCSR 0xffc03a4c /* Control Status register for Host Rx endpoint1 */ | ||
490 | #define USB_EP_NI1_RXCOUNT 0xffc03a50 /* Number of bytes received in endpoint1 FIFO */ | ||
491 | #define USB_EP_NI1_TXTYPE 0xffc03a54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */ | ||
492 | #define USB_EP_NI1_TXINTERVAL 0xffc03a58 /* Sets the NAK response timeout on Endpoint1 */ | ||
493 | #define USB_EP_NI1_RXTYPE 0xffc03a5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */ | ||
494 | #define USB_EP_NI1_RXINTERVAL 0xffc03a60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */ | ||
495 | #define USB_EP_NI1_TXCOUNT 0xffc03a68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */ | ||
496 | |||
497 | /* USB Endpoint 2 Control Registers */ | ||
498 | |||
499 | #define USB_EP_NI2_TXMAXP 0xffc03a80 /* Maximum packet size for Host Tx endpoint2 */ | ||
500 | #define USB_EP_NI2_TXCSR 0xffc03a84 /* Control Status register for endpoint2 */ | ||
501 | #define USB_EP_NI2_RXMAXP 0xffc03a88 /* Maximum packet size for Host Rx endpoint2 */ | ||
502 | #define USB_EP_NI2_RXCSR 0xffc03a8c /* Control Status register for Host Rx endpoint2 */ | ||
503 | #define USB_EP_NI2_RXCOUNT 0xffc03a90 /* Number of bytes received in endpoint2 FIFO */ | ||
504 | #define USB_EP_NI2_TXTYPE 0xffc03a94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */ | ||
505 | #define USB_EP_NI2_TXINTERVAL 0xffc03a98 /* Sets the NAK response timeout on Endpoint2 */ | ||
506 | #define USB_EP_NI2_RXTYPE 0xffc03a9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */ | ||
507 | #define USB_EP_NI2_RXINTERVAL 0xffc03aa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */ | ||
508 | #define USB_EP_NI2_TXCOUNT 0xffc03aa8 /* Number of bytes to be written to the endpoint2 Tx FIFO */ | ||
509 | |||
510 | /* USB Endpoint 3 Control Registers */ | ||
511 | |||
512 | #define USB_EP_NI3_TXMAXP 0xffc03ac0 /* Maximum packet size for Host Tx endpoint3 */ | ||
513 | #define USB_EP_NI3_TXCSR 0xffc03ac4 /* Control Status register for endpoint3 */ | ||
514 | #define USB_EP_NI3_RXMAXP 0xffc03ac8 /* Maximum packet size for Host Rx endpoint3 */ | ||
515 | #define USB_EP_NI3_RXCSR 0xffc03acc /* Control Status register for Host Rx endpoint3 */ | ||
516 | #define USB_EP_NI3_RXCOUNT 0xffc03ad0 /* Number of bytes received in endpoint3 FIFO */ | ||
517 | #define USB_EP_NI3_TXTYPE 0xffc03ad4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */ | ||
518 | #define USB_EP_NI3_TXINTERVAL 0xffc03ad8 /* Sets the NAK response timeout on Endpoint3 */ | ||
519 | #define USB_EP_NI3_RXTYPE 0xffc03adc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */ | ||
520 | #define USB_EP_NI3_RXINTERVAL 0xffc03ae0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */ | ||
521 | #define USB_EP_NI3_TXCOUNT 0xffc03ae8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */ | ||
522 | |||
523 | /* USB Endpoint 4 Control Registers */ | ||
524 | |||
525 | #define USB_EP_NI4_TXMAXP 0xffc03b00 /* Maximum packet size for Host Tx endpoint4 */ | ||
526 | #define USB_EP_NI4_TXCSR 0xffc03b04 /* Control Status register for endpoint4 */ | ||
527 | #define USB_EP_NI4_RXMAXP 0xffc03b08 /* Maximum packet size for Host Rx endpoint4 */ | ||
528 | #define USB_EP_NI4_RXCSR 0xffc03b0c /* Control Status register for Host Rx endpoint4 */ | ||
529 | #define USB_EP_NI4_RXCOUNT 0xffc03b10 /* Number of bytes received in endpoint4 FIFO */ | ||
530 | #define USB_EP_NI4_TXTYPE 0xffc03b14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */ | ||
531 | #define USB_EP_NI4_TXINTERVAL 0xffc03b18 /* Sets the NAK response timeout on Endpoint4 */ | ||
532 | #define USB_EP_NI4_RXTYPE 0xffc03b1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */ | ||
533 | #define USB_EP_NI4_RXINTERVAL 0xffc03b20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */ | ||
534 | #define USB_EP_NI4_TXCOUNT 0xffc03b28 /* Number of bytes to be written to the endpoint4 Tx FIFO */ | ||
535 | |||
536 | /* USB Endpoint 5 Control Registers */ | ||
537 | |||
538 | #define USB_EP_NI5_TXMAXP 0xffc03b40 /* Maximum packet size for Host Tx endpoint5 */ | ||
539 | #define USB_EP_NI5_TXCSR 0xffc03b44 /* Control Status register for endpoint5 */ | ||
540 | #define USB_EP_NI5_RXMAXP 0xffc03b48 /* Maximum packet size for Host Rx endpoint5 */ | ||
541 | #define USB_EP_NI5_RXCSR 0xffc03b4c /* Control Status register for Host Rx endpoint5 */ | ||
542 | #define USB_EP_NI5_RXCOUNT 0xffc03b50 /* Number of bytes received in endpoint5 FIFO */ | ||
543 | #define USB_EP_NI5_TXTYPE 0xffc03b54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */ | ||
544 | #define USB_EP_NI5_TXINTERVAL 0xffc03b58 /* Sets the NAK response timeout on Endpoint5 */ | ||
545 | #define USB_EP_NI5_RXTYPE 0xffc03b5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */ | ||
546 | #define USB_EP_NI5_RXINTERVAL 0xffc03b60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */ | ||
547 | #define USB_EP_NI5_TXCOUNT 0xffc03b68 /* Number of bytes to be written to the endpoint5 Tx FIFO */ | ||
548 | |||
549 | /* USB Endpoint 6 Control Registers */ | ||
550 | |||
551 | #define USB_EP_NI6_TXMAXP 0xffc03b80 /* Maximum packet size for Host Tx endpoint6 */ | ||
552 | #define USB_EP_NI6_TXCSR 0xffc03b84 /* Control Status register for endpoint6 */ | ||
553 | #define USB_EP_NI6_RXMAXP 0xffc03b88 /* Maximum packet size for Host Rx endpoint6 */ | ||
554 | #define USB_EP_NI6_RXCSR 0xffc03b8c /* Control Status register for Host Rx endpoint6 */ | ||
555 | #define USB_EP_NI6_RXCOUNT 0xffc03b90 /* Number of bytes received in endpoint6 FIFO */ | ||
556 | #define USB_EP_NI6_TXTYPE 0xffc03b94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */ | ||
557 | #define USB_EP_NI6_TXINTERVAL 0xffc03b98 /* Sets the NAK response timeout on Endpoint6 */ | ||
558 | #define USB_EP_NI6_RXTYPE 0xffc03b9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */ | ||
559 | #define USB_EP_NI6_RXINTERVAL 0xffc03ba0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */ | ||
560 | #define USB_EP_NI6_TXCOUNT 0xffc03ba8 /* Number of bytes to be written to the endpoint6 Tx FIFO */ | ||
561 | |||
562 | /* USB Endpoint 7 Control Registers */ | ||
563 | |||
564 | #define USB_EP_NI7_TXMAXP 0xffc03bc0 /* Maximum packet size for Host Tx endpoint7 */ | ||
565 | #define USB_EP_NI7_TXCSR 0xffc03bc4 /* Control Status register for endpoint7 */ | ||
566 | #define USB_EP_NI7_RXMAXP 0xffc03bc8 /* Maximum packet size for Host Rx endpoint7 */ | ||
567 | #define USB_EP_NI7_RXCSR 0xffc03bcc /* Control Status register for Host Rx endpoint7 */ | ||
568 | #define USB_EP_NI7_RXCOUNT 0xffc03bd0 /* Number of bytes received in endpoint7 FIFO */ | ||
569 | #define USB_EP_NI7_TXTYPE 0xffc03bd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */ | ||
570 | #define USB_EP_NI7_TXINTERVAL 0xffc03bd8 /* Sets the NAK response timeout on Endpoint7 */ | ||
571 | #define USB_EP_NI7_RXTYPE 0xffc03bdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */ | ||
572 | #define USB_EP_NI7_RXINTERVAL 0xffc03bf0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */ | ||
573 | #define USB_EP_NI7_TXCOUNT 0xffc03bf8 /* Number of bytes to be written to the endpoint7 Tx FIFO */ | ||
574 | |||
575 | #define USB_DMA_INTERRUPT 0xffc03c00 /* Indicates pending interrupts for the DMA channels */ | ||
576 | |||
577 | /* USB Channel 0 Config Registers */ | ||
578 | |||
579 | #define USB_DMA0CONTROL 0xffc03c04 /* DMA master channel 0 configuration */ | ||
580 | #define USB_DMA0ADDRLOW 0xffc03c08 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */ | ||
581 | #define USB_DMA0ADDRHIGH 0xffc03c0c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */ | ||
582 | #define USB_DMA0COUNTLOW 0xffc03c10 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
583 | #define USB_DMA0COUNTHIGH 0xffc03c14 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
584 | |||
585 | /* USB Channel 1 Config Registers */ | ||
586 | |||
587 | #define USB_DMA1CONTROL 0xffc03c24 /* DMA master channel 1 configuration */ | ||
588 | #define USB_DMA1ADDRLOW 0xffc03c28 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */ | ||
589 | #define USB_DMA1ADDRHIGH 0xffc03c2c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */ | ||
590 | #define USB_DMA1COUNTLOW 0xffc03c30 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
591 | #define USB_DMA1COUNTHIGH 0xffc03c34 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
592 | |||
593 | /* USB Channel 2 Config Registers */ | ||
594 | |||
595 | #define USB_DMA2CONTROL 0xffc03c44 /* DMA master channel 2 configuration */ | ||
596 | #define USB_DMA2ADDRLOW 0xffc03c48 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */ | ||
597 | #define USB_DMA2ADDRHIGH 0xffc03c4c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */ | ||
598 | #define USB_DMA2COUNTLOW 0xffc03c50 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
599 | #define USB_DMA2COUNTHIGH 0xffc03c54 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
600 | |||
601 | /* USB Channel 3 Config Registers */ | ||
602 | |||
603 | #define USB_DMA3CONTROL 0xffc03c64 /* DMA master channel 3 configuration */ | ||
604 | #define USB_DMA3ADDRLOW 0xffc03c68 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */ | ||
605 | #define USB_DMA3ADDRHIGH 0xffc03c6c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */ | ||
606 | #define USB_DMA3COUNTLOW 0xffc03c70 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
607 | #define USB_DMA3COUNTHIGH 0xffc03c74 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
608 | |||
609 | /* USB Channel 4 Config Registers */ | ||
610 | |||
611 | #define USB_DMA4CONTROL 0xffc03c84 /* DMA master channel 4 configuration */ | ||
612 | #define USB_DMA4ADDRLOW 0xffc03c88 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */ | ||
613 | #define USB_DMA4ADDRHIGH 0xffc03c8c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */ | ||
614 | #define USB_DMA4COUNTLOW 0xffc03c90 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
615 | #define USB_DMA4COUNTHIGH 0xffc03c94 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
616 | |||
617 | /* USB Channel 5 Config Registers */ | ||
618 | |||
619 | #define USB_DMA5CONTROL 0xffc03ca4 /* DMA master channel 5 configuration */ | ||
620 | #define USB_DMA5ADDRLOW 0xffc03ca8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */ | ||
621 | #define USB_DMA5ADDRHIGH 0xffc03cac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */ | ||
622 | #define USB_DMA5COUNTLOW 0xffc03cb0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
623 | #define USB_DMA5COUNTHIGH 0xffc03cb4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
624 | |||
625 | /* USB Channel 6 Config Registers */ | ||
626 | |||
627 | #define USB_DMA6CONTROL 0xffc03cc4 /* DMA master channel 6 configuration */ | ||
628 | #define USB_DMA6ADDRLOW 0xffc03cc8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */ | ||
629 | #define USB_DMA6ADDRHIGH 0xffc03ccc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */ | ||
630 | #define USB_DMA6COUNTLOW 0xffc03cd0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
631 | #define USB_DMA6COUNTHIGH 0xffc03cd4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
632 | |||
633 | /* USB Channel 7 Config Registers */ | ||
634 | |||
635 | #define USB_DMA7CONTROL 0xffc03ce4 /* DMA master channel 7 configuration */ | ||
636 | #define USB_DMA7ADDRLOW 0xffc03ce8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */ | ||
637 | #define USB_DMA7ADDRHIGH 0xffc03cec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */ | ||
638 | #define USB_DMA7COUNTLOW 0xffc03cf0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
639 | #define USB_DMA7COUNTHIGH 0xffc03cf4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
640 | |||
641 | /* Bit masks for USB_FADDR */ | ||
642 | |||
643 | #define FUNCTION_ADDRESS 0x7f /* Function address */ | ||
644 | |||
645 | /* Bit masks for USB_POWER */ | ||
646 | |||
647 | #define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */ | ||
648 | #define nENABLE_SUSPENDM 0x0 | ||
649 | #define SUSPEND_MODE 0x2 /* Suspend Mode indicator */ | ||
650 | #define nSUSPEND_MODE 0x0 | ||
651 | #define RESUME_MODE 0x4 /* DMA Mode */ | ||
652 | #define nRESUME_MODE 0x0 | ||
653 | #define RESET 0x8 /* Reset indicator */ | ||
654 | #define nRESET 0x0 | ||
655 | #define HS_MODE 0x10 /* High Speed mode indicator */ | ||
656 | #define nHS_MODE 0x0 | ||
657 | #define HS_ENABLE 0x20 /* high Speed Enable */ | ||
658 | #define nHS_ENABLE 0x0 | ||
659 | #define SOFT_CONN 0x40 /* Soft connect */ | ||
660 | #define nSOFT_CONN 0x0 | ||
661 | #define ISO_UPDATE 0x80 /* Isochronous update */ | ||
662 | #define nISO_UPDATE 0x0 | ||
663 | |||
664 | /* Bit masks for USB_INTRTX */ | ||
665 | |||
666 | #define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */ | ||
667 | #define nEP0_TX 0x0 | ||
668 | #define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */ | ||
669 | #define nEP1_TX 0x0 | ||
670 | #define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */ | ||
671 | #define nEP2_TX 0x0 | ||
672 | #define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */ | ||
673 | #define nEP3_TX 0x0 | ||
674 | #define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */ | ||
675 | #define nEP4_TX 0x0 | ||
676 | #define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */ | ||
677 | #define nEP5_TX 0x0 | ||
678 | #define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */ | ||
679 | #define nEP6_TX 0x0 | ||
680 | #define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */ | ||
681 | #define nEP7_TX 0x0 | ||
682 | |||
683 | /* Bit masks for USB_INTRRX */ | ||
684 | |||
685 | #define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */ | ||
686 | #define nEP1_RX 0x0 | ||
687 | #define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */ | ||
688 | #define nEP2_RX 0x0 | ||
689 | #define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */ | ||
690 | #define nEP3_RX 0x0 | ||
691 | #define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */ | ||
692 | #define nEP4_RX 0x0 | ||
693 | #define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */ | ||
694 | #define nEP5_RX 0x0 | ||
695 | #define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */ | ||
696 | #define nEP6_RX 0x0 | ||
697 | #define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */ | ||
698 | #define nEP7_RX 0x0 | ||
699 | |||
700 | /* Bit masks for USB_INTRTXE */ | ||
701 | |||
702 | #define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */ | ||
703 | #define nEP0_TX_E 0x0 | ||
704 | #define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */ | ||
705 | #define nEP1_TX_E 0x0 | ||
706 | #define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */ | ||
707 | #define nEP2_TX_E 0x0 | ||
708 | #define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */ | ||
709 | #define nEP3_TX_E 0x0 | ||
710 | #define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */ | ||
711 | #define nEP4_TX_E 0x0 | ||
712 | #define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */ | ||
713 | #define nEP5_TX_E 0x0 | ||
714 | #define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */ | ||
715 | #define nEP6_TX_E 0x0 | ||
716 | #define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */ | ||
717 | #define nEP7_TX_E 0x0 | ||
718 | |||
719 | /* Bit masks for USB_INTRRXE */ | ||
720 | |||
721 | #define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */ | ||
722 | #define nEP1_RX_E 0x0 | ||
723 | #define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */ | ||
724 | #define nEP2_RX_E 0x0 | ||
725 | #define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */ | ||
726 | #define nEP3_RX_E 0x0 | ||
727 | #define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */ | ||
728 | #define nEP4_RX_E 0x0 | ||
729 | #define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */ | ||
730 | #define nEP5_RX_E 0x0 | ||
731 | #define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */ | ||
732 | #define nEP6_RX_E 0x0 | ||
733 | #define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */ | ||
734 | #define nEP7_RX_E 0x0 | ||
735 | |||
736 | /* Bit masks for USB_INTRUSB */ | ||
737 | |||
738 | #define SUSPEND_B 0x1 /* Suspend indicator */ | ||
739 | #define nSUSPEND_B 0x0 | ||
740 | #define RESUME_B 0x2 /* Resume indicator */ | ||
741 | #define nRESUME_B 0x0 | ||
742 | #define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */ | ||
743 | #define nRESET_OR_BABLE_B 0x0 | ||
744 | #define SOF_B 0x8 /* Start of frame */ | ||
745 | #define nSOF_B 0x0 | ||
746 | #define CONN_B 0x10 /* Connection indicator */ | ||
747 | #define nCONN_B 0x0 | ||
748 | #define DISCON_B 0x20 /* Disconnect indicator */ | ||
749 | #define nDISCON_B 0x0 | ||
750 | #define SESSION_REQ_B 0x40 /* Session Request */ | ||
751 | #define nSESSION_REQ_B 0x0 | ||
752 | #define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */ | ||
753 | #define nVBUS_ERROR_B 0x0 | ||
754 | |||
755 | /* Bit masks for USB_INTRUSBE */ | ||
756 | |||
757 | #define SUSPEND_BE 0x1 /* Suspend indicator int enable */ | ||
758 | #define nSUSPEND_BE 0x0 | ||
759 | #define RESUME_BE 0x2 /* Resume indicator int enable */ | ||
760 | #define nRESUME_BE 0x0 | ||
761 | #define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */ | ||
762 | #define nRESET_OR_BABLE_BE 0x0 | ||
763 | #define SOF_BE 0x8 /* Start of frame int enable */ | ||
764 | #define nSOF_BE 0x0 | ||
765 | #define CONN_BE 0x10 /* Connection indicator int enable */ | ||
766 | #define nCONN_BE 0x0 | ||
767 | #define DISCON_BE 0x20 /* Disconnect indicator int enable */ | ||
768 | #define nDISCON_BE 0x0 | ||
769 | #define SESSION_REQ_BE 0x40 /* Session Request int enable */ | ||
770 | #define nSESSION_REQ_BE 0x0 | ||
771 | #define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */ | ||
772 | #define nVBUS_ERROR_BE 0x0 | ||
773 | |||
774 | /* Bit masks for USB_FRAME */ | ||
775 | |||
776 | #define FRAME_NUMBER 0x7ff /* Frame number */ | ||
777 | |||
778 | /* Bit masks for USB_INDEX */ | ||
779 | |||
780 | #define SELECTED_ENDPOINT 0xf /* selected endpoint */ | ||
781 | |||
782 | /* Bit masks for USB_GLOBAL_CTL */ | ||
783 | |||
784 | #define GLOBAL_ENA 0x1 /* enables USB module */ | ||
785 | #define nGLOBAL_ENA 0x0 | ||
786 | #define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */ | ||
787 | #define nEP1_TX_ENA 0x0 | ||
788 | #define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */ | ||
789 | #define nEP2_TX_ENA 0x0 | ||
790 | #define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */ | ||
791 | #define nEP3_TX_ENA 0x0 | ||
792 | #define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */ | ||
793 | #define nEP4_TX_ENA 0x0 | ||
794 | #define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */ | ||
795 | #define nEP5_TX_ENA 0x0 | ||
796 | #define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */ | ||
797 | #define nEP6_TX_ENA 0x0 | ||
798 | #define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */ | ||
799 | #define nEP7_TX_ENA 0x0 | ||
800 | #define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */ | ||
801 | #define nEP1_RX_ENA 0x0 | ||
802 | #define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */ | ||
803 | #define nEP2_RX_ENA 0x0 | ||
804 | #define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */ | ||
805 | #define nEP3_RX_ENA 0x0 | ||
806 | #define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */ | ||
807 | #define nEP4_RX_ENA 0x0 | ||
808 | #define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */ | ||
809 | #define nEP5_RX_ENA 0x0 | ||
810 | #define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */ | ||
811 | #define nEP6_RX_ENA 0x0 | ||
812 | #define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */ | ||
813 | #define nEP7_RX_ENA 0x0 | ||
814 | |||
815 | /* Bit masks for USB_OTG_DEV_CTL */ | ||
816 | |||
817 | #define SESSION 0x1 /* session indicator */ | ||
818 | #define nSESSION 0x0 | ||
819 | #define HOST_REQ 0x2 /* Host negotiation request */ | ||
820 | #define nHOST_REQ 0x0 | ||
821 | #define HOST_MODE 0x4 /* indicates USBDRC is a host */ | ||
822 | #define nHOST_MODE 0x0 | ||
823 | #define VBUS0 0x8 /* Vbus level indicator[0] */ | ||
824 | #define nVBUS0 0x0 | ||
825 | #define VBUS1 0x10 /* Vbus level indicator[1] */ | ||
826 | #define nVBUS1 0x0 | ||
827 | #define LSDEV 0x20 /* Low-speed indicator */ | ||
828 | #define nLSDEV 0x0 | ||
829 | #define FSDEV 0x40 /* Full or High-speed indicator */ | ||
830 | #define nFSDEV 0x0 | ||
831 | #define B_DEVICE 0x80 /* A' or 'B' device indicator */ | ||
832 | #define nB_DEVICE 0x0 | ||
833 | |||
834 | /* Bit masks for USB_OTG_VBUS_IRQ */ | ||
835 | |||
836 | #define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */ | ||
837 | #define nDRIVE_VBUS_ON 0x0 | ||
838 | #define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */ | ||
839 | #define nDRIVE_VBUS_OFF 0x0 | ||
840 | #define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */ | ||
841 | #define nCHRG_VBUS_START 0x0 | ||
842 | #define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */ | ||
843 | #define nCHRG_VBUS_END 0x0 | ||
844 | #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */ | ||
845 | #define nDISCHRG_VBUS_START 0x0 | ||
846 | #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */ | ||
847 | #define nDISCHRG_VBUS_END 0x0 | ||
848 | |||
849 | /* Bit masks for USB_OTG_VBUS_MASK */ | ||
850 | |||
851 | #define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */ | ||
852 | #define nDRIVE_VBUS_ON_ENA 0x0 | ||
853 | #define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */ | ||
854 | #define nDRIVE_VBUS_OFF_ENA 0x0 | ||
855 | #define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */ | ||
856 | #define nCHRG_VBUS_START_ENA 0x0 | ||
857 | #define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */ | ||
858 | #define nCHRG_VBUS_END_ENA 0x0 | ||
859 | #define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */ | ||
860 | #define nDISCHRG_VBUS_START_ENA 0x0 | ||
861 | #define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */ | ||
862 | #define nDISCHRG_VBUS_END_ENA 0x0 | ||
863 | |||
864 | /* Bit masks for USB_CSR0 */ | ||
865 | |||
866 | #define RXPKTRDY 0x1 /* data packet receive indicator */ | ||
867 | #define nRXPKTRDY 0x0 | ||
868 | #define TXPKTRDY 0x2 /* data packet in FIFO indicator */ | ||
869 | #define nTXPKTRDY 0x0 | ||
870 | #define STALL_SENT 0x4 /* STALL handshake sent */ | ||
871 | #define nSTALL_SENT 0x0 | ||
872 | #define DATAEND 0x8 /* Data end indicator */ | ||
873 | #define nDATAEND 0x0 | ||
874 | #define SETUPEND 0x10 /* Setup end */ | ||
875 | #define nSETUPEND 0x0 | ||
876 | #define SENDSTALL 0x20 /* Send STALL handshake */ | ||
877 | #define nSENDSTALL 0x0 | ||
878 | #define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */ | ||
879 | #define nSERVICED_RXPKTRDY 0x0 | ||
880 | #define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */ | ||
881 | #define nSERVICED_SETUPEND 0x0 | ||
882 | #define FLUSHFIFO 0x100 /* flush endpoint FIFO */ | ||
883 | #define nFLUSHFIFO 0x0 | ||
884 | #define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */ | ||
885 | #define nSTALL_RECEIVED_H 0x0 | ||
886 | #define SETUPPKT_H 0x8 /* send Setup token host mode */ | ||
887 | #define nSETUPPKT_H 0x0 | ||
888 | #define ERROR_H 0x10 /* timeout error indicator host mode */ | ||
889 | #define nERROR_H 0x0 | ||
890 | #define REQPKT_H 0x20 /* Request an IN transaction host mode */ | ||
891 | #define nREQPKT_H 0x0 | ||
892 | #define STATUSPKT_H 0x40 /* Status stage transaction host mode */ | ||
893 | #define nSTATUSPKT_H 0x0 | ||
894 | #define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */ | ||
895 | #define nNAK_TIMEOUT_H 0x0 | ||
896 | |||
897 | /* Bit masks for USB_COUNT0 */ | ||
898 | |||
899 | #define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */ | ||
900 | |||
901 | /* Bit masks for USB_NAKLIMIT0 */ | ||
902 | |||
903 | #define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */ | ||
904 | |||
905 | /* Bit masks for USB_TX_MAX_PACKET */ | ||
906 | |||
907 | #define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */ | ||
908 | |||
909 | /* Bit masks for USB_RX_MAX_PACKET */ | ||
910 | |||
911 | #define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */ | ||
912 | |||
913 | /* Bit masks for USB_TXCSR */ | ||
914 | |||
915 | #define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */ | ||
916 | #define nTXPKTRDY_T 0x0 | ||
917 | #define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */ | ||
918 | #define nFIFO_NOT_EMPTY_T 0x0 | ||
919 | #define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */ | ||
920 | #define nUNDERRUN_T 0x0 | ||
921 | #define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */ | ||
922 | #define nFLUSHFIFO_T 0x0 | ||
923 | #define STALL_SEND_T 0x10 /* issue a Stall handshake */ | ||
924 | #define nSTALL_SEND_T 0x0 | ||
925 | #define STALL_SENT_T 0x20 /* Stall handshake transmitted */ | ||
926 | #define nSTALL_SENT_T 0x0 | ||
927 | #define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */ | ||
928 | #define nCLEAR_DATATOGGLE_T 0x0 | ||
929 | #define INCOMPTX_T 0x80 /* indicates that a large packet is split */ | ||
930 | #define nINCOMPTX_T 0x0 | ||
931 | #define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */ | ||
932 | #define nDMAREQMODE_T 0x0 | ||
933 | #define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */ | ||
934 | #define nFORCE_DATATOGGLE_T 0x0 | ||
935 | #define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */ | ||
936 | #define nDMAREQ_ENA_T 0x0 | ||
937 | #define ISO_T 0x4000 /* enable Isochronous transfers */ | ||
938 | #define nISO_T 0x0 | ||
939 | #define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */ | ||
940 | #define nAUTOSET_T 0x0 | ||
941 | #define ERROR_TH 0x4 /* error condition host mode */ | ||
942 | #define nERROR_TH 0x0 | ||
943 | #define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */ | ||
944 | #define nSTALL_RECEIVED_TH 0x0 | ||
945 | #define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */ | ||
946 | #define nNAK_TIMEOUT_TH 0x0 | ||
947 | |||
948 | /* Bit masks for USB_TXCOUNT */ | ||
949 | |||
950 | #define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
951 | |||
952 | /* Bit masks for USB_RXCSR */ | ||
953 | |||
954 | #define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */ | ||
955 | #define nRXPKTRDY_R 0x0 | ||
956 | #define FIFO_FULL_R 0x2 /* FIFO not empty */ | ||
957 | #define nFIFO_FULL_R 0x0 | ||
958 | #define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */ | ||
959 | #define nOVERRUN_R 0x0 | ||
960 | #define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */ | ||
961 | #define nDATAERROR_R 0x0 | ||
962 | #define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */ | ||
963 | #define nFLUSHFIFO_R 0x0 | ||
964 | #define STALL_SEND_R 0x20 /* issue a Stall handshake */ | ||
965 | #define nSTALL_SEND_R 0x0 | ||
966 | #define STALL_SENT_R 0x40 /* Stall handshake transmitted */ | ||
967 | #define nSTALL_SENT_R 0x0 | ||
968 | #define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */ | ||
969 | #define nCLEAR_DATATOGGLE_R 0x0 | ||
970 | #define INCOMPRX_R 0x100 /* indicates that a large packet is split */ | ||
971 | #define nINCOMPRX_R 0x0 | ||
972 | #define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */ | ||
973 | #define nDMAREQMODE_R 0x0 | ||
974 | #define DISNYET_R 0x1000 /* disable Nyet handshakes */ | ||
975 | #define nDISNYET_R 0x0 | ||
976 | #define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */ | ||
977 | #define nDMAREQ_ENA_R 0x0 | ||
978 | #define ISO_R 0x4000 /* enable Isochronous transfers */ | ||
979 | #define nISO_R 0x0 | ||
980 | #define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */ | ||
981 | #define nAUTOCLEAR_R 0x0 | ||
982 | #define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */ | ||
983 | #define nERROR_RH 0x0 | ||
984 | #define REQPKT_RH 0x20 /* request an IN transaction host mode */ | ||
985 | #define nREQPKT_RH 0x0 | ||
986 | #define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */ | ||
987 | #define nSTALL_RECEIVED_RH 0x0 | ||
988 | #define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */ | ||
989 | #define nINCOMPRX_RH 0x0 | ||
990 | #define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */ | ||
991 | #define nDMAREQMODE_RH 0x0 | ||
992 | #define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */ | ||
993 | #define nAUTOREQ_RH 0x0 | ||
994 | |||
995 | /* Bit masks for USB_RXCOUNT */ | ||
996 | |||
997 | #define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */ | ||
998 | |||
999 | /* Bit masks for USB_TXTYPE */ | ||
1000 | |||
1001 | #define TARGET_EP_NO_T 0xf /* EP number */ | ||
1002 | #define PROTOCOL_T 0xc /* transfer type */ | ||
1003 | |||
1004 | /* Bit masks for USB_TXINTERVAL */ | ||
1005 | |||
1006 | #define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */ | ||
1007 | |||
1008 | /* Bit masks for USB_RXTYPE */ | ||
1009 | |||
1010 | #define TARGET_EP_NO_R 0xf /* EP number */ | ||
1011 | #define PROTOCOL_R 0xc /* transfer type */ | ||
1012 | |||
1013 | /* Bit masks for USB_RXINTERVAL */ | ||
1014 | |||
1015 | #define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */ | ||
1016 | |||
1017 | /* Bit masks for USB_DMA_INTERRUPT */ | ||
1018 | |||
1019 | #define DMA0_INT 0x1 /* DMA0 pending interrupt */ | ||
1020 | #define nDMA0_INT 0x0 | ||
1021 | #define DMA1_INT 0x2 /* DMA1 pending interrupt */ | ||
1022 | #define nDMA1_INT 0x0 | ||
1023 | #define DMA2_INT 0x4 /* DMA2 pending interrupt */ | ||
1024 | #define nDMA2_INT 0x0 | ||
1025 | #define DMA3_INT 0x8 /* DMA3 pending interrupt */ | ||
1026 | #define nDMA3_INT 0x0 | ||
1027 | #define DMA4_INT 0x10 /* DMA4 pending interrupt */ | ||
1028 | #define nDMA4_INT 0x0 | ||
1029 | #define DMA5_INT 0x20 /* DMA5 pending interrupt */ | ||
1030 | #define nDMA5_INT 0x0 | ||
1031 | #define DMA6_INT 0x40 /* DMA6 pending interrupt */ | ||
1032 | #define nDMA6_INT 0x0 | ||
1033 | #define DMA7_INT 0x80 /* DMA7 pending interrupt */ | ||
1034 | #define nDMA7_INT 0x0 | ||
1035 | |||
1036 | /* Bit masks for USB_DMAxCONTROL */ | ||
1037 | |||
1038 | #define DMA_ENA 0x1 /* DMA enable */ | ||
1039 | #define nDMA_ENA 0x0 | ||
1040 | #define DIRECTION 0x2 /* direction of DMA transfer */ | ||
1041 | #define nDIRECTION 0x0 | ||
1042 | #define MODE 0x4 /* DMA Bus error */ | ||
1043 | #define nMODE 0x0 | ||
1044 | #define INT_ENA 0x8 /* Interrupt enable */ | ||
1045 | #define nINT_ENA 0x0 | ||
1046 | #define EPNUM 0xf0 /* EP number */ | ||
1047 | #define BUSERROR 0x100 /* DMA Bus error */ | ||
1048 | #define nBUSERROR 0x0 | ||
1049 | |||
1050 | /* Bit masks for USB_DMAxADDRHIGH */ | ||
1051 | |||
1052 | #define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */ | ||
1053 | |||
1054 | /* Bit masks for USB_DMAxADDRLOW */ | ||
1055 | |||
1056 | #define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */ | ||
1057 | |||
1058 | /* Bit masks for USB_DMAxCOUNTHIGH */ | ||
1059 | |||
1060 | #define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */ | ||
1061 | |||
1062 | /* Bit masks for USB_DMAxCOUNTLOW */ | ||
1063 | |||
1064 | #define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */ | ||
1065 | |||
1066 | #endif /* _DEF_BF527_H */ | 391 | #endif /* _DEF_BF527_H */ |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h index b9dbb73d7ef0..8b18b5359210 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h | |||
@@ -586,58 +586,6 @@ | |||
586 | ** modifier UNLESS the lower order bits are saved and ORed back in when | 586 | ** modifier UNLESS the lower order bits are saved and ORed back in when |
587 | ** the macro is used. | 587 | ** the macro is used. |
588 | *************************************************************************************/ | 588 | *************************************************************************************/ |
589 | /* | ||
590 | ** ********************* PLL AND RESET MASKS ****************************************/ | ||
591 | /* PLL_CTL Masks */ | ||
592 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
593 | #define PLL_OFF 0x0002 /* PLL Not Powered */ | ||
594 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
595 | #define PDWN 0x0020 /* Enter Deep Sleep Mode */ | ||
596 | #define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */ | ||
597 | #define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */ | ||
598 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
599 | #define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */ | ||
600 | /* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */ | ||
601 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
602 | |||
603 | /* PLL_DIV Masks */ | ||
604 | #define SSEL 0x000F /* System Select */ | ||
605 | #define CSEL 0x0030 /* Core Select */ | ||
606 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
607 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
608 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
609 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
610 | /* PLL_DIV Macros */ | ||
611 | #define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
612 | |||
613 | /* VR_CTL Masks */ | ||
614 | #define FREQ 0x3000 /* Switching Oscillator Frequency For Regulator */ | ||
615 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
616 | |||
617 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
618 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
619 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
620 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
621 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
622 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
623 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
624 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
625 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
626 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
627 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
628 | |||
629 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
630 | #define USBWE 0x0200 /* Enable USB Wakeup From Hibernate */ | ||
631 | #define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */ | ||
632 | #define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */ | ||
633 | #define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */ | ||
634 | #define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */ | ||
635 | |||
636 | /* PLL_STAT Masks */ | ||
637 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
638 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
639 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
640 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
641 | 589 | ||
642 | /* CHIPID Masks */ | 590 | /* CHIPID Masks */ |
643 | #define CHIPID_VERSION 0xF0000000 | 591 | #define CHIPID_VERSION 0xF0000000 |
@@ -757,66 +705,6 @@ | |||
757 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ | 705 | #define IWR_DISABLE(x) (0xFFFFFFFF ^ (1 << ((x)&0x1F))) /* Wakeup Disable Peripheral #x */ |
758 | 706 | ||
759 | 707 | ||
760 | /* ********* WATCHDOG TIMER MASKS ******************** */ | ||
761 | |||
762 | /* Watchdog Timer WDOG_CTL Register Masks */ | ||
763 | |||
764 | #define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */ | ||
765 | #define WDEV_RESET 0x0000 /* generate reset event on roll over */ | ||
766 | #define WDEV_NMI 0x0002 /* generate NMI event on roll over */ | ||
767 | #define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */ | ||
768 | #define WDEV_NONE 0x0006 /* no event on roll over */ | ||
769 | #define WDEN 0x0FF0 /* enable watchdog */ | ||
770 | #define WDDIS 0x0AD0 /* disable watchdog */ | ||
771 | #define WDRO 0x8000 /* watchdog rolled over latch */ | ||
772 | |||
773 | /* depreciated WDOG_CTL Register Masks for legacy code */ | ||
774 | |||
775 | |||
776 | #define ICTL WDEV | ||
777 | #define ENABLE_RESET WDEV_RESET | ||
778 | #define WDOG_RESET WDEV_RESET | ||
779 | #define ENABLE_NMI WDEV_NMI | ||
780 | #define WDOG_NMI WDEV_NMI | ||
781 | #define ENABLE_GPI WDEV_GPI | ||
782 | #define WDOG_GPI WDEV_GPI | ||
783 | #define DISABLE_EVT WDEV_NONE | ||
784 | #define WDOG_NONE WDEV_NONE | ||
785 | |||
786 | #define TMR_EN WDEN | ||
787 | #define TMR_DIS WDDIS | ||
788 | #define TRO WDRO | ||
789 | #define ICTL_P0 0x01 | ||
790 | #define ICTL_P1 0x02 | ||
791 | #define TRO_P 0x0F | ||
792 | |||
793 | |||
794 | |||
795 | /* *************** REAL TIME CLOCK MASKS **************************/ | ||
796 | /* RTC_STAT and RTC_ALARM Masks */ | ||
797 | #define RTC_SEC 0x0000003F /* Real-Time Clock Seconds */ | ||
798 | #define RTC_MIN 0x00000FC0 /* Real-Time Clock Minutes */ | ||
799 | #define RTC_HR 0x0001F000 /* Real-Time Clock Hours */ | ||
800 | #define RTC_DAY 0xFFFE0000 /* Real-Time Clock Days */ | ||
801 | |||
802 | /* RTC_ALARM Macro z=day y=hr x=min w=sec */ | ||
803 | #define SET_ALARM(z,y,x,w) ((((z)&0x7FFF)<<0x11)|(((y)&0x1F)<<0xC)|(((x)&0x3F)<<0x6)|((w)&0x3F)) | ||
804 | |||
805 | /* RTC_ICTL and RTC_ISTAT Masks */ | ||
806 | #define STOPWATCH 0x0001 /* Stopwatch Interrupt Enable */ | ||
807 | #define ALARM 0x0002 /* Alarm Interrupt Enable */ | ||
808 | #define SECOND 0x0004 /* Seconds (1 Hz) Interrupt Enable */ | ||
809 | #define MINUTE 0x0008 /* Minutes Interrupt Enable */ | ||
810 | #define HOUR 0x0010 /* Hours Interrupt Enable */ | ||
811 | #define DAY 0x0020 /* 24 Hours (Days) Interrupt Enable */ | ||
812 | #define DAY_ALARM 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */ | ||
813 | #define WRITE_PENDING 0x4000 /* Write Pending Status */ | ||
814 | #define WRITE_COMPLETE 0x8000 /* Write Complete Interrupt Enable */ | ||
815 | |||
816 | /* RTC_FAST / RTC_PREN Mask */ | ||
817 | #define PREN 0x0001 /* Enable Prescaler, RTC Runs @1 Hz */ | ||
818 | |||
819 | |||
820 | /* ************** UART CONTROLLER MASKS *************************/ | 708 | /* ************** UART CONTROLLER MASKS *************************/ |
821 | /* UARTx_LCR Masks */ | 709 | /* UARTx_LCR Masks */ |
822 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ | 710 | #define WLS(x) (((x)-5) & 0x03) /* Word Length Select */ |
@@ -1381,33 +1269,6 @@ | |||
1381 | 1269 | ||
1382 | 1270 | ||
1383 | /* ************************** DMA CONTROLLER MASKS ********************************/ | 1271 | /* ************************** DMA CONTROLLER MASKS ********************************/ |
1384 | /* DMAx_CONFIG, MDMA_yy_CONFIG Masks */ | ||
1385 | #define DMAEN 0x0001 /* DMA Channel Enable */ | ||
1386 | #define WNR 0x0002 /* Channel Direction (W/R*) */ | ||
1387 | #define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */ | ||
1388 | #define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */ | ||
1389 | #define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */ | ||
1390 | #define DMA2D 0x0010 /* DMA Mode (2D/1D*) */ | ||
1391 | #define RESTART 0x0020 /* DMA Buffer Clear */ | ||
1392 | #define DI_SEL 0x0040 /* Data Interrupt Timing Select */ | ||
1393 | #define DI_EN 0x0080 /* Data Interrupt Enable */ | ||
1394 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1395 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1396 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1397 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1398 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1399 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1400 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1401 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1402 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1403 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1404 | #define NDSIZE 0x0900 /* Next Descriptor Size */ | ||
1405 | #define DMAFLOW 0x7000 /* Flow Control */ | ||
1406 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1407 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1408 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1409 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1410 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1411 | 1272 | ||
1412 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ | 1273 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ |
1413 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ | 1274 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ |
@@ -1425,13 +1286,6 @@ | |||
1425 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ | 1286 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ |
1426 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ | 1287 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ |
1427 | 1288 | ||
1428 | /* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */ | ||
1429 | #define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */ | ||
1430 | #define DMA_ERR 0x0002 /* DMA Error Interrupt Status */ | ||
1431 | #define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */ | ||
1432 | #define DMA_RUN 0x0008 /* DMA Channel Running Indicator */ | ||
1433 | |||
1434 | |||
1435 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ | 1289 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ |
1436 | /* PPI_CONTROL Masks */ | 1290 | /* PPI_CONTROL Masks */ |
1437 | #define PORT_EN 0x0001 /* PPI Port Enable */ | 1291 | #define PORT_EN 0x0001 /* PPI Port Enable */ |
@@ -1843,46 +1697,6 @@ | |||
1843 | #define BNDMODE_CAPT 0x2000 /* boundary capture mode */ | 1697 | #define BNDMODE_CAPT 0x2000 /* boundary capture mode */ |
1844 | #define BNDMODE_AEXT 0x3000 /* boundary auto-extend mode */ | 1698 | #define BNDMODE_AEXT 0x3000 /* boundary auto-extend mode */ |
1845 | 1699 | ||
1846 | /* Bit masks for OTP_CONTROL */ | ||
1847 | |||
1848 | #define FUSE_FADDR 0x1ff /* OTP/Fuse Address */ | ||
1849 | #define FIEN 0x800 /* OTP/Fuse Interrupt Enable */ | ||
1850 | #define nFIEN 0x0 | ||
1851 | #define FTESTDEC 0x1000 /* OTP/Fuse Test Decoder */ | ||
1852 | #define nFTESTDEC 0x0 | ||
1853 | #define FWRTEST 0x2000 /* OTP/Fuse Write Test */ | ||
1854 | #define nFWRTEST 0x0 | ||
1855 | #define FRDEN 0x4000 /* OTP/Fuse Read Enable */ | ||
1856 | #define nFRDEN 0x0 | ||
1857 | #define FWREN 0x8000 /* OTP/Fuse Write Enable */ | ||
1858 | #define nFWREN 0x0 | ||
1859 | |||
1860 | /* Bit masks for OTP_BEN */ | ||
1861 | |||
1862 | #define FBEN 0xffff /* OTP/Fuse Byte Enable */ | ||
1863 | |||
1864 | /* Bit masks for OTP_STATUS */ | ||
1865 | |||
1866 | #define FCOMP 0x1 /* OTP/Fuse Access Complete */ | ||
1867 | #define nFCOMP 0x0 | ||
1868 | #define FERROR 0x2 /* OTP/Fuse Access Error */ | ||
1869 | #define nFERROR 0x0 | ||
1870 | #define MMRGLOAD 0x10 /* Memory Mapped Register Gasket Load */ | ||
1871 | #define nMMRGLOAD 0x0 | ||
1872 | #define MMRGLOCK 0x20 /* Memory Mapped Register Gasket Lock */ | ||
1873 | #define nMMRGLOCK 0x0 | ||
1874 | #define FPGMEN 0x40 /* OTP/Fuse Program Enable */ | ||
1875 | #define nFPGMEN 0x0 | ||
1876 | |||
1877 | /* Bit masks for OTP_TIMING */ | ||
1878 | |||
1879 | #define USECDIV 0xff /* Micro Second Divider */ | ||
1880 | #define READACC 0x7f00 /* Read Access Time */ | ||
1881 | #define CPUMPRL 0x38000 /* Charge Pump Release Time */ | ||
1882 | #define CPUMPSU 0xc0000 /* Charge Pump Setup Time */ | ||
1883 | #define CPUMPHD 0xf00000 /* Charge Pump Hold Time */ | ||
1884 | #define PGMTIME 0xff000000 /* Program Time */ | ||
1885 | |||
1886 | /* Bit masks for SECURE_SYSSWT */ | 1700 | /* Bit masks for SECURE_SYSSWT */ |
1887 | 1701 | ||
1888 | #define EMUDABL 0x1 /* Emulation Disable. */ | 1702 | #define EMUDABL 0x1 /* Emulation Disable. */ |
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 43f43a095a99..4adceb0bdb6d 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -166,7 +166,6 @@ static struct bfin5xx_spi_chip spi_flash_chip_info = { | |||
166 | #if defined(CONFIG_BFIN_SPI_ADC) || defined(CONFIG_BFIN_SPI_ADC_MODULE) | 166 | #if defined(CONFIG_BFIN_SPI_ADC) || defined(CONFIG_BFIN_SPI_ADC_MODULE) |
167 | /* SPI ADC chip */ | 167 | /* SPI ADC chip */ |
168 | static struct bfin5xx_spi_chip spi_adc_chip_info = { | 168 | static struct bfin5xx_spi_chip spi_adc_chip_info = { |
169 | .ctl_reg = 0x1000, | ||
170 | .enable_dma = 1, /* use dma transfer with this chip*/ | 169 | .enable_dma = 1, /* use dma transfer with this chip*/ |
171 | .bits_per_word = 16, | 170 | .bits_per_word = 16, |
172 | }; | 171 | }; |
@@ -174,7 +173,6 @@ static struct bfin5xx_spi_chip spi_adc_chip_info = { | |||
174 | 173 | ||
175 | #if defined(CONFIG_SND_BLACKFIN_AD1836) || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | 174 | #if defined(CONFIG_SND_BLACKFIN_AD1836) || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) |
176 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | 175 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { |
177 | .ctl_reg = 0x1000, | ||
178 | .enable_dma = 0, | 176 | .enable_dma = 0, |
179 | .bits_per_word = 16, | 177 | .bits_per_word = 16, |
180 | }; | 178 | }; |
@@ -258,12 +256,6 @@ static struct platform_device bfin_spi0_device = { | |||
258 | }; | 256 | }; |
259 | #endif /* spi master and devices */ | 257 | #endif /* spi master and devices */ |
260 | 258 | ||
261 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | ||
262 | static struct platform_device bfin_fb_device = { | ||
263 | .name = "bf537-fb", | ||
264 | }; | ||
265 | #endif | ||
266 | |||
267 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 259 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
268 | static struct resource bfin_uart_resources[] = { | 260 | static struct resource bfin_uart_resources[] = { |
269 | { | 261 | { |
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c index 644be5e5ab6f..8ec42ba35b9e 100644 --- a/arch/blackfin/mach-bf533/boards/ip0x.c +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #endif | 20 | #endif |
21 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
22 | #include <asm/bfin5xx_spi.h> | 22 | #include <asm/bfin5xx_spi.h> |
23 | #include <asm/portmux.h> | ||
23 | 24 | ||
24 | /* | 25 | /* |
25 | * Name the Board for the /proc/cpuinfo | 26 | * Name the Board for the /proc/cpuinfo |
@@ -107,20 +108,6 @@ static struct platform_device dm9000_device2 = { | |||
107 | 108 | ||
108 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) | 109 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
109 | static struct bfin5xx_spi_chip mmc_spi_chip_info = { | 110 | static struct bfin5xx_spi_chip mmc_spi_chip_info = { |
110 | /* | ||
111 | * CPOL (Clock Polarity) | ||
112 | * 0 - Active high SCK | ||
113 | * 1 - Active low SCK | ||
114 | * CPHA (Clock Phase) Selects transfer format and operation mode | ||
115 | * 0 - SCLK toggles from middle of the first data bit, slave select | ||
116 | * pins controlled by hardware. | ||
117 | * 1 - SCLK toggles from beginning of first data bit, slave select | ||
118 | * pins controller by user software. | ||
119 | * .ctl_reg = 0x1c00, * CPOL=1,CPHA=1,Sandisk 1G work | ||
120 | * NO NO .ctl_reg = 0x1800, * CPOL=1,CPHA=0 | ||
121 | * NO NO .ctl_reg = 0x1400, * CPOL=0,CPHA=1 | ||
122 | */ | ||
123 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ | ||
124 | .enable_dma = 0, /* if 1 - block!!! */ | 111 | .enable_dma = 0, /* if 1 - block!!! */ |
125 | .bits_per_word = 8, | 112 | .bits_per_word = 8, |
126 | }; | 113 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 82f70efd66e7..6d68dcfa2da2 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -321,12 +321,6 @@ static struct platform_device bfin_spi0_device = { | |||
321 | }; | 321 | }; |
322 | #endif /* spi master and devices */ | 322 | #endif /* spi master and devices */ |
323 | 323 | ||
324 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | ||
325 | static struct platform_device bfin_fb_device = { | ||
326 | .name = "bf537-fb", | ||
327 | }; | ||
328 | #endif | ||
329 | |||
330 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 324 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
331 | static struct resource bfin_uart_resources[] = { | 325 | static struct resource bfin_uart_resources[] = { |
332 | { | 326 | { |
diff --git a/arch/blackfin/mach-bf533/include/mach/defBF532.h b/arch/blackfin/mach-bf533/include/mach/defBF532.h index 02b328eb0e07..e9ff491c0953 100644 --- a/arch/blackfin/mach-bf533/include/mach/defBF532.h +++ b/arch/blackfin/mach-bf533/include/mach/defBF532.h | |||
@@ -370,72 +370,6 @@ | |||
370 | /* System MMR Register Bits */ | 370 | /* System MMR Register Bits */ |
371 | /******************************************************************************* */ | 371 | /******************************************************************************* */ |
372 | 372 | ||
373 | /* ********************* PLL AND RESET MASKS ************************ */ | ||
374 | |||
375 | /* PLL_CTL Masks */ | ||
376 | #define PLL_CLKIN 0x0000 /* Pass CLKIN to PLL */ | ||
377 | #define PLL_CLKIN_DIV2 0x0001 /* Pass CLKIN/2 to PLL */ | ||
378 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
379 | #define PLL_OFF 0x0002 /* Shut off PLL clocks */ | ||
380 | #define STOPCK_OFF 0x0008 /* Core clock off */ | ||
381 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
382 | #define PDWN 0x0020 /* Put the PLL in a Deep Sleep state */ | ||
383 | #if !defined(__ADSPBF538__) | ||
384 | /* this file is included in defBF538.h but IN_DELAY/OUT_DELAY are different */ | ||
385 | # define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */ | ||
386 | # define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */ | ||
387 | #endif | ||
388 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
389 | /* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */ | ||
390 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
391 | |||
392 | /* PLL_DIV Masks */ | ||
393 | #define SSEL 0x000F /* System Select */ | ||
394 | #define CSEL 0x0030 /* Core Select */ | ||
395 | |||
396 | #define SCLK_DIV(x) (x) /* SCLK = VCO / x */ | ||
397 | |||
398 | #define CCLK_DIV1 0x00000000 /* CCLK = VCO / 1 */ | ||
399 | #define CCLK_DIV2 0x00000010 /* CCLK = VCO / 2 */ | ||
400 | #define CCLK_DIV4 0x00000020 /* CCLK = VCO / 4 */ | ||
401 | #define CCLK_DIV8 0x00000030 /* CCLK = VCO / 8 */ | ||
402 | /* PLL_DIV Macros */ | ||
403 | #define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
404 | |||
405 | /* PLL_STAT Masks */ | ||
406 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
407 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
408 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
409 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
410 | |||
411 | /* VR_CTL Masks */ | ||
412 | #define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */ | ||
413 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
414 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
415 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
416 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
417 | |||
418 | #define GAIN 0x000C /* Voltage Level Gain */ | ||
419 | #define GAIN_5 0x0000 /* GAIN = 5 */ | ||
420 | #define GAIN_10 0x0004 /* GAIN = 10 */ | ||
421 | #define GAIN_20 0x0008 /* GAIN = 20 */ | ||
422 | #define GAIN_50 0x000C /* GAIN = 50 */ | ||
423 | |||
424 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
425 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
426 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
427 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
428 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
429 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
430 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
431 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
432 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
433 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
434 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
435 | |||
436 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
437 | #define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */ | ||
438 | |||
439 | /* CHIPID Masks */ | 373 | /* CHIPID Masks */ |
440 | #define CHIPID_VERSION 0xF0000000 | 374 | #define CHIPID_VERSION 0xF0000000 |
441 | #define CHIPID_FAMILY 0x0FFFF000 | 375 | #define CHIPID_FAMILY 0x0FFFF000 |
@@ -703,54 +637,7 @@ | |||
703 | 637 | ||
704 | /* ********** DMA CONTROLLER MASKS *********************8 */ | 638 | /* ********** DMA CONTROLLER MASKS *********************8 */ |
705 | 639 | ||
706 | /*DMAx_CONFIG, MDMA_yy_CONFIG Masks */ | 640 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ |
707 | #define DMAEN 0x00000001 /* Channel Enable */ | ||
708 | #define WNR 0x00000002 /* Channel Direction (W/R*) */ | ||
709 | #define WDSIZE_8 0x00000000 /* Word Size 8 bits */ | ||
710 | #define WDSIZE_16 0x00000004 /* Word Size 16 bits */ | ||
711 | #define WDSIZE_32 0x00000008 /* Word Size 32 bits */ | ||
712 | #define DMA2D 0x00000010 /* 2D/1D* Mode */ | ||
713 | #define RESTART 0x00000020 /* Restart */ | ||
714 | #define DI_SEL 0x00000040 /* Data Interrupt Select */ | ||
715 | #define DI_EN 0x00000080 /* Data Interrupt Enable */ | ||
716 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
717 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
718 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
719 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
720 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
721 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
722 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
723 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
724 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
725 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
726 | #define NDSIZE 0x00000900 /* Next Descriptor Size */ | ||
727 | #define DMAFLOW 0x00007000 /* Flow Control */ | ||
728 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
729 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
730 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
731 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
732 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
733 | |||
734 | #define DMAEN_P 0 /* Channel Enable */ | ||
735 | #define WNR_P 1 /* Channel Direction (W/R*) */ | ||
736 | #define DMA2D_P 4 /* 2D/1D* Mode */ | ||
737 | #define RESTART_P 5 /* Restart */ | ||
738 | #define DI_SEL_P 6 /* Data Interrupt Select */ | ||
739 | #define DI_EN_P 7 /* Data Interrupt Enable */ | ||
740 | |||
741 | /*DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */ | ||
742 | |||
743 | #define DMA_DONE 0x00000001 /* DMA Done Indicator */ | ||
744 | #define DMA_ERR 0x00000002 /* DMA Error Indicator */ | ||
745 | #define DFETCH 0x00000004 /* Descriptor Fetch Indicator */ | ||
746 | #define DMA_RUN 0x00000008 /* DMA Running Indicator */ | ||
747 | |||
748 | #define DMA_DONE_P 0 /* DMA Done Indicator */ | ||
749 | #define DMA_ERR_P 1 /* DMA Error Indicator */ | ||
750 | #define DFETCH_P 2 /* Descriptor Fetch Indicator */ | ||
751 | #define DMA_RUN_P 3 /* DMA Running Indicator */ | ||
752 | |||
753 | /*DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ | ||
754 | 641 | ||
755 | #define CTYPE 0x00000040 /* DMA Channel Type Indicator */ | 642 | #define CTYPE 0x00000040 /* DMA Channel Type Indicator */ |
756 | #define CTYPE_P 6 /* DMA Channel Type Indicator BIT POSITION */ | 643 | #define CTYPE_P 6 /* DMA Channel Type Indicator BIT POSITION */ |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 9ba290466b56..4e0afda472ab 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -13,9 +13,6 @@ | |||
13 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
14 | #include <linux/spi/spi.h> | 14 | #include <linux/spi/spi.h> |
15 | #include <linux/spi/flash.h> | 15 | #include <linux/spi/flash.h> |
16 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
17 | #include <linux/usb/isp1362.h> | ||
18 | #endif | ||
19 | #include <linux/irq.h> | 16 | #include <linux/irq.h> |
20 | #include <asm/dma.h> | 17 | #include <asm/dma.h> |
21 | #include <asm/bfin5xx_spi.h> | 18 | #include <asm/bfin5xx_spi.h> |
@@ -147,45 +144,6 @@ static struct platform_device sl811_hcd_device = { | |||
147 | }; | 144 | }; |
148 | #endif | 145 | #endif |
149 | 146 | ||
150 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
151 | static struct resource isp1362_hcd_resources[] = { | ||
152 | { | ||
153 | .start = 0x20360000, | ||
154 | .end = 0x20360000, | ||
155 | .flags = IORESOURCE_MEM, | ||
156 | }, { | ||
157 | .start = 0x20360004, | ||
158 | .end = 0x20360004, | ||
159 | .flags = IORESOURCE_MEM, | ||
160 | }, { | ||
161 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
162 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
163 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
164 | }, | ||
165 | }; | ||
166 | |||
167 | static struct isp1362_platform_data isp1362_priv = { | ||
168 | .sel15Kres = 1, | ||
169 | .clknotstop = 0, | ||
170 | .oc_enable = 0, | ||
171 | .int_act_high = 0, | ||
172 | .int_edge_triggered = 0, | ||
173 | .remote_wakeup_connected = 0, | ||
174 | .no_power_switching = 1, | ||
175 | .power_switching_mode = 0, | ||
176 | }; | ||
177 | |||
178 | static struct platform_device isp1362_hcd_device = { | ||
179 | .name = "isp1362-hcd", | ||
180 | .id = 0, | ||
181 | .dev = { | ||
182 | .platform_data = &isp1362_priv, | ||
183 | }, | ||
184 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
185 | .resource = isp1362_hcd_resources, | ||
186 | }; | ||
187 | #endif | ||
188 | |||
189 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 147 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
190 | static struct platform_device bfin_mii_bus = { | 148 | static struct platform_device bfin_mii_bus = { |
191 | .name = "bfin_mii_bus", | 149 | .name = "bfin_mii_bus", |
@@ -492,10 +450,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
492 | &sl811_hcd_device, | 450 | &sl811_hcd_device, |
493 | #endif | 451 | #endif |
494 | 452 | ||
495 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
496 | &isp1362_hcd_device, | ||
497 | #endif | ||
498 | |||
499 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 453 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
500 | &smc91x_device, | 454 | &smc91x_device, |
501 | #endif | 455 | #endif |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index c46baa5e6d9b..ac9b52e0087c 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
11 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
12 | #include <linux/io.h> | ||
12 | #include <linux/mtd/mtd.h> | 13 | #include <linux/mtd/mtd.h> |
13 | #include <linux/mtd/nand.h> | 14 | #include <linux/mtd/nand.h> |
14 | #include <linux/mtd/partitions.h> | 15 | #include <linux/mtd/partitions.h> |
@@ -25,6 +26,8 @@ | |||
25 | #include <linux/i2c.h> | 26 | #include <linux/i2c.h> |
26 | #include <linux/usb/sl811.h> | 27 | #include <linux/usb/sl811.h> |
27 | #include <linux/spi/mmc_spi.h> | 28 | #include <linux/spi/mmc_spi.h> |
29 | #include <linux/leds.h> | ||
30 | #include <linux/input.h> | ||
28 | #include <asm/dma.h> | 31 | #include <asm/dma.h> |
29 | #include <asm/bfin5xx_spi.h> | 32 | #include <asm/bfin5xx_spi.h> |
30 | #include <asm/reboot.h> | 33 | #include <asm/reboot.h> |
@@ -65,7 +68,7 @@ static struct isp1760_platform_data isp1760_priv = { | |||
65 | }; | 68 | }; |
66 | 69 | ||
67 | static struct platform_device bfin_isp1760_device = { | 70 | static struct platform_device bfin_isp1760_device = { |
68 | .name = "isp1760-hcd", | 71 | .name = "isp1760", |
69 | .id = 0, | 72 | .id = 0, |
70 | .dev = { | 73 | .dev = { |
71 | .platform_data = &isp1760_priv, | 74 | .platform_data = &isp1760_priv, |
@@ -76,7 +79,6 @@ static struct platform_device bfin_isp1760_device = { | |||
76 | #endif | 79 | #endif |
77 | 80 | ||
78 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 81 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
79 | #include <linux/input.h> | ||
80 | #include <linux/gpio_keys.h> | 82 | #include <linux/gpio_keys.h> |
81 | 83 | ||
82 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | 84 | static struct gpio_keys_button bfin_gpio_keys_table[] = { |
@@ -195,28 +197,6 @@ static struct platform_device dm9000_device = { | |||
195 | }; | 197 | }; |
196 | #endif | 198 | #endif |
197 | 199 | ||
198 | #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) | ||
199 | static struct resource ax88180_resources[] = { | ||
200 | [0] = { | ||
201 | .start = 0x20300000, | ||
202 | .end = 0x20300000 + 0x8000, | ||
203 | .flags = IORESOURCE_MEM, | ||
204 | }, | ||
205 | [1] = { | ||
206 | .start = IRQ_PF7, | ||
207 | .end = IRQ_PF7, | ||
208 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL), | ||
209 | }, | ||
210 | }; | ||
211 | |||
212 | static struct platform_device ax88180_device = { | ||
213 | .name = "ax88180", | ||
214 | .id = -1, | ||
215 | .num_resources = ARRAY_SIZE(ax88180_resources), | ||
216 | .resource = ax88180_resources, | ||
217 | }; | ||
218 | #endif | ||
219 | |||
220 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | 200 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) |
221 | static struct resource sl811_hcd_resources[] = { | 201 | static struct resource sl811_hcd_resources[] = { |
222 | { | 202 | { |
@@ -272,8 +252,8 @@ static struct resource isp1362_hcd_resources[] = { | |||
272 | .end = 0x20360004, | 252 | .end = 0x20360004, |
273 | .flags = IORESOURCE_MEM, | 253 | .flags = IORESOURCE_MEM, |
274 | }, { | 254 | }, { |
275 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 255 | .start = IRQ_PF3, |
276 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 256 | .end = IRQ_PF3, |
277 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 257 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
278 | }, | 258 | }, |
279 | }; | 259 | }; |
@@ -300,6 +280,44 @@ static struct platform_device isp1362_hcd_device = { | |||
300 | }; | 280 | }; |
301 | #endif | 281 | #endif |
302 | 282 | ||
283 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | ||
284 | unsigned short bfin_can_peripherals[] = { | ||
285 | P_CAN0_RX, P_CAN0_TX, 0 | ||
286 | }; | ||
287 | |||
288 | static struct resource bfin_can_resources[] = { | ||
289 | { | ||
290 | .start = 0xFFC02A00, | ||
291 | .end = 0xFFC02FFF, | ||
292 | .flags = IORESOURCE_MEM, | ||
293 | }, | ||
294 | { | ||
295 | .start = IRQ_CAN_RX, | ||
296 | .end = IRQ_CAN_RX, | ||
297 | .flags = IORESOURCE_IRQ, | ||
298 | }, | ||
299 | { | ||
300 | .start = IRQ_CAN_TX, | ||
301 | .end = IRQ_CAN_TX, | ||
302 | .flags = IORESOURCE_IRQ, | ||
303 | }, | ||
304 | { | ||
305 | .start = IRQ_CAN_ERROR, | ||
306 | .end = IRQ_CAN_ERROR, | ||
307 | .flags = IORESOURCE_IRQ, | ||
308 | }, | ||
309 | }; | ||
310 | |||
311 | static struct platform_device bfin_can_device = { | ||
312 | .name = "bfin_can", | ||
313 | .num_resources = ARRAY_SIZE(bfin_can_resources), | ||
314 | .resource = bfin_can_resources, | ||
315 | .dev = { | ||
316 | .platform_data = &bfin_can_peripherals, /* Passed to driver */ | ||
317 | }, | ||
318 | }; | ||
319 | #endif | ||
320 | |||
303 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 321 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
304 | static struct platform_device bfin_mii_bus = { | 322 | static struct platform_device bfin_mii_bus = { |
305 | .name = "bfin_mii_bus", | 323 | .name = "bfin_mii_bus", |
@@ -514,15 +532,14 @@ static struct bfin5xx_spi_chip ad1938_spi_chip_info = { | |||
514 | }; | 532 | }; |
515 | #endif | 533 | #endif |
516 | 534 | ||
517 | #if defined(CONFIG_INPUT_EVAL_AD7147EBZ) | 535 | #if defined(CONFIG_INPUT_AD714X_SPI) || defined(CONFIG_INPUT_AD714X_SPI_MODULE) |
518 | #include <linux/input.h> | ||
519 | #include <linux/input/ad714x.h> | 536 | #include <linux/input/ad714x.h> |
520 | static struct bfin5xx_spi_chip ad7147_spi_chip_info = { | 537 | static struct bfin5xx_spi_chip ad7147_spi_chip_info = { |
521 | .enable_dma = 0, | 538 | .enable_dma = 0, |
522 | .bits_per_word = 16, | 539 | .bits_per_word = 16, |
523 | }; | 540 | }; |
524 | 541 | ||
525 | static struct ad714x_slider_plat slider_plat[] = { | 542 | static struct ad714x_slider_plat ad7147_spi_slider_plat[] = { |
526 | { | 543 | { |
527 | .start_stage = 0, | 544 | .start_stage = 0, |
528 | .end_stage = 7, | 545 | .end_stage = 7, |
@@ -530,7 +547,7 @@ static struct ad714x_slider_plat slider_plat[] = { | |||
530 | }, | 547 | }, |
531 | }; | 548 | }; |
532 | 549 | ||
533 | static struct ad714x_button_plat button_plat[] = { | 550 | static struct ad714x_button_plat ad7147_spi_button_plat[] = { |
534 | { | 551 | { |
535 | .keycode = BTN_FORWARD, | 552 | .keycode = BTN_FORWARD, |
536 | .l_mask = 0, | 553 | .l_mask = 0, |
@@ -557,11 +574,11 @@ static struct ad714x_button_plat button_plat[] = { | |||
557 | .h_mask = 0x400, | 574 | .h_mask = 0x400, |
558 | }, | 575 | }, |
559 | }; | 576 | }; |
560 | static struct ad714x_platform_data ad7147_platfrom_data = { | 577 | static struct ad714x_platform_data ad7147_spi_platform_data = { |
561 | .slider_num = 1, | 578 | .slider_num = 1, |
562 | .button_num = 5, | 579 | .button_num = 5, |
563 | .slider = slider_plat, | 580 | .slider = ad7147_spi_slider_plat, |
564 | .button = button_plat, | 581 | .button = ad7147_spi_button_plat, |
565 | .stage_cfg_reg = { | 582 | .stage_cfg_reg = { |
566 | {0xFBFF, 0x1FFF, 0, 0x2626, 1600, 1600, 1600, 1600}, | 583 | {0xFBFF, 0x1FFF, 0, 0x2626, 1600, 1600, 1600, 1600}, |
567 | {0xEFFF, 0x1FFF, 0, 0x2626, 1650, 1650, 1650, 1650}, | 584 | {0xEFFF, 0x1FFF, 0, 0x2626, 1650, 1650, 1650, 1650}, |
@@ -580,10 +597,9 @@ static struct ad714x_platform_data ad7147_platfrom_data = { | |||
580 | }; | 597 | }; |
581 | #endif | 598 | #endif |
582 | 599 | ||
583 | #if defined(CONFIG_INPUT_EVAL_AD7142EB) | 600 | #if defined(CONFIG_INPUT_AD714X_I2C) || defined(CONFIG_INPUT_AD714X_I2C_MODULE) |
584 | #include <linux/input.h> | ||
585 | #include <linux/input/ad714x.h> | 601 | #include <linux/input/ad714x.h> |
586 | static struct ad714x_button_plat button_plat[] = { | 602 | static struct ad714x_button_plat ad7142_i2c_button_plat[] = { |
587 | { | 603 | { |
588 | .keycode = BTN_1, | 604 | .keycode = BTN_1, |
589 | .l_mask = 0, | 605 | .l_mask = 0, |
@@ -605,9 +621,9 @@ static struct ad714x_button_plat button_plat[] = { | |||
605 | .h_mask = 0x8, | 621 | .h_mask = 0x8, |
606 | }, | 622 | }, |
607 | }; | 623 | }; |
608 | static struct ad714x_platform_data ad7142_platfrom_data = { | 624 | static struct ad714x_platform_data ad7142_i2c_platform_data = { |
609 | .button_num = 4, | 625 | .button_num = 4, |
610 | .button = button_plat, | 626 | .button = ad7142_i2c_button_plat, |
611 | .stage_cfg_reg = { | 627 | .stage_cfg_reg = { |
612 | /* fixme: figure out right setting for all comoponent according | 628 | /* fixme: figure out right setting for all comoponent according |
613 | * to hardware feature of EVAL-AD7142EB board */ | 629 | * to hardware feature of EVAL-AD7142EB board */ |
@@ -696,8 +712,7 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = { | |||
696 | #endif | 712 | #endif |
697 | 713 | ||
698 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) | 714 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) |
699 | #include <linux/input.h> | 715 | #include <linux/input/adxl34x.h> |
700 | #include <linux/spi/adxl34x.h> | ||
701 | static const struct adxl34x_platform_data adxl34x_info = { | 716 | static const struct adxl34x_platform_data adxl34x_info = { |
702 | .x_axis_offset = 0, | 717 | .x_axis_offset = 0, |
703 | .y_axis_offset = 0, | 718 | .y_axis_offset = 0, |
@@ -721,9 +736,7 @@ static const struct adxl34x_platform_data adxl34x_info = { | |||
721 | .ev_code_y = ABS_Y, /* EV_REL */ | 736 | .ev_code_y = ABS_Y, /* EV_REL */ |
722 | .ev_code_z = ABS_Z, /* EV_REL */ | 737 | .ev_code_z = ABS_Z, /* EV_REL */ |
723 | 738 | ||
724 | .ev_code_tap_x = BTN_TOUCH, /* EV_KEY */ | 739 | .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */ |
725 | .ev_code_tap_y = BTN_TOUCH, /* EV_KEY */ | ||
726 | .ev_code_tap_z = BTN_TOUCH, /* EV_KEY */ | ||
727 | 740 | ||
728 | /* .ev_code_ff = KEY_F,*/ /* EV_KEY */ | 741 | /* .ev_code_ff = KEY_F,*/ /* EV_KEY */ |
729 | /* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */ | 742 | /* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */ |
@@ -761,6 +774,47 @@ static struct bfin5xx_spi_chip enc28j60_spi_chip_info = { | |||
761 | }; | 774 | }; |
762 | #endif | 775 | #endif |
763 | 776 | ||
777 | #if defined(CONFIG_ADF702X) || defined(CONFIG_ADF702X_MODULE) | ||
778 | static struct bfin5xx_spi_chip adf7021_spi_chip_info = { | ||
779 | .bits_per_word = 16, | ||
780 | .cs_gpio = GPIO_PF10, | ||
781 | }; | ||
782 | |||
783 | #include <linux/spi/adf702x.h> | ||
784 | #define TXREG 0x0160A470 | ||
785 | static const u32 adf7021_regs[] = { | ||
786 | 0x09608FA0, | ||
787 | 0x00575011, | ||
788 | 0x00A7F092, | ||
789 | 0x2B141563, | ||
790 | 0x81F29E94, | ||
791 | 0x00003155, | ||
792 | 0x050A4F66, | ||
793 | 0x00000007, | ||
794 | 0x00000008, | ||
795 | 0x000231E9, | ||
796 | 0x3296354A, | ||
797 | 0x891A2B3B, | ||
798 | 0x00000D9C, | ||
799 | 0x0000000D, | ||
800 | 0x0000000E, | ||
801 | 0x0000000F, | ||
802 | }; | ||
803 | |||
804 | static struct adf702x_platform_data adf7021_platform_data = { | ||
805 | .regs_base = (void *)SPORT1_TCR1, | ||
806 | .dma_ch_rx = CH_SPORT1_RX, | ||
807 | .dma_ch_tx = CH_SPORT1_TX, | ||
808 | .irq_sport_err = IRQ_SPORT1_ERROR, | ||
809 | .gpio_int_rfs = GPIO_PF8, | ||
810 | .pin_req = {P_SPORT1_DTPRI, P_SPORT1_RFS, P_SPORT1_DRPRI, | ||
811 | P_SPORT1_RSCLK, P_SPORT1_TSCLK, 0}, | ||
812 | .adf702x_model = MODEL_ADF7021, | ||
813 | .adf702x_regs = adf7021_regs, | ||
814 | .tx_reg = TXREG, | ||
815 | }; | ||
816 | #endif | ||
817 | |||
764 | #if defined(CONFIG_MTD_DATAFLASH) \ | 818 | #if defined(CONFIG_MTD_DATAFLASH) \ |
765 | || defined(CONFIG_MTD_DATAFLASH_MODULE) | 819 | || defined(CONFIG_MTD_DATAFLASH_MODULE) |
766 | 820 | ||
@@ -794,6 +848,13 @@ static struct bfin5xx_spi_chip data_flash_chip_info = { | |||
794 | }; | 848 | }; |
795 | #endif | 849 | #endif |
796 | 850 | ||
851 | #if defined(CONFIG_INPUT_ADXL34X_SPI) || defined(CONFIG_INPUT_ADXL34X_SPI_MODULE) | ||
852 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { | ||
853 | .enable_dma = 0, /* use dma transfer with this chip*/ | ||
854 | .bits_per_word = 8, | ||
855 | }; | ||
856 | #endif | ||
857 | |||
797 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | 858 | static struct spi_board_info bfin_spi_board_info[] __initdata = { |
798 | #if defined(CONFIG_MTD_M25P80) \ | 859 | #if defined(CONFIG_MTD_M25P80) \ |
799 | || defined(CONFIG_MTD_M25P80_MODULE) | 860 | || defined(CONFIG_MTD_M25P80_MODULE) |
@@ -855,7 +916,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
855 | }, | 916 | }, |
856 | #endif | 917 | #endif |
857 | 918 | ||
858 | #if defined(CONFIG_INPUT_EVAL_AD7147EBZ) | 919 | #if defined(CONFIG_INPUT_AD714X_SPI) || defined(CONFIG_INPUT_AD714X_SPI_MODULE) |
859 | { | 920 | { |
860 | .modalias = "ad714x_captouch", | 921 | .modalias = "ad714x_captouch", |
861 | .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */ | 922 | .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */ |
@@ -863,7 +924,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
863 | .bus_num = 0, | 924 | .bus_num = 0, |
864 | .chip_select = 5, | 925 | .chip_select = 5, |
865 | .mode = SPI_MODE_3, | 926 | .mode = SPI_MODE_3, |
866 | .platform_data = &ad7147_platfrom_data, | 927 | .platform_data = &ad7147_spi_platform_data, |
867 | .controller_data = &ad7147_spi_chip_info, | 928 | .controller_data = &ad7147_spi_chip_info, |
868 | }, | 929 | }, |
869 | #endif | 930 | #endif |
@@ -932,6 +993,30 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
932 | .mode = SPI_MODE_0, | 993 | .mode = SPI_MODE_0, |
933 | }, | 994 | }, |
934 | #endif | 995 | #endif |
996 | #if defined(CONFIG_INPUT_ADXL34X_SPI) || defined(CONFIG_INPUT_ADXL34X_SPI_MODULE) | ||
997 | { | ||
998 | .modalias = "adxl34x", | ||
999 | .platform_data = &adxl34x_info, | ||
1000 | .irq = IRQ_PF6, | ||
1001 | .max_speed_hz = 5000000, /* max spi clock (SCK) speed in HZ */ | ||
1002 | .bus_num = 0, | ||
1003 | .chip_select = 2, | ||
1004 | .controller_data = &spi_adxl34x_chip_info, | ||
1005 | .mode = SPI_MODE_3, | ||
1006 | }, | ||
1007 | #endif | ||
1008 | #if defined(CONFIG_ADF702X) || defined(CONFIG_ADF702X_MODULE) | ||
1009 | { | ||
1010 | .modalias = "adf702x", | ||
1011 | .max_speed_hz = 16000000, /* max spi clock (SCK) speed in HZ */ | ||
1012 | .bus_num = 0, | ||
1013 | .chip_select = 0, /* GPIO controlled SSEL */ | ||
1014 | .controller_data = &adf7021_spi_chip_info, | ||
1015 | .platform_data = &adf7021_platform_data, | ||
1016 | .mode = SPI_MODE_0, | ||
1017 | }, | ||
1018 | #endif | ||
1019 | |||
935 | }; | 1020 | }; |
936 | 1021 | ||
937 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 1022 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
@@ -1175,7 +1260,6 @@ static struct platform_device i2c_bfin_twi_device = { | |||
1175 | #endif | 1260 | #endif |
1176 | 1261 | ||
1177 | #if defined(CONFIG_KEYBOARD_ADP5588) || defined(CONFIG_KEYBOARD_ADP5588_MODULE) | 1262 | #if defined(CONFIG_KEYBOARD_ADP5588) || defined(CONFIG_KEYBOARD_ADP5588_MODULE) |
1178 | #include <linux/input.h> | ||
1179 | #include <linux/i2c/adp5588.h> | 1263 | #include <linux/i2c/adp5588.h> |
1180 | static const unsigned short adp5588_keymap[ADP5588_KEYMAPSIZE] = { | 1264 | static const unsigned short adp5588_keymap[ADP5588_KEYMAPSIZE] = { |
1181 | [0] = KEY_GRAVE, | 1265 | [0] = KEY_GRAVE, |
@@ -1268,35 +1352,33 @@ static struct adp5588_kpad_platform_data adp5588_kpad_data = { | |||
1268 | * ADP5520/5501 Backlight Data | 1352 | * ADP5520/5501 Backlight Data |
1269 | */ | 1353 | */ |
1270 | 1354 | ||
1271 | static struct adp5520_backlight_platfrom_data adp5520_backlight_data = { | 1355 | static struct adp5520_backlight_platform_data adp5520_backlight_data = { |
1272 | .fade_in = FADE_T_1200ms, | 1356 | .fade_in = ADP5520_FADE_T_1200ms, |
1273 | .fade_out = FADE_T_1200ms, | 1357 | .fade_out = ADP5520_FADE_T_1200ms, |
1274 | .fade_led_law = BL_LAW_LINEAR, | 1358 | .fade_led_law = ADP5520_BL_LAW_LINEAR, |
1275 | .en_ambl_sens = 1, | 1359 | .en_ambl_sens = 1, |
1276 | .abml_filt = BL_AMBL_FILT_640ms, | 1360 | .abml_filt = ADP5520_BL_AMBL_FILT_640ms, |
1277 | .l1_daylight_max = BL_CUR_mA(15), | 1361 | .l1_daylight_max = ADP5520_BL_CUR_mA(15), |
1278 | .l1_daylight_dim = BL_CUR_mA(0), | 1362 | .l1_daylight_dim = ADP5520_BL_CUR_mA(0), |
1279 | .l2_office_max = BL_CUR_mA(7), | 1363 | .l2_office_max = ADP5520_BL_CUR_mA(7), |
1280 | .l2_office_dim = BL_CUR_mA(0), | 1364 | .l2_office_dim = ADP5520_BL_CUR_mA(0), |
1281 | .l3_dark_max = BL_CUR_mA(3), | 1365 | .l3_dark_max = ADP5520_BL_CUR_mA(3), |
1282 | .l3_dark_dim = BL_CUR_mA(0), | 1366 | .l3_dark_dim = ADP5520_BL_CUR_mA(0), |
1283 | .l2_trip = L2_COMP_CURR_uA(700), | 1367 | .l2_trip = ADP5520_L2_COMP_CURR_uA(700), |
1284 | .l2_hyst = L2_COMP_CURR_uA(50), | 1368 | .l2_hyst = ADP5520_L2_COMP_CURR_uA(50), |
1285 | .l3_trip = L3_COMP_CURR_uA(80), | 1369 | .l3_trip = ADP5520_L3_COMP_CURR_uA(80), |
1286 | .l3_hyst = L3_COMP_CURR_uA(20), | 1370 | .l3_hyst = ADP5520_L3_COMP_CURR_uA(20), |
1287 | }; | 1371 | }; |
1288 | 1372 | ||
1289 | /* | 1373 | /* |
1290 | * ADP5520/5501 LEDs Data | 1374 | * ADP5520/5501 LEDs Data |
1291 | */ | 1375 | */ |
1292 | 1376 | ||
1293 | #include <linux/leds.h> | ||
1294 | |||
1295 | static struct led_info adp5520_leds[] = { | 1377 | static struct led_info adp5520_leds[] = { |
1296 | { | 1378 | { |
1297 | .name = "adp5520-led1", | 1379 | .name = "adp5520-led1", |
1298 | .default_trigger = "none", | 1380 | .default_trigger = "none", |
1299 | .flags = FLAG_ID_ADP5520_LED1_ADP5501_LED0 | LED_OFFT_600ms, | 1381 | .flags = FLAG_ID_ADP5520_LED1_ADP5501_LED0 | ADP5520_LED_OFFT_600ms, |
1300 | }, | 1382 | }, |
1301 | #ifdef ADP5520_EN_ALL_LEDS | 1383 | #ifdef ADP5520_EN_ALL_LEDS |
1302 | { | 1384 | { |
@@ -1312,51 +1394,50 @@ static struct led_info adp5520_leds[] = { | |||
1312 | #endif | 1394 | #endif |
1313 | }; | 1395 | }; |
1314 | 1396 | ||
1315 | static struct adp5520_leds_platfrom_data adp5520_leds_data = { | 1397 | static struct adp5520_leds_platform_data adp5520_leds_data = { |
1316 | .num_leds = ARRAY_SIZE(adp5520_leds), | 1398 | .num_leds = ARRAY_SIZE(adp5520_leds), |
1317 | .leds = adp5520_leds, | 1399 | .leds = adp5520_leds, |
1318 | .fade_in = FADE_T_600ms, | 1400 | .fade_in = ADP5520_FADE_T_600ms, |
1319 | .fade_out = FADE_T_600ms, | 1401 | .fade_out = ADP5520_FADE_T_600ms, |
1320 | .led_on_time = LED_ONT_600ms, | 1402 | .led_on_time = ADP5520_LED_ONT_600ms, |
1321 | }; | 1403 | }; |
1322 | 1404 | ||
1323 | /* | 1405 | /* |
1324 | * ADP5520 GPIO Data | 1406 | * ADP5520 GPIO Data |
1325 | */ | 1407 | */ |
1326 | 1408 | ||
1327 | static struct adp5520_gpio_platfrom_data adp5520_gpio_data = { | 1409 | static struct adp5520_gpio_platform_data adp5520_gpio_data = { |
1328 | .gpio_start = 50, | 1410 | .gpio_start = 50, |
1329 | .gpio_en_mask = GPIO_C1 | GPIO_C2 | GPIO_R2, | 1411 | .gpio_en_mask = ADP5520_GPIO_C1 | ADP5520_GPIO_C2 | ADP5520_GPIO_R2, |
1330 | .gpio_pullup_mask = GPIO_C1 | GPIO_C2 | GPIO_R2, | 1412 | .gpio_pullup_mask = ADP5520_GPIO_C1 | ADP5520_GPIO_C2 | ADP5520_GPIO_R2, |
1331 | }; | 1413 | }; |
1332 | 1414 | ||
1333 | /* | 1415 | /* |
1334 | * ADP5520 Keypad Data | 1416 | * ADP5520 Keypad Data |
1335 | */ | 1417 | */ |
1336 | 1418 | ||
1337 | #include <linux/input.h> | ||
1338 | static const unsigned short adp5520_keymap[ADP5520_KEYMAPSIZE] = { | 1419 | static const unsigned short adp5520_keymap[ADP5520_KEYMAPSIZE] = { |
1339 | [KEY(0, 0)] = KEY_GRAVE, | 1420 | [ADP5520_KEY(0, 0)] = KEY_GRAVE, |
1340 | [KEY(0, 1)] = KEY_1, | 1421 | [ADP5520_KEY(0, 1)] = KEY_1, |
1341 | [KEY(0, 2)] = KEY_2, | 1422 | [ADP5520_KEY(0, 2)] = KEY_2, |
1342 | [KEY(0, 3)] = KEY_3, | 1423 | [ADP5520_KEY(0, 3)] = KEY_3, |
1343 | [KEY(1, 0)] = KEY_4, | 1424 | [ADP5520_KEY(1, 0)] = KEY_4, |
1344 | [KEY(1, 1)] = KEY_5, | 1425 | [ADP5520_KEY(1, 1)] = KEY_5, |
1345 | [KEY(1, 2)] = KEY_6, | 1426 | [ADP5520_KEY(1, 2)] = KEY_6, |
1346 | [KEY(1, 3)] = KEY_7, | 1427 | [ADP5520_KEY(1, 3)] = KEY_7, |
1347 | [KEY(2, 0)] = KEY_8, | 1428 | [ADP5520_KEY(2, 0)] = KEY_8, |
1348 | [KEY(2, 1)] = KEY_9, | 1429 | [ADP5520_KEY(2, 1)] = KEY_9, |
1349 | [KEY(2, 2)] = KEY_0, | 1430 | [ADP5520_KEY(2, 2)] = KEY_0, |
1350 | [KEY(2, 3)] = KEY_MINUS, | 1431 | [ADP5520_KEY(2, 3)] = KEY_MINUS, |
1351 | [KEY(3, 0)] = KEY_EQUAL, | 1432 | [ADP5520_KEY(3, 0)] = KEY_EQUAL, |
1352 | [KEY(3, 1)] = KEY_BACKSLASH, | 1433 | [ADP5520_KEY(3, 1)] = KEY_BACKSLASH, |
1353 | [KEY(3, 2)] = KEY_BACKSPACE, | 1434 | [ADP5520_KEY(3, 2)] = KEY_BACKSPACE, |
1354 | [KEY(3, 3)] = KEY_ENTER, | 1435 | [ADP5520_KEY(3, 3)] = KEY_ENTER, |
1355 | }; | 1436 | }; |
1356 | 1437 | ||
1357 | static struct adp5520_keys_platfrom_data adp5520_keys_data = { | 1438 | static struct adp5520_keys_platform_data adp5520_keys_data = { |
1358 | .rows_en_mask = ROW_R3 | ROW_R2 | ROW_R1 | ROW_R0, | 1439 | .rows_en_mask = ADP5520_ROW_R3 | ADP5520_ROW_R2 | ADP5520_ROW_R1 | ADP5520_ROW_R0, |
1359 | .cols_en_mask = COL_C3 | COL_C2 | COL_C1 | COL_C0, | 1440 | .cols_en_mask = ADP5520_COL_C3 | ADP5520_COL_C2 | ADP5520_COL_C1 | ADP5520_COL_C0, |
1360 | .keymap = adp5520_keymap, | 1441 | .keymap = adp5520_keymap, |
1361 | .keymapsize = ARRAY_SIZE(adp5520_keymap), | 1442 | .keymapsize = ARRAY_SIZE(adp5520_keymap), |
1362 | .repeat = 0, | 1443 | .repeat = 0, |
@@ -1366,50 +1447,81 @@ static struct adp5520_keys_platfrom_data adp5520_keys_data = { | |||
1366 | * ADP5520/5501 Multifuction Device Init Data | 1447 | * ADP5520/5501 Multifuction Device Init Data |
1367 | */ | 1448 | */ |
1368 | 1449 | ||
1369 | static struct adp5520_subdev_info adp5520_subdevs[] = { | ||
1370 | { | ||
1371 | .name = "adp5520-backlight", | ||
1372 | .id = ID_ADP5520, | ||
1373 | .platform_data = &adp5520_backlight_data, | ||
1374 | }, | ||
1375 | { | ||
1376 | .name = "adp5520-led", | ||
1377 | .id = ID_ADP5520, | ||
1378 | .platform_data = &adp5520_leds_data, | ||
1379 | }, | ||
1380 | { | ||
1381 | .name = "adp5520-gpio", | ||
1382 | .id = ID_ADP5520, | ||
1383 | .platform_data = &adp5520_gpio_data, | ||
1384 | }, | ||
1385 | { | ||
1386 | .name = "adp5520-keys", | ||
1387 | .id = ID_ADP5520, | ||
1388 | .platform_data = &adp5520_keys_data, | ||
1389 | }, | ||
1390 | }; | ||
1391 | |||
1392 | static struct adp5520_platform_data adp5520_pdev_data = { | 1450 | static struct adp5520_platform_data adp5520_pdev_data = { |
1393 | .num_subdevs = ARRAY_SIZE(adp5520_subdevs), | 1451 | .backlight = &adp5520_backlight_data, |
1394 | .subdevs = adp5520_subdevs, | 1452 | .leds = &adp5520_leds_data, |
1453 | .gpio = &adp5520_gpio_data, | ||
1454 | .keys = &adp5520_keys_data, | ||
1395 | }; | 1455 | }; |
1396 | 1456 | ||
1397 | #endif | 1457 | #endif |
1398 | 1458 | ||
1399 | #if defined(CONFIG_GPIO_ADP5588) || defined(CONFIG_GPIO_ADP5588_MODULE) | 1459 | #if defined(CONFIG_GPIO_ADP5588) || defined(CONFIG_GPIO_ADP5588_MODULE) |
1400 | #include <linux/i2c/adp5588.h> | 1460 | #include <linux/i2c/adp5588.h> |
1401 | static struct adp5588_gpio_platfrom_data adp5588_gpio_data = { | 1461 | static struct adp5588_gpio_platform_data adp5588_gpio_data = { |
1402 | .gpio_start = 50, | 1462 | .gpio_start = 50, |
1403 | .pullup_dis_mask = 0, | 1463 | .pullup_dis_mask = 0, |
1404 | }; | 1464 | }; |
1405 | #endif | 1465 | #endif |
1406 | 1466 | ||
1467 | #if defined(CONFIG_BACKLIGHT_ADP8870) || defined(CONFIG_BACKLIGHT_ADP8870_MODULE) | ||
1468 | #include <linux/i2c/adp8870.h> | ||
1469 | static struct led_info adp8870_leds[] = { | ||
1470 | { | ||
1471 | .name = "adp8870-led7", | ||
1472 | .default_trigger = "none", | ||
1473 | .flags = ADP8870_LED_D7 | ADP8870_LED_OFFT_600ms, | ||
1474 | }, | ||
1475 | }; | ||
1476 | |||
1477 | |||
1478 | static struct adp8870_backlight_platform_data adp8870_pdata = { | ||
1479 | .bl_led_assign = ADP8870_BL_D1 | ADP8870_BL_D2 | ADP8870_BL_D3 | | ||
1480 | ADP8870_BL_D4 | ADP8870_BL_D5 | ADP8870_BL_D6, /* 1 = Backlight 0 = Individual LED */ | ||
1481 | .pwm_assign = 0, /* 1 = Enables PWM mode */ | ||
1482 | |||
1483 | .bl_fade_in = ADP8870_FADE_T_1200ms, /* Backlight Fade-In Timer */ | ||
1484 | .bl_fade_out = ADP8870_FADE_T_1200ms, /* Backlight Fade-Out Timer */ | ||
1485 | .bl_fade_law = ADP8870_FADE_LAW_CUBIC1, /* fade-on/fade-off transfer characteristic */ | ||
1486 | |||
1487 | .en_ambl_sens = 1, /* 1 = enable ambient light sensor */ | ||
1488 | .abml_filt = ADP8870_BL_AMBL_FILT_320ms, /* Light sensor filter time */ | ||
1489 | |||
1490 | .l1_daylight_max = ADP8870_BL_CUR_mA(20), /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1491 | .l1_daylight_dim = ADP8870_BL_CUR_mA(0), /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1492 | .l2_bright_max = ADP8870_BL_CUR_mA(14), /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1493 | .l2_bright_dim = ADP8870_BL_CUR_mA(0), /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1494 | .l3_office_max = ADP8870_BL_CUR_mA(6), /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1495 | .l3_office_dim = ADP8870_BL_CUR_mA(0), /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1496 | .l4_indoor_max = ADP8870_BL_CUR_mA(3), /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1497 | .l4_indor_dim = ADP8870_BL_CUR_mA(0), /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1498 | .l5_dark_max = ADP8870_BL_CUR_mA(2), /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1499 | .l5_dark_dim = ADP8870_BL_CUR_mA(0), /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */ | ||
1500 | |||
1501 | .l2_trip = ADP8870_L2_COMP_CURR_uA(710), /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */ | ||
1502 | .l2_hyst = ADP8870_L2_COMP_CURR_uA(73), /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */ | ||
1503 | .l3_trip = ADP8870_L3_COMP_CURR_uA(389), /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */ | ||
1504 | .l3_hyst = ADP8870_L3_COMP_CURR_uA(54), /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */ | ||
1505 | .l4_trip = ADP8870_L4_COMP_CURR_uA(167), /* use L4_COMP_CURR_uA(I) 0 <= I <= 275 uA */ | ||
1506 | .l4_hyst = ADP8870_L4_COMP_CURR_uA(16), /* use L4_COMP_CURR_uA(I) 0 <= I <= 275 uA */ | ||
1507 | .l5_trip = ADP8870_L5_COMP_CURR_uA(43), /* use L5_COMP_CURR_uA(I) 0 <= I <= 138 uA */ | ||
1508 | .l5_hyst = ADP8870_L5_COMP_CURR_uA(11), /* use L6_COMP_CURR_uA(I) 0 <= I <= 138 uA */ | ||
1509 | |||
1510 | .leds = adp8870_leds, | ||
1511 | .num_leds = ARRAY_SIZE(adp8870_leds), | ||
1512 | .led_fade_law = ADP8870_FADE_LAW_SQUARE, /* fade-on/fade-off transfer characteristic */ | ||
1513 | .led_fade_in = ADP8870_FADE_T_600ms, | ||
1514 | .led_fade_out = ADP8870_FADE_T_600ms, | ||
1515 | .led_on_time = ADP8870_LED_ONT_200ms, | ||
1516 | }; | ||
1517 | #endif | ||
1518 | |||
1407 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | 1519 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { |
1408 | #if defined(CONFIG_INPUT_EVAL_AD7142EB) | 1520 | #if defined(CONFIG_INPUT_AD714X_I2C) || defined(CONFIG_INPUT_AD714X_I2C_MODULE) |
1409 | { | 1521 | { |
1410 | I2C_BOARD_INFO("ad7142_captouch", 0x2C), | 1522 | I2C_BOARD_INFO("ad7142_captouch", 0x2C), |
1411 | .irq = IRQ_PG5, | 1523 | .irq = IRQ_PG5, |
1412 | .platform_data = (void *)&ad7142_platfrom_data, | 1524 | .platform_data = (void *)&ad7142_i2c_platform_data, |
1413 | }, | 1525 | }, |
1414 | #endif | 1526 | #endif |
1415 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) | 1527 | #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) |
@@ -1462,6 +1574,32 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1462 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | 1574 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), |
1463 | }, | 1575 | }, |
1464 | #endif | 1576 | #endif |
1577 | #if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE) | ||
1578 | { | ||
1579 | I2C_BOARD_INFO("bf537-lq035-ad5280", 0x2C), | ||
1580 | }, | ||
1581 | #endif | ||
1582 | #if defined(CONFIG_BACKLIGHT_ADP8870) || defined(CONFIG_BACKLIGHT_ADP8870_MODULE) | ||
1583 | { | ||
1584 | I2C_BOARD_INFO("adp8870", 0x2B), | ||
1585 | .platform_data = (void *)&adp8870_pdata, | ||
1586 | }, | ||
1587 | #endif | ||
1588 | #if defined(CONFIG_SND_SOC_ADAU1371) || defined(CONFIG_SND_SOC_ADAU1371_MODULE) | ||
1589 | { | ||
1590 | I2C_BOARD_INFO("adau1371", 0x1A), | ||
1591 | }, | ||
1592 | #endif | ||
1593 | #if defined(CONFIG_SND_SOC_ADAU1761) || defined(CONFIG_SND_SOC_ADAU1761_MODULE) | ||
1594 | { | ||
1595 | I2C_BOARD_INFO("adau1761", 0x38), | ||
1596 | }, | ||
1597 | #endif | ||
1598 | #if defined(CONFIG_AD525X_DPOT) || defined(CONFIG_AD525X_DPOT_MODULE) | ||
1599 | { | ||
1600 | I2C_BOARD_INFO("ad5258", 0x18), | ||
1601 | }, | ||
1602 | #endif | ||
1465 | }; | 1603 | }; |
1466 | 1604 | ||
1467 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1605 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -1602,8 +1740,8 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1602 | &dm9000_device, | 1740 | &dm9000_device, |
1603 | #endif | 1741 | #endif |
1604 | 1742 | ||
1605 | #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) | 1743 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
1606 | &ax88180_device, | 1744 | &bfin_can_device, |
1607 | #endif | 1745 | #endif |
1608 | 1746 | ||
1609 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 1747 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
diff --git a/arch/blackfin/mach-bf537/include/mach/bf537.h b/arch/blackfin/mach-bf537/include/mach/bf537.h index 17fab4474669..8b291418ca32 100644 --- a/arch/blackfin/mach-bf537/include/mach/bf537.h +++ b/arch/blackfin/mach-bf537/include/mach/bf537.h | |||
@@ -9,16 +9,6 @@ | |||
9 | #ifndef __MACH_BF537_H__ | 9 | #ifndef __MACH_BF537_H__ |
10 | #define __MACH_BF537_H__ | 10 | #define __MACH_BF537_H__ |
11 | 11 | ||
12 | /* Masks for generic ERROR IRQ demultiplexing used in int-priority-sc.c */ | ||
13 | |||
14 | #define SPI_ERR_MASK (TXCOL | RBSY | MODF | TXE) /* SPI_STAT */ | ||
15 | #define SPORT_ERR_MASK (ROVF | RUVF | TOVF | TUVF) /* SPORTx_STAT */ | ||
16 | #define PPI_ERR_MASK (0xFFFF & ~FLD) /* PPI_STATUS */ | ||
17 | #define EMAC_ERR_MASK (PHYINT | MMCINT | RXFSINT | TXFSINT | WAKEDET | RXDMAERR | TXDMAERR | STMDONE) /* EMAC_SYSTAT */ | ||
18 | #define UART_ERR_MASK_STAT1 (0x4) /* UARTx_IIR */ | ||
19 | #define UART_ERR_MASK_STAT0 (0x2) /* UARTx_IIR */ | ||
20 | #define CAN_ERR_MASK (EWTIF | EWRIF | EPIF | BOIF | WUIF | UIAIF | AAIF | RMLIF | UCEIF | EXTIF | ADIF) /* CAN_GIF */ | ||
21 | |||
22 | #define OFFSET_(x) ((x) & 0x0000FFFF) | 12 | #define OFFSET_(x) ((x) & 0x0000FFFF) |
23 | 13 | ||
24 | /*some misc defines*/ | 14 | /*some misc defines*/ |
diff --git a/arch/blackfin/mach-bf537/include/mach/blackfin.h b/arch/blackfin/mach-bf537/include/mach/blackfin.h index eab006d260c5..a12d4b6a221d 100644 --- a/arch/blackfin/mach-bf537/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf537/include/mach/blackfin.h | |||
@@ -40,10 +40,4 @@ | |||
40 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ | 40 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ |
41 | #define OFFSET_GCTL 0x24 /* Global Control Register */ | 41 | #define OFFSET_GCTL 0x24 /* Global Control Register */ |
42 | 42 | ||
43 | /* PLL_DIV Masks */ | ||
44 | #define CCLK_DIV1 CSEL_DIV1 /* CCLK = VCO / 1 */ | ||
45 | #define CCLK_DIV2 CSEL_DIV2 /* CCLK = VCO / 2 */ | ||
46 | #define CCLK_DIV4 CSEL_DIV4 /* CCLK = VCO / 4 */ | ||
47 | #define CCLK_DIV8 CSEL_DIV8 /* CCLK = VCO / 8 */ | ||
48 | |||
49 | #endif | 43 | #endif |
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF534.h b/arch/blackfin/mach-bf537/include/mach/defBF534.h index a6d20ca57683..066d5c261f47 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF534.h | |||
@@ -958,67 +958,6 @@ | |||
958 | ** modifier UNLESS the lower order bits are saved and ORed back in when | 958 | ** modifier UNLESS the lower order bits are saved and ORed back in when |
959 | ** the macro is used. | 959 | ** the macro is used. |
960 | *************************************************************************************/ | 960 | *************************************************************************************/ |
961 | /* | ||
962 | ** ********************* PLL AND RESET MASKS ****************************************/ | ||
963 | /* PLL_CTL Masks */ | ||
964 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
965 | #define PLL_OFF 0x0002 /* PLL Not Powered */ | ||
966 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
967 | #define PDWN 0x0020 /* Enter Deep Sleep Mode */ | ||
968 | #define IN_DELAY 0x0040 /* Add 200ps Delay To EBIU Input Latches */ | ||
969 | #define OUT_DELAY 0x0080 /* Add 200ps Delay To EBIU Output Signals */ | ||
970 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
971 | #define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */ | ||
972 | /* PLL_CTL Macros (Only Use With Logic OR While Setting Lower Order Bits) */ | ||
973 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
974 | |||
975 | /* PLL_DIV Masks */ | ||
976 | #define SSEL 0x000F /* System Select */ | ||
977 | #define CSEL 0x0030 /* Core Select */ | ||
978 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
979 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
980 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
981 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
982 | /* PLL_DIV Macros */ | ||
983 | #define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
984 | |||
985 | /* VR_CTL Masks */ | ||
986 | #define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */ | ||
987 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
988 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
989 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
990 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
991 | |||
992 | #define GAIN 0x000C /* Voltage Level Gain */ | ||
993 | #define GAIN_5 0x0000 /* GAIN = 5 */ | ||
994 | #define GAIN_10 0x0004 /* GAIN = 10 */ | ||
995 | #define GAIN_20 0x0008 /* GAIN = 20 */ | ||
996 | #define GAIN_50 0x000C /* GAIN = 50 */ | ||
997 | |||
998 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
999 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
1000 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
1001 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
1002 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
1003 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
1004 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
1005 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
1006 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
1007 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
1008 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
1009 | |||
1010 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
1011 | #define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */ | ||
1012 | #define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */ | ||
1013 | #define CLKBUFOE 0x4000 /* CLKIN Buffer Output Enable */ | ||
1014 | #define PHYCLKOE CLKBUFOE /* Alternative legacy name for the above */ | ||
1015 | #define SCKELOW 0x8000 /* Enable Drive CKE Low During Reset */ | ||
1016 | |||
1017 | /* PLL_STAT Masks */ | ||
1018 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
1019 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
1020 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
1021 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
1022 | 961 | ||
1023 | /* CHIPID Masks */ | 962 | /* CHIPID Masks */ |
1024 | #define CHIPID_VERSION 0xF0000000 | 963 | #define CHIPID_VERSION 0xF0000000 |
@@ -1645,34 +1584,6 @@ | |||
1645 | #define BGSTAT 0x0020 /* Bus Grant Status */ | 1584 | #define BGSTAT 0x0020 /* Bus Grant Status */ |
1646 | 1585 | ||
1647 | /* ************************** DMA CONTROLLER MASKS ********************************/ | 1586 | /* ************************** DMA CONTROLLER MASKS ********************************/ |
1648 | /* DMAx_CONFIG, MDMA_yy_CONFIG Masks */ | ||
1649 | #define DMAEN 0x0001 /* DMA Channel Enable */ | ||
1650 | #define WNR 0x0002 /* Channel Direction (W/R*) */ | ||
1651 | #define WDSIZE_8 0x0000 /* Transfer Word Size = 8 */ | ||
1652 | #define WDSIZE_16 0x0004 /* Transfer Word Size = 16 */ | ||
1653 | #define WDSIZE_32 0x0008 /* Transfer Word Size = 32 */ | ||
1654 | #define DMA2D 0x0010 /* DMA Mode (2D/1D*) */ | ||
1655 | #define RESTART 0x0020 /* DMA Buffer Clear */ | ||
1656 | #define DI_SEL 0x0040 /* Data Interrupt Timing Select */ | ||
1657 | #define DI_EN 0x0080 /* Data Interrupt Enable */ | ||
1658 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1659 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1660 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1661 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1662 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1663 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1664 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1665 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1666 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1667 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1668 | #define NDSIZE 0x0900 /* Next Descriptor Size */ | ||
1669 | |||
1670 | #define DMAFLOW 0x7000 /* Flow Control */ | ||
1671 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1672 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1673 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1674 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1675 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1676 | 1587 | ||
1677 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ | 1588 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ |
1678 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ | 1589 | #define CTYPE 0x0040 /* DMA Channel Type Indicator (Memory/Peripheral*) */ |
@@ -1690,12 +1601,6 @@ | |||
1690 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ | 1601 | #define PMAP_UART1RX 0xA000 /* UART1 Port Receive DMA */ |
1691 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ | 1602 | #define PMAP_UART1TX 0xB000 /* UART1 Port Transmit DMA */ |
1692 | 1603 | ||
1693 | /* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */ | ||
1694 | #define DMA_DONE 0x0001 /* DMA Completion Interrupt Status */ | ||
1695 | #define DMA_ERR 0x0002 /* DMA Error Interrupt Status */ | ||
1696 | #define DFETCH 0x0004 /* DMA Descriptor Fetch Indicator */ | ||
1697 | #define DMA_RUN 0x0008 /* DMA Channel Running Indicator */ | ||
1698 | |||
1699 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ | 1604 | /* ************ PARALLEL PERIPHERAL INTERFACE (PPI) MASKS *************/ |
1700 | /* PPI_CONTROL Masks */ | 1605 | /* PPI_CONTROL Masks */ |
1701 | #define PORT_EN 0x0001 /* PPI Port Enable */ | 1606 | #define PORT_EN 0x0001 /* PPI Port Enable */ |
diff --git a/arch/blackfin/mach-bf538/Makefile b/arch/blackfin/mach-bf538/Makefile index 8cd2719684db..c0be54f2cd2b 100644 --- a/arch/blackfin/mach-bf538/Makefile +++ b/arch/blackfin/mach-bf538/Makefile | |||
@@ -3,3 +3,4 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := ints-priority.o dma.o | 5 | obj-y := ints-priority.o dma.o |
6 | obj-$(CONFIG_GPIOLIB) += ext-gpio.o | ||
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 14af5c2088d4..c296bb1ed503 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -151,6 +151,44 @@ static struct platform_device bfin_sir2_device = { | |||
151 | #endif | 151 | #endif |
152 | #endif | 152 | #endif |
153 | 153 | ||
154 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | ||
155 | unsigned short bfin_can_peripherals[] = { | ||
156 | P_CAN0_RX, P_CAN0_TX, 0 | ||
157 | }; | ||
158 | |||
159 | static struct resource bfin_can_resources[] = { | ||
160 | { | ||
161 | .start = 0xFFC02A00, | ||
162 | .end = 0xFFC02FFF, | ||
163 | .flags = IORESOURCE_MEM, | ||
164 | }, | ||
165 | { | ||
166 | .start = IRQ_CAN_RX, | ||
167 | .end = IRQ_CAN_RX, | ||
168 | .flags = IORESOURCE_IRQ, | ||
169 | }, | ||
170 | { | ||
171 | .start = IRQ_CAN_TX, | ||
172 | .end = IRQ_CAN_TX, | ||
173 | .flags = IORESOURCE_IRQ, | ||
174 | }, | ||
175 | { | ||
176 | .start = IRQ_CAN_ERROR, | ||
177 | .end = IRQ_CAN_ERROR, | ||
178 | .flags = IORESOURCE_IRQ, | ||
179 | }, | ||
180 | }; | ||
181 | |||
182 | static struct platform_device bfin_can_device = { | ||
183 | .name = "bfin_can", | ||
184 | .num_resources = ARRAY_SIZE(bfin_can_resources), | ||
185 | .resource = bfin_can_resources, | ||
186 | .dev = { | ||
187 | .platform_data = &bfin_can_peripherals, /* Passed to driver */ | ||
188 | }, | ||
189 | }; | ||
190 | #endif | ||
191 | |||
154 | /* | 192 | /* |
155 | * USB-LAN EzExtender board | 193 | * USB-LAN EzExtender board |
156 | * Driver needs to know address, irq and flag pin. | 194 | * Driver needs to know address, irq and flag pin. |
@@ -610,6 +648,10 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
610 | #endif | 648 | #endif |
611 | #endif | 649 | #endif |
612 | 650 | ||
651 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | ||
652 | &bfin_can_device, | ||
653 | #endif | ||
654 | |||
613 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 655 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
614 | &smc91x_device, | 656 | &smc91x_device, |
615 | #endif | 657 | #endif |
diff --git a/arch/blackfin/mach-bf538/ext-gpio.c b/arch/blackfin/mach-bf538/ext-gpio.c new file mode 100644 index 000000000000..180b1252679f --- /dev/null +++ b/arch/blackfin/mach-bf538/ext-gpio.c | |||
@@ -0,0 +1,123 @@ | |||
1 | /* | ||
2 | * GPIOLIB interface for BF538/9 PORT C, D, and E GPIOs | ||
3 | * | ||
4 | * Copyright 2009 Analog Devices Inc. | ||
5 | * | ||
6 | * Licensed under the GPL-2 or later. | ||
7 | */ | ||
8 | |||
9 | #include <linux/module.h> | ||
10 | #include <linux/err.h> | ||
11 | #include <asm/blackfin.h> | ||
12 | #include <asm/gpio.h> | ||
13 | #include <asm/portmux.h> | ||
14 | |||
15 | #define DEFINE_REG(reg, off) \ | ||
16 | static inline u16 read_##reg(void __iomem *port) \ | ||
17 | { return bfin_read16(port + off); } \ | ||
18 | static inline void write_##reg(void __iomem *port, u16 v) \ | ||
19 | { bfin_write16(port + off, v); } | ||
20 | |||
21 | DEFINE_REG(PORTIO, 0x00) | ||
22 | DEFINE_REG(PORTIO_CLEAR, 0x10) | ||
23 | DEFINE_REG(PORTIO_SET, 0x20) | ||
24 | DEFINE_REG(PORTIO_DIR, 0x40) | ||
25 | DEFINE_REG(PORTIO_INEN, 0x50) | ||
26 | |||
27 | static void __iomem *gpio_chip_to_mmr(struct gpio_chip *chip) | ||
28 | { | ||
29 | switch (chip->base) { | ||
30 | default: /* not really needed, but keeps gcc happy */ | ||
31 | case GPIO_PC0: return (void __iomem *)PORTCIO; | ||
32 | case GPIO_PD0: return (void __iomem *)PORTDIO; | ||
33 | case GPIO_PE0: return (void __iomem *)PORTEIO; | ||
34 | } | ||
35 | } | ||
36 | |||
37 | static int bf538_gpio_get_value(struct gpio_chip *chip, unsigned gpio) | ||
38 | { | ||
39 | void __iomem *port = gpio_chip_to_mmr(chip); | ||
40 | return !!(read_PORTIO(port) & (1u << gpio)); | ||
41 | } | ||
42 | |||
43 | static void bf538_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) | ||
44 | { | ||
45 | void __iomem *port = gpio_chip_to_mmr(chip); | ||
46 | if (value) | ||
47 | write_PORTIO_SET(port, (1u << gpio)); | ||
48 | else | ||
49 | write_PORTIO_CLEAR(port, (1u << gpio)); | ||
50 | } | ||
51 | |||
52 | static int bf538_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) | ||
53 | { | ||
54 | void __iomem *port = gpio_chip_to_mmr(chip); | ||
55 | write_PORTIO_DIR(port, read_PORTIO_DIR(port) & ~(1u << gpio)); | ||
56 | write_PORTIO_INEN(port, read_PORTIO_INEN(port) | (1u << gpio)); | ||
57 | return 0; | ||
58 | } | ||
59 | |||
60 | static int bf538_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) | ||
61 | { | ||
62 | void __iomem *port = gpio_chip_to_mmr(chip); | ||
63 | write_PORTIO_INEN(port, read_PORTIO_INEN(port) & ~(1u << gpio)); | ||
64 | bf538_gpio_set_value(port, gpio, value); | ||
65 | write_PORTIO_DIR(port, read_PORTIO_DIR(port) | (1u << gpio)); | ||
66 | return 0; | ||
67 | } | ||
68 | |||
69 | static int bf538_gpio_request(struct gpio_chip *chip, unsigned gpio) | ||
70 | { | ||
71 | return bfin_special_gpio_request(chip->base + gpio, chip->label); | ||
72 | } | ||
73 | |||
74 | static void bf538_gpio_free(struct gpio_chip *chip, unsigned gpio) | ||
75 | { | ||
76 | return bfin_special_gpio_free(chip->base + gpio); | ||
77 | } | ||
78 | |||
79 | /* We don't set the irq fields as these banks cannot generate interrupts */ | ||
80 | |||
81 | static struct gpio_chip bf538_portc_chip = { | ||
82 | .label = "GPIO-PC", | ||
83 | .direction_input = bf538_gpio_direction_input, | ||
84 | .get = bf538_gpio_get_value, | ||
85 | .direction_output = bf538_gpio_direction_output, | ||
86 | .set = bf538_gpio_set_value, | ||
87 | .request = bf538_gpio_request, | ||
88 | .free = bf538_gpio_free, | ||
89 | .base = GPIO_PC0, | ||
90 | .ngpio = GPIO_PC9 - GPIO_PC0 + 1, | ||
91 | }; | ||
92 | |||
93 | static struct gpio_chip bf538_portd_chip = { | ||
94 | .label = "GPIO-PD", | ||
95 | .direction_input = bf538_gpio_direction_input, | ||
96 | .get = bf538_gpio_get_value, | ||
97 | .direction_output = bf538_gpio_direction_output, | ||
98 | .set = bf538_gpio_set_value, | ||
99 | .request = bf538_gpio_request, | ||
100 | .free = bf538_gpio_free, | ||
101 | .base = GPIO_PD0, | ||
102 | .ngpio = GPIO_PD13 - GPIO_PD0 + 1, | ||
103 | }; | ||
104 | |||
105 | static struct gpio_chip bf538_porte_chip = { | ||
106 | .label = "GPIO-PE", | ||
107 | .direction_input = bf538_gpio_direction_input, | ||
108 | .get = bf538_gpio_get_value, | ||
109 | .direction_output = bf538_gpio_direction_output, | ||
110 | .set = bf538_gpio_set_value, | ||
111 | .request = bf538_gpio_request, | ||
112 | .free = bf538_gpio_free, | ||
113 | .base = GPIO_PE0, | ||
114 | .ngpio = GPIO_PE15 - GPIO_PE0 + 1, | ||
115 | }; | ||
116 | |||
117 | static int __init bf538_extgpio_setup(void) | ||
118 | { | ||
119 | return gpiochip_add(&bf538_portc_chip) | | ||
120 | gpiochip_add(&bf538_portd_chip) | | ||
121 | gpiochip_add(&bf538_porte_chip); | ||
122 | } | ||
123 | arch_initcall(bf538_extgpio_setup); | ||
diff --git a/arch/blackfin/mach-bf538/include/mach/blackfin.h b/arch/blackfin/mach-bf538/include/mach/blackfin.h index 278e8942eef2..08b5eabb1ed5 100644 --- a/arch/blackfin/mach-bf538/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf538/include/mach/blackfin.h | |||
@@ -37,10 +37,4 @@ | |||
37 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ | 37 | #define OFFSET_SCR 0x1C /* SCR Scratch Register */ |
38 | #define OFFSET_GCTL 0x24 /* Global Control Register */ | 38 | #define OFFSET_GCTL 0x24 /* Global Control Register */ |
39 | 39 | ||
40 | /* PLL_DIV Masks */ | ||
41 | #define CCLK_DIV1 CSEL_DIV1 /* CCLK = VCO / 1 */ | ||
42 | #define CCLK_DIV2 CSEL_DIV2 /* CCLK = VCO / 2 */ | ||
43 | #define CCLK_DIV4 CSEL_DIV4 /* CCLK = VCO / 4 */ | ||
44 | #define CCLK_DIV8 CSEL_DIV8 /* CCLK = VCO / 8 */ | ||
45 | |||
46 | #endif | 40 | #endif |
diff --git a/arch/blackfin/mach-bf538/include/mach/defBF539.h b/arch/blackfin/mach-bf538/include/mach/defBF539.h index 5f6c34dfd08e..fac563e6f62f 100644 --- a/arch/blackfin/mach-bf538/include/mach/defBF539.h +++ b/arch/blackfin/mach-bf538/include/mach/defBF539.h | |||
@@ -468,31 +468,31 @@ | |||
468 | /* General-Purpose Ports (0xFFC01500 - 0xFFC015FF) */ | 468 | /* General-Purpose Ports (0xFFC01500 - 0xFFC015FF) */ |
469 | 469 | ||
470 | /* GPIO Port C Register Names */ | 470 | /* GPIO Port C Register Names */ |
471 | #define GPIO_C_CNFG 0xFFC01500 /* GPIO Pin Port C Configuration Register */ | 471 | #define PORTCIO_FER 0xFFC01500 /* GPIO Pin Port C Configuration Register */ |
472 | #define GPIO_C_D 0xFFC01510 /* GPIO Pin Port C Data Register */ | 472 | #define PORTCIO 0xFFC01510 /* GPIO Pin Port C Data Register */ |
473 | #define GPIO_C_C 0xFFC01520 /* Clear GPIO Pin Port C Register */ | 473 | #define PORTCIO_CLEAR 0xFFC01520 /* Clear GPIO Pin Port C Register */ |
474 | #define GPIO_C_S 0xFFC01530 /* Set GPIO Pin Port C Register */ | 474 | #define PORTCIO_SET 0xFFC01530 /* Set GPIO Pin Port C Register */ |
475 | #define GPIO_C_T 0xFFC01540 /* Toggle GPIO Pin Port C Register */ | 475 | #define PORTCIO_TOGGLE 0xFFC01540 /* Toggle GPIO Pin Port C Register */ |
476 | #define GPIO_C_DIR 0xFFC01550 /* GPIO Pin Port C Direction Register */ | 476 | #define PORTCIO_DIR 0xFFC01550 /* GPIO Pin Port C Direction Register */ |
477 | #define GPIO_C_INEN 0xFFC01560 /* GPIO Pin Port C Input Enable Register */ | 477 | #define PORTCIO_INEN 0xFFC01560 /* GPIO Pin Port C Input Enable Register */ |
478 | 478 | ||
479 | /* GPIO Port D Register Names */ | 479 | /* GPIO Port D Register Names */ |
480 | #define GPIO_D_CNFG 0xFFC01504 /* GPIO Pin Port D Configuration Register */ | 480 | #define PORTDIO_FER 0xFFC01504 /* GPIO Pin Port D Configuration Register */ |
481 | #define GPIO_D_D 0xFFC01514 /* GPIO Pin Port D Data Register */ | 481 | #define PORTDIO 0xFFC01514 /* GPIO Pin Port D Data Register */ |
482 | #define GPIO_D_C 0xFFC01524 /* Clear GPIO Pin Port D Register */ | 482 | #define PORTDIO_CLEAR 0xFFC01524 /* Clear GPIO Pin Port D Register */ |
483 | #define GPIO_D_S 0xFFC01534 /* Set GPIO Pin Port D Register */ | 483 | #define PORTDIO_SET 0xFFC01534 /* Set GPIO Pin Port D Register */ |
484 | #define GPIO_D_T 0xFFC01544 /* Toggle GPIO Pin Port D Register */ | 484 | #define PORTDIO_TOGGLE 0xFFC01544 /* Toggle GPIO Pin Port D Register */ |
485 | #define GPIO_D_DIR 0xFFC01554 /* GPIO Pin Port D Direction Register */ | 485 | #define PORTDIO_DIR 0xFFC01554 /* GPIO Pin Port D Direction Register */ |
486 | #define GPIO_D_INEN 0xFFC01564 /* GPIO Pin Port D Input Enable Register */ | 486 | #define PORTDIO_INEN 0xFFC01564 /* GPIO Pin Port D Input Enable Register */ |
487 | 487 | ||
488 | /* GPIO Port E Register Names */ | 488 | /* GPIO Port E Register Names */ |
489 | #define GPIO_E_CNFG 0xFFC01508 /* GPIO Pin Port E Configuration Register */ | 489 | #define PORTEIO_FER 0xFFC01508 /* GPIO Pin Port E Configuration Register */ |
490 | #define GPIO_E_D 0xFFC01518 /* GPIO Pin Port E Data Register */ | 490 | #define PORTEIO 0xFFC01518 /* GPIO Pin Port E Data Register */ |
491 | #define GPIO_E_C 0xFFC01528 /* Clear GPIO Pin Port E Register */ | 491 | #define PORTEIO_CLEAR 0xFFC01528 /* Clear GPIO Pin Port E Register */ |
492 | #define GPIO_E_S 0xFFC01538 /* Set GPIO Pin Port E Register */ | 492 | #define PORTEIO_SET 0xFFC01538 /* Set GPIO Pin Port E Register */ |
493 | #define GPIO_E_T 0xFFC01548 /* Toggle GPIO Pin Port E Register */ | 493 | #define PORTEIO_TOGGLE 0xFFC01548 /* Toggle GPIO Pin Port E Register */ |
494 | #define GPIO_E_DIR 0xFFC01558 /* GPIO Pin Port E Direction Register */ | 494 | #define PORTEIO_DIR 0xFFC01558 /* GPIO Pin Port E Direction Register */ |
495 | #define GPIO_E_INEN 0xFFC01568 /* GPIO Pin Port E Input Enable Register */ | 495 | #define PORTEIO_INEN 0xFFC01568 /* GPIO Pin Port E Input Enable Register */ |
496 | 496 | ||
497 | /* DMA Controller 1 Traffic Control Registers (0xFFC01B00 - 0xFFC01BFF) */ | 497 | /* DMA Controller 1 Traffic Control Registers (0xFFC01B00 - 0xFFC01BFF) */ |
498 | 498 | ||
@@ -1422,81 +1422,6 @@ | |||
1422 | /* System MMR Register Bits and Macros */ | 1422 | /* System MMR Register Bits and Macros */ |
1423 | /******************************************************************************* */ | 1423 | /******************************************************************************* */ |
1424 | 1424 | ||
1425 | /* ********************* PLL AND RESET MASKS ************************ */ | ||
1426 | /* PLL_CTL Masks */ | ||
1427 | #define PLL_CLKIN 0x0000 /* Pass CLKIN to PLL */ | ||
1428 | #define PLL_CLKIN_DIV2 0x0001 /* Pass CLKIN/2 to PLL */ | ||
1429 | #define DF 0x0001 /* 0: PLL = CLKIN, 1: PLL = CLKIN/2 */ | ||
1430 | #define PLL_OFF 0x0002 /* Shut off PLL clocks */ | ||
1431 | |||
1432 | #define STOPCK 0x0008 /* Core Clock Off */ | ||
1433 | #define PDWN 0x0020 /* Put the PLL in a Deep Sleep state */ | ||
1434 | #define IN_DELAY 0x0014 /* EBIU Input Delay Select */ | ||
1435 | #define OUT_DELAY 0x00C0 /* EBIU Output Delay Select */ | ||
1436 | #define BYPASS 0x0100 /* Bypass the PLL */ | ||
1437 | #define MSEL 0x7E00 /* Multiplier Select For CCLK/VCO Factors */ | ||
1438 | |||
1439 | /* PLL_CTL Macros */ | ||
1440 | #ifdef _MISRA_RULES | ||
1441 | #define SET_MSEL(x) (((x)&0x3Fu) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
1442 | #define SET_OUT_DELAY(x) (((x)&0x03u) << 0x6) | ||
1443 | #define SET_IN_DELAY(x) ((((x)&0x02u) << 0x3) | (((x)&0x01u) << 0x2)) | ||
1444 | #else | ||
1445 | #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */ | ||
1446 | #define SET_OUT_DELAY(x) (((x)&0x03) << 0x6) | ||
1447 | #define SET_IN_DELAY(x) ((((x)&0x02) << 0x3) | (((x)&0x01) << 0x2)) | ||
1448 | #endif /* _MISRA_RULES */ | ||
1449 | |||
1450 | /* PLL_DIV Masks */ | ||
1451 | #define SSEL 0x000F /* System Select */ | ||
1452 | #define CSEL 0x0030 /* Core Select */ | ||
1453 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
1454 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
1455 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
1456 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
1457 | |||
1458 | #define SCLK_DIV(x) (x) /* SCLK = VCO / x */ | ||
1459 | |||
1460 | /* PLL_DIV Macros */ | ||
1461 | #ifdef _MISRA_RULES | ||
1462 | #define SET_SSEL(x) ((x)&0xFu) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
1463 | #else | ||
1464 | #define SET_SSEL(x) ((x)&0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */ | ||
1465 | #endif /* _MISRA_RULES */ | ||
1466 | |||
1467 | /* PLL_STAT Masks */ | ||
1468 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
1469 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
1470 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
1471 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
1472 | |||
1473 | /* VR_CTL Masks */ | ||
1474 | #define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */ | ||
1475 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
1476 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
1477 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
1478 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
1479 | |||
1480 | #define GAIN 0x000C /* Voltage Level Gain */ | ||
1481 | #define GAIN_5 0x0000 /* GAIN = 5 */ | ||
1482 | #define GAIN_10 0x0004 /* GAIN = 10 */ | ||
1483 | #define GAIN_20 0x0008 /* GAIN = 20 */ | ||
1484 | #define GAIN_50 0x000C /* GAIN = 50 */ | ||
1485 | |||
1486 | #define VLEV 0x00F0 /* Internal Voltage Level - Only Program Values Within Specifications */ | ||
1487 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (See Datasheet for Regulator Tolerance) */ | ||
1488 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (See Datasheet for Regulator Tolerance) */ | ||
1489 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (See Datasheet for Regulator Tolerance) */ | ||
1490 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (See Datasheet for Regulator Tolerance) */ | ||
1491 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (See Datasheet for Regulator Tolerance) */ | ||
1492 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (See Datasheet for Regulator Tolerance) */ | ||
1493 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (See Datasheet for Regulator Tolerance) */ | ||
1494 | |||
1495 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
1496 | #define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */ | ||
1497 | #define MXVRWE 0x0400 /* Enable MXVR Wakeup From Hibernate */ | ||
1498 | #define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */ | ||
1499 | |||
1500 | /* SWRST Mask */ | 1425 | /* SWRST Mask */ |
1501 | #define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */ | 1426 | #define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */ |
1502 | #define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */ | 1427 | #define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */ |
@@ -1609,91 +1534,6 @@ | |||
1609 | #endif /* _MISRA_RULES */ | 1534 | #endif /* _MISRA_RULES */ |
1610 | 1535 | ||
1611 | 1536 | ||
1612 | /* ********* WATCHDOG TIMER MASKS ******************** */ | ||
1613 | /* Watchdog Timer WDOG_CTL Register Masks */ | ||
1614 | #ifdef _MISRA_RULES | ||
1615 | #define WDEV(x) (((x)<<1) & 0x0006u) /* event generated on roll over */ | ||
1616 | #else | ||
1617 | #define WDEV(x) (((x)<<1) & 0x0006) /* event generated on roll over */ | ||
1618 | #endif /* _MISRA_RULES */ | ||
1619 | #define WDEV_RESET 0x0000 /* generate reset event on roll over */ | ||
1620 | #define WDEV_NMI 0x0002 /* generate NMI event on roll over */ | ||
1621 | #define WDEV_GPI 0x0004 /* generate GP IRQ on roll over */ | ||
1622 | #define WDEV_NONE 0x0006 /* no event on roll over */ | ||
1623 | #define WDEN 0x0FF0 /* enable watchdog */ | ||
1624 | #define WDDIS 0x0AD0 /* disable watchdog */ | ||
1625 | #define WDRO 0x8000 /* watchdog rolled over latch */ | ||
1626 | |||
1627 | /* deprecated WDOG_CTL Register Masks for legacy code */ | ||
1628 | #define ICTL WDEV | ||
1629 | #define ENABLE_RESET WDEV_RESET | ||
1630 | #define WDOG_RESET WDEV_RESET | ||
1631 | #define ENABLE_NMI WDEV_NMI | ||
1632 | #define WDOG_NMI WDEV_NMI | ||
1633 | #define ENABLE_GPI WDEV_GPI | ||
1634 | #define WDOG_GPI WDEV_GPI | ||
1635 | #define DISABLE_EVT WDEV_NONE | ||
1636 | #define WDOG_NONE WDEV_NONE | ||
1637 | |||
1638 | #define TMR_EN WDEN | ||
1639 | #define WDOG_DISABLE WDDIS | ||
1640 | #define TRO WDRO | ||
1641 | |||
1642 | #define ICTL_P0 0x01 | ||
1643 | #define ICTL_P1 0x02 | ||
1644 | #define TRO_P 0x0F | ||
1645 | |||
1646 | |||
1647 | /* *************** REAL TIME CLOCK MASKS **************************/ | ||
1648 | /* RTC_STAT and RTC_ALARM register */ | ||
1649 | #define RTSEC 0x0000003F /* Real-Time Clock Seconds */ | ||
1650 | #define RTMIN 0x00000FC0 /* Real-Time Clock Minutes */ | ||
1651 | #define RTHR 0x0001F000 /* Real-Time Clock Hours */ | ||
1652 | #define RTDAY 0xFFFE0000 /* Real-Time Clock Days */ | ||
1653 | |||
1654 | /* RTC_ICTL register */ | ||
1655 | #define SWIE 0x0001 /* Stopwatch Interrupt Enable */ | ||
1656 | #define AIE 0x0002 /* Alarm Interrupt Enable */ | ||
1657 | #define SIE 0x0004 /* Seconds (1 Hz) Interrupt Enable */ | ||
1658 | #define MIE 0x0008 /* Minutes Interrupt Enable */ | ||
1659 | #define HIE 0x0010 /* Hours Interrupt Enable */ | ||
1660 | #define DIE 0x0020 /* 24 Hours (Days) Interrupt Enable */ | ||
1661 | #define DAIE 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */ | ||
1662 | #define WCIE 0x8000 /* Write Complete Interrupt Enable */ | ||
1663 | |||
1664 | /* RTC_ISTAT register */ | ||
1665 | #define SWEF 0x0001 /* Stopwatch Event Flag */ | ||
1666 | #define AEF 0x0002 /* Alarm Event Flag */ | ||
1667 | #define SEF 0x0004 /* Seconds (1 Hz) Event Flag */ | ||
1668 | #define MEF 0x0008 /* Minutes Event Flag */ | ||
1669 | #define HEF 0x0010 /* Hours Event Flag */ | ||
1670 | #define DEF 0x0020 /* 24 Hours (Days) Event Flag */ | ||
1671 | #define DAEF 0x0040 /* Day Alarm (Day, Hour, Minute, Second) Event Flag */ | ||
1672 | #define WPS 0x4000 /* Write Pending Status (RO) */ | ||
1673 | #define WCOM 0x8000 /* Write Complete */ | ||
1674 | |||
1675 | /* RTC_FAST Mask (RTC_PREN Mask) */ | ||
1676 | #define ENABLE_PRESCALE 0x00000001 /* Enable prescaler so RTC runs at 1 Hz */ | ||
1677 | #define PREN 0x00000001 | ||
1678 | /* ** Must be set after power-up for proper operation of RTC */ | ||
1679 | |||
1680 | /* Deprecated RTC_STAT and RTC_ALARM Masks */ | ||
1681 | #define RTC_SEC RTSEC /* Real-Time Clock Seconds */ | ||
1682 | #define RTC_MIN RTMIN /* Real-Time Clock Minutes */ | ||
1683 | #define RTC_HR RTHR /* Real-Time Clock Hours */ | ||
1684 | #define RTC_DAY RTDAY /* Real-Time Clock Days */ | ||
1685 | |||
1686 | /* Deprecated RTC_ICTL/RTC_ISTAT Masks */ | ||
1687 | #define STOPWATCH SWIE /* Stopwatch Interrupt Enable */ | ||
1688 | #define ALARM AIE /* Alarm Interrupt Enable */ | ||
1689 | #define SECOND SIE /* Seconds (1 Hz) Interrupt Enable */ | ||
1690 | #define MINUTE MIE /* Minutes Interrupt Enable */ | ||
1691 | #define HOUR HIE /* Hours Interrupt Enable */ | ||
1692 | #define DAY DIE /* 24 Hours (Days) Interrupt Enable */ | ||
1693 | #define DAY_ALARM DAIE /* Day Alarm (Day, Hour, Minute, Second) Interrupt Enable */ | ||
1694 | #define WRITE_COMPLETE WCIE /* Write Complete Interrupt Enable */ | ||
1695 | |||
1696 | |||
1697 | /* ***************************** UART CONTROLLER MASKS ********************** */ | 1537 | /* ***************************** UART CONTROLLER MASKS ********************** */ |
1698 | /* UARTx_LCR Register */ | 1538 | /* UARTx_LCR Register */ |
1699 | #ifdef _MISRA_RULES | 1539 | #ifdef _MISRA_RULES |
@@ -1917,52 +1757,6 @@ | |||
1917 | 1757 | ||
1918 | 1758 | ||
1919 | /* ********** DMA CONTROLLER MASKS ***********************/ | 1759 | /* ********** DMA CONTROLLER MASKS ***********************/ |
1920 | /* DMAx_CONFIG, MDMA_yy_CONFIG Masks */ | ||
1921 | #define DMAEN 0x0001 /* Channel Enable */ | ||
1922 | #define WNR 0x0002 /* Channel Direction (W/R*) */ | ||
1923 | #define WDSIZE_8 0x0000 /* Word Size 8 bits */ | ||
1924 | #define WDSIZE_16 0x0004 /* Word Size 16 bits */ | ||
1925 | #define WDSIZE_32 0x0008 /* Word Size 32 bits */ | ||
1926 | #define DMA2D 0x0010 /* 2D/1D* Mode */ | ||
1927 | #define RESTART 0x0020 /* Restart */ | ||
1928 | #define DI_SEL 0x0040 /* Data Interrupt Select */ | ||
1929 | #define DI_EN 0x0080 /* Data Interrupt Enable */ | ||
1930 | #define NDSIZE 0x0900 /* Next Descriptor Size */ | ||
1931 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1932 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1933 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1934 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1935 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1936 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1937 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1938 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1939 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1940 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1941 | |||
1942 | #define DMAFLOW 0x7000 /* Flow Control */ | ||
1943 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1944 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1945 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1946 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1947 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1948 | |||
1949 | #define DMAEN_P 0x0 /* Channel Enable */ | ||
1950 | #define WNR_P 0x1 /* Channel Direction (W/R*) */ | ||
1951 | #define DMA2D_P 0x4 /* 2D/1D* Mode */ | ||
1952 | #define RESTART_P 0x5 /* Restart */ | ||
1953 | #define DI_SEL_P 0x6 /* Data Interrupt Select */ | ||
1954 | #define DI_EN_P 0x7 /* Data Interrupt Enable */ | ||
1955 | |||
1956 | /* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS Masks */ | ||
1957 | #define DMA_DONE 0x0001 /* DMA Done Indicator */ | ||
1958 | #define DMA_ERR 0x0002 /* DMA Error Indicator */ | ||
1959 | #define DFETCH 0x0004 /* Descriptor Fetch Indicator */ | ||
1960 | #define DMA_RUN 0x0008 /* DMA Running Indicator */ | ||
1961 | |||
1962 | #define DMA_DONE_P 0x0 /* DMA Done Indicator */ | ||
1963 | #define DMA_ERR_P 0x1 /* DMA Error Indicator */ | ||
1964 | #define DFETCH_P 0x2 /* Descriptor Fetch Indicator */ | ||
1965 | #define DMA_RUN_P 0x3 /* DMA Running Indicator */ | ||
1966 | 1760 | ||
1967 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ | 1761 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP Masks */ |
1968 | 1762 | ||
@@ -2625,1019 +2419,6 @@ | |||
2625 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ | 2419 | #define RCV_FULL 0x000C /* Receive FIFO Full (2 Bytes To Read) */ |
2626 | 2420 | ||
2627 | 2421 | ||
2628 | /********************************* MXVR MASKS ****************************************/ | ||
2629 | |||
2630 | /* MXVR_CONFIG Masks */ | ||
2631 | |||
2632 | #define MXVREN 0x00000001lu | ||
2633 | #define MMSM 0x00000002lu | ||
2634 | #define ACTIVE 0x00000004lu | ||
2635 | #define SDELAY 0x00000008lu | ||
2636 | #define NCMRXEN 0x00000010lu | ||
2637 | #define RWRRXEN 0x00000020lu | ||
2638 | #define MTXEN 0x00000040lu | ||
2639 | #define MTXON 0x00000080lu /*legacy*/ | ||
2640 | #define MTXONB 0x00000080lu | ||
2641 | #define EPARITY 0x00000100lu | ||
2642 | #define MSB 0x00001E00lu | ||
2643 | #define APRXEN 0x00002000lu | ||
2644 | #define WAKEUP 0x00004000lu | ||
2645 | #define LMECH 0x00008000lu | ||
2646 | |||
2647 | #ifdef _MISRA_RULES | ||
2648 | #define SET_MSB(x) (((x)&0xFu) << 0x9) | ||
2649 | #else | ||
2650 | #define SET_MSB(x) (((x)&0xF) << 0x9) | ||
2651 | #endif /* _MISRA_RULES */ | ||
2652 | |||
2653 | |||
2654 | /* MXVR_PLL_CTL_0 Masks */ | ||
2655 | |||
2656 | #define MXTALCEN 0x00000001lu | ||
2657 | #define MXTALFEN 0x00000002lu | ||
2658 | #define MPLLMS 0x00000008lu | ||
2659 | #define MXTALMUL 0x00000030lu | ||
2660 | #define MPLLEN 0x00000040lu | ||
2661 | #define MPLLEN0 0x00000040lu /* legacy */ | ||
2662 | #define MPLLEN1 0x00000080lu /* legacy */ | ||
2663 | #define MMCLKEN 0x00000100lu | ||
2664 | #define MMCLKMUL 0x00001E00lu | ||
2665 | #define MPLLRSTB 0x00002000lu | ||
2666 | #define MPLLRSTB0 0x00002000lu /* legacy */ | ||
2667 | #define MPLLRSTB1 0x00004000lu /* legacy */ | ||
2668 | #define MBCLKEN 0x00010000lu | ||
2669 | #define MBCLKDIV 0x001E0000lu | ||
2670 | #define MPLLCDR 0x00200000lu | ||
2671 | #define MPLLCDR0 0x00200000lu /* legacy */ | ||
2672 | #define MPLLCDR1 0x00400000lu /* legacy */ | ||
2673 | #define INVRX 0x00800000lu | ||
2674 | #define MFSEN 0x01000000lu | ||
2675 | #define MFSDIV 0x1E000000lu | ||
2676 | #define MFSSEL 0x60000000lu | ||
2677 | #define MFSSYNC 0x80000000lu | ||
2678 | |||
2679 | #define MXTALMUL_256FS 0x00000000lu /* legacy */ | ||
2680 | #define MXTALMUL_384FS 0x00000010lu /* legacy */ | ||
2681 | #define MXTALMUL_512FS 0x00000020lu /* legacy */ | ||
2682 | #define MXTALMUL_1024FS 0x00000030lu | ||
2683 | |||
2684 | #define MMCLKMUL_1024FS 0x00000000lu | ||
2685 | #define MMCLKMUL_512FS 0x00000200lu | ||
2686 | #define MMCLKMUL_256FS 0x00000400lu | ||
2687 | #define MMCLKMUL_128FS 0x00000600lu | ||
2688 | #define MMCLKMUL_64FS 0x00000800lu | ||
2689 | #define MMCLKMUL_32FS 0x00000A00lu | ||
2690 | #define MMCLKMUL_16FS 0x00000C00lu | ||
2691 | #define MMCLKMUL_8FS 0x00000E00lu | ||
2692 | #define MMCLKMUL_4FS 0x00001000lu | ||
2693 | #define MMCLKMUL_2FS 0x00001200lu | ||
2694 | #define MMCLKMUL_1FS 0x00001400lu | ||
2695 | #define MMCLKMUL_1536FS 0x00001A00lu | ||
2696 | #define MMCLKMUL_768FS 0x00001C00lu | ||
2697 | #define MMCLKMUL_384FS 0x00001E00lu | ||
2698 | |||
2699 | #define MBCLKDIV_DIV2 0x00020000lu | ||
2700 | #define MBCLKDIV_DIV4 0x00040000lu | ||
2701 | #define MBCLKDIV_DIV8 0x00060000lu | ||
2702 | #define MBCLKDIV_DIV16 0x00080000lu | ||
2703 | #define MBCLKDIV_DIV32 0x000A0000lu | ||
2704 | #define MBCLKDIV_DIV64 0x000C0000lu | ||
2705 | #define MBCLKDIV_DIV128 0x000E0000lu | ||
2706 | #define MBCLKDIV_DIV256 0x00100000lu | ||
2707 | #define MBCLKDIV_DIV512 0x00120000lu | ||
2708 | #define MBCLKDIV_DIV1024 0x00140000lu | ||
2709 | |||
2710 | #define MFSDIV_DIV2 0x02000000lu | ||
2711 | #define MFSDIV_DIV4 0x04000000lu | ||
2712 | #define MFSDIV_DIV8 0x06000000lu | ||
2713 | #define MFSDIV_DIV16 0x08000000lu | ||
2714 | #define MFSDIV_DIV32 0x0A000000lu | ||
2715 | #define MFSDIV_DIV64 0x0C000000lu | ||
2716 | #define MFSDIV_DIV128 0x0E000000lu | ||
2717 | #define MFSDIV_DIV256 0x10000000lu | ||
2718 | #define MFSDIV_DIV512 0x12000000lu | ||
2719 | #define MFSDIV_DIV1024 0x14000000lu | ||
2720 | |||
2721 | #define MFSSEL_CLOCK 0x00000000lu | ||
2722 | #define MFSSEL_PULSE_HI 0x20000000lu | ||
2723 | #define MFSSEL_PULSE_LO 0x40000000lu | ||
2724 | |||
2725 | |||
2726 | /* MXVR_PLL_CTL_1 Masks */ | ||
2727 | |||
2728 | #define MSTO 0x00000001lu | ||
2729 | #define MSTO0 0x00000001lu /* legacy */ | ||
2730 | #define MHOGGD 0x00000004lu | ||
2731 | #define MHOGGD0 0x00000004lu /* legacy */ | ||
2732 | #define MHOGGD1 0x00000008lu /* legacy */ | ||
2733 | #define MSHAPEREN 0x00000010lu | ||
2734 | #define MSHAPEREN0 0x00000010lu /* legacy */ | ||
2735 | #define MSHAPEREN1 0x00000020lu /* legacy */ | ||
2736 | #define MPLLCNTEN 0x00008000lu | ||
2737 | #define MPLLCNT 0xFFFF0000lu | ||
2738 | |||
2739 | #ifdef _MISRA_RULES | ||
2740 | #define SET_MPLLCNT(x) (((x)&0xFFFFu) << 0x10) | ||
2741 | #else | ||
2742 | #define SET_MPLLCNT(x) (((x)&0xFFFF) << 0x10) | ||
2743 | #endif /* _MISRA_RULES */ | ||
2744 | |||
2745 | |||
2746 | /* MXVR_PLL_CTL_2 Masks */ | ||
2747 | |||
2748 | #define MSHAPERSEL 0x00000007lu | ||
2749 | #define MCPSEL 0x000000E0lu | ||
2750 | |||
2751 | /* MXVR_INT_STAT_0 Masks */ | ||
2752 | |||
2753 | #define NI2A 0x00000001lu | ||
2754 | #define NA2I 0x00000002lu | ||
2755 | #define SBU2L 0x00000004lu | ||
2756 | #define SBL2U 0x00000008lu | ||
2757 | #define PRU 0x00000010lu | ||
2758 | #define MPRU 0x00000020lu | ||
2759 | #define DRU 0x00000040lu | ||
2760 | #define MDRU 0x00000080lu | ||
2761 | #define SBU 0x00000100lu | ||
2762 | #define ATU 0x00000200lu | ||
2763 | #define FCZ0 0x00000400lu | ||
2764 | #define FCZ1 0x00000800lu | ||
2765 | #define PERR 0x00001000lu | ||
2766 | #define MH2L 0x00002000lu | ||
2767 | #define ML2H 0x00004000lu | ||
2768 | #define WUP 0x00008000lu | ||
2769 | #define FU2L 0x00010000lu | ||
2770 | #define FL2U 0x00020000lu | ||
2771 | #define BU2L 0x00040000lu | ||
2772 | #define BL2U 0x00080000lu | ||
2773 | #define PCZ 0x00400000lu | ||
2774 | #define FERR 0x00800000lu | ||
2775 | #define CMR 0x01000000lu | ||
2776 | #define CMROF 0x02000000lu | ||
2777 | #define CMTS 0x04000000lu | ||
2778 | #define CMTC 0x08000000lu | ||
2779 | #define RWRC 0x10000000lu | ||
2780 | #define BCZ 0x20000000lu | ||
2781 | #define BMERR 0x40000000lu | ||
2782 | #define DERR 0x80000000lu | ||
2783 | |||
2784 | |||
2785 | /* MXVR_INT_EN_0 Masks */ | ||
2786 | |||
2787 | #define NI2AEN NI2A | ||
2788 | #define NA2IEN NA2I | ||
2789 | #define SBU2LEN SBU2L | ||
2790 | #define SBL2UEN SBL2U | ||
2791 | #define PRUEN PRU | ||
2792 | #define MPRUEN MPRU | ||
2793 | #define DRUEN DRU | ||
2794 | #define MDRUEN MDRU | ||
2795 | #define SBUEN SBU | ||
2796 | #define ATUEN ATU | ||
2797 | #define FCZ0EN FCZ0 | ||
2798 | #define FCZ1EN FCZ1 | ||
2799 | #define PERREN PERR | ||
2800 | #define MH2LEN MH2L | ||
2801 | #define ML2HEN ML2H | ||
2802 | #define WUPEN WUP | ||
2803 | #define FU2LEN FU2L | ||
2804 | #define FL2UEN FL2U | ||
2805 | #define BU2LEN BU2L | ||
2806 | #define BL2UEN BL2U | ||
2807 | #define PCZEN PCZ | ||
2808 | #define FERREN FERR | ||
2809 | #define CMREN CMR | ||
2810 | #define CMROFEN CMROF | ||
2811 | #define CMTSEN CMTS | ||
2812 | #define CMTCEN CMTC | ||
2813 | #define RWRCEN RWRC | ||
2814 | #define BCZEN BCZ | ||
2815 | #define BMERREN BMERR | ||
2816 | #define DERREN DERR | ||
2817 | |||
2818 | |||
2819 | /* MXVR_INT_STAT_1 Masks */ | ||
2820 | |||
2821 | #define APR 0x00000004lu | ||
2822 | #define APROF 0x00000008lu | ||
2823 | #define APTS 0x00000040lu | ||
2824 | #define APTC 0x00000080lu | ||
2825 | #define APRCE 0x00000400lu | ||
2826 | #define APRPE 0x00000800lu | ||
2827 | |||
2828 | #define HDONE0 0x00000001lu | ||
2829 | #define DONE0 0x00000002lu | ||
2830 | #define HDONE1 0x00000010lu | ||
2831 | #define DONE1 0x00000020lu | ||
2832 | #define HDONE2 0x00000100lu | ||
2833 | #define DONE2 0x00000200lu | ||
2834 | #define HDONE3 0x00001000lu | ||
2835 | #define DONE3 0x00002000lu | ||
2836 | #define HDONE4 0x00010000lu | ||
2837 | #define DONE4 0x00020000lu | ||
2838 | #define HDONE5 0x00100000lu | ||
2839 | #define DONE5 0x00200000lu | ||
2840 | #define HDONE6 0x01000000lu | ||
2841 | #define DONE6 0x02000000lu | ||
2842 | #define HDONE7 0x10000000lu | ||
2843 | #define DONE7 0x20000000lu | ||
2844 | |||
2845 | #define DONEX(x) (0x00000002 << (4 * (x))) | ||
2846 | #define HDONEX(x) (0x00000001 << (4 * (x))) | ||
2847 | |||
2848 | |||
2849 | /* MXVR_INT_EN_1 Masks */ | ||
2850 | |||
2851 | #define APREN APR | ||
2852 | #define APROFEN APROF | ||
2853 | #define APTSEN APTS | ||
2854 | #define APTCEN APTC | ||
2855 | #define APRCEEN APRCE | ||
2856 | #define APRPEEN APRPE | ||
2857 | |||
2858 | #define HDONEEN0 HDONE0 | ||
2859 | #define DONEEN0 DONE0 | ||
2860 | #define HDONEEN1 HDONE1 | ||
2861 | #define DONEEN1 DONE1 | ||
2862 | #define HDONEEN2 HDONE2 | ||
2863 | #define DONEEN2 DONE2 | ||
2864 | #define HDONEEN3 HDONE3 | ||
2865 | #define DONEEN3 DONE3 | ||
2866 | #define HDONEEN4 HDONE4 | ||
2867 | #define DONEEN4 DONE4 | ||
2868 | #define HDONEEN5 HDONE5 | ||
2869 | #define DONEEN5 DONE5 | ||
2870 | #define HDONEEN6 HDONE6 | ||
2871 | #define DONEEN6 DONE6 | ||
2872 | #define HDONEEN7 HDONE7 | ||
2873 | #define DONEEN7 DONE7 | ||
2874 | |||
2875 | #define DONEENX(x) (0x00000002 << (4 * (x))) | ||
2876 | #define HDONEENX(x) (0x00000001 << (4 * (x))) | ||
2877 | |||
2878 | |||
2879 | /* MXVR_STATE_0 Masks */ | ||
2880 | |||
2881 | #define NACT 0x00000001lu | ||
2882 | #define SBLOCK 0x00000002lu | ||
2883 | #define PFDLOCK 0x00000004lu | ||
2884 | #define PFDLOCK0 0x00000004lu /* legacy */ | ||
2885 | #define PDD 0x00000008lu | ||
2886 | #define PDD0 0x00000008lu /* legacy */ | ||
2887 | #define PVCO 0x00000010lu | ||
2888 | #define PVCO0 0x00000010lu /* legacy */ | ||
2889 | #define PFDLOCK1 0x00000020lu /* legacy */ | ||
2890 | #define PDD1 0x00000040lu /* legacy */ | ||
2891 | #define PVCO1 0x00000080lu /* legacy */ | ||
2892 | #define APBSY 0x00000100lu | ||
2893 | #define APARB 0x00000200lu | ||
2894 | #define APTX 0x00000400lu | ||
2895 | #define APRX 0x00000800lu | ||
2896 | #define CMBSY 0x00001000lu | ||
2897 | #define CMARB 0x00002000lu | ||
2898 | #define CMTX 0x00004000lu | ||
2899 | #define CMRX 0x00008000lu | ||
2900 | #define MRXONB 0x00010000lu | ||
2901 | #define RGSIP 0x00020000lu | ||
2902 | #define DALIP 0x00040000lu | ||
2903 | #define ALIP 0x00080000lu | ||
2904 | #define RRDIP 0x00100000lu | ||
2905 | #define RWRIP 0x00200000lu | ||
2906 | #define FLOCK 0x00400000lu | ||
2907 | #define BLOCK 0x00800000lu | ||
2908 | #define RSB 0x0F000000lu | ||
2909 | #define DERRNUM 0xF0000000lu | ||
2910 | |||
2911 | |||
2912 | /* MXVR_STATE_1 Masks */ | ||
2913 | |||
2914 | #define STXNUMB 0x0000000Flu | ||
2915 | #define SRXNUMB 0x000000F0lu | ||
2916 | #define APCONT 0x00000100lu | ||
2917 | #define DMAACTIVEX 0x00FF0000lu | ||
2918 | #define DMAACTIVE0 0x00010000lu | ||
2919 | #define DMAACTIVE1 0x00020000lu | ||
2920 | #define DMAACTIVE2 0x00040000lu | ||
2921 | #define DMAACTIVE3 0x00080000lu | ||
2922 | #define DMAACTIVE4 0x00100000lu | ||
2923 | #define DMAACTIVE5 0x00200000lu | ||
2924 | #define DMAACTIVE6 0x00400000lu | ||
2925 | #define DMAACTIVE7 0x00800000lu | ||
2926 | #define DMAPMENX 0xFF000000lu | ||
2927 | #define DMAPMEN0 0x01000000lu | ||
2928 | #define DMAPMEN1 0x02000000lu | ||
2929 | #define DMAPMEN2 0x04000000lu | ||
2930 | #define DMAPMEN3 0x08000000lu | ||
2931 | #define DMAPMEN4 0x10000000lu | ||
2932 | #define DMAPMEN5 0x20000000lu | ||
2933 | #define DMAPMEN6 0x40000000lu | ||
2934 | #define DMAPMEN7 0x80000000lu | ||
2935 | |||
2936 | |||
2937 | /* MXVR_POSITION Masks */ | ||
2938 | |||
2939 | #define PVALID 0x8000 | ||
2940 | #define POSITION 0x003F | ||
2941 | |||
2942 | |||
2943 | /* MXVR_MAX_POSITION Masks */ | ||
2944 | |||
2945 | #define MPVALID 0x8000 | ||
2946 | #define MPOSITION 0x003F | ||
2947 | |||
2948 | |||
2949 | /* MXVR_DELAY Masks */ | ||
2950 | |||
2951 | #define DVALID 0x8000 | ||
2952 | #define DELAY 0x003F | ||
2953 | |||
2954 | |||
2955 | /* MXVR_MAX_DELAY Masks */ | ||
2956 | |||
2957 | #define MDVALID 0x8000 | ||
2958 | #define MDELAY 0x003F | ||
2959 | |||
2960 | |||
2961 | /* MXVR_LADDR Masks */ | ||
2962 | |||
2963 | #define LVALID 0x80000000lu | ||
2964 | #define LADDR 0x0000FFFFlu | ||
2965 | |||
2966 | |||
2967 | /* MXVR_GADDR Masks */ | ||
2968 | |||
2969 | #define GVALID 0x8000 | ||
2970 | #define GADDRL 0x00FF | ||
2971 | |||
2972 | |||
2973 | /* MXVR_AADDR Masks */ | ||
2974 | |||
2975 | #define AVALID 0x80000000lu | ||
2976 | #define AADDR 0x0000FFFFlu | ||
2977 | |||
2978 | |||
2979 | /* MXVR_ALLOC_0 Masks */ | ||
2980 | |||
2981 | #define CIU0 0x00000080lu | ||
2982 | #define CIU1 0x00008000lu | ||
2983 | #define CIU2 0x00800000lu | ||
2984 | #define CIU3 0x80000000lu | ||
2985 | |||
2986 | #define CL0 0x0000007Flu | ||
2987 | #define CL1 0x00007F00lu | ||
2988 | #define CL2 0x007F0000lu | ||
2989 | #define CL3 0x7F000000lu | ||
2990 | |||
2991 | |||
2992 | /* MXVR_ALLOC_1 Masks */ | ||
2993 | |||
2994 | #define CIU4 0x00000080lu | ||
2995 | #define CIU5 0x00008000lu | ||
2996 | #define CIU6 0x00800000lu | ||
2997 | #define CIU7 0x80000000lu | ||
2998 | |||
2999 | #define CL4 0x0000007Flu | ||
3000 | #define CL5 0x00007F00lu | ||
3001 | #define CL6 0x007F0000lu | ||
3002 | #define CL7 0x7F000000lu | ||
3003 | |||
3004 | |||
3005 | /* MXVR_ALLOC_2 Masks */ | ||
3006 | |||
3007 | #define CIU8 0x00000080lu | ||
3008 | #define CIU9 0x00008000lu | ||
3009 | #define CIU10 0x00800000lu | ||
3010 | #define CIU11 0x80000000lu | ||
3011 | |||
3012 | #define CL8 0x0000007Flu | ||
3013 | #define CL9 0x00007F00lu | ||
3014 | #define CL10 0x007F0000lu | ||
3015 | #define CL11 0x7F000000lu | ||
3016 | |||
3017 | |||
3018 | /* MXVR_ALLOC_3 Masks */ | ||
3019 | |||
3020 | #define CIU12 0x00000080lu | ||
3021 | #define CIU13 0x00008000lu | ||
3022 | #define CIU14 0x00800000lu | ||
3023 | #define CIU15 0x80000000lu | ||
3024 | |||
3025 | #define CL12 0x0000007Flu | ||
3026 | #define CL13 0x00007F00lu | ||
3027 | #define CL14 0x007F0000lu | ||
3028 | #define CL15 0x7F000000lu | ||
3029 | |||
3030 | |||
3031 | /* MXVR_ALLOC_4 Masks */ | ||
3032 | |||
3033 | #define CIU16 0x00000080lu | ||
3034 | #define CIU17 0x00008000lu | ||
3035 | #define CIU18 0x00800000lu | ||
3036 | #define CIU19 0x80000000lu | ||
3037 | |||
3038 | #define CL16 0x0000007Flu | ||
3039 | #define CL17 0x00007F00lu | ||
3040 | #define CL18 0x007F0000lu | ||
3041 | #define CL19 0x7F000000lu | ||
3042 | |||
3043 | |||
3044 | /* MXVR_ALLOC_5 Masks */ | ||
3045 | |||
3046 | #define CIU20 0x00000080lu | ||
3047 | #define CIU21 0x00008000lu | ||
3048 | #define CIU22 0x00800000lu | ||
3049 | #define CIU23 0x80000000lu | ||
3050 | |||
3051 | #define CL20 0x0000007Flu | ||
3052 | #define CL21 0x00007F00lu | ||
3053 | #define CL22 0x007F0000lu | ||
3054 | #define CL23 0x7F000000lu | ||
3055 | |||
3056 | |||
3057 | /* MXVR_ALLOC_6 Masks */ | ||
3058 | |||
3059 | #define CIU24 0x00000080lu | ||
3060 | #define CIU25 0x00008000lu | ||
3061 | #define CIU26 0x00800000lu | ||
3062 | #define CIU27 0x80000000lu | ||
3063 | |||
3064 | #define CL24 0x0000007Flu | ||
3065 | #define CL25 0x00007F00lu | ||
3066 | #define CL26 0x007F0000lu | ||
3067 | #define CL27 0x7F000000lu | ||
3068 | |||
3069 | |||
3070 | /* MXVR_ALLOC_7 Masks */ | ||
3071 | |||
3072 | #define CIU28 0x00000080lu | ||
3073 | #define CIU29 0x00008000lu | ||
3074 | #define CIU30 0x00800000lu | ||
3075 | #define CIU31 0x80000000lu | ||
3076 | |||
3077 | #define CL28 0x0000007Flu | ||
3078 | #define CL29 0x00007F00lu | ||
3079 | #define CL30 0x007F0000lu | ||
3080 | #define CL31 0x7F000000lu | ||
3081 | |||
3082 | |||
3083 | /* MXVR_ALLOC_8 Masks */ | ||
3084 | |||
3085 | #define CIU32 0x00000080lu | ||
3086 | #define CIU33 0x00008000lu | ||
3087 | #define CIU34 0x00800000lu | ||
3088 | #define CIU35 0x80000000lu | ||
3089 | |||
3090 | #define CL32 0x0000007Flu | ||
3091 | #define CL33 0x00007F00lu | ||
3092 | #define CL34 0x007F0000lu | ||
3093 | #define CL35 0x7F000000lu | ||
3094 | |||
3095 | |||
3096 | /* MXVR_ALLOC_9 Masks */ | ||
3097 | |||
3098 | #define CIU36 0x00000080lu | ||
3099 | #define CIU37 0x00008000lu | ||
3100 | #define CIU38 0x00800000lu | ||
3101 | #define CIU39 0x80000000lu | ||
3102 | |||
3103 | #define CL36 0x0000007Flu | ||
3104 | #define CL37 0x00007F00lu | ||
3105 | #define CL38 0x007F0000lu | ||
3106 | #define CL39 0x7F000000lu | ||
3107 | |||
3108 | |||
3109 | /* MXVR_ALLOC_10 Masks */ | ||
3110 | |||
3111 | #define CIU40 0x00000080lu | ||
3112 | #define CIU41 0x00008000lu | ||
3113 | #define CIU42 0x00800000lu | ||
3114 | #define CIU43 0x80000000lu | ||
3115 | |||
3116 | #define CL40 0x0000007Flu | ||
3117 | #define CL41 0x00007F00lu | ||
3118 | #define CL42 0x007F0000lu | ||
3119 | #define CL43 0x7F000000lu | ||
3120 | |||
3121 | |||
3122 | /* MXVR_ALLOC_11 Masks */ | ||
3123 | |||
3124 | #define CIU44 0x00000080lu | ||
3125 | #define CIU45 0x00008000lu | ||
3126 | #define CIU46 0x00800000lu | ||
3127 | #define CIU47 0x80000000lu | ||
3128 | |||
3129 | #define CL44 0x0000007Flu | ||
3130 | #define CL45 0x00007F00lu | ||
3131 | #define CL46 0x007F0000lu | ||
3132 | #define CL47 0x7F000000lu | ||
3133 | |||
3134 | |||
3135 | /* MXVR_ALLOC_12 Masks */ | ||
3136 | |||
3137 | #define CIU48 0x00000080lu | ||
3138 | #define CIU49 0x00008000lu | ||
3139 | #define CIU50 0x00800000lu | ||
3140 | #define CIU51 0x80000000lu | ||
3141 | |||
3142 | #define CL48 0x0000007Flu | ||
3143 | #define CL49 0x00007F00lu | ||
3144 | #define CL50 0x007F0000lu | ||
3145 | #define CL51 0x7F000000lu | ||
3146 | |||
3147 | |||
3148 | /* MXVR_ALLOC_13 Masks */ | ||
3149 | |||
3150 | #define CIU52 0x00000080lu | ||
3151 | #define CIU53 0x00008000lu | ||
3152 | #define CIU54 0x00800000lu | ||
3153 | #define CIU55 0x80000000lu | ||
3154 | |||
3155 | #define CL52 0x0000007Flu | ||
3156 | #define CL53 0x00007F00lu | ||
3157 | #define CL54 0x007F0000lu | ||
3158 | #define CL55 0x7F000000lu | ||
3159 | |||
3160 | |||
3161 | /* MXVR_ALLOC_14 Masks */ | ||
3162 | |||
3163 | #define CIU56 0x00000080lu | ||
3164 | #define CIU57 0x00008000lu | ||
3165 | #define CIU58 0x00800000lu | ||
3166 | #define CIU59 0x80000000lu | ||
3167 | |||
3168 | #define CL56 0x0000007Flu | ||
3169 | #define CL57 0x00007F00lu | ||
3170 | #define CL58 0x007F0000lu | ||
3171 | #define CL59 0x7F000000lu | ||
3172 | |||
3173 | |||
3174 | /* MXVR_SYNC_LCHAN_0 Masks */ | ||
3175 | |||
3176 | #define LCHANPC0 0x0000000Flu | ||
3177 | #define LCHANPC1 0x000000F0lu | ||
3178 | #define LCHANPC2 0x00000F00lu | ||
3179 | #define LCHANPC3 0x0000F000lu | ||
3180 | #define LCHANPC4 0x000F0000lu | ||
3181 | #define LCHANPC5 0x00F00000lu | ||
3182 | #define LCHANPC6 0x0F000000lu | ||
3183 | #define LCHANPC7 0xF0000000lu | ||
3184 | |||
3185 | |||
3186 | /* MXVR_SYNC_LCHAN_1 Masks */ | ||
3187 | |||
3188 | #define LCHANPC8 0x0000000Flu | ||
3189 | #define LCHANPC9 0x000000F0lu | ||
3190 | #define LCHANPC10 0x00000F00lu | ||
3191 | #define LCHANPC11 0x0000F000lu | ||
3192 | #define LCHANPC12 0x000F0000lu | ||
3193 | #define LCHANPC13 0x00F00000lu | ||
3194 | #define LCHANPC14 0x0F000000lu | ||
3195 | #define LCHANPC15 0xF0000000lu | ||
3196 | |||
3197 | |||
3198 | /* MXVR_SYNC_LCHAN_2 Masks */ | ||
3199 | |||
3200 | #define LCHANPC16 0x0000000Flu | ||
3201 | #define LCHANPC17 0x000000F0lu | ||
3202 | #define LCHANPC18 0x00000F00lu | ||
3203 | #define LCHANPC19 0x0000F000lu | ||
3204 | #define LCHANPC20 0x000F0000lu | ||
3205 | #define LCHANPC21 0x00F00000lu | ||
3206 | #define LCHANPC22 0x0F000000lu | ||
3207 | #define LCHANPC23 0xF0000000lu | ||
3208 | |||
3209 | |||
3210 | /* MXVR_SYNC_LCHAN_3 Masks */ | ||
3211 | |||
3212 | #define LCHANPC24 0x0000000Flu | ||
3213 | #define LCHANPC25 0x000000F0lu | ||
3214 | #define LCHANPC26 0x00000F00lu | ||
3215 | #define LCHANPC27 0x0000F000lu | ||
3216 | #define LCHANPC28 0x000F0000lu | ||
3217 | #define LCHANPC29 0x00F00000lu | ||
3218 | #define LCHANPC30 0x0F000000lu | ||
3219 | #define LCHANPC31 0xF0000000lu | ||
3220 | |||
3221 | |||
3222 | /* MXVR_SYNC_LCHAN_4 Masks */ | ||
3223 | |||
3224 | #define LCHANPC32 0x0000000Flu | ||
3225 | #define LCHANPC33 0x000000F0lu | ||
3226 | #define LCHANPC34 0x00000F00lu | ||
3227 | #define LCHANPC35 0x0000F000lu | ||
3228 | #define LCHANPC36 0x000F0000lu | ||
3229 | #define LCHANPC37 0x00F00000lu | ||
3230 | #define LCHANPC38 0x0F000000lu | ||
3231 | #define LCHANPC39 0xF0000000lu | ||
3232 | |||
3233 | |||
3234 | /* MXVR_SYNC_LCHAN_5 Masks */ | ||
3235 | |||
3236 | #define LCHANPC40 0x0000000Flu | ||
3237 | #define LCHANPC41 0x000000F0lu | ||
3238 | #define LCHANPC42 0x00000F00lu | ||
3239 | #define LCHANPC43 0x0000F000lu | ||
3240 | #define LCHANPC44 0x000F0000lu | ||
3241 | #define LCHANPC45 0x00F00000lu | ||
3242 | #define LCHANPC46 0x0F000000lu | ||
3243 | #define LCHANPC47 0xF0000000lu | ||
3244 | |||
3245 | |||
3246 | /* MXVR_SYNC_LCHAN_6 Masks */ | ||
3247 | |||
3248 | #define LCHANPC48 0x0000000Flu | ||
3249 | #define LCHANPC49 0x000000F0lu | ||
3250 | #define LCHANPC50 0x00000F00lu | ||
3251 | #define LCHANPC51 0x0000F000lu | ||
3252 | #define LCHANPC52 0x000F0000lu | ||
3253 | #define LCHANPC53 0x00F00000lu | ||
3254 | #define LCHANPC54 0x0F000000lu | ||
3255 | #define LCHANPC55 0xF0000000lu | ||
3256 | |||
3257 | |||
3258 | /* MXVR_SYNC_LCHAN_7 Masks */ | ||
3259 | |||
3260 | #define LCHANPC56 0x0000000Flu | ||
3261 | #define LCHANPC57 0x000000F0lu | ||
3262 | #define LCHANPC58 0x00000F00lu | ||
3263 | #define LCHANPC59 0x0000F000lu | ||
3264 | |||
3265 | |||
3266 | /* MXVR_DMAx_CONFIG Masks */ | ||
3267 | |||
3268 | #define MDMAEN 0x00000001lu | ||
3269 | #define DD 0x00000002lu | ||
3270 | #define LCHAN 0x000003C0lu | ||
3271 | #define BITSWAPEN 0x00000400lu | ||
3272 | #define BYSWAPEN 0x00000800lu | ||
3273 | #define MFLOW 0x00007000lu | ||
3274 | #define FIXEDPM 0x00080000lu | ||
3275 | #define STARTPAT 0x00300000lu | ||
3276 | #define STOPPAT 0x00C00000lu | ||
3277 | #define COUNTPOS 0x1C000000lu | ||
3278 | |||
3279 | #define DD_TX 0x00000000lu | ||
3280 | #define DD_RX 0x00000002lu | ||
3281 | |||
3282 | #define LCHAN_0 0x00000000lu | ||
3283 | #define LCHAN_1 0x00000040lu | ||
3284 | #define LCHAN_2 0x00000080lu | ||
3285 | #define LCHAN_3 0x000000C0lu | ||
3286 | #define LCHAN_4 0x00000100lu | ||
3287 | #define LCHAN_5 0x00000140lu | ||
3288 | #define LCHAN_6 0x00000180lu | ||
3289 | #define LCHAN_7 0x000001C0lu | ||
3290 | |||
3291 | #define MFLOW_STOP 0x00000000lu | ||
3292 | #define MFLOW_AUTO 0x00001000lu | ||
3293 | #define MFLOW_PVC 0x00002000lu | ||
3294 | #define MFLOW_PSS 0x00003000lu | ||
3295 | #define MFLOW_PFC 0x00004000lu | ||
3296 | |||
3297 | #define STARTPAT_0 0x00000000lu | ||
3298 | #define STARTPAT_1 0x00100000lu | ||
3299 | |||
3300 | #define STOPPAT_0 0x00000000lu | ||
3301 | #define STOPPAT_1 0x00400000lu | ||
3302 | |||
3303 | #define COUNTPOS_0 0x00000000lu | ||
3304 | #define COUNTPOS_1 0x04000000lu | ||
3305 | #define COUNTPOS_2 0x08000000lu | ||
3306 | #define COUNTPOS_3 0x0C000000lu | ||
3307 | #define COUNTPOS_4 0x10000000lu | ||
3308 | #define COUNTPOS_5 0x14000000lu | ||
3309 | #define COUNTPOS_6 0x18000000lu | ||
3310 | #define COUNTPOS_7 0x1C000000lu | ||
3311 | |||
3312 | |||
3313 | /* MXVR_AP_CTL Masks */ | ||
3314 | |||
3315 | #define STARTAP 0x00000001lu | ||
3316 | #define CANCELAP 0x00000002lu | ||
3317 | #define RESETAP 0x00000004lu | ||
3318 | #define APRBE0 0x00004000lu | ||
3319 | #define APRBE1 0x00008000lu | ||
3320 | #define APRBEX 0x0000C000lu | ||
3321 | |||
3322 | |||
3323 | /* MXVR_CM_CTL Masks */ | ||
3324 | |||
3325 | #define STARTCM 0x00000001lu | ||
3326 | #define CANCELCM 0x00000002lu | ||
3327 | #define CMRBEX 0xFFFF0000lu | ||
3328 | #define CMRBE0 0x00010000lu | ||
3329 | #define CMRBE1 0x00020000lu | ||
3330 | #define CMRBE2 0x00040000lu | ||
3331 | #define CMRBE3 0x00080000lu | ||
3332 | #define CMRBE4 0x00100000lu | ||
3333 | #define CMRBE5 0x00200000lu | ||
3334 | #define CMRBE6 0x00400000lu | ||
3335 | #define CMRBE7 0x00800000lu | ||
3336 | #define CMRBE8 0x01000000lu | ||
3337 | #define CMRBE9 0x02000000lu | ||
3338 | #define CMRBE10 0x04000000lu | ||
3339 | #define CMRBE11 0x08000000lu | ||
3340 | #define CMRBE12 0x10000000lu | ||
3341 | #define CMRBE13 0x20000000lu | ||
3342 | #define CMRBE14 0x40000000lu | ||
3343 | #define CMRBE15 0x80000000lu | ||
3344 | |||
3345 | |||
3346 | /* MXVR_PAT_DATA_x Masks */ | ||
3347 | |||
3348 | #define MATCH_DATA_0 0x000000FFlu | ||
3349 | #define MATCH_DATA_1 0x0000FF00lu | ||
3350 | #define MATCH_DATA_2 0x00FF0000lu | ||
3351 | #define MATCH_DATA_3 0xFF000000lu | ||
3352 | |||
3353 | |||
3354 | |||
3355 | /* MXVR_PAT_EN_x Masks */ | ||
3356 | |||
3357 | #define MATCH_EN_0_0 0x00000001lu | ||
3358 | #define MATCH_EN_0_1 0x00000002lu | ||
3359 | #define MATCH_EN_0_2 0x00000004lu | ||
3360 | #define MATCH_EN_0_3 0x00000008lu | ||
3361 | #define MATCH_EN_0_4 0x00000010lu | ||
3362 | #define MATCH_EN_0_5 0x00000020lu | ||
3363 | #define MATCH_EN_0_6 0x00000040lu | ||
3364 | #define MATCH_EN_0_7 0x00000080lu | ||
3365 | |||
3366 | #define MATCH_EN_1_0 0x00000100lu | ||
3367 | #define MATCH_EN_1_1 0x00000200lu | ||
3368 | #define MATCH_EN_1_2 0x00000400lu | ||
3369 | #define MATCH_EN_1_3 0x00000800lu | ||
3370 | #define MATCH_EN_1_4 0x00001000lu | ||
3371 | #define MATCH_EN_1_5 0x00002000lu | ||
3372 | #define MATCH_EN_1_6 0x00004000lu | ||
3373 | #define MATCH_EN_1_7 0x00008000lu | ||
3374 | |||
3375 | #define MATCH_EN_2_0 0x00010000lu | ||
3376 | #define MATCH_EN_2_1 0x00020000lu | ||
3377 | #define MATCH_EN_2_2 0x00040000lu | ||
3378 | #define MATCH_EN_2_3 0x00080000lu | ||
3379 | #define MATCH_EN_2_4 0x00100000lu | ||
3380 | #define MATCH_EN_2_5 0x00200000lu | ||
3381 | #define MATCH_EN_2_6 0x00400000lu | ||
3382 | #define MATCH_EN_2_7 0x00800000lu | ||
3383 | |||
3384 | #define MATCH_EN_3_0 0x01000000lu | ||
3385 | #define MATCH_EN_3_1 0x02000000lu | ||
3386 | #define MATCH_EN_3_2 0x04000000lu | ||
3387 | #define MATCH_EN_3_3 0x08000000lu | ||
3388 | #define MATCH_EN_3_4 0x10000000lu | ||
3389 | #define MATCH_EN_3_5 0x20000000lu | ||
3390 | #define MATCH_EN_3_6 0x40000000lu | ||
3391 | #define MATCH_EN_3_7 0x80000000lu | ||
3392 | |||
3393 | |||
3394 | /* MXVR_ROUTING_0 Masks */ | ||
3395 | |||
3396 | #define MUTE_CH0 0x00000080lu | ||
3397 | #define MUTE_CH1 0x00008000lu | ||
3398 | #define MUTE_CH2 0x00800000lu | ||
3399 | #define MUTE_CH3 0x80000000lu | ||
3400 | |||
3401 | #define TX_CH0 0x0000007Flu | ||
3402 | #define TX_CH1 0x00007F00lu | ||
3403 | #define TX_CH2 0x007F0000lu | ||
3404 | #define TX_CH3 0x7F000000lu | ||
3405 | |||
3406 | |||
3407 | /* MXVR_ROUTING_1 Masks */ | ||
3408 | |||
3409 | #define MUTE_CH4 0x00000080lu | ||
3410 | #define MUTE_CH5 0x00008000lu | ||
3411 | #define MUTE_CH6 0x00800000lu | ||
3412 | #define MUTE_CH7 0x80000000lu | ||
3413 | |||
3414 | #define TX_CH4 0x0000007Flu | ||
3415 | #define TX_CH5 0x00007F00lu | ||
3416 | #define TX_CH6 0x007F0000lu | ||
3417 | #define TX_CH7 0x7F000000lu | ||
3418 | |||
3419 | |||
3420 | /* MXVR_ROUTING_2 Masks */ | ||
3421 | |||
3422 | #define MUTE_CH8 0x00000080lu | ||
3423 | #define MUTE_CH9 0x00008000lu | ||
3424 | #define MUTE_CH10 0x00800000lu | ||
3425 | #define MUTE_CH11 0x80000000lu | ||
3426 | |||
3427 | #define TX_CH8 0x0000007Flu | ||
3428 | #define TX_CH9 0x00007F00lu | ||
3429 | #define TX_CH10 0x007F0000lu | ||
3430 | #define TX_CH11 0x7F000000lu | ||
3431 | |||
3432 | /* MXVR_ROUTING_3 Masks */ | ||
3433 | |||
3434 | #define MUTE_CH12 0x00000080lu | ||
3435 | #define MUTE_CH13 0x00008000lu | ||
3436 | #define MUTE_CH14 0x00800000lu | ||
3437 | #define MUTE_CH15 0x80000000lu | ||
3438 | |||
3439 | #define TX_CH12 0x0000007Flu | ||
3440 | #define TX_CH13 0x00007F00lu | ||
3441 | #define TX_CH14 0x007F0000lu | ||
3442 | #define TX_CH15 0x7F000000lu | ||
3443 | |||
3444 | |||
3445 | /* MXVR_ROUTING_4 Masks */ | ||
3446 | |||
3447 | #define MUTE_CH16 0x00000080lu | ||
3448 | #define MUTE_CH17 0x00008000lu | ||
3449 | #define MUTE_CH18 0x00800000lu | ||
3450 | #define MUTE_CH19 0x80000000lu | ||
3451 | |||
3452 | #define TX_CH16 0x0000007Flu | ||
3453 | #define TX_CH17 0x00007F00lu | ||
3454 | #define TX_CH18 0x007F0000lu | ||
3455 | #define TX_CH19 0x7F000000lu | ||
3456 | |||
3457 | |||
3458 | /* MXVR_ROUTING_5 Masks */ | ||
3459 | |||
3460 | #define MUTE_CH20 0x00000080lu | ||
3461 | #define MUTE_CH21 0x00008000lu | ||
3462 | #define MUTE_CH22 0x00800000lu | ||
3463 | #define MUTE_CH23 0x80000000lu | ||
3464 | |||
3465 | #define TX_CH20 0x0000007Flu | ||
3466 | #define TX_CH21 0x00007F00lu | ||
3467 | #define TX_CH22 0x007F0000lu | ||
3468 | #define TX_CH23 0x7F000000lu | ||
3469 | |||
3470 | |||
3471 | /* MXVR_ROUTING_6 Masks */ | ||
3472 | |||
3473 | #define MUTE_CH24 0x00000080lu | ||
3474 | #define MUTE_CH25 0x00008000lu | ||
3475 | #define MUTE_CH26 0x00800000lu | ||
3476 | #define MUTE_CH27 0x80000000lu | ||
3477 | |||
3478 | #define TX_CH24 0x0000007Flu | ||
3479 | #define TX_CH25 0x00007F00lu | ||
3480 | #define TX_CH26 0x007F0000lu | ||
3481 | #define TX_CH27 0x7F000000lu | ||
3482 | |||
3483 | |||
3484 | /* MXVR_ROUTING_7 Masks */ | ||
3485 | |||
3486 | #define MUTE_CH28 0x00000080lu | ||
3487 | #define MUTE_CH29 0x00008000lu | ||
3488 | #define MUTE_CH30 0x00800000lu | ||
3489 | #define MUTE_CH31 0x80000000lu | ||
3490 | |||
3491 | #define TX_CH28 0x0000007Flu | ||
3492 | #define TX_CH29 0x00007F00lu | ||
3493 | #define TX_CH30 0x007F0000lu | ||
3494 | #define TX_CH31 0x7F000000lu | ||
3495 | |||
3496 | |||
3497 | /* MXVR_ROUTING_8 Masks */ | ||
3498 | |||
3499 | #define MUTE_CH32 0x00000080lu | ||
3500 | #define MUTE_CH33 0x00008000lu | ||
3501 | #define MUTE_CH34 0x00800000lu | ||
3502 | #define MUTE_CH35 0x80000000lu | ||
3503 | |||
3504 | #define TX_CH32 0x0000007Flu | ||
3505 | #define TX_CH33 0x00007F00lu | ||
3506 | #define TX_CH34 0x007F0000lu | ||
3507 | #define TX_CH35 0x7F000000lu | ||
3508 | |||
3509 | |||
3510 | /* MXVR_ROUTING_9 Masks */ | ||
3511 | |||
3512 | #define MUTE_CH36 0x00000080lu | ||
3513 | #define MUTE_CH37 0x00008000lu | ||
3514 | #define MUTE_CH38 0x00800000lu | ||
3515 | #define MUTE_CH39 0x80000000lu | ||
3516 | |||
3517 | #define TX_CH36 0x0000007Flu | ||
3518 | #define TX_CH37 0x00007F00lu | ||
3519 | #define TX_CH38 0x007F0000lu | ||
3520 | #define TX_CH39 0x7F000000lu | ||
3521 | |||
3522 | |||
3523 | /* MXVR_ROUTING_10 Masks */ | ||
3524 | |||
3525 | #define MUTE_CH40 0x00000080lu | ||
3526 | #define MUTE_CH41 0x00008000lu | ||
3527 | #define MUTE_CH42 0x00800000lu | ||
3528 | #define MUTE_CH43 0x80000000lu | ||
3529 | |||
3530 | #define TX_CH40 0x0000007Flu | ||
3531 | #define TX_CH41 0x00007F00lu | ||
3532 | #define TX_CH42 0x007F0000lu | ||
3533 | #define TX_CH43 0x7F000000lu | ||
3534 | |||
3535 | |||
3536 | /* MXVR_ROUTING_11 Masks */ | ||
3537 | |||
3538 | #define MUTE_CH44 0x00000080lu | ||
3539 | #define MUTE_CH45 0x00008000lu | ||
3540 | #define MUTE_CH46 0x00800000lu | ||
3541 | #define MUTE_CH47 0x80000000lu | ||
3542 | |||
3543 | #define TX_CH44 0x0000007Flu | ||
3544 | #define TX_CH45 0x00007F00lu | ||
3545 | #define TX_CH46 0x007F0000lu | ||
3546 | #define TX_CH47 0x7F000000lu | ||
3547 | |||
3548 | |||
3549 | /* MXVR_ROUTING_12 Masks */ | ||
3550 | |||
3551 | #define MUTE_CH48 0x00000080lu | ||
3552 | #define MUTE_CH49 0x00008000lu | ||
3553 | #define MUTE_CH50 0x00800000lu | ||
3554 | #define MUTE_CH51 0x80000000lu | ||
3555 | |||
3556 | #define TX_CH48 0x0000007Flu | ||
3557 | #define TX_CH49 0x00007F00lu | ||
3558 | #define TX_CH50 0x007F0000lu | ||
3559 | #define TX_CH51 0x7F000000lu | ||
3560 | |||
3561 | |||
3562 | /* MXVR_ROUTING_13 Masks */ | ||
3563 | |||
3564 | #define MUTE_CH52 0x00000080lu | ||
3565 | #define MUTE_CH53 0x00008000lu | ||
3566 | #define MUTE_CH54 0x00800000lu | ||
3567 | #define MUTE_CH55 0x80000000lu | ||
3568 | |||
3569 | #define TX_CH52 0x0000007Flu | ||
3570 | #define TX_CH53 0x00007F00lu | ||
3571 | #define TX_CH54 0x007F0000lu | ||
3572 | #define TX_CH55 0x7F000000lu | ||
3573 | |||
3574 | |||
3575 | /* MXVR_ROUTING_14 Masks */ | ||
3576 | |||
3577 | #define MUTE_CH56 0x00000080lu | ||
3578 | #define MUTE_CH57 0x00008000lu | ||
3579 | #define MUTE_CH58 0x00800000lu | ||
3580 | #define MUTE_CH59 0x80000000lu | ||
3581 | |||
3582 | #define TX_CH56 0x0000007Flu | ||
3583 | #define TX_CH57 0x00007F00lu | ||
3584 | #define TX_CH58 0x007F0000lu | ||
3585 | #define TX_CH59 0x7F000000lu | ||
3586 | |||
3587 | |||
3588 | /* Control Message Receive Buffer (CMRB) Address Offsets */ | ||
3589 | |||
3590 | #define CMRB_STRIDE 0x00000016lu | ||
3591 | |||
3592 | #define CMRB_DST_OFFSET 0x00000000lu | ||
3593 | #define CMRB_SRC_OFFSET 0x00000002lu | ||
3594 | #define CMRB_DATA_OFFSET 0x00000005lu | ||
3595 | |||
3596 | |||
3597 | /* Control Message Transmit Buffer (CMTB) Address Offsets */ | ||
3598 | |||
3599 | #define CMTB_PRIO_OFFSET 0x00000000lu | ||
3600 | #define CMTB_DST_OFFSET 0x00000002lu | ||
3601 | #define CMTB_SRC_OFFSET 0x00000004lu | ||
3602 | #define CMTB_TYPE_OFFSET 0x00000006lu | ||
3603 | #define CMTB_DATA_OFFSET 0x00000007lu | ||
3604 | |||
3605 | #define CMTB_ANSWER_OFFSET 0x0000000Alu | ||
3606 | |||
3607 | #define CMTB_STAT_N_OFFSET 0x00000018lu | ||
3608 | #define CMTB_STAT_A_OFFSET 0x00000016lu | ||
3609 | #define CMTB_STAT_D_OFFSET 0x0000000Elu | ||
3610 | #define CMTB_STAT_R_OFFSET 0x00000014lu | ||
3611 | #define CMTB_STAT_W_OFFSET 0x00000014lu | ||
3612 | #define CMTB_STAT_G_OFFSET 0x00000014lu | ||
3613 | |||
3614 | |||
3615 | /* Asynchronous Packet Receive Buffer (APRB) Address Offsets */ | ||
3616 | |||
3617 | #define APRB_STRIDE 0x00000400lu | ||
3618 | |||
3619 | #define APRB_DST_OFFSET 0x00000000lu | ||
3620 | #define APRB_LEN_OFFSET 0x00000002lu | ||
3621 | #define APRB_SRC_OFFSET 0x00000004lu | ||
3622 | #define APRB_DATA_OFFSET 0x00000006lu | ||
3623 | |||
3624 | |||
3625 | /* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */ | ||
3626 | |||
3627 | #define APTB_PRIO_OFFSET 0x00000000lu | ||
3628 | #define APTB_DST_OFFSET 0x00000002lu | ||
3629 | #define APTB_LEN_OFFSET 0x00000004lu | ||
3630 | #define APTB_SRC_OFFSET 0x00000006lu | ||
3631 | #define APTB_DATA_OFFSET 0x00000008lu | ||
3632 | |||
3633 | |||
3634 | /* Remote Read Buffer (RRDB) Address Offsets */ | ||
3635 | |||
3636 | #define RRDB_WADDR_OFFSET 0x00000100lu | ||
3637 | #define RRDB_WLEN_OFFSET 0x00000101lu | ||
3638 | |||
3639 | |||
3640 | |||
3641 | /* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/ | 2422 | /* ************ CONTROLLER AREA NETWORK (CAN) MASKS ***************/ |
3642 | /* CAN_CONTROL Masks */ | 2423 | /* CAN_CONTROL Masks */ |
3643 | #define SRS 0x0001 /* Software Reset */ | 2424 | #define SRS 0x0001 /* Software Reset */ |
diff --git a/arch/blackfin/mach-bf538/include/mach/gpio.h b/arch/blackfin/mach-bf538/include/mach/gpio.h index 295c78a465c2..0c346fba9619 100644 --- a/arch/blackfin/mach-bf538/include/mach/gpio.h +++ b/arch/blackfin/mach-bf538/include/mach/gpio.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008-2009 Analog Devices Inc. |
3 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -7,11 +7,8 @@ | |||
7 | #ifndef _MACH_GPIO_H_ | 7 | #ifndef _MACH_GPIO_H_ |
8 | #define _MACH_GPIO_H_ | 8 | #define _MACH_GPIO_H_ |
9 | 9 | ||
10 | /* FIXME: | ||
11 | * For now only support PORTF GPIOs. | ||
12 | * PORT C,D and E are for peripheral usage only | ||
13 | */ | ||
14 | #define MAX_BLACKFIN_GPIOS 16 | 10 | #define MAX_BLACKFIN_GPIOS 16 |
11 | #define BFIN_SPECIAL_GPIO_BANKS 3 | ||
15 | 12 | ||
16 | #define GPIO_PF0 0 /* PF */ | 13 | #define GPIO_PF0 0 /* PF */ |
17 | #define GPIO_PF1 1 | 14 | #define GPIO_PF1 1 |
diff --git a/arch/blackfin/mach-bf538/include/mach/portmux.h b/arch/blackfin/mach-bf538/include/mach/portmux.h index 6121cf8b5872..0083ba13ee9e 100644 --- a/arch/blackfin/mach-bf538/include/mach/portmux.h +++ b/arch/blackfin/mach-bf538/include/mach/portmux.h | |||
@@ -7,7 +7,7 @@ | |||
7 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
8 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
9 | 9 | ||
10 | #define MAX_RESOURCES MAX_BLACKFIN_GPIOS | 10 | #define MAX_RESOURCES 64 |
11 | 11 | ||
12 | #define P_TMR2 (P_DONTCARE) | 12 | #define P_TMR2 (P_DONTCARE) |
13 | #define P_TMR1 (P_DONTCARE) | 13 | #define P_TMR1 (P_DONTCARE) |
diff --git a/arch/blackfin/mach-bf548/Kconfig b/arch/blackfin/mach-bf548/Kconfig index a09623dfd550..70189a0d1a19 100644 --- a/arch/blackfin/mach-bf548/Kconfig +++ b/arch/blackfin/mach-bf548/Kconfig | |||
@@ -1,3 +1,27 @@ | |||
1 | config BF542 | ||
2 | def_bool y | ||
3 | depends on BF542_std || BF542M | ||
4 | config BF544 | ||
5 | def_bool y | ||
6 | depends on BF544_std || BF544M | ||
7 | config BF547 | ||
8 | def_bool y | ||
9 | depends on BF547_std || BF547M | ||
10 | config BF548 | ||
11 | def_bool y | ||
12 | depends on BF548_std || BF548M | ||
13 | config BF549 | ||
14 | def_bool y | ||
15 | depends on BF549_std || BF549M | ||
16 | |||
17 | config BF54xM | ||
18 | def_bool y | ||
19 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
20 | |||
21 | config BF54x | ||
22 | def_bool y | ||
23 | depends on (BF542 || BF544 || BF547 || BF548 || BF549) | ||
24 | |||
1 | if (BF54x) | 25 | if (BF54x) |
2 | 26 | ||
3 | source "arch/blackfin/mach-bf548/boards/Kconfig" | 27 | source "arch/blackfin/mach-bf548/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 1a5286bbb3fa..60193f72777c 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -62,7 +62,7 @@ static struct isp1760_platform_data isp1760_priv = { | |||
62 | }; | 62 | }; |
63 | 63 | ||
64 | static struct platform_device bfin_isp1760_device = { | 64 | static struct platform_device bfin_isp1760_device = { |
65 | .name = "isp1760-hcd", | 65 | .name = "isp1760", |
66 | .id = 0, | 66 | .id = 0, |
67 | .dev = { | 67 | .dev = { |
68 | .platform_data = &isp1760_priv, | 68 | .platform_data = &isp1760_priv, |
@@ -154,7 +154,7 @@ static struct platform_device bf54x_kpad_device = { | |||
154 | }; | 154 | }; |
155 | #endif | 155 | #endif |
156 | 156 | ||
157 | #if defined(CONFIG_JOYSTICK_BFIN_ROTARY) || defined(CONFIG_JOYSTICK_BFIN_ROTARY_MODULE) | 157 | #if defined(CONFIG_INPUT_BFIN_ROTARY) || defined(CONFIG_INPUT_BFIN_ROTARY_MODULE) |
158 | #include <asm/bfin_rotary.h> | 158 | #include <asm/bfin_rotary.h> |
159 | 159 | ||
160 | static struct bfin_rotary_platform_data bfin_rotary_data = { | 160 | static struct bfin_rotary_platform_data bfin_rotary_data = { |
@@ -186,7 +186,7 @@ static struct platform_device bfin_rotary_device = { | |||
186 | #endif | 186 | #endif |
187 | 187 | ||
188 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) | 188 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) |
189 | #include <linux/spi/adxl34x.h> | 189 | #include <linux/input/adxl34x.h> |
190 | static const struct adxl34x_platform_data adxl34x_info = { | 190 | static const struct adxl34x_platform_data adxl34x_info = { |
191 | .x_axis_offset = 0, | 191 | .x_axis_offset = 0, |
192 | .y_axis_offset = 0, | 192 | .y_axis_offset = 0, |
@@ -210,14 +210,17 @@ static const struct adxl34x_platform_data adxl34x_info = { | |||
210 | .ev_code_y = ABS_Y, /* EV_REL */ | 210 | .ev_code_y = ABS_Y, /* EV_REL */ |
211 | .ev_code_z = ABS_Z, /* EV_REL */ | 211 | .ev_code_z = ABS_Z, /* EV_REL */ |
212 | 212 | ||
213 | .ev_code_tap_x = BTN_TOUCH, /* EV_KEY */ | 213 | .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */ |
214 | .ev_code_tap_y = BTN_TOUCH, /* EV_KEY */ | ||
215 | .ev_code_tap_z = BTN_TOUCH, /* EV_KEY */ | ||
216 | 214 | ||
217 | /* .ev_code_ff = KEY_F,*/ /* EV_KEY */ | 215 | /* .ev_code_ff = KEY_F,*/ /* EV_KEY */ |
218 | /* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */ | 216 | /* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */ |
219 | .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, | 217 | .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, |
220 | .fifo_mode = ADXL_FIFO_STREAM, | 218 | .fifo_mode = ADXL_FIFO_STREAM, |
219 | .orientation_enable = ADXL_EN_ORIENTATION_3D, | ||
220 | .deadzone_angle = ADXL_DEADZONE_ANGLE_10p8, | ||
221 | .divisor_length = ADXL_LP_FILTER_DIVISOR_16, | ||
222 | /* EV_KEY {+Z, +Y, +X, -X, -Y, -Z} */ | ||
223 | .ev_codes_orient_3d = {BTN_Z, BTN_Y, BTN_X, BTN_A, BTN_B, BTN_C}, | ||
221 | }; | 224 | }; |
222 | #endif | 225 | #endif |
223 | 226 | ||
@@ -461,6 +464,44 @@ static struct platform_device musb_device = { | |||
461 | }; | 464 | }; |
462 | #endif | 465 | #endif |
463 | 466 | ||
467 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | ||
468 | unsigned short bfin_can_peripherals[] = { | ||
469 | P_CAN0_RX, P_CAN0_TX, 0 | ||
470 | }; | ||
471 | |||
472 | static struct resource bfin_can_resources[] = { | ||
473 | { | ||
474 | .start = 0xFFC02A00, | ||
475 | .end = 0xFFC02FFF, | ||
476 | .flags = IORESOURCE_MEM, | ||
477 | }, | ||
478 | { | ||
479 | .start = IRQ_CAN0_RX, | ||
480 | .end = IRQ_CAN0_RX, | ||
481 | .flags = IORESOURCE_IRQ, | ||
482 | }, | ||
483 | { | ||
484 | .start = IRQ_CAN0_TX, | ||
485 | .end = IRQ_CAN0_TX, | ||
486 | .flags = IORESOURCE_IRQ, | ||
487 | }, | ||
488 | { | ||
489 | .start = IRQ_CAN0_ERROR, | ||
490 | .end = IRQ_CAN0_ERROR, | ||
491 | .flags = IORESOURCE_IRQ, | ||
492 | }, | ||
493 | }; | ||
494 | |||
495 | static struct platform_device bfin_can_device = { | ||
496 | .name = "bfin_can", | ||
497 | .num_resources = ARRAY_SIZE(bfin_can_resources), | ||
498 | .resource = bfin_can_resources, | ||
499 | .dev = { | ||
500 | .platform_data = &bfin_can_peripherals, /* Passed to driver */ | ||
501 | }, | ||
502 | }; | ||
503 | #endif | ||
504 | |||
464 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | 505 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) |
465 | static struct resource bfin_atapi_resources[] = { | 506 | static struct resource bfin_atapi_resources[] = { |
466 | { | 507 | { |
@@ -953,6 +994,10 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
953 | &bfin_isp1760_device, | 994 | &bfin_isp1760_device, |
954 | #endif | 995 | #endif |
955 | 996 | ||
997 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | ||
998 | &bfin_can_device, | ||
999 | #endif | ||
1000 | |||
956 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | 1001 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) |
957 | &bfin_atapi_device, | 1002 | &bfin_atapi_device, |
958 | #endif | 1003 | #endif |
@@ -974,7 +1019,7 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
974 | &bf54x_kpad_device, | 1019 | &bf54x_kpad_device, |
975 | #endif | 1020 | #endif |
976 | 1021 | ||
977 | #if defined(CONFIG_JOYSTICK_BFIN_ROTARY) || defined(CONFIG_JOYSTICK_BFIN_ROTARY_MODULE) | 1022 | #if defined(CONFIG_INPUT_BFIN_ROTARY) || defined(CONFIG_INPUT_BFIN_ROTARY_MODULE) |
978 | &bfin_rotary_device, | 1023 | &bfin_rotary_device, |
979 | #endif | 1024 | #endif |
980 | 1025 | ||
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h index 7bead5ce0f3b..751e5e11ecf8 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf548.h +++ b/arch/blackfin/mach-bf548/include/mach/bf548.h | |||
@@ -81,18 +81,6 @@ | |||
81 | 81 | ||
82 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) | 82 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) |
83 | 83 | ||
84 | #if defined(CONFIG_BF542M) | ||
85 | # define CONFIG_BF542 | ||
86 | #elif defined(CONFIG_BF544M) | ||
87 | # define CONFIG_BF544 | ||
88 | #elif defined(CONFIG_BF547M) | ||
89 | # define CONFIG_BF547 | ||
90 | #elif defined(CONFIG_BF548M) | ||
91 | # define CONFIG_BF548 | ||
92 | #elif defined(CONFIG_BF549M) | ||
93 | # define CONFIG_BF549 | ||
94 | #endif | ||
95 | |||
96 | #if defined(CONFIG_BF542) | 84 | #if defined(CONFIG_BF542) |
97 | # define CPU "BF542" | 85 | # define CPU "BF542" |
98 | # define CPUID 0x27de | 86 | # define CPUID 0x27de |
diff --git a/arch/blackfin/mach-bf548/include/mach/blackfin.h b/arch/blackfin/mach-bf548/include/mach/blackfin.h index 13302b67857a..5684030ccc21 100644 --- a/arch/blackfin/mach-bf548/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf548/include/mach/blackfin.h | |||
@@ -64,10 +64,4 @@ | |||
64 | #define OFFSET_THR 0x28 /* Transmit Holding register */ | 64 | #define OFFSET_THR 0x28 /* Transmit Holding register */ |
65 | #define OFFSET_RBR 0x2C /* Receive Buffer register */ | 65 | #define OFFSET_RBR 0x2C /* Receive Buffer register */ |
66 | 66 | ||
67 | /* PLL_DIV Masks */ | ||
68 | #define CCLK_DIV1 CSEL_DIV1 /* CCLK = VCO / 1 */ | ||
69 | #define CCLK_DIV2 CSEL_DIV2 /* CCLK = VCO / 2 */ | ||
70 | #define CCLK_DIV4 CSEL_DIV4 /* CCLK = VCO / 4 */ | ||
71 | #define CCLK_DIV8 CSEL_DIV8 /* CCLK = VCO / 8 */ | ||
72 | |||
73 | #endif | 67 | #endif |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h index 423421515134..bc650e6ea482 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h | |||
@@ -4,21 +4,21 @@ | |||
4 | * Licensed under the GPL-2 or later. | 4 | * Licensed under the GPL-2 or later. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef _CDEF_BF548_H | 7 | #ifndef _CDEF_BF547_H |
8 | #define _CDEF_BF548_H | 8 | #define _CDEF_BF547_H |
9 | 9 | ||
10 | /* include all Core registers and bit definitions */ | 10 | /* include all Core registers and bit definitions */ |
11 | #include "defBF548.h" | 11 | #include "defBF547.h" |
12 | 12 | ||
13 | /* include core sbfin_read_()ecific register pointer definitions */ | 13 | /* include core sbfin_read_()ecific register pointer definitions */ |
14 | #include <asm/cdef_LPBlackfin.h> | 14 | #include <asm/cdef_LPBlackfin.h> |
15 | 15 | ||
16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF548 */ | 16 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF547 */ |
17 | 17 | ||
18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ | 18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ |
19 | #include "cdefBF54x_base.h" | 19 | #include "cdefBF54x_base.h" |
20 | 20 | ||
21 | /* The following are the #defines needed by ADSP-BF548 that are not in the common header */ | 21 | /* The following are the #defines needed by ADSP-BF547 that are not in the common header */ |
22 | 22 | ||
23 | /* Timer Registers */ | 23 | /* Timer Registers */ |
24 | 24 | ||
@@ -805,4 +805,4 @@ | |||
805 | #define bfin_read_HMDMA1_BCOUNT() bfin_read16(HMDMA1_BCOUNT) | 805 | #define bfin_read_HMDMA1_BCOUNT() bfin_read16(HMDMA1_BCOUNT) |
806 | #define bfin_write_HMDMA1_BCOUNT(val) bfin_write16(HMDMA1_BCOUNT, val) | 806 | #define bfin_write_HMDMA1_BCOUNT(val) bfin_write16(HMDMA1_BCOUNT, val) |
807 | 807 | ||
808 | #endif /* _CDEF_BF548_H */ | 808 | #endif /* _CDEF_BF547_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h index df84180410c4..3523e08f7968 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h | |||
@@ -18,165 +18,8 @@ | |||
18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ | 18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ |
19 | #include "cdefBF54x_base.h" | 19 | #include "cdefBF54x_base.h" |
20 | 20 | ||
21 | /* The following are the #defines needed by ADSP-BF548 that are not in the common header */ | 21 | /* The BF548 is like the BF547, but has additional CANs */ |
22 | 22 | #include "cdefBF547.h" | |
23 | /* Timer Registers */ | ||
24 | |||
25 | #define bfin_read_TIMER8_CONFIG() bfin_read16(TIMER8_CONFIG) | ||
26 | #define bfin_write_TIMER8_CONFIG(val) bfin_write16(TIMER8_CONFIG, val) | ||
27 | #define bfin_read_TIMER8_COUNTER() bfin_read32(TIMER8_COUNTER) | ||
28 | #define bfin_write_TIMER8_COUNTER(val) bfin_write32(TIMER8_COUNTER, val) | ||
29 | #define bfin_read_TIMER8_PERIOD() bfin_read32(TIMER8_PERIOD) | ||
30 | #define bfin_write_TIMER8_PERIOD(val) bfin_write32(TIMER8_PERIOD, val) | ||
31 | #define bfin_read_TIMER8_WIDTH() bfin_read32(TIMER8_WIDTH) | ||
32 | #define bfin_write_TIMER8_WIDTH(val) bfin_write32(TIMER8_WIDTH, val) | ||
33 | #define bfin_read_TIMER9_CONFIG() bfin_read16(TIMER9_CONFIG) | ||
34 | #define bfin_write_TIMER9_CONFIG(val) bfin_write16(TIMER9_CONFIG, val) | ||
35 | #define bfin_read_TIMER9_COUNTER() bfin_read32(TIMER9_COUNTER) | ||
36 | #define bfin_write_TIMER9_COUNTER(val) bfin_write32(TIMER9_COUNTER, val) | ||
37 | #define bfin_read_TIMER9_PERIOD() bfin_read32(TIMER9_PERIOD) | ||
38 | #define bfin_write_TIMER9_PERIOD(val) bfin_write32(TIMER9_PERIOD, val) | ||
39 | #define bfin_read_TIMER9_WIDTH() bfin_read32(TIMER9_WIDTH) | ||
40 | #define bfin_write_TIMER9_WIDTH(val) bfin_write32(TIMER9_WIDTH, val) | ||
41 | #define bfin_read_TIMER10_CONFIG() bfin_read16(TIMER10_CONFIG) | ||
42 | #define bfin_write_TIMER10_CONFIG(val) bfin_write16(TIMER10_CONFIG, val) | ||
43 | #define bfin_read_TIMER10_COUNTER() bfin_read32(TIMER10_COUNTER) | ||
44 | #define bfin_write_TIMER10_COUNTER(val) bfin_write32(TIMER10_COUNTER, val) | ||
45 | #define bfin_read_TIMER10_PERIOD() bfin_read32(TIMER10_PERIOD) | ||
46 | #define bfin_write_TIMER10_PERIOD(val) bfin_write32(TIMER10_PERIOD, val) | ||
47 | #define bfin_read_TIMER10_WIDTH() bfin_read32(TIMER10_WIDTH) | ||
48 | #define bfin_write_TIMER10_WIDTH(val) bfin_write32(TIMER10_WIDTH, val) | ||
49 | |||
50 | /* Timer Groubfin_read_() of 3 */ | ||
51 | |||
52 | #define bfin_read_TIMER_ENABLE1() bfin_read16(TIMER_ENABLE1) | ||
53 | #define bfin_write_TIMER_ENABLE1(val) bfin_write16(TIMER_ENABLE1, val) | ||
54 | #define bfin_read_TIMER_DISABLE1() bfin_read16(TIMER_DISABLE1) | ||
55 | #define bfin_write_TIMER_DISABLE1(val) bfin_write16(TIMER_DISABLE1, val) | ||
56 | #define bfin_read_TIMER_STATUS1() bfin_read32(TIMER_STATUS1) | ||
57 | #define bfin_write_TIMER_STATUS1(val) bfin_write32(TIMER_STATUS1, val) | ||
58 | |||
59 | /* SPORT0 Registers */ | ||
60 | |||
61 | #define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1) | ||
62 | #define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val) | ||
63 | #define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2) | ||
64 | #define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val) | ||
65 | #define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV) | ||
66 | #define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val) | ||
67 | #define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV) | ||
68 | #define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val) | ||
69 | #define bfin_read_SPORT0_TX() bfin_read32(SPORT0_TX) | ||
70 | #define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val) | ||
71 | #define bfin_read_SPORT0_RX() bfin_read32(SPORT0_RX) | ||
72 | #define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val) | ||
73 | #define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1) | ||
74 | #define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val) | ||
75 | #define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2) | ||
76 | #define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val) | ||
77 | #define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV) | ||
78 | #define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val) | ||
79 | #define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV) | ||
80 | #define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val) | ||
81 | #define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT) | ||
82 | #define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val) | ||
83 | #define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL) | ||
84 | #define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val) | ||
85 | #define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1) | ||
86 | #define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val) | ||
87 | #define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2) | ||
88 | #define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val) | ||
89 | #define bfin_read_SPORT0_MTCS0() bfin_read32(SPORT0_MTCS0) | ||
90 | #define bfin_write_SPORT0_MTCS0(val) bfin_write32(SPORT0_MTCS0, val) | ||
91 | #define bfin_read_SPORT0_MTCS1() bfin_read32(SPORT0_MTCS1) | ||
92 | #define bfin_write_SPORT0_MTCS1(val) bfin_write32(SPORT0_MTCS1, val) | ||
93 | #define bfin_read_SPORT0_MTCS2() bfin_read32(SPORT0_MTCS2) | ||
94 | #define bfin_write_SPORT0_MTCS2(val) bfin_write32(SPORT0_MTCS2, val) | ||
95 | #define bfin_read_SPORT0_MTCS3() bfin_read32(SPORT0_MTCS3) | ||
96 | #define bfin_write_SPORT0_MTCS3(val) bfin_write32(SPORT0_MTCS3, val) | ||
97 | #define bfin_read_SPORT0_MRCS0() bfin_read32(SPORT0_MRCS0) | ||
98 | #define bfin_write_SPORT0_MRCS0(val) bfin_write32(SPORT0_MRCS0, val) | ||
99 | #define bfin_read_SPORT0_MRCS1() bfin_read32(SPORT0_MRCS1) | ||
100 | #define bfin_write_SPORT0_MRCS1(val) bfin_write32(SPORT0_MRCS1, val) | ||
101 | #define bfin_read_SPORT0_MRCS2() bfin_read32(SPORT0_MRCS2) | ||
102 | #define bfin_write_SPORT0_MRCS2(val) bfin_write32(SPORT0_MRCS2, val) | ||
103 | #define bfin_read_SPORT0_MRCS3() bfin_read32(SPORT0_MRCS3) | ||
104 | #define bfin_write_SPORT0_MRCS3(val) bfin_write32(SPORT0_MRCS3, val) | ||
105 | |||
106 | /* EPPI0 Registers */ | ||
107 | |||
108 | #define bfin_read_EPPI0_STATUS() bfin_read16(EPPI0_STATUS) | ||
109 | #define bfin_write_EPPI0_STATUS(val) bfin_write16(EPPI0_STATUS, val) | ||
110 | #define bfin_read_EPPI0_HCOUNT() bfin_read16(EPPI0_HCOUNT) | ||
111 | #define bfin_write_EPPI0_HCOUNT(val) bfin_write16(EPPI0_HCOUNT, val) | ||
112 | #define bfin_read_EPPI0_HDELAY() bfin_read16(EPPI0_HDELAY) | ||
113 | #define bfin_write_EPPI0_HDELAY(val) bfin_write16(EPPI0_HDELAY, val) | ||
114 | #define bfin_read_EPPI0_VCOUNT() bfin_read16(EPPI0_VCOUNT) | ||
115 | #define bfin_write_EPPI0_VCOUNT(val) bfin_write16(EPPI0_VCOUNT, val) | ||
116 | #define bfin_read_EPPI0_VDELAY() bfin_read16(EPPI0_VDELAY) | ||
117 | #define bfin_write_EPPI0_VDELAY(val) bfin_write16(EPPI0_VDELAY, val) | ||
118 | #define bfin_read_EPPI0_FRAME() bfin_read16(EPPI0_FRAME) | ||
119 | #define bfin_write_EPPI0_FRAME(val) bfin_write16(EPPI0_FRAME, val) | ||
120 | #define bfin_read_EPPI0_LINE() bfin_read16(EPPI0_LINE) | ||
121 | #define bfin_write_EPPI0_LINE(val) bfin_write16(EPPI0_LINE, val) | ||
122 | #define bfin_read_EPPI0_CLKDIV() bfin_read16(EPPI0_CLKDIV) | ||
123 | #define bfin_write_EPPI0_CLKDIV(val) bfin_write16(EPPI0_CLKDIV, val) | ||
124 | #define bfin_read_EPPI0_CONTROL() bfin_read32(EPPI0_CONTROL) | ||
125 | #define bfin_write_EPPI0_CONTROL(val) bfin_write32(EPPI0_CONTROL, val) | ||
126 | #define bfin_read_EPPI0_FS1W_HBL() bfin_read32(EPPI0_FS1W_HBL) | ||
127 | #define bfin_write_EPPI0_FS1W_HBL(val) bfin_write32(EPPI0_FS1W_HBL, val) | ||
128 | #define bfin_read_EPPI0_FS1P_AVPL() bfin_read32(EPPI0_FS1P_AVPL) | ||
129 | #define bfin_write_EPPI0_FS1P_AVPL(val) bfin_write32(EPPI0_FS1P_AVPL, val) | ||
130 | #define bfin_read_EPPI0_FS2W_LVB() bfin_read32(EPPI0_FS2W_LVB) | ||
131 | #define bfin_write_EPPI0_FS2W_LVB(val) bfin_write32(EPPI0_FS2W_LVB, val) | ||
132 | #define bfin_read_EPPI0_FS2P_LAVF() bfin_read32(EPPI0_FS2P_LAVF) | ||
133 | #define bfin_write_EPPI0_FS2P_LAVF(val) bfin_write32(EPPI0_FS2P_LAVF, val) | ||
134 | #define bfin_read_EPPI0_CLIP() bfin_read32(EPPI0_CLIP) | ||
135 | #define bfin_write_EPPI0_CLIP(val) bfin_write32(EPPI0_CLIP, val) | ||
136 | |||
137 | /* UART2 Registers */ | ||
138 | |||
139 | #define bfin_read_UART2_DLL() bfin_read16(UART2_DLL) | ||
140 | #define bfin_write_UART2_DLL(val) bfin_write16(UART2_DLL, val) | ||
141 | #define bfin_read_UART2_DLH() bfin_read16(UART2_DLH) | ||
142 | #define bfin_write_UART2_DLH(val) bfin_write16(UART2_DLH, val) | ||
143 | #define bfin_read_UART2_GCTL() bfin_read16(UART2_GCTL) | ||
144 | #define bfin_write_UART2_GCTL(val) bfin_write16(UART2_GCTL, val) | ||
145 | #define bfin_read_UART2_LCR() bfin_read16(UART2_LCR) | ||
146 | #define bfin_write_UART2_LCR(val) bfin_write16(UART2_LCR, val) | ||
147 | #define bfin_read_UART2_MCR() bfin_read16(UART2_MCR) | ||
148 | #define bfin_write_UART2_MCR(val) bfin_write16(UART2_MCR, val) | ||
149 | #define bfin_read_UART2_LSR() bfin_read16(UART2_LSR) | ||
150 | #define bfin_write_UART2_LSR(val) bfin_write16(UART2_LSR, val) | ||
151 | #define bfin_read_UART2_MSR() bfin_read16(UART2_MSR) | ||
152 | #define bfin_write_UART2_MSR(val) bfin_write16(UART2_MSR, val) | ||
153 | #define bfin_read_UART2_SCR() bfin_read16(UART2_SCR) | ||
154 | #define bfin_write_UART2_SCR(val) bfin_write16(UART2_SCR, val) | ||
155 | #define bfin_read_UART2_IER_SET() bfin_read16(UART2_IER_SET) | ||
156 | #define bfin_write_UART2_IER_SET(val) bfin_write16(UART2_IER_SET, val) | ||
157 | #define bfin_read_UART2_IER_CLEAR() bfin_read16(UART2_IER_CLEAR) | ||
158 | #define bfin_write_UART2_IER_CLEAR(val) bfin_write16(UART2_IER_CLEAR, val) | ||
159 | #define bfin_read_UART2_RBR() bfin_read16(UART2_RBR) | ||
160 | #define bfin_write_UART2_RBR(val) bfin_write16(UART2_RBR, val) | ||
161 | |||
162 | /* Two Wire Interface Registers (TWI1) */ | ||
163 | |||
164 | /* SPI2 Registers */ | ||
165 | |||
166 | #define bfin_read_SPI2_CTL() bfin_read16(SPI2_CTL) | ||
167 | #define bfin_write_SPI2_CTL(val) bfin_write16(SPI2_CTL, val) | ||
168 | #define bfin_read_SPI2_FLG() bfin_read16(SPI2_FLG) | ||
169 | #define bfin_write_SPI2_FLG(val) bfin_write16(SPI2_FLG, val) | ||
170 | #define bfin_read_SPI2_STAT() bfin_read16(SPI2_STAT) | ||
171 | #define bfin_write_SPI2_STAT(val) bfin_write16(SPI2_STAT, val) | ||
172 | #define bfin_read_SPI2_TDBR() bfin_read16(SPI2_TDBR) | ||
173 | #define bfin_write_SPI2_TDBR(val) bfin_write16(SPI2_TDBR, val) | ||
174 | #define bfin_read_SPI2_RDBR() bfin_read16(SPI2_RDBR) | ||
175 | #define bfin_write_SPI2_RDBR(val) bfin_write16(SPI2_RDBR, val) | ||
176 | #define bfin_read_SPI2_BAUD() bfin_read16(SPI2_BAUD) | ||
177 | #define bfin_write_SPI2_BAUD(val) bfin_write16(SPI2_BAUD, val) | ||
178 | #define bfin_read_SPI2_SHADOW() bfin_read16(SPI2_SHADOW) | ||
179 | #define bfin_write_SPI2_SHADOW(val) bfin_write16(SPI2_SHADOW, val) | ||
180 | 23 | ||
181 | /* CAN Controller 1 Config 1 Registers */ | 24 | /* CAN Controller 1 Config 1 Registers */ |
182 | 25 | ||
@@ -923,631 +766,4 @@ | |||
923 | #define bfin_read_CAN1_MB31_ID1() bfin_read16(CAN1_MB31_ID1) | 766 | #define bfin_read_CAN1_MB31_ID1() bfin_read16(CAN1_MB31_ID1) |
924 | #define bfin_write_CAN1_MB31_ID1(val) bfin_write16(CAN1_MB31_ID1, val) | 767 | #define bfin_write_CAN1_MB31_ID1(val) bfin_write16(CAN1_MB31_ID1, val) |
925 | 768 | ||
926 | /* ATAPI Registers */ | ||
927 | |||
928 | #define bfin_read_ATAPI_CONTROL() bfin_read16(ATAPI_CONTROL) | ||
929 | #define bfin_write_ATAPI_CONTROL(val) bfin_write16(ATAPI_CONTROL, val) | ||
930 | #define bfin_read_ATAPI_STATUS() bfin_read16(ATAPI_STATUS) | ||
931 | #define bfin_write_ATAPI_STATUS(val) bfin_write16(ATAPI_STATUS, val) | ||
932 | #define bfin_read_ATAPI_DEV_ADDR() bfin_read16(ATAPI_DEV_ADDR) | ||
933 | #define bfin_write_ATAPI_DEV_ADDR(val) bfin_write16(ATAPI_DEV_ADDR, val) | ||
934 | #define bfin_read_ATAPI_DEV_TXBUF() bfin_read16(ATAPI_DEV_TXBUF) | ||
935 | #define bfin_write_ATAPI_DEV_TXBUF(val) bfin_write16(ATAPI_DEV_TXBUF, val) | ||
936 | #define bfin_read_ATAPI_DEV_RXBUF() bfin_read16(ATAPI_DEV_RXBUF) | ||
937 | #define bfin_write_ATAPI_DEV_RXBUF(val) bfin_write16(ATAPI_DEV_RXBUF, val) | ||
938 | #define bfin_read_ATAPI_INT_MASK() bfin_read16(ATAPI_INT_MASK) | ||
939 | #define bfin_write_ATAPI_INT_MASK(val) bfin_write16(ATAPI_INT_MASK, val) | ||
940 | #define bfin_read_ATAPI_INT_STATUS() bfin_read16(ATAPI_INT_STATUS) | ||
941 | #define bfin_write_ATAPI_INT_STATUS(val) bfin_write16(ATAPI_INT_STATUS, val) | ||
942 | #define bfin_read_ATAPI_XFER_LEN() bfin_read16(ATAPI_XFER_LEN) | ||
943 | #define bfin_write_ATAPI_XFER_LEN(val) bfin_write16(ATAPI_XFER_LEN, val) | ||
944 | #define bfin_read_ATAPI_LINE_STATUS() bfin_read16(ATAPI_LINE_STATUS) | ||
945 | #define bfin_write_ATAPI_LINE_STATUS(val) bfin_write16(ATAPI_LINE_STATUS, val) | ||
946 | #define bfin_read_ATAPI_SM_STATE() bfin_read16(ATAPI_SM_STATE) | ||
947 | #define bfin_write_ATAPI_SM_STATE(val) bfin_write16(ATAPI_SM_STATE, val) | ||
948 | #define bfin_read_ATAPI_TERMINATE() bfin_read16(ATAPI_TERMINATE) | ||
949 | #define bfin_write_ATAPI_TERMINATE(val) bfin_write16(ATAPI_TERMINATE, val) | ||
950 | #define bfin_read_ATAPI_PIO_TFRCNT() bfin_read16(ATAPI_PIO_TFRCNT) | ||
951 | #define bfin_write_ATAPI_PIO_TFRCNT(val) bfin_write16(ATAPI_PIO_TFRCNT, val) | ||
952 | #define bfin_read_ATAPI_DMA_TFRCNT() bfin_read16(ATAPI_DMA_TFRCNT) | ||
953 | #define bfin_write_ATAPI_DMA_TFRCNT(val) bfin_write16(ATAPI_DMA_TFRCNT, val) | ||
954 | #define bfin_read_ATAPI_UMAIN_TFRCNT() bfin_read16(ATAPI_UMAIN_TFRCNT) | ||
955 | #define bfin_write_ATAPI_UMAIN_TFRCNT(val) bfin_write16(ATAPI_UMAIN_TFRCNT, val) | ||
956 | #define bfin_read_ATAPI_UDMAOUT_TFRCNT() bfin_read16(ATAPI_UDMAOUT_TFRCNT) | ||
957 | #define bfin_write_ATAPI_UDMAOUT_TFRCNT(val) bfin_write16(ATAPI_UDMAOUT_TFRCNT, val) | ||
958 | #define bfin_read_ATAPI_REG_TIM_0() bfin_read16(ATAPI_REG_TIM_0) | ||
959 | #define bfin_write_ATAPI_REG_TIM_0(val) bfin_write16(ATAPI_REG_TIM_0, val) | ||
960 | #define bfin_read_ATAPI_PIO_TIM_0() bfin_read16(ATAPI_PIO_TIM_0) | ||
961 | #define bfin_write_ATAPI_PIO_TIM_0(val) bfin_write16(ATAPI_PIO_TIM_0, val) | ||
962 | #define bfin_read_ATAPI_PIO_TIM_1() bfin_read16(ATAPI_PIO_TIM_1) | ||
963 | #define bfin_write_ATAPI_PIO_TIM_1(val) bfin_write16(ATAPI_PIO_TIM_1, val) | ||
964 | #define bfin_read_ATAPI_MULTI_TIM_0() bfin_read16(ATAPI_MULTI_TIM_0) | ||
965 | #define bfin_write_ATAPI_MULTI_TIM_0(val) bfin_write16(ATAPI_MULTI_TIM_0, val) | ||
966 | #define bfin_read_ATAPI_MULTI_TIM_1() bfin_read16(ATAPI_MULTI_TIM_1) | ||
967 | #define bfin_write_ATAPI_MULTI_TIM_1(val) bfin_write16(ATAPI_MULTI_TIM_1, val) | ||
968 | #define bfin_read_ATAPI_MULTI_TIM_2() bfin_read16(ATAPI_MULTI_TIM_2) | ||
969 | #define bfin_write_ATAPI_MULTI_TIM_2(val) bfin_write16(ATAPI_MULTI_TIM_2, val) | ||
970 | #define bfin_read_ATAPI_ULTRA_TIM_0() bfin_read16(ATAPI_ULTRA_TIM_0) | ||
971 | #define bfin_write_ATAPI_ULTRA_TIM_0(val) bfin_write16(ATAPI_ULTRA_TIM_0, val) | ||
972 | #define bfin_read_ATAPI_ULTRA_TIM_1() bfin_read16(ATAPI_ULTRA_TIM_1) | ||
973 | #define bfin_write_ATAPI_ULTRA_TIM_1(val) bfin_write16(ATAPI_ULTRA_TIM_1, val) | ||
974 | #define bfin_read_ATAPI_ULTRA_TIM_2() bfin_read16(ATAPI_ULTRA_TIM_2) | ||
975 | #define bfin_write_ATAPI_ULTRA_TIM_2(val) bfin_write16(ATAPI_ULTRA_TIM_2, val) | ||
976 | #define bfin_read_ATAPI_ULTRA_TIM_3() bfin_read16(ATAPI_ULTRA_TIM_3) | ||
977 | #define bfin_write_ATAPI_ULTRA_TIM_3(val) bfin_write16(ATAPI_ULTRA_TIM_3, val) | ||
978 | |||
979 | /* SDH Registers */ | ||
980 | |||
981 | #define bfin_read_SDH_PWR_CTL() bfin_read16(SDH_PWR_CTL) | ||
982 | #define bfin_write_SDH_PWR_CTL(val) bfin_write16(SDH_PWR_CTL, val) | ||
983 | #define bfin_read_SDH_CLK_CTL() bfin_read16(SDH_CLK_CTL) | ||
984 | #define bfin_write_SDH_CLK_CTL(val) bfin_write16(SDH_CLK_CTL, val) | ||
985 | #define bfin_read_SDH_ARGUMENT() bfin_read32(SDH_ARGUMENT) | ||
986 | #define bfin_write_SDH_ARGUMENT(val) bfin_write32(SDH_ARGUMENT, val) | ||
987 | #define bfin_read_SDH_COMMAND() bfin_read16(SDH_COMMAND) | ||
988 | #define bfin_write_SDH_COMMAND(val) bfin_write16(SDH_COMMAND, val) | ||
989 | #define bfin_read_SDH_RESP_CMD() bfin_read16(SDH_RESP_CMD) | ||
990 | #define bfin_write_SDH_RESP_CMD(val) bfin_write16(SDH_RESP_CMD, val) | ||
991 | #define bfin_read_SDH_RESPONSE0() bfin_read32(SDH_RESPONSE0) | ||
992 | #define bfin_write_SDH_RESPONSE0(val) bfin_write32(SDH_RESPONSE0, val) | ||
993 | #define bfin_read_SDH_RESPONSE1() bfin_read32(SDH_RESPONSE1) | ||
994 | #define bfin_write_SDH_RESPONSE1(val) bfin_write32(SDH_RESPONSE1, val) | ||
995 | #define bfin_read_SDH_RESPONSE2() bfin_read32(SDH_RESPONSE2) | ||
996 | #define bfin_write_SDH_RESPONSE2(val) bfin_write32(SDH_RESPONSE2, val) | ||
997 | #define bfin_read_SDH_RESPONSE3() bfin_read32(SDH_RESPONSE3) | ||
998 | #define bfin_write_SDH_RESPONSE3(val) bfin_write32(SDH_RESPONSE3, val) | ||
999 | #define bfin_read_SDH_DATA_TIMER() bfin_read32(SDH_DATA_TIMER) | ||
1000 | #define bfin_write_SDH_DATA_TIMER(val) bfin_write32(SDH_DATA_TIMER, val) | ||
1001 | #define bfin_read_SDH_DATA_LGTH() bfin_read16(SDH_DATA_LGTH) | ||
1002 | #define bfin_write_SDH_DATA_LGTH(val) bfin_write16(SDH_DATA_LGTH, val) | ||
1003 | #define bfin_read_SDH_DATA_CTL() bfin_read16(SDH_DATA_CTL) | ||
1004 | #define bfin_write_SDH_DATA_CTL(val) bfin_write16(SDH_DATA_CTL, val) | ||
1005 | #define bfin_read_SDH_DATA_CNT() bfin_read16(SDH_DATA_CNT) | ||
1006 | #define bfin_write_SDH_DATA_CNT(val) bfin_write16(SDH_DATA_CNT, val) | ||
1007 | #define bfin_read_SDH_STATUS() bfin_read32(SDH_STATUS) | ||
1008 | #define bfin_write_SDH_STATUS(val) bfin_write32(SDH_STATUS, val) | ||
1009 | #define bfin_read_SDH_STATUS_CLR() bfin_read16(SDH_STATUS_CLR) | ||
1010 | #define bfin_write_SDH_STATUS_CLR(val) bfin_write16(SDH_STATUS_CLR, val) | ||
1011 | #define bfin_read_SDH_MASK0() bfin_read32(SDH_MASK0) | ||
1012 | #define bfin_write_SDH_MASK0(val) bfin_write32(SDH_MASK0, val) | ||
1013 | #define bfin_read_SDH_MASK1() bfin_read32(SDH_MASK1) | ||
1014 | #define bfin_write_SDH_MASK1(val) bfin_write32(SDH_MASK1, val) | ||
1015 | #define bfin_read_SDH_FIFO_CNT() bfin_read16(SDH_FIFO_CNT) | ||
1016 | #define bfin_write_SDH_FIFO_CNT(val) bfin_write16(SDH_FIFO_CNT, val) | ||
1017 | #define bfin_read_SDH_FIFO() bfin_read32(SDH_FIFO) | ||
1018 | #define bfin_write_SDH_FIFO(val) bfin_write32(SDH_FIFO, val) | ||
1019 | #define bfin_read_SDH_E_STATUS() bfin_read16(SDH_E_STATUS) | ||
1020 | #define bfin_write_SDH_E_STATUS(val) bfin_write16(SDH_E_STATUS, val) | ||
1021 | #define bfin_read_SDH_E_MASK() bfin_read16(SDH_E_MASK) | ||
1022 | #define bfin_write_SDH_E_MASK(val) bfin_write16(SDH_E_MASK, val) | ||
1023 | #define bfin_read_SDH_CFG() bfin_read16(SDH_CFG) | ||
1024 | #define bfin_write_SDH_CFG(val) bfin_write16(SDH_CFG, val) | ||
1025 | #define bfin_read_SDH_RD_WAIT_EN() bfin_read16(SDH_RD_WAIT_EN) | ||
1026 | #define bfin_write_SDH_RD_WAIT_EN(val) bfin_write16(SDH_RD_WAIT_EN, val) | ||
1027 | #define bfin_read_SDH_PID0() bfin_read16(SDH_PID0) | ||
1028 | #define bfin_write_SDH_PID0(val) bfin_write16(SDH_PID0, val) | ||
1029 | #define bfin_read_SDH_PID1() bfin_read16(SDH_PID1) | ||
1030 | #define bfin_write_SDH_PID1(val) bfin_write16(SDH_PID1, val) | ||
1031 | #define bfin_read_SDH_PID2() bfin_read16(SDH_PID2) | ||
1032 | #define bfin_write_SDH_PID2(val) bfin_write16(SDH_PID2, val) | ||
1033 | #define bfin_read_SDH_PID3() bfin_read16(SDH_PID3) | ||
1034 | #define bfin_write_SDH_PID3(val) bfin_write16(SDH_PID3, val) | ||
1035 | #define bfin_read_SDH_PID4() bfin_read16(SDH_PID4) | ||
1036 | #define bfin_write_SDH_PID4(val) bfin_write16(SDH_PID4, val) | ||
1037 | #define bfin_read_SDH_PID5() bfin_read16(SDH_PID5) | ||
1038 | #define bfin_write_SDH_PID5(val) bfin_write16(SDH_PID5, val) | ||
1039 | #define bfin_read_SDH_PID6() bfin_read16(SDH_PID6) | ||
1040 | #define bfin_write_SDH_PID6(val) bfin_write16(SDH_PID6, val) | ||
1041 | #define bfin_read_SDH_PID7() bfin_read16(SDH_PID7) | ||
1042 | #define bfin_write_SDH_PID7(val) bfin_write16(SDH_PID7, val) | ||
1043 | |||
1044 | /* HOST Port Registers */ | ||
1045 | |||
1046 | #define bfin_read_HOST_CONTROL() bfin_read16(HOST_CONTROL) | ||
1047 | #define bfin_write_HOST_CONTROL(val) bfin_write16(HOST_CONTROL, val) | ||
1048 | #define bfin_read_HOST_STATUS() bfin_read16(HOST_STATUS) | ||
1049 | #define bfin_write_HOST_STATUS(val) bfin_write16(HOST_STATUS, val) | ||
1050 | #define bfin_read_HOST_TIMEOUT() bfin_read16(HOST_TIMEOUT) | ||
1051 | #define bfin_write_HOST_TIMEOUT(val) bfin_write16(HOST_TIMEOUT, val) | ||
1052 | |||
1053 | /* USB Control Registers */ | ||
1054 | |||
1055 | #define bfin_read_USB_FADDR() bfin_read16(USB_FADDR) | ||
1056 | #define bfin_write_USB_FADDR(val) bfin_write16(USB_FADDR, val) | ||
1057 | #define bfin_read_USB_POWER() bfin_read16(USB_POWER) | ||
1058 | #define bfin_write_USB_POWER(val) bfin_write16(USB_POWER, val) | ||
1059 | #define bfin_read_USB_INTRTX() bfin_read16(USB_INTRTX) | ||
1060 | #define bfin_write_USB_INTRTX(val) bfin_write16(USB_INTRTX, val) | ||
1061 | #define bfin_read_USB_INTRRX() bfin_read16(USB_INTRRX) | ||
1062 | #define bfin_write_USB_INTRRX(val) bfin_write16(USB_INTRRX, val) | ||
1063 | #define bfin_read_USB_INTRTXE() bfin_read16(USB_INTRTXE) | ||
1064 | #define bfin_write_USB_INTRTXE(val) bfin_write16(USB_INTRTXE, val) | ||
1065 | #define bfin_read_USB_INTRRXE() bfin_read16(USB_INTRRXE) | ||
1066 | #define bfin_write_USB_INTRRXE(val) bfin_write16(USB_INTRRXE, val) | ||
1067 | #define bfin_read_USB_INTRUSB() bfin_read16(USB_INTRUSB) | ||
1068 | #define bfin_write_USB_INTRUSB(val) bfin_write16(USB_INTRUSB, val) | ||
1069 | #define bfin_read_USB_INTRUSBE() bfin_read16(USB_INTRUSBE) | ||
1070 | #define bfin_write_USB_INTRUSBE(val) bfin_write16(USB_INTRUSBE, val) | ||
1071 | #define bfin_read_USB_FRAME() bfin_read16(USB_FRAME) | ||
1072 | #define bfin_write_USB_FRAME(val) bfin_write16(USB_FRAME, val) | ||
1073 | #define bfin_read_USB_INDEX() bfin_read16(USB_INDEX) | ||
1074 | #define bfin_write_USB_INDEX(val) bfin_write16(USB_INDEX, val) | ||
1075 | #define bfin_read_USB_TESTMODE() bfin_read16(USB_TESTMODE) | ||
1076 | #define bfin_write_USB_TESTMODE(val) bfin_write16(USB_TESTMODE, val) | ||
1077 | #define bfin_read_USB_GLOBINTR() bfin_read16(USB_GLOBINTR) | ||
1078 | #define bfin_write_USB_GLOBINTR(val) bfin_write16(USB_GLOBINTR, val) | ||
1079 | #define bfin_read_USB_GLOBAL_CTL() bfin_read16(USB_GLOBAL_CTL) | ||
1080 | #define bfin_write_USB_GLOBAL_CTL(val) bfin_write16(USB_GLOBAL_CTL, val) | ||
1081 | |||
1082 | /* USB Packet Control Registers */ | ||
1083 | |||
1084 | #define bfin_read_USB_TX_MAX_PACKET() bfin_read16(USB_TX_MAX_PACKET) | ||
1085 | #define bfin_write_USB_TX_MAX_PACKET(val) bfin_write16(USB_TX_MAX_PACKET, val) | ||
1086 | #define bfin_read_USB_CSR0() bfin_read16(USB_CSR0) | ||
1087 | #define bfin_write_USB_CSR0(val) bfin_write16(USB_CSR0, val) | ||
1088 | #define bfin_read_USB_TXCSR() bfin_read16(USB_TXCSR) | ||
1089 | #define bfin_write_USB_TXCSR(val) bfin_write16(USB_TXCSR, val) | ||
1090 | #define bfin_read_USB_RX_MAX_PACKET() bfin_read16(USB_RX_MAX_PACKET) | ||
1091 | #define bfin_write_USB_RX_MAX_PACKET(val) bfin_write16(USB_RX_MAX_PACKET, val) | ||
1092 | #define bfin_read_USB_RXCSR() bfin_read16(USB_RXCSR) | ||
1093 | #define bfin_write_USB_RXCSR(val) bfin_write16(USB_RXCSR, val) | ||
1094 | #define bfin_read_USB_COUNT0() bfin_read16(USB_COUNT0) | ||
1095 | #define bfin_write_USB_COUNT0(val) bfin_write16(USB_COUNT0, val) | ||
1096 | #define bfin_read_USB_RXCOUNT() bfin_read16(USB_RXCOUNT) | ||
1097 | #define bfin_write_USB_RXCOUNT(val) bfin_write16(USB_RXCOUNT, val) | ||
1098 | #define bfin_read_USB_TXTYPE() bfin_read16(USB_TXTYPE) | ||
1099 | #define bfin_write_USB_TXTYPE(val) bfin_write16(USB_TXTYPE, val) | ||
1100 | #define bfin_read_USB_NAKLIMIT0() bfin_read16(USB_NAKLIMIT0) | ||
1101 | #define bfin_write_USB_NAKLIMIT0(val) bfin_write16(USB_NAKLIMIT0, val) | ||
1102 | #define bfin_read_USB_TXINTERVAL() bfin_read16(USB_TXINTERVAL) | ||
1103 | #define bfin_write_USB_TXINTERVAL(val) bfin_write16(USB_TXINTERVAL, val) | ||
1104 | #define bfin_read_USB_RXTYPE() bfin_read16(USB_RXTYPE) | ||
1105 | #define bfin_write_USB_RXTYPE(val) bfin_write16(USB_RXTYPE, val) | ||
1106 | #define bfin_read_USB_RXINTERVAL() bfin_read16(USB_RXINTERVAL) | ||
1107 | #define bfin_write_USB_RXINTERVAL(val) bfin_write16(USB_RXINTERVAL, val) | ||
1108 | #define bfin_read_USB_TXCOUNT() bfin_read16(USB_TXCOUNT) | ||
1109 | #define bfin_write_USB_TXCOUNT(val) bfin_write16(USB_TXCOUNT, val) | ||
1110 | |||
1111 | /* USB Endbfin_read_()oint FIFO Registers */ | ||
1112 | |||
1113 | #define bfin_read_USB_EP0_FIFO() bfin_read16(USB_EP0_FIFO) | ||
1114 | #define bfin_write_USB_EP0_FIFO(val) bfin_write16(USB_EP0_FIFO, val) | ||
1115 | #define bfin_read_USB_EP1_FIFO() bfin_read16(USB_EP1_FIFO) | ||
1116 | #define bfin_write_USB_EP1_FIFO(val) bfin_write16(USB_EP1_FIFO, val) | ||
1117 | #define bfin_read_USB_EP2_FIFO() bfin_read16(USB_EP2_FIFO) | ||
1118 | #define bfin_write_USB_EP2_FIFO(val) bfin_write16(USB_EP2_FIFO, val) | ||
1119 | #define bfin_read_USB_EP3_FIFO() bfin_read16(USB_EP3_FIFO) | ||
1120 | #define bfin_write_USB_EP3_FIFO(val) bfin_write16(USB_EP3_FIFO, val) | ||
1121 | #define bfin_read_USB_EP4_FIFO() bfin_read16(USB_EP4_FIFO) | ||
1122 | #define bfin_write_USB_EP4_FIFO(val) bfin_write16(USB_EP4_FIFO, val) | ||
1123 | #define bfin_read_USB_EP5_FIFO() bfin_read16(USB_EP5_FIFO) | ||
1124 | #define bfin_write_USB_EP5_FIFO(val) bfin_write16(USB_EP5_FIFO, val) | ||
1125 | #define bfin_read_USB_EP6_FIFO() bfin_read16(USB_EP6_FIFO) | ||
1126 | #define bfin_write_USB_EP6_FIFO(val) bfin_write16(USB_EP6_FIFO, val) | ||
1127 | #define bfin_read_USB_EP7_FIFO() bfin_read16(USB_EP7_FIFO) | ||
1128 | #define bfin_write_USB_EP7_FIFO(val) bfin_write16(USB_EP7_FIFO, val) | ||
1129 | |||
1130 | /* USB OTG Control Registers */ | ||
1131 | |||
1132 | #define bfin_read_USB_OTG_DEV_CTL() bfin_read16(USB_OTG_DEV_CTL) | ||
1133 | #define bfin_write_USB_OTG_DEV_CTL(val) bfin_write16(USB_OTG_DEV_CTL, val) | ||
1134 | #define bfin_read_USB_OTG_VBUS_IRQ() bfin_read16(USB_OTG_VBUS_IRQ) | ||
1135 | #define bfin_write_USB_OTG_VBUS_IRQ(val) bfin_write16(USB_OTG_VBUS_IRQ, val) | ||
1136 | #define bfin_read_USB_OTG_VBUS_MASK() bfin_read16(USB_OTG_VBUS_MASK) | ||
1137 | #define bfin_write_USB_OTG_VBUS_MASK(val) bfin_write16(USB_OTG_VBUS_MASK, val) | ||
1138 | |||
1139 | /* USB Phy Control Registers */ | ||
1140 | |||
1141 | #define bfin_read_USB_LINKINFO() bfin_read16(USB_LINKINFO) | ||
1142 | #define bfin_write_USB_LINKINFO(val) bfin_write16(USB_LINKINFO, val) | ||
1143 | #define bfin_read_USB_VPLEN() bfin_read16(USB_VPLEN) | ||
1144 | #define bfin_write_USB_VPLEN(val) bfin_write16(USB_VPLEN, val) | ||
1145 | #define bfin_read_USB_HS_EOF1() bfin_read16(USB_HS_EOF1) | ||
1146 | #define bfin_write_USB_HS_EOF1(val) bfin_write16(USB_HS_EOF1, val) | ||
1147 | #define bfin_read_USB_FS_EOF1() bfin_read16(USB_FS_EOF1) | ||
1148 | #define bfin_write_USB_FS_EOF1(val) bfin_write16(USB_FS_EOF1, val) | ||
1149 | #define bfin_read_USB_LS_EOF1() bfin_read16(USB_LS_EOF1) | ||
1150 | #define bfin_write_USB_LS_EOF1(val) bfin_write16(USB_LS_EOF1, val) | ||
1151 | |||
1152 | /* (APHY_CNTRL is for ADI usage only) */ | ||
1153 | |||
1154 | #define bfin_read_USB_APHY_CNTRL() bfin_read16(USB_APHY_CNTRL) | ||
1155 | #define bfin_write_USB_APHY_CNTRL(val) bfin_write16(USB_APHY_CNTRL, val) | ||
1156 | |||
1157 | /* (APHY_CALIB is for ADI usage only) */ | ||
1158 | |||
1159 | #define bfin_read_USB_APHY_CALIB() bfin_read16(USB_APHY_CALIB) | ||
1160 | #define bfin_write_USB_APHY_CALIB(val) bfin_write16(USB_APHY_CALIB, val) | ||
1161 | #define bfin_read_USB_APHY_CNTRL2() bfin_read16(USB_APHY_CNTRL2) | ||
1162 | #define bfin_write_USB_APHY_CNTRL2(val) bfin_write16(USB_APHY_CNTRL2, val) | ||
1163 | |||
1164 | /* (PHY_TEST is for ADI usage only) */ | ||
1165 | |||
1166 | #define bfin_read_USB_PHY_TEST() bfin_read16(USB_PHY_TEST) | ||
1167 | #define bfin_write_USB_PHY_TEST(val) bfin_write16(USB_PHY_TEST, val) | ||
1168 | #define bfin_read_USB_PLLOSC_CTRL() bfin_read16(USB_PLLOSC_CTRL) | ||
1169 | #define bfin_write_USB_PLLOSC_CTRL(val) bfin_write16(USB_PLLOSC_CTRL, val) | ||
1170 | #define bfin_read_USB_SRP_CLKDIV() bfin_read16(USB_SRP_CLKDIV) | ||
1171 | #define bfin_write_USB_SRP_CLKDIV(val) bfin_write16(USB_SRP_CLKDIV, val) | ||
1172 | |||
1173 | /* USB Endbfin_read_()oint 0 Control Registers */ | ||
1174 | |||
1175 | #define bfin_read_USB_EP_NI0_TXMAXP() bfin_read16(USB_EP_NI0_TXMAXP) | ||
1176 | #define bfin_write_USB_EP_NI0_TXMAXP(val) bfin_write16(USB_EP_NI0_TXMAXP, val) | ||
1177 | #define bfin_read_USB_EP_NI0_TXCSR() bfin_read16(USB_EP_NI0_TXCSR) | ||
1178 | #define bfin_write_USB_EP_NI0_TXCSR(val) bfin_write16(USB_EP_NI0_TXCSR, val) | ||
1179 | #define bfin_read_USB_EP_NI0_RXMAXP() bfin_read16(USB_EP_NI0_RXMAXP) | ||
1180 | #define bfin_write_USB_EP_NI0_RXMAXP(val) bfin_write16(USB_EP_NI0_RXMAXP, val) | ||
1181 | #define bfin_read_USB_EP_NI0_RXCSR() bfin_read16(USB_EP_NI0_RXCSR) | ||
1182 | #define bfin_write_USB_EP_NI0_RXCSR(val) bfin_write16(USB_EP_NI0_RXCSR, val) | ||
1183 | #define bfin_read_USB_EP_NI0_RXCOUNT() bfin_read16(USB_EP_NI0_RXCOUNT) | ||
1184 | #define bfin_write_USB_EP_NI0_RXCOUNT(val) bfin_write16(USB_EP_NI0_RXCOUNT, val) | ||
1185 | #define bfin_read_USB_EP_NI0_TXTYPE() bfin_read16(USB_EP_NI0_TXTYPE) | ||
1186 | #define bfin_write_USB_EP_NI0_TXTYPE(val) bfin_write16(USB_EP_NI0_TXTYPE, val) | ||
1187 | #define bfin_read_USB_EP_NI0_TXINTERVAL() bfin_read16(USB_EP_NI0_TXINTERVAL) | ||
1188 | #define bfin_write_USB_EP_NI0_TXINTERVAL(val) bfin_write16(USB_EP_NI0_TXINTERVAL, val) | ||
1189 | #define bfin_read_USB_EP_NI0_RXTYPE() bfin_read16(USB_EP_NI0_RXTYPE) | ||
1190 | #define bfin_write_USB_EP_NI0_RXTYPE(val) bfin_write16(USB_EP_NI0_RXTYPE, val) | ||
1191 | #define bfin_read_USB_EP_NI0_RXINTERVAL() bfin_read16(USB_EP_NI0_RXINTERVAL) | ||
1192 | #define bfin_write_USB_EP_NI0_RXINTERVAL(val) bfin_write16(USB_EP_NI0_RXINTERVAL, val) | ||
1193 | |||
1194 | /* USB Endbfin_read_()oint 1 Control Registers */ | ||
1195 | |||
1196 | #define bfin_read_USB_EP_NI0_TXCOUNT() bfin_read16(USB_EP_NI0_TXCOUNT) | ||
1197 | #define bfin_write_USB_EP_NI0_TXCOUNT(val) bfin_write16(USB_EP_NI0_TXCOUNT, val) | ||
1198 | #define bfin_read_USB_EP_NI1_TXMAXP() bfin_read16(USB_EP_NI1_TXMAXP) | ||
1199 | #define bfin_write_USB_EP_NI1_TXMAXP(val) bfin_write16(USB_EP_NI1_TXMAXP, val) | ||
1200 | #define bfin_read_USB_EP_NI1_TXCSR() bfin_read16(USB_EP_NI1_TXCSR) | ||
1201 | #define bfin_write_USB_EP_NI1_TXCSR(val) bfin_write16(USB_EP_NI1_TXCSR, val) | ||
1202 | #define bfin_read_USB_EP_NI1_RXMAXP() bfin_read16(USB_EP_NI1_RXMAXP) | ||
1203 | #define bfin_write_USB_EP_NI1_RXMAXP(val) bfin_write16(USB_EP_NI1_RXMAXP, val) | ||
1204 | #define bfin_read_USB_EP_NI1_RXCSR() bfin_read16(USB_EP_NI1_RXCSR) | ||
1205 | #define bfin_write_USB_EP_NI1_RXCSR(val) bfin_write16(USB_EP_NI1_RXCSR, val) | ||
1206 | #define bfin_read_USB_EP_NI1_RXCOUNT() bfin_read16(USB_EP_NI1_RXCOUNT) | ||
1207 | #define bfin_write_USB_EP_NI1_RXCOUNT(val) bfin_write16(USB_EP_NI1_RXCOUNT, val) | ||
1208 | #define bfin_read_USB_EP_NI1_TXTYPE() bfin_read16(USB_EP_NI1_TXTYPE) | ||
1209 | #define bfin_write_USB_EP_NI1_TXTYPE(val) bfin_write16(USB_EP_NI1_TXTYPE, val) | ||
1210 | #define bfin_read_USB_EP_NI1_TXINTERVAL() bfin_read16(USB_EP_NI1_TXINTERVAL) | ||
1211 | #define bfin_write_USB_EP_NI1_TXINTERVAL(val) bfin_write16(USB_EP_NI1_TXINTERVAL, val) | ||
1212 | #define bfin_read_USB_EP_NI1_RXTYPE() bfin_read16(USB_EP_NI1_RXTYPE) | ||
1213 | #define bfin_write_USB_EP_NI1_RXTYPE(val) bfin_write16(USB_EP_NI1_RXTYPE, val) | ||
1214 | #define bfin_read_USB_EP_NI1_RXINTERVAL() bfin_read16(USB_EP_NI1_RXINTERVAL) | ||
1215 | #define bfin_write_USB_EP_NI1_RXINTERVAL(val) bfin_write16(USB_EP_NI1_RXINTERVAL, val) | ||
1216 | |||
1217 | /* USB Endbfin_read_()oint 2 Control Registers */ | ||
1218 | |||
1219 | #define bfin_read_USB_EP_NI1_TXCOUNT() bfin_read16(USB_EP_NI1_TXCOUNT) | ||
1220 | #define bfin_write_USB_EP_NI1_TXCOUNT(val) bfin_write16(USB_EP_NI1_TXCOUNT, val) | ||
1221 | #define bfin_read_USB_EP_NI2_TXMAXP() bfin_read16(USB_EP_NI2_TXMAXP) | ||
1222 | #define bfin_write_USB_EP_NI2_TXMAXP(val) bfin_write16(USB_EP_NI2_TXMAXP, val) | ||
1223 | #define bfin_read_USB_EP_NI2_TXCSR() bfin_read16(USB_EP_NI2_TXCSR) | ||
1224 | #define bfin_write_USB_EP_NI2_TXCSR(val) bfin_write16(USB_EP_NI2_TXCSR, val) | ||
1225 | #define bfin_read_USB_EP_NI2_RXMAXP() bfin_read16(USB_EP_NI2_RXMAXP) | ||
1226 | #define bfin_write_USB_EP_NI2_RXMAXP(val) bfin_write16(USB_EP_NI2_RXMAXP, val) | ||
1227 | #define bfin_read_USB_EP_NI2_RXCSR() bfin_read16(USB_EP_NI2_RXCSR) | ||
1228 | #define bfin_write_USB_EP_NI2_RXCSR(val) bfin_write16(USB_EP_NI2_RXCSR, val) | ||
1229 | #define bfin_read_USB_EP_NI2_RXCOUNT() bfin_read16(USB_EP_NI2_RXCOUNT) | ||
1230 | #define bfin_write_USB_EP_NI2_RXCOUNT(val) bfin_write16(USB_EP_NI2_RXCOUNT, val) | ||
1231 | #define bfin_read_USB_EP_NI2_TXTYPE() bfin_read16(USB_EP_NI2_TXTYPE) | ||
1232 | #define bfin_write_USB_EP_NI2_TXTYPE(val) bfin_write16(USB_EP_NI2_TXTYPE, val) | ||
1233 | #define bfin_read_USB_EP_NI2_TXINTERVAL() bfin_read16(USB_EP_NI2_TXINTERVAL) | ||
1234 | #define bfin_write_USB_EP_NI2_TXINTERVAL(val) bfin_write16(USB_EP_NI2_TXINTERVAL, val) | ||
1235 | #define bfin_read_USB_EP_NI2_RXTYPE() bfin_read16(USB_EP_NI2_RXTYPE) | ||
1236 | #define bfin_write_USB_EP_NI2_RXTYPE(val) bfin_write16(USB_EP_NI2_RXTYPE, val) | ||
1237 | #define bfin_read_USB_EP_NI2_RXINTERVAL() bfin_read16(USB_EP_NI2_RXINTERVAL) | ||
1238 | #define bfin_write_USB_EP_NI2_RXINTERVAL(val) bfin_write16(USB_EP_NI2_RXINTERVAL, val) | ||
1239 | |||
1240 | /* USB Endbfin_read_()oint 3 Control Registers */ | ||
1241 | |||
1242 | #define bfin_read_USB_EP_NI2_TXCOUNT() bfin_read16(USB_EP_NI2_TXCOUNT) | ||
1243 | #define bfin_write_USB_EP_NI2_TXCOUNT(val) bfin_write16(USB_EP_NI2_TXCOUNT, val) | ||
1244 | #define bfin_read_USB_EP_NI3_TXMAXP() bfin_read16(USB_EP_NI3_TXMAXP) | ||
1245 | #define bfin_write_USB_EP_NI3_TXMAXP(val) bfin_write16(USB_EP_NI3_TXMAXP, val) | ||
1246 | #define bfin_read_USB_EP_NI3_TXCSR() bfin_read16(USB_EP_NI3_TXCSR) | ||
1247 | #define bfin_write_USB_EP_NI3_TXCSR(val) bfin_write16(USB_EP_NI3_TXCSR, val) | ||
1248 | #define bfin_read_USB_EP_NI3_RXMAXP() bfin_read16(USB_EP_NI3_RXMAXP) | ||
1249 | #define bfin_write_USB_EP_NI3_RXMAXP(val) bfin_write16(USB_EP_NI3_RXMAXP, val) | ||
1250 | #define bfin_read_USB_EP_NI3_RXCSR() bfin_read16(USB_EP_NI3_RXCSR) | ||
1251 | #define bfin_write_USB_EP_NI3_RXCSR(val) bfin_write16(USB_EP_NI3_RXCSR, val) | ||
1252 | #define bfin_read_USB_EP_NI3_RXCOUNT() bfin_read16(USB_EP_NI3_RXCOUNT) | ||
1253 | #define bfin_write_USB_EP_NI3_RXCOUNT(val) bfin_write16(USB_EP_NI3_RXCOUNT, val) | ||
1254 | #define bfin_read_USB_EP_NI3_TXTYPE() bfin_read16(USB_EP_NI3_TXTYPE) | ||
1255 | #define bfin_write_USB_EP_NI3_TXTYPE(val) bfin_write16(USB_EP_NI3_TXTYPE, val) | ||
1256 | #define bfin_read_USB_EP_NI3_TXINTERVAL() bfin_read16(USB_EP_NI3_TXINTERVAL) | ||
1257 | #define bfin_write_USB_EP_NI3_TXINTERVAL(val) bfin_write16(USB_EP_NI3_TXINTERVAL, val) | ||
1258 | #define bfin_read_USB_EP_NI3_RXTYPE() bfin_read16(USB_EP_NI3_RXTYPE) | ||
1259 | #define bfin_write_USB_EP_NI3_RXTYPE(val) bfin_write16(USB_EP_NI3_RXTYPE, val) | ||
1260 | #define bfin_read_USB_EP_NI3_RXINTERVAL() bfin_read16(USB_EP_NI3_RXINTERVAL) | ||
1261 | #define bfin_write_USB_EP_NI3_RXINTERVAL(val) bfin_write16(USB_EP_NI3_RXINTERVAL, val) | ||
1262 | |||
1263 | /* USB Endbfin_read_()oint 4 Control Registers */ | ||
1264 | |||
1265 | #define bfin_read_USB_EP_NI3_TXCOUNT() bfin_read16(USB_EP_NI3_TXCOUNT) | ||
1266 | #define bfin_write_USB_EP_NI3_TXCOUNT(val) bfin_write16(USB_EP_NI3_TXCOUNT, val) | ||
1267 | #define bfin_read_USB_EP_NI4_TXMAXP() bfin_read16(USB_EP_NI4_TXMAXP) | ||
1268 | #define bfin_write_USB_EP_NI4_TXMAXP(val) bfin_write16(USB_EP_NI4_TXMAXP, val) | ||
1269 | #define bfin_read_USB_EP_NI4_TXCSR() bfin_read16(USB_EP_NI4_TXCSR) | ||
1270 | #define bfin_write_USB_EP_NI4_TXCSR(val) bfin_write16(USB_EP_NI4_TXCSR, val) | ||
1271 | #define bfin_read_USB_EP_NI4_RXMAXP() bfin_read16(USB_EP_NI4_RXMAXP) | ||
1272 | #define bfin_write_USB_EP_NI4_RXMAXP(val) bfin_write16(USB_EP_NI4_RXMAXP, val) | ||
1273 | #define bfin_read_USB_EP_NI4_RXCSR() bfin_read16(USB_EP_NI4_RXCSR) | ||
1274 | #define bfin_write_USB_EP_NI4_RXCSR(val) bfin_write16(USB_EP_NI4_RXCSR, val) | ||
1275 | #define bfin_read_USB_EP_NI4_RXCOUNT() bfin_read16(USB_EP_NI4_RXCOUNT) | ||
1276 | #define bfin_write_USB_EP_NI4_RXCOUNT(val) bfin_write16(USB_EP_NI4_RXCOUNT, val) | ||
1277 | #define bfin_read_USB_EP_NI4_TXTYPE() bfin_read16(USB_EP_NI4_TXTYPE) | ||
1278 | #define bfin_write_USB_EP_NI4_TXTYPE(val) bfin_write16(USB_EP_NI4_TXTYPE, val) | ||
1279 | #define bfin_read_USB_EP_NI4_TXINTERVAL() bfin_read16(USB_EP_NI4_TXINTERVAL) | ||
1280 | #define bfin_write_USB_EP_NI4_TXINTERVAL(val) bfin_write16(USB_EP_NI4_TXINTERVAL, val) | ||
1281 | #define bfin_read_USB_EP_NI4_RXTYPE() bfin_read16(USB_EP_NI4_RXTYPE) | ||
1282 | #define bfin_write_USB_EP_NI4_RXTYPE(val) bfin_write16(USB_EP_NI4_RXTYPE, val) | ||
1283 | #define bfin_read_USB_EP_NI4_RXINTERVAL() bfin_read16(USB_EP_NI4_RXINTERVAL) | ||
1284 | #define bfin_write_USB_EP_NI4_RXINTERVAL(val) bfin_write16(USB_EP_NI4_RXINTERVAL, val) | ||
1285 | |||
1286 | /* USB Endbfin_read_()oint 5 Control Registers */ | ||
1287 | |||
1288 | #define bfin_read_USB_EP_NI4_TXCOUNT() bfin_read16(USB_EP_NI4_TXCOUNT) | ||
1289 | #define bfin_write_USB_EP_NI4_TXCOUNT(val) bfin_write16(USB_EP_NI4_TXCOUNT, val) | ||
1290 | #define bfin_read_USB_EP_NI5_TXMAXP() bfin_read16(USB_EP_NI5_TXMAXP) | ||
1291 | #define bfin_write_USB_EP_NI5_TXMAXP(val) bfin_write16(USB_EP_NI5_TXMAXP, val) | ||
1292 | #define bfin_read_USB_EP_NI5_TXCSR() bfin_read16(USB_EP_NI5_TXCSR) | ||
1293 | #define bfin_write_USB_EP_NI5_TXCSR(val) bfin_write16(USB_EP_NI5_TXCSR, val) | ||
1294 | #define bfin_read_USB_EP_NI5_RXMAXP() bfin_read16(USB_EP_NI5_RXMAXP) | ||
1295 | #define bfin_write_USB_EP_NI5_RXMAXP(val) bfin_write16(USB_EP_NI5_RXMAXP, val) | ||
1296 | #define bfin_read_USB_EP_NI5_RXCSR() bfin_read16(USB_EP_NI5_RXCSR) | ||
1297 | #define bfin_write_USB_EP_NI5_RXCSR(val) bfin_write16(USB_EP_NI5_RXCSR, val) | ||
1298 | #define bfin_read_USB_EP_NI5_RXCOUNT() bfin_read16(USB_EP_NI5_RXCOUNT) | ||
1299 | #define bfin_write_USB_EP_NI5_RXCOUNT(val) bfin_write16(USB_EP_NI5_RXCOUNT, val) | ||
1300 | #define bfin_read_USB_EP_NI5_TXTYPE() bfin_read16(USB_EP_NI5_TXTYPE) | ||
1301 | #define bfin_write_USB_EP_NI5_TXTYPE(val) bfin_write16(USB_EP_NI5_TXTYPE, val) | ||
1302 | #define bfin_read_USB_EP_NI5_TXINTERVAL() bfin_read16(USB_EP_NI5_TXINTERVAL) | ||
1303 | #define bfin_write_USB_EP_NI5_TXINTERVAL(val) bfin_write16(USB_EP_NI5_TXINTERVAL, val) | ||
1304 | #define bfin_read_USB_EP_NI5_RXTYPE() bfin_read16(USB_EP_NI5_RXTYPE) | ||
1305 | #define bfin_write_USB_EP_NI5_RXTYPE(val) bfin_write16(USB_EP_NI5_RXTYPE, val) | ||
1306 | #define bfin_read_USB_EP_NI5_RXINTERVAL() bfin_read16(USB_EP_NI5_RXINTERVAL) | ||
1307 | #define bfin_write_USB_EP_NI5_RXINTERVAL(val) bfin_write16(USB_EP_NI5_RXINTERVAL, val) | ||
1308 | |||
1309 | /* USB Endbfin_read_()oint 6 Control Registers */ | ||
1310 | |||
1311 | #define bfin_read_USB_EP_NI5_TXCOUNT() bfin_read16(USB_EP_NI5_TXCOUNT) | ||
1312 | #define bfin_write_USB_EP_NI5_TXCOUNT(val) bfin_write16(USB_EP_NI5_TXCOUNT, val) | ||
1313 | #define bfin_read_USB_EP_NI6_TXMAXP() bfin_read16(USB_EP_NI6_TXMAXP) | ||
1314 | #define bfin_write_USB_EP_NI6_TXMAXP(val) bfin_write16(USB_EP_NI6_TXMAXP, val) | ||
1315 | #define bfin_read_USB_EP_NI6_TXCSR() bfin_read16(USB_EP_NI6_TXCSR) | ||
1316 | #define bfin_write_USB_EP_NI6_TXCSR(val) bfin_write16(USB_EP_NI6_TXCSR, val) | ||
1317 | #define bfin_read_USB_EP_NI6_RXMAXP() bfin_read16(USB_EP_NI6_RXMAXP) | ||
1318 | #define bfin_write_USB_EP_NI6_RXMAXP(val) bfin_write16(USB_EP_NI6_RXMAXP, val) | ||
1319 | #define bfin_read_USB_EP_NI6_RXCSR() bfin_read16(USB_EP_NI6_RXCSR) | ||
1320 | #define bfin_write_USB_EP_NI6_RXCSR(val) bfin_write16(USB_EP_NI6_RXCSR, val) | ||
1321 | #define bfin_read_USB_EP_NI6_RXCOUNT() bfin_read16(USB_EP_NI6_RXCOUNT) | ||
1322 | #define bfin_write_USB_EP_NI6_RXCOUNT(val) bfin_write16(USB_EP_NI6_RXCOUNT, val) | ||
1323 | #define bfin_read_USB_EP_NI6_TXTYPE() bfin_read16(USB_EP_NI6_TXTYPE) | ||
1324 | #define bfin_write_USB_EP_NI6_TXTYPE(val) bfin_write16(USB_EP_NI6_TXTYPE, val) | ||
1325 | #define bfin_read_USB_EP_NI6_TXINTERVAL() bfin_read16(USB_EP_NI6_TXINTERVAL) | ||
1326 | #define bfin_write_USB_EP_NI6_TXINTERVAL(val) bfin_write16(USB_EP_NI6_TXINTERVAL, val) | ||
1327 | #define bfin_read_USB_EP_NI6_RXTYPE() bfin_read16(USB_EP_NI6_RXTYPE) | ||
1328 | #define bfin_write_USB_EP_NI6_RXTYPE(val) bfin_write16(USB_EP_NI6_RXTYPE, val) | ||
1329 | #define bfin_read_USB_EP_NI6_RXINTERVAL() bfin_read16(USB_EP_NI6_RXINTERVAL) | ||
1330 | #define bfin_write_USB_EP_NI6_RXINTERVAL(val) bfin_write16(USB_EP_NI6_RXINTERVAL, val) | ||
1331 | |||
1332 | /* USB Endbfin_read_()oint 7 Control Registers */ | ||
1333 | |||
1334 | #define bfin_read_USB_EP_NI6_TXCOUNT() bfin_read16(USB_EP_NI6_TXCOUNT) | ||
1335 | #define bfin_write_USB_EP_NI6_TXCOUNT(val) bfin_write16(USB_EP_NI6_TXCOUNT, val) | ||
1336 | #define bfin_read_USB_EP_NI7_TXMAXP() bfin_read16(USB_EP_NI7_TXMAXP) | ||
1337 | #define bfin_write_USB_EP_NI7_TXMAXP(val) bfin_write16(USB_EP_NI7_TXMAXP, val) | ||
1338 | #define bfin_read_USB_EP_NI7_TXCSR() bfin_read16(USB_EP_NI7_TXCSR) | ||
1339 | #define bfin_write_USB_EP_NI7_TXCSR(val) bfin_write16(USB_EP_NI7_TXCSR, val) | ||
1340 | #define bfin_read_USB_EP_NI7_RXMAXP() bfin_read16(USB_EP_NI7_RXMAXP) | ||
1341 | #define bfin_write_USB_EP_NI7_RXMAXP(val) bfin_write16(USB_EP_NI7_RXMAXP, val) | ||
1342 | #define bfin_read_USB_EP_NI7_RXCSR() bfin_read16(USB_EP_NI7_RXCSR) | ||
1343 | #define bfin_write_USB_EP_NI7_RXCSR(val) bfin_write16(USB_EP_NI7_RXCSR, val) | ||
1344 | #define bfin_read_USB_EP_NI7_RXCOUNT() bfin_read16(USB_EP_NI7_RXCOUNT) | ||
1345 | #define bfin_write_USB_EP_NI7_RXCOUNT(val) bfin_write16(USB_EP_NI7_RXCOUNT, val) | ||
1346 | #define bfin_read_USB_EP_NI7_TXTYPE() bfin_read16(USB_EP_NI7_TXTYPE) | ||
1347 | #define bfin_write_USB_EP_NI7_TXTYPE(val) bfin_write16(USB_EP_NI7_TXTYPE, val) | ||
1348 | #define bfin_read_USB_EP_NI7_TXINTERVAL() bfin_read16(USB_EP_NI7_TXINTERVAL) | ||
1349 | #define bfin_write_USB_EP_NI7_TXINTERVAL(val) bfin_write16(USB_EP_NI7_TXINTERVAL, val) | ||
1350 | #define bfin_read_USB_EP_NI7_RXTYPE() bfin_read16(USB_EP_NI7_RXTYPE) | ||
1351 | #define bfin_write_USB_EP_NI7_RXTYPE(val) bfin_write16(USB_EP_NI7_RXTYPE, val) | ||
1352 | #define bfin_read_USB_EP_NI7_RXINTERVAL() bfin_read16(USB_EP_NI7_RXINTERVAL) | ||
1353 | #define bfin_write_USB_EP_NI7_RXINTERVAL(val) bfin_write16(USB_EP_NI7_RXINTERVAL, val) | ||
1354 | #define bfin_read_USB_EP_NI7_TXCOUNT() bfin_read16(USB_EP_NI7_TXCOUNT) | ||
1355 | #define bfin_write_USB_EP_NI7_TXCOUNT(val) bfin_write16(USB_EP_NI7_TXCOUNT, val) | ||
1356 | #define bfin_read_USB_DMA_INTERRUPT() bfin_read16(USB_DMA_INTERRUPT) | ||
1357 | #define bfin_write_USB_DMA_INTERRUPT(val) bfin_write16(USB_DMA_INTERRUPT, val) | ||
1358 | |||
1359 | /* USB Channel 0 Config Registers */ | ||
1360 | |||
1361 | #define bfin_read_USB_DMA0CONTROL() bfin_read16(USB_DMA0CONTROL) | ||
1362 | #define bfin_write_USB_DMA0CONTROL(val) bfin_write16(USB_DMA0CONTROL, val) | ||
1363 | #define bfin_read_USB_DMA0ADDRLOW() bfin_read16(USB_DMA0ADDRLOW) | ||
1364 | #define bfin_write_USB_DMA0ADDRLOW(val) bfin_write16(USB_DMA0ADDRLOW, val) | ||
1365 | #define bfin_read_USB_DMA0ADDRHIGH() bfin_read16(USB_DMA0ADDRHIGH) | ||
1366 | #define bfin_write_USB_DMA0ADDRHIGH(val) bfin_write16(USB_DMA0ADDRHIGH, val) | ||
1367 | #define bfin_read_USB_DMA0COUNTLOW() bfin_read16(USB_DMA0COUNTLOW) | ||
1368 | #define bfin_write_USB_DMA0COUNTLOW(val) bfin_write16(USB_DMA0COUNTLOW, val) | ||
1369 | #define bfin_read_USB_DMA0COUNTHIGH() bfin_read16(USB_DMA0COUNTHIGH) | ||
1370 | #define bfin_write_USB_DMA0COUNTHIGH(val) bfin_write16(USB_DMA0COUNTHIGH, val) | ||
1371 | |||
1372 | /* USB Channel 1 Config Registers */ | ||
1373 | |||
1374 | #define bfin_read_USB_DMA1CONTROL() bfin_read16(USB_DMA1CONTROL) | ||
1375 | #define bfin_write_USB_DMA1CONTROL(val) bfin_write16(USB_DMA1CONTROL, val) | ||
1376 | #define bfin_read_USB_DMA1ADDRLOW() bfin_read16(USB_DMA1ADDRLOW) | ||
1377 | #define bfin_write_USB_DMA1ADDRLOW(val) bfin_write16(USB_DMA1ADDRLOW, val) | ||
1378 | #define bfin_read_USB_DMA1ADDRHIGH() bfin_read16(USB_DMA1ADDRHIGH) | ||
1379 | #define bfin_write_USB_DMA1ADDRHIGH(val) bfin_write16(USB_DMA1ADDRHIGH, val) | ||
1380 | #define bfin_read_USB_DMA1COUNTLOW() bfin_read16(USB_DMA1COUNTLOW) | ||
1381 | #define bfin_write_USB_DMA1COUNTLOW(val) bfin_write16(USB_DMA1COUNTLOW, val) | ||
1382 | #define bfin_read_USB_DMA1COUNTHIGH() bfin_read16(USB_DMA1COUNTHIGH) | ||
1383 | #define bfin_write_USB_DMA1COUNTHIGH(val) bfin_write16(USB_DMA1COUNTHIGH, val) | ||
1384 | |||
1385 | /* USB Channel 2 Config Registers */ | ||
1386 | |||
1387 | #define bfin_read_USB_DMA2CONTROL() bfin_read16(USB_DMA2CONTROL) | ||
1388 | #define bfin_write_USB_DMA2CONTROL(val) bfin_write16(USB_DMA2CONTROL, val) | ||
1389 | #define bfin_read_USB_DMA2ADDRLOW() bfin_read16(USB_DMA2ADDRLOW) | ||
1390 | #define bfin_write_USB_DMA2ADDRLOW(val) bfin_write16(USB_DMA2ADDRLOW, val) | ||
1391 | #define bfin_read_USB_DMA2ADDRHIGH() bfin_read16(USB_DMA2ADDRHIGH) | ||
1392 | #define bfin_write_USB_DMA2ADDRHIGH(val) bfin_write16(USB_DMA2ADDRHIGH, val) | ||
1393 | #define bfin_read_USB_DMA2COUNTLOW() bfin_read16(USB_DMA2COUNTLOW) | ||
1394 | #define bfin_write_USB_DMA2COUNTLOW(val) bfin_write16(USB_DMA2COUNTLOW, val) | ||
1395 | #define bfin_read_USB_DMA2COUNTHIGH() bfin_read16(USB_DMA2COUNTHIGH) | ||
1396 | #define bfin_write_USB_DMA2COUNTHIGH(val) bfin_write16(USB_DMA2COUNTHIGH, val) | ||
1397 | |||
1398 | /* USB Channel 3 Config Registers */ | ||
1399 | |||
1400 | #define bfin_read_USB_DMA3CONTROL() bfin_read16(USB_DMA3CONTROL) | ||
1401 | #define bfin_write_USB_DMA3CONTROL(val) bfin_write16(USB_DMA3CONTROL, val) | ||
1402 | #define bfin_read_USB_DMA3ADDRLOW() bfin_read16(USB_DMA3ADDRLOW) | ||
1403 | #define bfin_write_USB_DMA3ADDRLOW(val) bfin_write16(USB_DMA3ADDRLOW, val) | ||
1404 | #define bfin_read_USB_DMA3ADDRHIGH() bfin_read16(USB_DMA3ADDRHIGH) | ||
1405 | #define bfin_write_USB_DMA3ADDRHIGH(val) bfin_write16(USB_DMA3ADDRHIGH, val) | ||
1406 | #define bfin_read_USB_DMA3COUNTLOW() bfin_read16(USB_DMA3COUNTLOW) | ||
1407 | #define bfin_write_USB_DMA3COUNTLOW(val) bfin_write16(USB_DMA3COUNTLOW, val) | ||
1408 | #define bfin_read_USB_DMA3COUNTHIGH() bfin_read16(USB_DMA3COUNTHIGH) | ||
1409 | #define bfin_write_USB_DMA3COUNTHIGH(val) bfin_write16(USB_DMA3COUNTHIGH, val) | ||
1410 | |||
1411 | /* USB Channel 4 Config Registers */ | ||
1412 | |||
1413 | #define bfin_read_USB_DMA4CONTROL() bfin_read16(USB_DMA4CONTROL) | ||
1414 | #define bfin_write_USB_DMA4CONTROL(val) bfin_write16(USB_DMA4CONTROL, val) | ||
1415 | #define bfin_read_USB_DMA4ADDRLOW() bfin_read16(USB_DMA4ADDRLOW) | ||
1416 | #define bfin_write_USB_DMA4ADDRLOW(val) bfin_write16(USB_DMA4ADDRLOW, val) | ||
1417 | #define bfin_read_USB_DMA4ADDRHIGH() bfin_read16(USB_DMA4ADDRHIGH) | ||
1418 | #define bfin_write_USB_DMA4ADDRHIGH(val) bfin_write16(USB_DMA4ADDRHIGH, val) | ||
1419 | #define bfin_read_USB_DMA4COUNTLOW() bfin_read16(USB_DMA4COUNTLOW) | ||
1420 | #define bfin_write_USB_DMA4COUNTLOW(val) bfin_write16(USB_DMA4COUNTLOW, val) | ||
1421 | #define bfin_read_USB_DMA4COUNTHIGH() bfin_read16(USB_DMA4COUNTHIGH) | ||
1422 | #define bfin_write_USB_DMA4COUNTHIGH(val) bfin_write16(USB_DMA4COUNTHIGH, val) | ||
1423 | |||
1424 | /* USB Channel 5 Config Registers */ | ||
1425 | |||
1426 | #define bfin_read_USB_DMA5CONTROL() bfin_read16(USB_DMA5CONTROL) | ||
1427 | #define bfin_write_USB_DMA5CONTROL(val) bfin_write16(USB_DMA5CONTROL, val) | ||
1428 | #define bfin_read_USB_DMA5ADDRLOW() bfin_read16(USB_DMA5ADDRLOW) | ||
1429 | #define bfin_write_USB_DMA5ADDRLOW(val) bfin_write16(USB_DMA5ADDRLOW, val) | ||
1430 | #define bfin_read_USB_DMA5ADDRHIGH() bfin_read16(USB_DMA5ADDRHIGH) | ||
1431 | #define bfin_write_USB_DMA5ADDRHIGH(val) bfin_write16(USB_DMA5ADDRHIGH, val) | ||
1432 | #define bfin_read_USB_DMA5COUNTLOW() bfin_read16(USB_DMA5COUNTLOW) | ||
1433 | #define bfin_write_USB_DMA5COUNTLOW(val) bfin_write16(USB_DMA5COUNTLOW, val) | ||
1434 | #define bfin_read_USB_DMA5COUNTHIGH() bfin_read16(USB_DMA5COUNTHIGH) | ||
1435 | #define bfin_write_USB_DMA5COUNTHIGH(val) bfin_write16(USB_DMA5COUNTHIGH, val) | ||
1436 | |||
1437 | /* USB Channel 6 Config Registers */ | ||
1438 | |||
1439 | #define bfin_read_USB_DMA6CONTROL() bfin_read16(USB_DMA6CONTROL) | ||
1440 | #define bfin_write_USB_DMA6CONTROL(val) bfin_write16(USB_DMA6CONTROL, val) | ||
1441 | #define bfin_read_USB_DMA6ADDRLOW() bfin_read16(USB_DMA6ADDRLOW) | ||
1442 | #define bfin_write_USB_DMA6ADDRLOW(val) bfin_write16(USB_DMA6ADDRLOW, val) | ||
1443 | #define bfin_read_USB_DMA6ADDRHIGH() bfin_read16(USB_DMA6ADDRHIGH) | ||
1444 | #define bfin_write_USB_DMA6ADDRHIGH(val) bfin_write16(USB_DMA6ADDRHIGH, val) | ||
1445 | #define bfin_read_USB_DMA6COUNTLOW() bfin_read16(USB_DMA6COUNTLOW) | ||
1446 | #define bfin_write_USB_DMA6COUNTLOW(val) bfin_write16(USB_DMA6COUNTLOW, val) | ||
1447 | #define bfin_read_USB_DMA6COUNTHIGH() bfin_read16(USB_DMA6COUNTHIGH) | ||
1448 | #define bfin_write_USB_DMA6COUNTHIGH(val) bfin_write16(USB_DMA6COUNTHIGH, val) | ||
1449 | |||
1450 | /* USB Channel 7 Config Registers */ | ||
1451 | |||
1452 | #define bfin_read_USB_DMA7CONTROL() bfin_read16(USB_DMA7CONTROL) | ||
1453 | #define bfin_write_USB_DMA7CONTROL(val) bfin_write16(USB_DMA7CONTROL, val) | ||
1454 | #define bfin_read_USB_DMA7ADDRLOW() bfin_read16(USB_DMA7ADDRLOW) | ||
1455 | #define bfin_write_USB_DMA7ADDRLOW(val) bfin_write16(USB_DMA7ADDRLOW, val) | ||
1456 | #define bfin_read_USB_DMA7ADDRHIGH() bfin_read16(USB_DMA7ADDRHIGH) | ||
1457 | #define bfin_write_USB_DMA7ADDRHIGH(val) bfin_write16(USB_DMA7ADDRHIGH, val) | ||
1458 | #define bfin_read_USB_DMA7COUNTLOW() bfin_read16(USB_DMA7COUNTLOW) | ||
1459 | #define bfin_write_USB_DMA7COUNTLOW(val) bfin_write16(USB_DMA7COUNTLOW, val) | ||
1460 | #define bfin_read_USB_DMA7COUNTHIGH() bfin_read16(USB_DMA7COUNTHIGH) | ||
1461 | #define bfin_write_USB_DMA7COUNTHIGH(val) bfin_write16(USB_DMA7COUNTHIGH, val) | ||
1462 | |||
1463 | /* Keybfin_read_()ad Registers */ | ||
1464 | |||
1465 | #define bfin_read_KPAD_CTL() bfin_read16(KPAD_CTL) | ||
1466 | #define bfin_write_KPAD_CTL(val) bfin_write16(KPAD_CTL, val) | ||
1467 | #define bfin_read_KPAD_PRESCALE() bfin_read16(KPAD_PRESCALE) | ||
1468 | #define bfin_write_KPAD_PRESCALE(val) bfin_write16(KPAD_PRESCALE, val) | ||
1469 | #define bfin_read_KPAD_MSEL() bfin_read16(KPAD_MSEL) | ||
1470 | #define bfin_write_KPAD_MSEL(val) bfin_write16(KPAD_MSEL, val) | ||
1471 | #define bfin_read_KPAD_ROWCOL() bfin_read16(KPAD_ROWCOL) | ||
1472 | #define bfin_write_KPAD_ROWCOL(val) bfin_write16(KPAD_ROWCOL, val) | ||
1473 | #define bfin_read_KPAD_STAT() bfin_read16(KPAD_STAT) | ||
1474 | #define bfin_write_KPAD_STAT(val) bfin_write16(KPAD_STAT, val) | ||
1475 | #define bfin_read_KPAD_SOFTEVAL() bfin_read16(KPAD_SOFTEVAL) | ||
1476 | #define bfin_write_KPAD_SOFTEVAL(val) bfin_write16(KPAD_SOFTEVAL, val) | ||
1477 | |||
1478 | /* Pixel Combfin_read_()ositor (PIXC) Registers */ | ||
1479 | |||
1480 | #define bfin_read_PIXC_CTL() bfin_read16(PIXC_CTL) | ||
1481 | #define bfin_write_PIXC_CTL(val) bfin_write16(PIXC_CTL, val) | ||
1482 | #define bfin_read_PIXC_PPL() bfin_read16(PIXC_PPL) | ||
1483 | #define bfin_write_PIXC_PPL(val) bfin_write16(PIXC_PPL, val) | ||
1484 | #define bfin_read_PIXC_LPF() bfin_read16(PIXC_LPF) | ||
1485 | #define bfin_write_PIXC_LPF(val) bfin_write16(PIXC_LPF, val) | ||
1486 | #define bfin_read_PIXC_AHSTART() bfin_read16(PIXC_AHSTART) | ||
1487 | #define bfin_write_PIXC_AHSTART(val) bfin_write16(PIXC_AHSTART, val) | ||
1488 | #define bfin_read_PIXC_AHEND() bfin_read16(PIXC_AHEND) | ||
1489 | #define bfin_write_PIXC_AHEND(val) bfin_write16(PIXC_AHEND, val) | ||
1490 | #define bfin_read_PIXC_AVSTART() bfin_read16(PIXC_AVSTART) | ||
1491 | #define bfin_write_PIXC_AVSTART(val) bfin_write16(PIXC_AVSTART, val) | ||
1492 | #define bfin_read_PIXC_AVEND() bfin_read16(PIXC_AVEND) | ||
1493 | #define bfin_write_PIXC_AVEND(val) bfin_write16(PIXC_AVEND, val) | ||
1494 | #define bfin_read_PIXC_ATRANSP() bfin_read16(PIXC_ATRANSP) | ||
1495 | #define bfin_write_PIXC_ATRANSP(val) bfin_write16(PIXC_ATRANSP, val) | ||
1496 | #define bfin_read_PIXC_BHSTART() bfin_read16(PIXC_BHSTART) | ||
1497 | #define bfin_write_PIXC_BHSTART(val) bfin_write16(PIXC_BHSTART, val) | ||
1498 | #define bfin_read_PIXC_BHEND() bfin_read16(PIXC_BHEND) | ||
1499 | #define bfin_write_PIXC_BHEND(val) bfin_write16(PIXC_BHEND, val) | ||
1500 | #define bfin_read_PIXC_BVSTART() bfin_read16(PIXC_BVSTART) | ||
1501 | #define bfin_write_PIXC_BVSTART(val) bfin_write16(PIXC_BVSTART, val) | ||
1502 | #define bfin_read_PIXC_BVEND() bfin_read16(PIXC_BVEND) | ||
1503 | #define bfin_write_PIXC_BVEND(val) bfin_write16(PIXC_BVEND, val) | ||
1504 | #define bfin_read_PIXC_BTRANSP() bfin_read16(PIXC_BTRANSP) | ||
1505 | #define bfin_write_PIXC_BTRANSP(val) bfin_write16(PIXC_BTRANSP, val) | ||
1506 | #define bfin_read_PIXC_INTRSTAT() bfin_read16(PIXC_INTRSTAT) | ||
1507 | #define bfin_write_PIXC_INTRSTAT(val) bfin_write16(PIXC_INTRSTAT, val) | ||
1508 | #define bfin_read_PIXC_RYCON() bfin_read32(PIXC_RYCON) | ||
1509 | #define bfin_write_PIXC_RYCON(val) bfin_write32(PIXC_RYCON, val) | ||
1510 | #define bfin_read_PIXC_GUCON() bfin_read32(PIXC_GUCON) | ||
1511 | #define bfin_write_PIXC_GUCON(val) bfin_write32(PIXC_GUCON, val) | ||
1512 | #define bfin_read_PIXC_BVCON() bfin_read32(PIXC_BVCON) | ||
1513 | #define bfin_write_PIXC_BVCON(val) bfin_write32(PIXC_BVCON, val) | ||
1514 | #define bfin_read_PIXC_CCBIAS() bfin_read32(PIXC_CCBIAS) | ||
1515 | #define bfin_write_PIXC_CCBIAS(val) bfin_write32(PIXC_CCBIAS, val) | ||
1516 | #define bfin_read_PIXC_TC() bfin_read32(PIXC_TC) | ||
1517 | #define bfin_write_PIXC_TC(val) bfin_write32(PIXC_TC, val) | ||
1518 | |||
1519 | /* Handshake MDMA 0 Registers */ | ||
1520 | |||
1521 | #define bfin_read_HMDMA0_CONTROL() bfin_read16(HMDMA0_CONTROL) | ||
1522 | #define bfin_write_HMDMA0_CONTROL(val) bfin_write16(HMDMA0_CONTROL, val) | ||
1523 | #define bfin_read_HMDMA0_ECINIT() bfin_read16(HMDMA0_ECINIT) | ||
1524 | #define bfin_write_HMDMA0_ECINIT(val) bfin_write16(HMDMA0_ECINIT, val) | ||
1525 | #define bfin_read_HMDMA0_BCINIT() bfin_read16(HMDMA0_BCINIT) | ||
1526 | #define bfin_write_HMDMA0_BCINIT(val) bfin_write16(HMDMA0_BCINIT, val) | ||
1527 | #define bfin_read_HMDMA0_ECURGENT() bfin_read16(HMDMA0_ECURGENT) | ||
1528 | #define bfin_write_HMDMA0_ECURGENT(val) bfin_write16(HMDMA0_ECURGENT, val) | ||
1529 | #define bfin_read_HMDMA0_ECOVERFLOW() bfin_read16(HMDMA0_ECOVERFLOW) | ||
1530 | #define bfin_write_HMDMA0_ECOVERFLOW(val) bfin_write16(HMDMA0_ECOVERFLOW, val) | ||
1531 | #define bfin_read_HMDMA0_ECOUNT() bfin_read16(HMDMA0_ECOUNT) | ||
1532 | #define bfin_write_HMDMA0_ECOUNT(val) bfin_write16(HMDMA0_ECOUNT, val) | ||
1533 | #define bfin_read_HMDMA0_BCOUNT() bfin_read16(HMDMA0_BCOUNT) | ||
1534 | #define bfin_write_HMDMA0_BCOUNT(val) bfin_write16(HMDMA0_BCOUNT, val) | ||
1535 | |||
1536 | /* Handshake MDMA 1 Registers */ | ||
1537 | |||
1538 | #define bfin_read_HMDMA1_CONTROL() bfin_read16(HMDMA1_CONTROL) | ||
1539 | #define bfin_write_HMDMA1_CONTROL(val) bfin_write16(HMDMA1_CONTROL, val) | ||
1540 | #define bfin_read_HMDMA1_ECINIT() bfin_read16(HMDMA1_ECINIT) | ||
1541 | #define bfin_write_HMDMA1_ECINIT(val) bfin_write16(HMDMA1_ECINIT, val) | ||
1542 | #define bfin_read_HMDMA1_BCINIT() bfin_read16(HMDMA1_BCINIT) | ||
1543 | #define bfin_write_HMDMA1_BCINIT(val) bfin_write16(HMDMA1_BCINIT, val) | ||
1544 | #define bfin_read_HMDMA1_ECURGENT() bfin_read16(HMDMA1_ECURGENT) | ||
1545 | #define bfin_write_HMDMA1_ECURGENT(val) bfin_write16(HMDMA1_ECURGENT, val) | ||
1546 | #define bfin_read_HMDMA1_ECOVERFLOW() bfin_read16(HMDMA1_ECOVERFLOW) | ||
1547 | #define bfin_write_HMDMA1_ECOVERFLOW(val) bfin_write16(HMDMA1_ECOVERFLOW, val) | ||
1548 | #define bfin_read_HMDMA1_ECOUNT() bfin_read16(HMDMA1_ECOUNT) | ||
1549 | #define bfin_write_HMDMA1_ECOUNT(val) bfin_write16(HMDMA1_ECOUNT, val) | ||
1550 | #define bfin_read_HMDMA1_BCOUNT() bfin_read16(HMDMA1_BCOUNT) | ||
1551 | #define bfin_write_HMDMA1_BCOUNT(val) bfin_write16(HMDMA1_BCOUNT, val) | ||
1552 | |||
1553 | #endif /* _CDEF_BF548_H */ | 769 | #endif /* _CDEF_BF548_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h index 34c84c7fb256..80201ed41f80 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h | |||
@@ -18,165 +18,8 @@ | |||
18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ | 18 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ |
19 | #include "cdefBF54x_base.h" | 19 | #include "cdefBF54x_base.h" |
20 | 20 | ||
21 | /* The following are the #defines needed by ADSP-BF549 that are not in the common header */ | 21 | /* The BF549 is like the BF544, but has MXVR */ |
22 | 22 | #include "cdefBF547.h" | |
23 | /* Timer Registers */ | ||
24 | |||
25 | #define bfin_read_TIMER8_CONFIG() bfin_read16(TIMER8_CONFIG) | ||
26 | #define bfin_write_TIMER8_CONFIG(val) bfin_write16(TIMER8_CONFIG, val) | ||
27 | #define bfin_read_TIMER8_COUNTER() bfin_read32(TIMER8_COUNTER) | ||
28 | #define bfin_write_TIMER8_COUNTER(val) bfin_write32(TIMER8_COUNTER, val) | ||
29 | #define bfin_read_TIMER8_PERIOD() bfin_read32(TIMER8_PERIOD) | ||
30 | #define bfin_write_TIMER8_PERIOD(val) bfin_write32(TIMER8_PERIOD, val) | ||
31 | #define bfin_read_TIMER8_WIDTH() bfin_read32(TIMER8_WIDTH) | ||
32 | #define bfin_write_TIMER8_WIDTH(val) bfin_write32(TIMER8_WIDTH, val) | ||
33 | #define bfin_read_TIMER9_CONFIG() bfin_read16(TIMER9_CONFIG) | ||
34 | #define bfin_write_TIMER9_CONFIG(val) bfin_write16(TIMER9_CONFIG, val) | ||
35 | #define bfin_read_TIMER9_COUNTER() bfin_read32(TIMER9_COUNTER) | ||
36 | #define bfin_write_TIMER9_COUNTER(val) bfin_write32(TIMER9_COUNTER, val) | ||
37 | #define bfin_read_TIMER9_PERIOD() bfin_read32(TIMER9_PERIOD) | ||
38 | #define bfin_write_TIMER9_PERIOD(val) bfin_write32(TIMER9_PERIOD, val) | ||
39 | #define bfin_read_TIMER9_WIDTH() bfin_read32(TIMER9_WIDTH) | ||
40 | #define bfin_write_TIMER9_WIDTH(val) bfin_write32(TIMER9_WIDTH, val) | ||
41 | #define bfin_read_TIMER10_CONFIG() bfin_read16(TIMER10_CONFIG) | ||
42 | #define bfin_write_TIMER10_CONFIG(val) bfin_write16(TIMER10_CONFIG, val) | ||
43 | #define bfin_read_TIMER10_COUNTER() bfin_read32(TIMER10_COUNTER) | ||
44 | #define bfin_write_TIMER10_COUNTER(val) bfin_write32(TIMER10_COUNTER, val) | ||
45 | #define bfin_read_TIMER10_PERIOD() bfin_read32(TIMER10_PERIOD) | ||
46 | #define bfin_write_TIMER10_PERIOD(val) bfin_write32(TIMER10_PERIOD, val) | ||
47 | #define bfin_read_TIMER10_WIDTH() bfin_read32(TIMER10_WIDTH) | ||
48 | #define bfin_write_TIMER10_WIDTH(val) bfin_write32(TIMER10_WIDTH, val) | ||
49 | |||
50 | /* Timer Groubfin_read_() of 3 */ | ||
51 | |||
52 | #define bfin_read_TIMER_ENABLE1() bfin_read16(TIMER_ENABLE1) | ||
53 | #define bfin_write_TIMER_ENABLE1(val) bfin_write16(TIMER_ENABLE1, val) | ||
54 | #define bfin_read_TIMER_DISABLE1() bfin_read16(TIMER_DISABLE1) | ||
55 | #define bfin_write_TIMER_DISABLE1(val) bfin_write16(TIMER_DISABLE1, val) | ||
56 | #define bfin_read_TIMER_STATUS1() bfin_read32(TIMER_STATUS1) | ||
57 | #define bfin_write_TIMER_STATUS1(val) bfin_write32(TIMER_STATUS1, val) | ||
58 | |||
59 | /* SPORT0 Registers */ | ||
60 | |||
61 | #define bfin_read_SPORT0_TCR1() bfin_read16(SPORT0_TCR1) | ||
62 | #define bfin_write_SPORT0_TCR1(val) bfin_write16(SPORT0_TCR1, val) | ||
63 | #define bfin_read_SPORT0_TCR2() bfin_read16(SPORT0_TCR2) | ||
64 | #define bfin_write_SPORT0_TCR2(val) bfin_write16(SPORT0_TCR2, val) | ||
65 | #define bfin_read_SPORT0_TCLKDIV() bfin_read16(SPORT0_TCLKDIV) | ||
66 | #define bfin_write_SPORT0_TCLKDIV(val) bfin_write16(SPORT0_TCLKDIV, val) | ||
67 | #define bfin_read_SPORT0_TFSDIV() bfin_read16(SPORT0_TFSDIV) | ||
68 | #define bfin_write_SPORT0_TFSDIV(val) bfin_write16(SPORT0_TFSDIV, val) | ||
69 | #define bfin_read_SPORT0_TX() bfin_read32(SPORT0_TX) | ||
70 | #define bfin_write_SPORT0_TX(val) bfin_write32(SPORT0_TX, val) | ||
71 | #define bfin_read_SPORT0_RX() bfin_read32(SPORT0_RX) | ||
72 | #define bfin_write_SPORT0_RX(val) bfin_write32(SPORT0_RX, val) | ||
73 | #define bfin_read_SPORT0_RCR1() bfin_read16(SPORT0_RCR1) | ||
74 | #define bfin_write_SPORT0_RCR1(val) bfin_write16(SPORT0_RCR1, val) | ||
75 | #define bfin_read_SPORT0_RCR2() bfin_read16(SPORT0_RCR2) | ||
76 | #define bfin_write_SPORT0_RCR2(val) bfin_write16(SPORT0_RCR2, val) | ||
77 | #define bfin_read_SPORT0_RCLKDIV() bfin_read16(SPORT0_RCLKDIV) | ||
78 | #define bfin_write_SPORT0_RCLKDIV(val) bfin_write16(SPORT0_RCLKDIV, val) | ||
79 | #define bfin_read_SPORT0_RFSDIV() bfin_read16(SPORT0_RFSDIV) | ||
80 | #define bfin_write_SPORT0_RFSDIV(val) bfin_write16(SPORT0_RFSDIV, val) | ||
81 | #define bfin_read_SPORT0_STAT() bfin_read16(SPORT0_STAT) | ||
82 | #define bfin_write_SPORT0_STAT(val) bfin_write16(SPORT0_STAT, val) | ||
83 | #define bfin_read_SPORT0_CHNL() bfin_read16(SPORT0_CHNL) | ||
84 | #define bfin_write_SPORT0_CHNL(val) bfin_write16(SPORT0_CHNL, val) | ||
85 | #define bfin_read_SPORT0_MCMC1() bfin_read16(SPORT0_MCMC1) | ||
86 | #define bfin_write_SPORT0_MCMC1(val) bfin_write16(SPORT0_MCMC1, val) | ||
87 | #define bfin_read_SPORT0_MCMC2() bfin_read16(SPORT0_MCMC2) | ||
88 | #define bfin_write_SPORT0_MCMC2(val) bfin_write16(SPORT0_MCMC2, val) | ||
89 | #define bfin_read_SPORT0_MTCS0() bfin_read32(SPORT0_MTCS0) | ||
90 | #define bfin_write_SPORT0_MTCS0(val) bfin_write32(SPORT0_MTCS0, val) | ||
91 | #define bfin_read_SPORT0_MTCS1() bfin_read32(SPORT0_MTCS1) | ||
92 | #define bfin_write_SPORT0_MTCS1(val) bfin_write32(SPORT0_MTCS1, val) | ||
93 | #define bfin_read_SPORT0_MTCS2() bfin_read32(SPORT0_MTCS2) | ||
94 | #define bfin_write_SPORT0_MTCS2(val) bfin_write32(SPORT0_MTCS2, val) | ||
95 | #define bfin_read_SPORT0_MTCS3() bfin_read32(SPORT0_MTCS3) | ||
96 | #define bfin_write_SPORT0_MTCS3(val) bfin_write32(SPORT0_MTCS3, val) | ||
97 | #define bfin_read_SPORT0_MRCS0() bfin_read32(SPORT0_MRCS0) | ||
98 | #define bfin_write_SPORT0_MRCS0(val) bfin_write32(SPORT0_MRCS0, val) | ||
99 | #define bfin_read_SPORT0_MRCS1() bfin_read32(SPORT0_MRCS1) | ||
100 | #define bfin_write_SPORT0_MRCS1(val) bfin_write32(SPORT0_MRCS1, val) | ||
101 | #define bfin_read_SPORT0_MRCS2() bfin_read32(SPORT0_MRCS2) | ||
102 | #define bfin_write_SPORT0_MRCS2(val) bfin_write32(SPORT0_MRCS2, val) | ||
103 | #define bfin_read_SPORT0_MRCS3() bfin_read32(SPORT0_MRCS3) | ||
104 | #define bfin_write_SPORT0_MRCS3(val) bfin_write32(SPORT0_MRCS3, val) | ||
105 | |||
106 | /* EPPI0 Registers */ | ||
107 | |||
108 | #define bfin_read_EPPI0_STATUS() bfin_read16(EPPI0_STATUS) | ||
109 | #define bfin_write_EPPI0_STATUS(val) bfin_write16(EPPI0_STATUS, val) | ||
110 | #define bfin_read_EPPI0_HCOUNT() bfin_read16(EPPI0_HCOUNT) | ||
111 | #define bfin_write_EPPI0_HCOUNT(val) bfin_write16(EPPI0_HCOUNT, val) | ||
112 | #define bfin_read_EPPI0_HDELAY() bfin_read16(EPPI0_HDELAY) | ||
113 | #define bfin_write_EPPI0_HDELAY(val) bfin_write16(EPPI0_HDELAY, val) | ||
114 | #define bfin_read_EPPI0_VCOUNT() bfin_read16(EPPI0_VCOUNT) | ||
115 | #define bfin_write_EPPI0_VCOUNT(val) bfin_write16(EPPI0_VCOUNT, val) | ||
116 | #define bfin_read_EPPI0_VDELAY() bfin_read16(EPPI0_VDELAY) | ||
117 | #define bfin_write_EPPI0_VDELAY(val) bfin_write16(EPPI0_VDELAY, val) | ||
118 | #define bfin_read_EPPI0_FRAME() bfin_read16(EPPI0_FRAME) | ||
119 | #define bfin_write_EPPI0_FRAME(val) bfin_write16(EPPI0_FRAME, val) | ||
120 | #define bfin_read_EPPI0_LINE() bfin_read16(EPPI0_LINE) | ||
121 | #define bfin_write_EPPI0_LINE(val) bfin_write16(EPPI0_LINE, val) | ||
122 | #define bfin_read_EPPI0_CLKDIV() bfin_read16(EPPI0_CLKDIV) | ||
123 | #define bfin_write_EPPI0_CLKDIV(val) bfin_write16(EPPI0_CLKDIV, val) | ||
124 | #define bfin_read_EPPI0_CONTROL() bfin_read32(EPPI0_CONTROL) | ||
125 | #define bfin_write_EPPI0_CONTROL(val) bfin_write32(EPPI0_CONTROL, val) | ||
126 | #define bfin_read_EPPI0_FS1W_HBL() bfin_read32(EPPI0_FS1W_HBL) | ||
127 | #define bfin_write_EPPI0_FS1W_HBL(val) bfin_write32(EPPI0_FS1W_HBL, val) | ||
128 | #define bfin_read_EPPI0_FS1P_AVPL() bfin_read32(EPPI0_FS1P_AVPL) | ||
129 | #define bfin_write_EPPI0_FS1P_AVPL(val) bfin_write32(EPPI0_FS1P_AVPL, val) | ||
130 | #define bfin_read_EPPI0_FS2W_LVB() bfin_read32(EPPI0_FS2W_LVB) | ||
131 | #define bfin_write_EPPI0_FS2W_LVB(val) bfin_write32(EPPI0_FS2W_LVB, val) | ||
132 | #define bfin_read_EPPI0_FS2P_LAVF() bfin_read32(EPPI0_FS2P_LAVF) | ||
133 | #define bfin_write_EPPI0_FS2P_LAVF(val) bfin_write32(EPPI0_FS2P_LAVF, val) | ||
134 | #define bfin_read_EPPI0_CLIP() bfin_read32(EPPI0_CLIP) | ||
135 | #define bfin_write_EPPI0_CLIP(val) bfin_write32(EPPI0_CLIP, val) | ||
136 | |||
137 | /* UART2 Registers */ | ||
138 | |||
139 | #define bfin_read_UART2_DLL() bfin_read16(UART2_DLL) | ||
140 | #define bfin_write_UART2_DLL(val) bfin_write16(UART2_DLL, val) | ||
141 | #define bfin_read_UART2_DLH() bfin_read16(UART2_DLH) | ||
142 | #define bfin_write_UART2_DLH(val) bfin_write16(UART2_DLH, val) | ||
143 | #define bfin_read_UART2_GCTL() bfin_read16(UART2_GCTL) | ||
144 | #define bfin_write_UART2_GCTL(val) bfin_write16(UART2_GCTL, val) | ||
145 | #define bfin_read_UART2_LCR() bfin_read16(UART2_LCR) | ||
146 | #define bfin_write_UART2_LCR(val) bfin_write16(UART2_LCR, val) | ||
147 | #define bfin_read_UART2_MCR() bfin_read16(UART2_MCR) | ||
148 | #define bfin_write_UART2_MCR(val) bfin_write16(UART2_MCR, val) | ||
149 | #define bfin_read_UART2_LSR() bfin_read16(UART2_LSR) | ||
150 | #define bfin_write_UART2_LSR(val) bfin_write16(UART2_LSR, val) | ||
151 | #define bfin_read_UART2_MSR() bfin_read16(UART2_MSR) | ||
152 | #define bfin_write_UART2_MSR(val) bfin_write16(UART2_MSR, val) | ||
153 | #define bfin_read_UART2_SCR() bfin_read16(UART2_SCR) | ||
154 | #define bfin_write_UART2_SCR(val) bfin_write16(UART2_SCR, val) | ||
155 | #define bfin_read_UART2_IER_SET() bfin_read16(UART2_IER_SET) | ||
156 | #define bfin_write_UART2_IER_SET(val) bfin_write16(UART2_IER_SET, val) | ||
157 | #define bfin_read_UART2_IER_CLEAR() bfin_read16(UART2_IER_CLEAR) | ||
158 | #define bfin_write_UART2_IER_CLEAR(val) bfin_write16(UART2_IER_CLEAR, val) | ||
159 | #define bfin_read_UART2_RBR() bfin_read16(UART2_RBR) | ||
160 | #define bfin_write_UART2_RBR(val) bfin_write16(UART2_RBR, val) | ||
161 | |||
162 | /* Two Wire Interface Registers (TWI1) */ | ||
163 | |||
164 | /* SPI2 Registers */ | ||
165 | |||
166 | #define bfin_read_SPI2_CTL() bfin_read16(SPI2_CTL) | ||
167 | #define bfin_write_SPI2_CTL(val) bfin_write16(SPI2_CTL, val) | ||
168 | #define bfin_read_SPI2_FLG() bfin_read16(SPI2_FLG) | ||
169 | #define bfin_write_SPI2_FLG(val) bfin_write16(SPI2_FLG, val) | ||
170 | #define bfin_read_SPI2_STAT() bfin_read16(SPI2_STAT) | ||
171 | #define bfin_write_SPI2_STAT(val) bfin_write16(SPI2_STAT, val) | ||
172 | #define bfin_read_SPI2_TDBR() bfin_read16(SPI2_TDBR) | ||
173 | #define bfin_write_SPI2_TDBR(val) bfin_write16(SPI2_TDBR, val) | ||
174 | #define bfin_read_SPI2_RDBR() bfin_read16(SPI2_RDBR) | ||
175 | #define bfin_write_SPI2_RDBR(val) bfin_write16(SPI2_RDBR, val) | ||
176 | #define bfin_read_SPI2_BAUD() bfin_read16(SPI2_BAUD) | ||
177 | #define bfin_write_SPI2_BAUD(val) bfin_write16(SPI2_BAUD, val) | ||
178 | #define bfin_read_SPI2_SHADOW() bfin_read16(SPI2_SHADOW) | ||
179 | #define bfin_write_SPI2_SHADOW(val) bfin_write16(SPI2_SHADOW, val) | ||
180 | 23 | ||
181 | /* MXVR Registers */ | 24 | /* MXVR Registers */ |
182 | 25 | ||
@@ -464,1376 +307,4 @@ | |||
464 | #define bfin_read_MXVR_SCLK_CNT() bfin_read16(MXVR_SCLK_CNT) | 307 | #define bfin_read_MXVR_SCLK_CNT() bfin_read16(MXVR_SCLK_CNT) |
465 | #define bfin_write_MXVR_SCLK_CNT(val) bfin_write16(MXVR_SCLK_CNT, val) | 308 | #define bfin_write_MXVR_SCLK_CNT(val) bfin_write16(MXVR_SCLK_CNT, val) |
466 | 309 | ||
467 | /* CAN Controller 1 Config 1 Registers */ | ||
468 | |||
469 | #define bfin_read_CAN1_MC1() bfin_read16(CAN1_MC1) | ||
470 | #define bfin_write_CAN1_MC1(val) bfin_write16(CAN1_MC1, val) | ||
471 | #define bfin_read_CAN1_MD1() bfin_read16(CAN1_MD1) | ||
472 | #define bfin_write_CAN1_MD1(val) bfin_write16(CAN1_MD1, val) | ||
473 | #define bfin_read_CAN1_TRS1() bfin_read16(CAN1_TRS1) | ||
474 | #define bfin_write_CAN1_TRS1(val) bfin_write16(CAN1_TRS1, val) | ||
475 | #define bfin_read_CAN1_TRR1() bfin_read16(CAN1_TRR1) | ||
476 | #define bfin_write_CAN1_TRR1(val) bfin_write16(CAN1_TRR1, val) | ||
477 | #define bfin_read_CAN1_TA1() bfin_read16(CAN1_TA1) | ||
478 | #define bfin_write_CAN1_TA1(val) bfin_write16(CAN1_TA1, val) | ||
479 | #define bfin_read_CAN1_AA1() bfin_read16(CAN1_AA1) | ||
480 | #define bfin_write_CAN1_AA1(val) bfin_write16(CAN1_AA1, val) | ||
481 | #define bfin_read_CAN1_RMP1() bfin_read16(CAN1_RMP1) | ||
482 | #define bfin_write_CAN1_RMP1(val) bfin_write16(CAN1_RMP1, val) | ||
483 | #define bfin_read_CAN1_RML1() bfin_read16(CAN1_RML1) | ||
484 | #define bfin_write_CAN1_RML1(val) bfin_write16(CAN1_RML1, val) | ||
485 | #define bfin_read_CAN1_MBTIF1() bfin_read16(CAN1_MBTIF1) | ||
486 | #define bfin_write_CAN1_MBTIF1(val) bfin_write16(CAN1_MBTIF1, val) | ||
487 | #define bfin_read_CAN1_MBRIF1() bfin_read16(CAN1_MBRIF1) | ||
488 | #define bfin_write_CAN1_MBRIF1(val) bfin_write16(CAN1_MBRIF1, val) | ||
489 | #define bfin_read_CAN1_MBIM1() bfin_read16(CAN1_MBIM1) | ||
490 | #define bfin_write_CAN1_MBIM1(val) bfin_write16(CAN1_MBIM1, val) | ||
491 | #define bfin_read_CAN1_RFH1() bfin_read16(CAN1_RFH1) | ||
492 | #define bfin_write_CAN1_RFH1(val) bfin_write16(CAN1_RFH1, val) | ||
493 | #define bfin_read_CAN1_OPSS1() bfin_read16(CAN1_OPSS1) | ||
494 | #define bfin_write_CAN1_OPSS1(val) bfin_write16(CAN1_OPSS1, val) | ||
495 | |||
496 | /* CAN Controller 1 Config 2 Registers */ | ||
497 | |||
498 | #define bfin_read_CAN1_MC2() bfin_read16(CAN1_MC2) | ||
499 | #define bfin_write_CAN1_MC2(val) bfin_write16(CAN1_MC2, val) | ||
500 | #define bfin_read_CAN1_MD2() bfin_read16(CAN1_MD2) | ||
501 | #define bfin_write_CAN1_MD2(val) bfin_write16(CAN1_MD2, val) | ||
502 | #define bfin_read_CAN1_TRS2() bfin_read16(CAN1_TRS2) | ||
503 | #define bfin_write_CAN1_TRS2(val) bfin_write16(CAN1_TRS2, val) | ||
504 | #define bfin_read_CAN1_TRR2() bfin_read16(CAN1_TRR2) | ||
505 | #define bfin_write_CAN1_TRR2(val) bfin_write16(CAN1_TRR2, val) | ||
506 | #define bfin_read_CAN1_TA2() bfin_read16(CAN1_TA2) | ||
507 | #define bfin_write_CAN1_TA2(val) bfin_write16(CAN1_TA2, val) | ||
508 | #define bfin_read_CAN1_AA2() bfin_read16(CAN1_AA2) | ||
509 | #define bfin_write_CAN1_AA2(val) bfin_write16(CAN1_AA2, val) | ||
510 | #define bfin_read_CAN1_RMP2() bfin_read16(CAN1_RMP2) | ||
511 | #define bfin_write_CAN1_RMP2(val) bfin_write16(CAN1_RMP2, val) | ||
512 | #define bfin_read_CAN1_RML2() bfin_read16(CAN1_RML2) | ||
513 | #define bfin_write_CAN1_RML2(val) bfin_write16(CAN1_RML2, val) | ||
514 | #define bfin_read_CAN1_MBTIF2() bfin_read16(CAN1_MBTIF2) | ||
515 | #define bfin_write_CAN1_MBTIF2(val) bfin_write16(CAN1_MBTIF2, val) | ||
516 | #define bfin_read_CAN1_MBRIF2() bfin_read16(CAN1_MBRIF2) | ||
517 | #define bfin_write_CAN1_MBRIF2(val) bfin_write16(CAN1_MBRIF2, val) | ||
518 | #define bfin_read_CAN1_MBIM2() bfin_read16(CAN1_MBIM2) | ||
519 | #define bfin_write_CAN1_MBIM2(val) bfin_write16(CAN1_MBIM2, val) | ||
520 | #define bfin_read_CAN1_RFH2() bfin_read16(CAN1_RFH2) | ||
521 | #define bfin_write_CAN1_RFH2(val) bfin_write16(CAN1_RFH2, val) | ||
522 | #define bfin_read_CAN1_OPSS2() bfin_read16(CAN1_OPSS2) | ||
523 | #define bfin_write_CAN1_OPSS2(val) bfin_write16(CAN1_OPSS2, val) | ||
524 | |||
525 | /* CAN Controller 1 Clock/Interrubfin_read_()t/Counter Registers */ | ||
526 | |||
527 | #define bfin_read_CAN1_CLOCK() bfin_read16(CAN1_CLOCK) | ||
528 | #define bfin_write_CAN1_CLOCK(val) bfin_write16(CAN1_CLOCK, val) | ||
529 | #define bfin_read_CAN1_TIMING() bfin_read16(CAN1_TIMING) | ||
530 | #define bfin_write_CAN1_TIMING(val) bfin_write16(CAN1_TIMING, val) | ||
531 | #define bfin_read_CAN1_DEBUG() bfin_read16(CAN1_DEBUG) | ||
532 | #define bfin_write_CAN1_DEBUG(val) bfin_write16(CAN1_DEBUG, val) | ||
533 | #define bfin_read_CAN1_STATUS() bfin_read16(CAN1_STATUS) | ||
534 | #define bfin_write_CAN1_STATUS(val) bfin_write16(CAN1_STATUS, val) | ||
535 | #define bfin_read_CAN1_CEC() bfin_read16(CAN1_CEC) | ||
536 | #define bfin_write_CAN1_CEC(val) bfin_write16(CAN1_CEC, val) | ||
537 | #define bfin_read_CAN1_GIS() bfin_read16(CAN1_GIS) | ||
538 | #define bfin_write_CAN1_GIS(val) bfin_write16(CAN1_GIS, val) | ||
539 | #define bfin_read_CAN1_GIM() bfin_read16(CAN1_GIM) | ||
540 | #define bfin_write_CAN1_GIM(val) bfin_write16(CAN1_GIM, val) | ||
541 | #define bfin_read_CAN1_GIF() bfin_read16(CAN1_GIF) | ||
542 | #define bfin_write_CAN1_GIF(val) bfin_write16(CAN1_GIF, val) | ||
543 | #define bfin_read_CAN1_CONTROL() bfin_read16(CAN1_CONTROL) | ||
544 | #define bfin_write_CAN1_CONTROL(val) bfin_write16(CAN1_CONTROL, val) | ||
545 | #define bfin_read_CAN1_INTR() bfin_read16(CAN1_INTR) | ||
546 | #define bfin_write_CAN1_INTR(val) bfin_write16(CAN1_INTR, val) | ||
547 | #define bfin_read_CAN1_MBTD() bfin_read16(CAN1_MBTD) | ||
548 | #define bfin_write_CAN1_MBTD(val) bfin_write16(CAN1_MBTD, val) | ||
549 | #define bfin_read_CAN1_EWR() bfin_read16(CAN1_EWR) | ||
550 | #define bfin_write_CAN1_EWR(val) bfin_write16(CAN1_EWR, val) | ||
551 | #define bfin_read_CAN1_ESR() bfin_read16(CAN1_ESR) | ||
552 | #define bfin_write_CAN1_ESR(val) bfin_write16(CAN1_ESR, val) | ||
553 | #define bfin_read_CAN1_UCCNT() bfin_read16(CAN1_UCCNT) | ||
554 | #define bfin_write_CAN1_UCCNT(val) bfin_write16(CAN1_UCCNT, val) | ||
555 | #define bfin_read_CAN1_UCRC() bfin_read16(CAN1_UCRC) | ||
556 | #define bfin_write_CAN1_UCRC(val) bfin_write16(CAN1_UCRC, val) | ||
557 | #define bfin_read_CAN1_UCCNF() bfin_read16(CAN1_UCCNF) | ||
558 | #define bfin_write_CAN1_UCCNF(val) bfin_write16(CAN1_UCCNF, val) | ||
559 | |||
560 | /* CAN Controller 1 Mailbox Accebfin_read_()tance Registers */ | ||
561 | |||
562 | #define bfin_read_CAN1_AM00L() bfin_read16(CAN1_AM00L) | ||
563 | #define bfin_write_CAN1_AM00L(val) bfin_write16(CAN1_AM00L, val) | ||
564 | #define bfin_read_CAN1_AM00H() bfin_read16(CAN1_AM00H) | ||
565 | #define bfin_write_CAN1_AM00H(val) bfin_write16(CAN1_AM00H, val) | ||
566 | #define bfin_read_CAN1_AM01L() bfin_read16(CAN1_AM01L) | ||
567 | #define bfin_write_CAN1_AM01L(val) bfin_write16(CAN1_AM01L, val) | ||
568 | #define bfin_read_CAN1_AM01H() bfin_read16(CAN1_AM01H) | ||
569 | #define bfin_write_CAN1_AM01H(val) bfin_write16(CAN1_AM01H, val) | ||
570 | #define bfin_read_CAN1_AM02L() bfin_read16(CAN1_AM02L) | ||
571 | #define bfin_write_CAN1_AM02L(val) bfin_write16(CAN1_AM02L, val) | ||
572 | #define bfin_read_CAN1_AM02H() bfin_read16(CAN1_AM02H) | ||
573 | #define bfin_write_CAN1_AM02H(val) bfin_write16(CAN1_AM02H, val) | ||
574 | #define bfin_read_CAN1_AM03L() bfin_read16(CAN1_AM03L) | ||
575 | #define bfin_write_CAN1_AM03L(val) bfin_write16(CAN1_AM03L, val) | ||
576 | #define bfin_read_CAN1_AM03H() bfin_read16(CAN1_AM03H) | ||
577 | #define bfin_write_CAN1_AM03H(val) bfin_write16(CAN1_AM03H, val) | ||
578 | #define bfin_read_CAN1_AM04L() bfin_read16(CAN1_AM04L) | ||
579 | #define bfin_write_CAN1_AM04L(val) bfin_write16(CAN1_AM04L, val) | ||
580 | #define bfin_read_CAN1_AM04H() bfin_read16(CAN1_AM04H) | ||
581 | #define bfin_write_CAN1_AM04H(val) bfin_write16(CAN1_AM04H, val) | ||
582 | #define bfin_read_CAN1_AM05L() bfin_read16(CAN1_AM05L) | ||
583 | #define bfin_write_CAN1_AM05L(val) bfin_write16(CAN1_AM05L, val) | ||
584 | #define bfin_read_CAN1_AM05H() bfin_read16(CAN1_AM05H) | ||
585 | #define bfin_write_CAN1_AM05H(val) bfin_write16(CAN1_AM05H, val) | ||
586 | #define bfin_read_CAN1_AM06L() bfin_read16(CAN1_AM06L) | ||
587 | #define bfin_write_CAN1_AM06L(val) bfin_write16(CAN1_AM06L, val) | ||
588 | #define bfin_read_CAN1_AM06H() bfin_read16(CAN1_AM06H) | ||
589 | #define bfin_write_CAN1_AM06H(val) bfin_write16(CAN1_AM06H, val) | ||
590 | #define bfin_read_CAN1_AM07L() bfin_read16(CAN1_AM07L) | ||
591 | #define bfin_write_CAN1_AM07L(val) bfin_write16(CAN1_AM07L, val) | ||
592 | #define bfin_read_CAN1_AM07H() bfin_read16(CAN1_AM07H) | ||
593 | #define bfin_write_CAN1_AM07H(val) bfin_write16(CAN1_AM07H, val) | ||
594 | #define bfin_read_CAN1_AM08L() bfin_read16(CAN1_AM08L) | ||
595 | #define bfin_write_CAN1_AM08L(val) bfin_write16(CAN1_AM08L, val) | ||
596 | #define bfin_read_CAN1_AM08H() bfin_read16(CAN1_AM08H) | ||
597 | #define bfin_write_CAN1_AM08H(val) bfin_write16(CAN1_AM08H, val) | ||
598 | #define bfin_read_CAN1_AM09L() bfin_read16(CAN1_AM09L) | ||
599 | #define bfin_write_CAN1_AM09L(val) bfin_write16(CAN1_AM09L, val) | ||
600 | #define bfin_read_CAN1_AM09H() bfin_read16(CAN1_AM09H) | ||
601 | #define bfin_write_CAN1_AM09H(val) bfin_write16(CAN1_AM09H, val) | ||
602 | #define bfin_read_CAN1_AM10L() bfin_read16(CAN1_AM10L) | ||
603 | #define bfin_write_CAN1_AM10L(val) bfin_write16(CAN1_AM10L, val) | ||
604 | #define bfin_read_CAN1_AM10H() bfin_read16(CAN1_AM10H) | ||
605 | #define bfin_write_CAN1_AM10H(val) bfin_write16(CAN1_AM10H, val) | ||
606 | #define bfin_read_CAN1_AM11L() bfin_read16(CAN1_AM11L) | ||
607 | #define bfin_write_CAN1_AM11L(val) bfin_write16(CAN1_AM11L, val) | ||
608 | #define bfin_read_CAN1_AM11H() bfin_read16(CAN1_AM11H) | ||
609 | #define bfin_write_CAN1_AM11H(val) bfin_write16(CAN1_AM11H, val) | ||
610 | #define bfin_read_CAN1_AM12L() bfin_read16(CAN1_AM12L) | ||
611 | #define bfin_write_CAN1_AM12L(val) bfin_write16(CAN1_AM12L, val) | ||
612 | #define bfin_read_CAN1_AM12H() bfin_read16(CAN1_AM12H) | ||
613 | #define bfin_write_CAN1_AM12H(val) bfin_write16(CAN1_AM12H, val) | ||
614 | #define bfin_read_CAN1_AM13L() bfin_read16(CAN1_AM13L) | ||
615 | #define bfin_write_CAN1_AM13L(val) bfin_write16(CAN1_AM13L, val) | ||
616 | #define bfin_read_CAN1_AM13H() bfin_read16(CAN1_AM13H) | ||
617 | #define bfin_write_CAN1_AM13H(val) bfin_write16(CAN1_AM13H, val) | ||
618 | #define bfin_read_CAN1_AM14L() bfin_read16(CAN1_AM14L) | ||
619 | #define bfin_write_CAN1_AM14L(val) bfin_write16(CAN1_AM14L, val) | ||
620 | #define bfin_read_CAN1_AM14H() bfin_read16(CAN1_AM14H) | ||
621 | #define bfin_write_CAN1_AM14H(val) bfin_write16(CAN1_AM14H, val) | ||
622 | #define bfin_read_CAN1_AM15L() bfin_read16(CAN1_AM15L) | ||
623 | #define bfin_write_CAN1_AM15L(val) bfin_write16(CAN1_AM15L, val) | ||
624 | #define bfin_read_CAN1_AM15H() bfin_read16(CAN1_AM15H) | ||
625 | #define bfin_write_CAN1_AM15H(val) bfin_write16(CAN1_AM15H, val) | ||
626 | |||
627 | /* CAN Controller 1 Mailbox Accebfin_read_()tance Registers */ | ||
628 | |||
629 | #define bfin_read_CAN1_AM16L() bfin_read16(CAN1_AM16L) | ||
630 | #define bfin_write_CAN1_AM16L(val) bfin_write16(CAN1_AM16L, val) | ||
631 | #define bfin_read_CAN1_AM16H() bfin_read16(CAN1_AM16H) | ||
632 | #define bfin_write_CAN1_AM16H(val) bfin_write16(CAN1_AM16H, val) | ||
633 | #define bfin_read_CAN1_AM17L() bfin_read16(CAN1_AM17L) | ||
634 | #define bfin_write_CAN1_AM17L(val) bfin_write16(CAN1_AM17L, val) | ||
635 | #define bfin_read_CAN1_AM17H() bfin_read16(CAN1_AM17H) | ||
636 | #define bfin_write_CAN1_AM17H(val) bfin_write16(CAN1_AM17H, val) | ||
637 | #define bfin_read_CAN1_AM18L() bfin_read16(CAN1_AM18L) | ||
638 | #define bfin_write_CAN1_AM18L(val) bfin_write16(CAN1_AM18L, val) | ||
639 | #define bfin_read_CAN1_AM18H() bfin_read16(CAN1_AM18H) | ||
640 | #define bfin_write_CAN1_AM18H(val) bfin_write16(CAN1_AM18H, val) | ||
641 | #define bfin_read_CAN1_AM19L() bfin_read16(CAN1_AM19L) | ||
642 | #define bfin_write_CAN1_AM19L(val) bfin_write16(CAN1_AM19L, val) | ||
643 | #define bfin_read_CAN1_AM19H() bfin_read16(CAN1_AM19H) | ||
644 | #define bfin_write_CAN1_AM19H(val) bfin_write16(CAN1_AM19H, val) | ||
645 | #define bfin_read_CAN1_AM20L() bfin_read16(CAN1_AM20L) | ||
646 | #define bfin_write_CAN1_AM20L(val) bfin_write16(CAN1_AM20L, val) | ||
647 | #define bfin_read_CAN1_AM20H() bfin_read16(CAN1_AM20H) | ||
648 | #define bfin_write_CAN1_AM20H(val) bfin_write16(CAN1_AM20H, val) | ||
649 | #define bfin_read_CAN1_AM21L() bfin_read16(CAN1_AM21L) | ||
650 | #define bfin_write_CAN1_AM21L(val) bfin_write16(CAN1_AM21L, val) | ||
651 | #define bfin_read_CAN1_AM21H() bfin_read16(CAN1_AM21H) | ||
652 | #define bfin_write_CAN1_AM21H(val) bfin_write16(CAN1_AM21H, val) | ||
653 | #define bfin_read_CAN1_AM22L() bfin_read16(CAN1_AM22L) | ||
654 | #define bfin_write_CAN1_AM22L(val) bfin_write16(CAN1_AM22L, val) | ||
655 | #define bfin_read_CAN1_AM22H() bfin_read16(CAN1_AM22H) | ||
656 | #define bfin_write_CAN1_AM22H(val) bfin_write16(CAN1_AM22H, val) | ||
657 | #define bfin_read_CAN1_AM23L() bfin_read16(CAN1_AM23L) | ||
658 | #define bfin_write_CAN1_AM23L(val) bfin_write16(CAN1_AM23L, val) | ||
659 | #define bfin_read_CAN1_AM23H() bfin_read16(CAN1_AM23H) | ||
660 | #define bfin_write_CAN1_AM23H(val) bfin_write16(CAN1_AM23H, val) | ||
661 | #define bfin_read_CAN1_AM24L() bfin_read16(CAN1_AM24L) | ||
662 | #define bfin_write_CAN1_AM24L(val) bfin_write16(CAN1_AM24L, val) | ||
663 | #define bfin_read_CAN1_AM24H() bfin_read16(CAN1_AM24H) | ||
664 | #define bfin_write_CAN1_AM24H(val) bfin_write16(CAN1_AM24H, val) | ||
665 | #define bfin_read_CAN1_AM25L() bfin_read16(CAN1_AM25L) | ||
666 | #define bfin_write_CAN1_AM25L(val) bfin_write16(CAN1_AM25L, val) | ||
667 | #define bfin_read_CAN1_AM25H() bfin_read16(CAN1_AM25H) | ||
668 | #define bfin_write_CAN1_AM25H(val) bfin_write16(CAN1_AM25H, val) | ||
669 | #define bfin_read_CAN1_AM26L() bfin_read16(CAN1_AM26L) | ||
670 | #define bfin_write_CAN1_AM26L(val) bfin_write16(CAN1_AM26L, val) | ||
671 | #define bfin_read_CAN1_AM26H() bfin_read16(CAN1_AM26H) | ||
672 | #define bfin_write_CAN1_AM26H(val) bfin_write16(CAN1_AM26H, val) | ||
673 | #define bfin_read_CAN1_AM27L() bfin_read16(CAN1_AM27L) | ||
674 | #define bfin_write_CAN1_AM27L(val) bfin_write16(CAN1_AM27L, val) | ||
675 | #define bfin_read_CAN1_AM27H() bfin_read16(CAN1_AM27H) | ||
676 | #define bfin_write_CAN1_AM27H(val) bfin_write16(CAN1_AM27H, val) | ||
677 | #define bfin_read_CAN1_AM28L() bfin_read16(CAN1_AM28L) | ||
678 | #define bfin_write_CAN1_AM28L(val) bfin_write16(CAN1_AM28L, val) | ||
679 | #define bfin_read_CAN1_AM28H() bfin_read16(CAN1_AM28H) | ||
680 | #define bfin_write_CAN1_AM28H(val) bfin_write16(CAN1_AM28H, val) | ||
681 | #define bfin_read_CAN1_AM29L() bfin_read16(CAN1_AM29L) | ||
682 | #define bfin_write_CAN1_AM29L(val) bfin_write16(CAN1_AM29L, val) | ||
683 | #define bfin_read_CAN1_AM29H() bfin_read16(CAN1_AM29H) | ||
684 | #define bfin_write_CAN1_AM29H(val) bfin_write16(CAN1_AM29H, val) | ||
685 | #define bfin_read_CAN1_AM30L() bfin_read16(CAN1_AM30L) | ||
686 | #define bfin_write_CAN1_AM30L(val) bfin_write16(CAN1_AM30L, val) | ||
687 | #define bfin_read_CAN1_AM30H() bfin_read16(CAN1_AM30H) | ||
688 | #define bfin_write_CAN1_AM30H(val) bfin_write16(CAN1_AM30H, val) | ||
689 | #define bfin_read_CAN1_AM31L() bfin_read16(CAN1_AM31L) | ||
690 | #define bfin_write_CAN1_AM31L(val) bfin_write16(CAN1_AM31L, val) | ||
691 | #define bfin_read_CAN1_AM31H() bfin_read16(CAN1_AM31H) | ||
692 | #define bfin_write_CAN1_AM31H(val) bfin_write16(CAN1_AM31H, val) | ||
693 | |||
694 | /* CAN Controller 1 Mailbox Data Registers */ | ||
695 | |||
696 | #define bfin_read_CAN1_MB00_DATA0() bfin_read16(CAN1_MB00_DATA0) | ||
697 | #define bfin_write_CAN1_MB00_DATA0(val) bfin_write16(CAN1_MB00_DATA0, val) | ||
698 | #define bfin_read_CAN1_MB00_DATA1() bfin_read16(CAN1_MB00_DATA1) | ||
699 | #define bfin_write_CAN1_MB00_DATA1(val) bfin_write16(CAN1_MB00_DATA1, val) | ||
700 | #define bfin_read_CAN1_MB00_DATA2() bfin_read16(CAN1_MB00_DATA2) | ||
701 | #define bfin_write_CAN1_MB00_DATA2(val) bfin_write16(CAN1_MB00_DATA2, val) | ||
702 | #define bfin_read_CAN1_MB00_DATA3() bfin_read16(CAN1_MB00_DATA3) | ||
703 | #define bfin_write_CAN1_MB00_DATA3(val) bfin_write16(CAN1_MB00_DATA3, val) | ||
704 | #define bfin_read_CAN1_MB00_LENGTH() bfin_read16(CAN1_MB00_LENGTH) | ||
705 | #define bfin_write_CAN1_MB00_LENGTH(val) bfin_write16(CAN1_MB00_LENGTH, val) | ||
706 | #define bfin_read_CAN1_MB00_TIMESTAMP() bfin_read16(CAN1_MB00_TIMESTAMP) | ||
707 | #define bfin_write_CAN1_MB00_TIMESTAMP(val) bfin_write16(CAN1_MB00_TIMESTAMP, val) | ||
708 | #define bfin_read_CAN1_MB00_ID0() bfin_read16(CAN1_MB00_ID0) | ||
709 | #define bfin_write_CAN1_MB00_ID0(val) bfin_write16(CAN1_MB00_ID0, val) | ||
710 | #define bfin_read_CAN1_MB00_ID1() bfin_read16(CAN1_MB00_ID1) | ||
711 | #define bfin_write_CAN1_MB00_ID1(val) bfin_write16(CAN1_MB00_ID1, val) | ||
712 | #define bfin_read_CAN1_MB01_DATA0() bfin_read16(CAN1_MB01_DATA0) | ||
713 | #define bfin_write_CAN1_MB01_DATA0(val) bfin_write16(CAN1_MB01_DATA0, val) | ||
714 | #define bfin_read_CAN1_MB01_DATA1() bfin_read16(CAN1_MB01_DATA1) | ||
715 | #define bfin_write_CAN1_MB01_DATA1(val) bfin_write16(CAN1_MB01_DATA1, val) | ||
716 | #define bfin_read_CAN1_MB01_DATA2() bfin_read16(CAN1_MB01_DATA2) | ||
717 | #define bfin_write_CAN1_MB01_DATA2(val) bfin_write16(CAN1_MB01_DATA2, val) | ||
718 | #define bfin_read_CAN1_MB01_DATA3() bfin_read16(CAN1_MB01_DATA3) | ||
719 | #define bfin_write_CAN1_MB01_DATA3(val) bfin_write16(CAN1_MB01_DATA3, val) | ||
720 | #define bfin_read_CAN1_MB01_LENGTH() bfin_read16(CAN1_MB01_LENGTH) | ||
721 | #define bfin_write_CAN1_MB01_LENGTH(val) bfin_write16(CAN1_MB01_LENGTH, val) | ||
722 | #define bfin_read_CAN1_MB01_TIMESTAMP() bfin_read16(CAN1_MB01_TIMESTAMP) | ||
723 | #define bfin_write_CAN1_MB01_TIMESTAMP(val) bfin_write16(CAN1_MB01_TIMESTAMP, val) | ||
724 | #define bfin_read_CAN1_MB01_ID0() bfin_read16(CAN1_MB01_ID0) | ||
725 | #define bfin_write_CAN1_MB01_ID0(val) bfin_write16(CAN1_MB01_ID0, val) | ||
726 | #define bfin_read_CAN1_MB01_ID1() bfin_read16(CAN1_MB01_ID1) | ||
727 | #define bfin_write_CAN1_MB01_ID1(val) bfin_write16(CAN1_MB01_ID1, val) | ||
728 | #define bfin_read_CAN1_MB02_DATA0() bfin_read16(CAN1_MB02_DATA0) | ||
729 | #define bfin_write_CAN1_MB02_DATA0(val) bfin_write16(CAN1_MB02_DATA0, val) | ||
730 | #define bfin_read_CAN1_MB02_DATA1() bfin_read16(CAN1_MB02_DATA1) | ||
731 | #define bfin_write_CAN1_MB02_DATA1(val) bfin_write16(CAN1_MB02_DATA1, val) | ||
732 | #define bfin_read_CAN1_MB02_DATA2() bfin_read16(CAN1_MB02_DATA2) | ||
733 | #define bfin_write_CAN1_MB02_DATA2(val) bfin_write16(CAN1_MB02_DATA2, val) | ||
734 | #define bfin_read_CAN1_MB02_DATA3() bfin_read16(CAN1_MB02_DATA3) | ||
735 | #define bfin_write_CAN1_MB02_DATA3(val) bfin_write16(CAN1_MB02_DATA3, val) | ||
736 | #define bfin_read_CAN1_MB02_LENGTH() bfin_read16(CAN1_MB02_LENGTH) | ||
737 | #define bfin_write_CAN1_MB02_LENGTH(val) bfin_write16(CAN1_MB02_LENGTH, val) | ||
738 | #define bfin_read_CAN1_MB02_TIMESTAMP() bfin_read16(CAN1_MB02_TIMESTAMP) | ||
739 | #define bfin_write_CAN1_MB02_TIMESTAMP(val) bfin_write16(CAN1_MB02_TIMESTAMP, val) | ||
740 | #define bfin_read_CAN1_MB02_ID0() bfin_read16(CAN1_MB02_ID0) | ||
741 | #define bfin_write_CAN1_MB02_ID0(val) bfin_write16(CAN1_MB02_ID0, val) | ||
742 | #define bfin_read_CAN1_MB02_ID1() bfin_read16(CAN1_MB02_ID1) | ||
743 | #define bfin_write_CAN1_MB02_ID1(val) bfin_write16(CAN1_MB02_ID1, val) | ||
744 | #define bfin_read_CAN1_MB03_DATA0() bfin_read16(CAN1_MB03_DATA0) | ||
745 | #define bfin_write_CAN1_MB03_DATA0(val) bfin_write16(CAN1_MB03_DATA0, val) | ||
746 | #define bfin_read_CAN1_MB03_DATA1() bfin_read16(CAN1_MB03_DATA1) | ||
747 | #define bfin_write_CAN1_MB03_DATA1(val) bfin_write16(CAN1_MB03_DATA1, val) | ||
748 | #define bfin_read_CAN1_MB03_DATA2() bfin_read16(CAN1_MB03_DATA2) | ||
749 | #define bfin_write_CAN1_MB03_DATA2(val) bfin_write16(CAN1_MB03_DATA2, val) | ||
750 | #define bfin_read_CAN1_MB03_DATA3() bfin_read16(CAN1_MB03_DATA3) | ||
751 | #define bfin_write_CAN1_MB03_DATA3(val) bfin_write16(CAN1_MB03_DATA3, val) | ||
752 | #define bfin_read_CAN1_MB03_LENGTH() bfin_read16(CAN1_MB03_LENGTH) | ||
753 | #define bfin_write_CAN1_MB03_LENGTH(val) bfin_write16(CAN1_MB03_LENGTH, val) | ||
754 | #define bfin_read_CAN1_MB03_TIMESTAMP() bfin_read16(CAN1_MB03_TIMESTAMP) | ||
755 | #define bfin_write_CAN1_MB03_TIMESTAMP(val) bfin_write16(CAN1_MB03_TIMESTAMP, val) | ||
756 | #define bfin_read_CAN1_MB03_ID0() bfin_read16(CAN1_MB03_ID0) | ||
757 | #define bfin_write_CAN1_MB03_ID0(val) bfin_write16(CAN1_MB03_ID0, val) | ||
758 | #define bfin_read_CAN1_MB03_ID1() bfin_read16(CAN1_MB03_ID1) | ||
759 | #define bfin_write_CAN1_MB03_ID1(val) bfin_write16(CAN1_MB03_ID1, val) | ||
760 | #define bfin_read_CAN1_MB04_DATA0() bfin_read16(CAN1_MB04_DATA0) | ||
761 | #define bfin_write_CAN1_MB04_DATA0(val) bfin_write16(CAN1_MB04_DATA0, val) | ||
762 | #define bfin_read_CAN1_MB04_DATA1() bfin_read16(CAN1_MB04_DATA1) | ||
763 | #define bfin_write_CAN1_MB04_DATA1(val) bfin_write16(CAN1_MB04_DATA1, val) | ||
764 | #define bfin_read_CAN1_MB04_DATA2() bfin_read16(CAN1_MB04_DATA2) | ||
765 | #define bfin_write_CAN1_MB04_DATA2(val) bfin_write16(CAN1_MB04_DATA2, val) | ||
766 | #define bfin_read_CAN1_MB04_DATA3() bfin_read16(CAN1_MB04_DATA3) | ||
767 | #define bfin_write_CAN1_MB04_DATA3(val) bfin_write16(CAN1_MB04_DATA3, val) | ||
768 | #define bfin_read_CAN1_MB04_LENGTH() bfin_read16(CAN1_MB04_LENGTH) | ||
769 | #define bfin_write_CAN1_MB04_LENGTH(val) bfin_write16(CAN1_MB04_LENGTH, val) | ||
770 | #define bfin_read_CAN1_MB04_TIMESTAMP() bfin_read16(CAN1_MB04_TIMESTAMP) | ||
771 | #define bfin_write_CAN1_MB04_TIMESTAMP(val) bfin_write16(CAN1_MB04_TIMESTAMP, val) | ||
772 | #define bfin_read_CAN1_MB04_ID0() bfin_read16(CAN1_MB04_ID0) | ||
773 | #define bfin_write_CAN1_MB04_ID0(val) bfin_write16(CAN1_MB04_ID0, val) | ||
774 | #define bfin_read_CAN1_MB04_ID1() bfin_read16(CAN1_MB04_ID1) | ||
775 | #define bfin_write_CAN1_MB04_ID1(val) bfin_write16(CAN1_MB04_ID1, val) | ||
776 | #define bfin_read_CAN1_MB05_DATA0() bfin_read16(CAN1_MB05_DATA0) | ||
777 | #define bfin_write_CAN1_MB05_DATA0(val) bfin_write16(CAN1_MB05_DATA0, val) | ||
778 | #define bfin_read_CAN1_MB05_DATA1() bfin_read16(CAN1_MB05_DATA1) | ||
779 | #define bfin_write_CAN1_MB05_DATA1(val) bfin_write16(CAN1_MB05_DATA1, val) | ||
780 | #define bfin_read_CAN1_MB05_DATA2() bfin_read16(CAN1_MB05_DATA2) | ||
781 | #define bfin_write_CAN1_MB05_DATA2(val) bfin_write16(CAN1_MB05_DATA2, val) | ||
782 | #define bfin_read_CAN1_MB05_DATA3() bfin_read16(CAN1_MB05_DATA3) | ||
783 | #define bfin_write_CAN1_MB05_DATA3(val) bfin_write16(CAN1_MB05_DATA3, val) | ||
784 | #define bfin_read_CAN1_MB05_LENGTH() bfin_read16(CAN1_MB05_LENGTH) | ||
785 | #define bfin_write_CAN1_MB05_LENGTH(val) bfin_write16(CAN1_MB05_LENGTH, val) | ||
786 | #define bfin_read_CAN1_MB05_TIMESTAMP() bfin_read16(CAN1_MB05_TIMESTAMP) | ||
787 | #define bfin_write_CAN1_MB05_TIMESTAMP(val) bfin_write16(CAN1_MB05_TIMESTAMP, val) | ||
788 | #define bfin_read_CAN1_MB05_ID0() bfin_read16(CAN1_MB05_ID0) | ||
789 | #define bfin_write_CAN1_MB05_ID0(val) bfin_write16(CAN1_MB05_ID0, val) | ||
790 | #define bfin_read_CAN1_MB05_ID1() bfin_read16(CAN1_MB05_ID1) | ||
791 | #define bfin_write_CAN1_MB05_ID1(val) bfin_write16(CAN1_MB05_ID1, val) | ||
792 | #define bfin_read_CAN1_MB06_DATA0() bfin_read16(CAN1_MB06_DATA0) | ||
793 | #define bfin_write_CAN1_MB06_DATA0(val) bfin_write16(CAN1_MB06_DATA0, val) | ||
794 | #define bfin_read_CAN1_MB06_DATA1() bfin_read16(CAN1_MB06_DATA1) | ||
795 | #define bfin_write_CAN1_MB06_DATA1(val) bfin_write16(CAN1_MB06_DATA1, val) | ||
796 | #define bfin_read_CAN1_MB06_DATA2() bfin_read16(CAN1_MB06_DATA2) | ||
797 | #define bfin_write_CAN1_MB06_DATA2(val) bfin_write16(CAN1_MB06_DATA2, val) | ||
798 | #define bfin_read_CAN1_MB06_DATA3() bfin_read16(CAN1_MB06_DATA3) | ||
799 | #define bfin_write_CAN1_MB06_DATA3(val) bfin_write16(CAN1_MB06_DATA3, val) | ||
800 | #define bfin_read_CAN1_MB06_LENGTH() bfin_read16(CAN1_MB06_LENGTH) | ||
801 | #define bfin_write_CAN1_MB06_LENGTH(val) bfin_write16(CAN1_MB06_LENGTH, val) | ||
802 | #define bfin_read_CAN1_MB06_TIMESTAMP() bfin_read16(CAN1_MB06_TIMESTAMP) | ||
803 | #define bfin_write_CAN1_MB06_TIMESTAMP(val) bfin_write16(CAN1_MB06_TIMESTAMP, val) | ||
804 | #define bfin_read_CAN1_MB06_ID0() bfin_read16(CAN1_MB06_ID0) | ||
805 | #define bfin_write_CAN1_MB06_ID0(val) bfin_write16(CAN1_MB06_ID0, val) | ||
806 | #define bfin_read_CAN1_MB06_ID1() bfin_read16(CAN1_MB06_ID1) | ||
807 | #define bfin_write_CAN1_MB06_ID1(val) bfin_write16(CAN1_MB06_ID1, val) | ||
808 | #define bfin_read_CAN1_MB07_DATA0() bfin_read16(CAN1_MB07_DATA0) | ||
809 | #define bfin_write_CAN1_MB07_DATA0(val) bfin_write16(CAN1_MB07_DATA0, val) | ||
810 | #define bfin_read_CAN1_MB07_DATA1() bfin_read16(CAN1_MB07_DATA1) | ||
811 | #define bfin_write_CAN1_MB07_DATA1(val) bfin_write16(CAN1_MB07_DATA1, val) | ||
812 | #define bfin_read_CAN1_MB07_DATA2() bfin_read16(CAN1_MB07_DATA2) | ||
813 | #define bfin_write_CAN1_MB07_DATA2(val) bfin_write16(CAN1_MB07_DATA2, val) | ||
814 | #define bfin_read_CAN1_MB07_DATA3() bfin_read16(CAN1_MB07_DATA3) | ||
815 | #define bfin_write_CAN1_MB07_DATA3(val) bfin_write16(CAN1_MB07_DATA3, val) | ||
816 | #define bfin_read_CAN1_MB07_LENGTH() bfin_read16(CAN1_MB07_LENGTH) | ||
817 | #define bfin_write_CAN1_MB07_LENGTH(val) bfin_write16(CAN1_MB07_LENGTH, val) | ||
818 | #define bfin_read_CAN1_MB07_TIMESTAMP() bfin_read16(CAN1_MB07_TIMESTAMP) | ||
819 | #define bfin_write_CAN1_MB07_TIMESTAMP(val) bfin_write16(CAN1_MB07_TIMESTAMP, val) | ||
820 | #define bfin_read_CAN1_MB07_ID0() bfin_read16(CAN1_MB07_ID0) | ||
821 | #define bfin_write_CAN1_MB07_ID0(val) bfin_write16(CAN1_MB07_ID0, val) | ||
822 | #define bfin_read_CAN1_MB07_ID1() bfin_read16(CAN1_MB07_ID1) | ||
823 | #define bfin_write_CAN1_MB07_ID1(val) bfin_write16(CAN1_MB07_ID1, val) | ||
824 | #define bfin_read_CAN1_MB08_DATA0() bfin_read16(CAN1_MB08_DATA0) | ||
825 | #define bfin_write_CAN1_MB08_DATA0(val) bfin_write16(CAN1_MB08_DATA0, val) | ||
826 | #define bfin_read_CAN1_MB08_DATA1() bfin_read16(CAN1_MB08_DATA1) | ||
827 | #define bfin_write_CAN1_MB08_DATA1(val) bfin_write16(CAN1_MB08_DATA1, val) | ||
828 | #define bfin_read_CAN1_MB08_DATA2() bfin_read16(CAN1_MB08_DATA2) | ||
829 | #define bfin_write_CAN1_MB08_DATA2(val) bfin_write16(CAN1_MB08_DATA2, val) | ||
830 | #define bfin_read_CAN1_MB08_DATA3() bfin_read16(CAN1_MB08_DATA3) | ||
831 | #define bfin_write_CAN1_MB08_DATA3(val) bfin_write16(CAN1_MB08_DATA3, val) | ||
832 | #define bfin_read_CAN1_MB08_LENGTH() bfin_read16(CAN1_MB08_LENGTH) | ||
833 | #define bfin_write_CAN1_MB08_LENGTH(val) bfin_write16(CAN1_MB08_LENGTH, val) | ||
834 | #define bfin_read_CAN1_MB08_TIMESTAMP() bfin_read16(CAN1_MB08_TIMESTAMP) | ||
835 | #define bfin_write_CAN1_MB08_TIMESTAMP(val) bfin_write16(CAN1_MB08_TIMESTAMP, val) | ||
836 | #define bfin_read_CAN1_MB08_ID0() bfin_read16(CAN1_MB08_ID0) | ||
837 | #define bfin_write_CAN1_MB08_ID0(val) bfin_write16(CAN1_MB08_ID0, val) | ||
838 | #define bfin_read_CAN1_MB08_ID1() bfin_read16(CAN1_MB08_ID1) | ||
839 | #define bfin_write_CAN1_MB08_ID1(val) bfin_write16(CAN1_MB08_ID1, val) | ||
840 | #define bfin_read_CAN1_MB09_DATA0() bfin_read16(CAN1_MB09_DATA0) | ||
841 | #define bfin_write_CAN1_MB09_DATA0(val) bfin_write16(CAN1_MB09_DATA0, val) | ||
842 | #define bfin_read_CAN1_MB09_DATA1() bfin_read16(CAN1_MB09_DATA1) | ||
843 | #define bfin_write_CAN1_MB09_DATA1(val) bfin_write16(CAN1_MB09_DATA1, val) | ||
844 | #define bfin_read_CAN1_MB09_DATA2() bfin_read16(CAN1_MB09_DATA2) | ||
845 | #define bfin_write_CAN1_MB09_DATA2(val) bfin_write16(CAN1_MB09_DATA2, val) | ||
846 | #define bfin_read_CAN1_MB09_DATA3() bfin_read16(CAN1_MB09_DATA3) | ||
847 | #define bfin_write_CAN1_MB09_DATA3(val) bfin_write16(CAN1_MB09_DATA3, val) | ||
848 | #define bfin_read_CAN1_MB09_LENGTH() bfin_read16(CAN1_MB09_LENGTH) | ||
849 | #define bfin_write_CAN1_MB09_LENGTH(val) bfin_write16(CAN1_MB09_LENGTH, val) | ||
850 | #define bfin_read_CAN1_MB09_TIMESTAMP() bfin_read16(CAN1_MB09_TIMESTAMP) | ||
851 | #define bfin_write_CAN1_MB09_TIMESTAMP(val) bfin_write16(CAN1_MB09_TIMESTAMP, val) | ||
852 | #define bfin_read_CAN1_MB09_ID0() bfin_read16(CAN1_MB09_ID0) | ||
853 | #define bfin_write_CAN1_MB09_ID0(val) bfin_write16(CAN1_MB09_ID0, val) | ||
854 | #define bfin_read_CAN1_MB09_ID1() bfin_read16(CAN1_MB09_ID1) | ||
855 | #define bfin_write_CAN1_MB09_ID1(val) bfin_write16(CAN1_MB09_ID1, val) | ||
856 | #define bfin_read_CAN1_MB10_DATA0() bfin_read16(CAN1_MB10_DATA0) | ||
857 | #define bfin_write_CAN1_MB10_DATA0(val) bfin_write16(CAN1_MB10_DATA0, val) | ||
858 | #define bfin_read_CAN1_MB10_DATA1() bfin_read16(CAN1_MB10_DATA1) | ||
859 | #define bfin_write_CAN1_MB10_DATA1(val) bfin_write16(CAN1_MB10_DATA1, val) | ||
860 | #define bfin_read_CAN1_MB10_DATA2() bfin_read16(CAN1_MB10_DATA2) | ||
861 | #define bfin_write_CAN1_MB10_DATA2(val) bfin_write16(CAN1_MB10_DATA2, val) | ||
862 | #define bfin_read_CAN1_MB10_DATA3() bfin_read16(CAN1_MB10_DATA3) | ||
863 | #define bfin_write_CAN1_MB10_DATA3(val) bfin_write16(CAN1_MB10_DATA3, val) | ||
864 | #define bfin_read_CAN1_MB10_LENGTH() bfin_read16(CAN1_MB10_LENGTH) | ||
865 | #define bfin_write_CAN1_MB10_LENGTH(val) bfin_write16(CAN1_MB10_LENGTH, val) | ||
866 | #define bfin_read_CAN1_MB10_TIMESTAMP() bfin_read16(CAN1_MB10_TIMESTAMP) | ||
867 | #define bfin_write_CAN1_MB10_TIMESTAMP(val) bfin_write16(CAN1_MB10_TIMESTAMP, val) | ||
868 | #define bfin_read_CAN1_MB10_ID0() bfin_read16(CAN1_MB10_ID0) | ||
869 | #define bfin_write_CAN1_MB10_ID0(val) bfin_write16(CAN1_MB10_ID0, val) | ||
870 | #define bfin_read_CAN1_MB10_ID1() bfin_read16(CAN1_MB10_ID1) | ||
871 | #define bfin_write_CAN1_MB10_ID1(val) bfin_write16(CAN1_MB10_ID1, val) | ||
872 | #define bfin_read_CAN1_MB11_DATA0() bfin_read16(CAN1_MB11_DATA0) | ||
873 | #define bfin_write_CAN1_MB11_DATA0(val) bfin_write16(CAN1_MB11_DATA0, val) | ||
874 | #define bfin_read_CAN1_MB11_DATA1() bfin_read16(CAN1_MB11_DATA1) | ||
875 | #define bfin_write_CAN1_MB11_DATA1(val) bfin_write16(CAN1_MB11_DATA1, val) | ||
876 | #define bfin_read_CAN1_MB11_DATA2() bfin_read16(CAN1_MB11_DATA2) | ||
877 | #define bfin_write_CAN1_MB11_DATA2(val) bfin_write16(CAN1_MB11_DATA2, val) | ||
878 | #define bfin_read_CAN1_MB11_DATA3() bfin_read16(CAN1_MB11_DATA3) | ||
879 | #define bfin_write_CAN1_MB11_DATA3(val) bfin_write16(CAN1_MB11_DATA3, val) | ||
880 | #define bfin_read_CAN1_MB11_LENGTH() bfin_read16(CAN1_MB11_LENGTH) | ||
881 | #define bfin_write_CAN1_MB11_LENGTH(val) bfin_write16(CAN1_MB11_LENGTH, val) | ||
882 | #define bfin_read_CAN1_MB11_TIMESTAMP() bfin_read16(CAN1_MB11_TIMESTAMP) | ||
883 | #define bfin_write_CAN1_MB11_TIMESTAMP(val) bfin_write16(CAN1_MB11_TIMESTAMP, val) | ||
884 | #define bfin_read_CAN1_MB11_ID0() bfin_read16(CAN1_MB11_ID0) | ||
885 | #define bfin_write_CAN1_MB11_ID0(val) bfin_write16(CAN1_MB11_ID0, val) | ||
886 | #define bfin_read_CAN1_MB11_ID1() bfin_read16(CAN1_MB11_ID1) | ||
887 | #define bfin_write_CAN1_MB11_ID1(val) bfin_write16(CAN1_MB11_ID1, val) | ||
888 | #define bfin_read_CAN1_MB12_DATA0() bfin_read16(CAN1_MB12_DATA0) | ||
889 | #define bfin_write_CAN1_MB12_DATA0(val) bfin_write16(CAN1_MB12_DATA0, val) | ||
890 | #define bfin_read_CAN1_MB12_DATA1() bfin_read16(CAN1_MB12_DATA1) | ||
891 | #define bfin_write_CAN1_MB12_DATA1(val) bfin_write16(CAN1_MB12_DATA1, val) | ||
892 | #define bfin_read_CAN1_MB12_DATA2() bfin_read16(CAN1_MB12_DATA2) | ||
893 | #define bfin_write_CAN1_MB12_DATA2(val) bfin_write16(CAN1_MB12_DATA2, val) | ||
894 | #define bfin_read_CAN1_MB12_DATA3() bfin_read16(CAN1_MB12_DATA3) | ||
895 | #define bfin_write_CAN1_MB12_DATA3(val) bfin_write16(CAN1_MB12_DATA3, val) | ||
896 | #define bfin_read_CAN1_MB12_LENGTH() bfin_read16(CAN1_MB12_LENGTH) | ||
897 | #define bfin_write_CAN1_MB12_LENGTH(val) bfin_write16(CAN1_MB12_LENGTH, val) | ||
898 | #define bfin_read_CAN1_MB12_TIMESTAMP() bfin_read16(CAN1_MB12_TIMESTAMP) | ||
899 | #define bfin_write_CAN1_MB12_TIMESTAMP(val) bfin_write16(CAN1_MB12_TIMESTAMP, val) | ||
900 | #define bfin_read_CAN1_MB12_ID0() bfin_read16(CAN1_MB12_ID0) | ||
901 | #define bfin_write_CAN1_MB12_ID0(val) bfin_write16(CAN1_MB12_ID0, val) | ||
902 | #define bfin_read_CAN1_MB12_ID1() bfin_read16(CAN1_MB12_ID1) | ||
903 | #define bfin_write_CAN1_MB12_ID1(val) bfin_write16(CAN1_MB12_ID1, val) | ||
904 | #define bfin_read_CAN1_MB13_DATA0() bfin_read16(CAN1_MB13_DATA0) | ||
905 | #define bfin_write_CAN1_MB13_DATA0(val) bfin_write16(CAN1_MB13_DATA0, val) | ||
906 | #define bfin_read_CAN1_MB13_DATA1() bfin_read16(CAN1_MB13_DATA1) | ||
907 | #define bfin_write_CAN1_MB13_DATA1(val) bfin_write16(CAN1_MB13_DATA1, val) | ||
908 | #define bfin_read_CAN1_MB13_DATA2() bfin_read16(CAN1_MB13_DATA2) | ||
909 | #define bfin_write_CAN1_MB13_DATA2(val) bfin_write16(CAN1_MB13_DATA2, val) | ||
910 | #define bfin_read_CAN1_MB13_DATA3() bfin_read16(CAN1_MB13_DATA3) | ||
911 | #define bfin_write_CAN1_MB13_DATA3(val) bfin_write16(CAN1_MB13_DATA3, val) | ||
912 | #define bfin_read_CAN1_MB13_LENGTH() bfin_read16(CAN1_MB13_LENGTH) | ||
913 | #define bfin_write_CAN1_MB13_LENGTH(val) bfin_write16(CAN1_MB13_LENGTH, val) | ||
914 | #define bfin_read_CAN1_MB13_TIMESTAMP() bfin_read16(CAN1_MB13_TIMESTAMP) | ||
915 | #define bfin_write_CAN1_MB13_TIMESTAMP(val) bfin_write16(CAN1_MB13_TIMESTAMP, val) | ||
916 | #define bfin_read_CAN1_MB13_ID0() bfin_read16(CAN1_MB13_ID0) | ||
917 | #define bfin_write_CAN1_MB13_ID0(val) bfin_write16(CAN1_MB13_ID0, val) | ||
918 | #define bfin_read_CAN1_MB13_ID1() bfin_read16(CAN1_MB13_ID1) | ||
919 | #define bfin_write_CAN1_MB13_ID1(val) bfin_write16(CAN1_MB13_ID1, val) | ||
920 | #define bfin_read_CAN1_MB14_DATA0() bfin_read16(CAN1_MB14_DATA0) | ||
921 | #define bfin_write_CAN1_MB14_DATA0(val) bfin_write16(CAN1_MB14_DATA0, val) | ||
922 | #define bfin_read_CAN1_MB14_DATA1() bfin_read16(CAN1_MB14_DATA1) | ||
923 | #define bfin_write_CAN1_MB14_DATA1(val) bfin_write16(CAN1_MB14_DATA1, val) | ||
924 | #define bfin_read_CAN1_MB14_DATA2() bfin_read16(CAN1_MB14_DATA2) | ||
925 | #define bfin_write_CAN1_MB14_DATA2(val) bfin_write16(CAN1_MB14_DATA2, val) | ||
926 | #define bfin_read_CAN1_MB14_DATA3() bfin_read16(CAN1_MB14_DATA3) | ||
927 | #define bfin_write_CAN1_MB14_DATA3(val) bfin_write16(CAN1_MB14_DATA3, val) | ||
928 | #define bfin_read_CAN1_MB14_LENGTH() bfin_read16(CAN1_MB14_LENGTH) | ||
929 | #define bfin_write_CAN1_MB14_LENGTH(val) bfin_write16(CAN1_MB14_LENGTH, val) | ||
930 | #define bfin_read_CAN1_MB14_TIMESTAMP() bfin_read16(CAN1_MB14_TIMESTAMP) | ||
931 | #define bfin_write_CAN1_MB14_TIMESTAMP(val) bfin_write16(CAN1_MB14_TIMESTAMP, val) | ||
932 | #define bfin_read_CAN1_MB14_ID0() bfin_read16(CAN1_MB14_ID0) | ||
933 | #define bfin_write_CAN1_MB14_ID0(val) bfin_write16(CAN1_MB14_ID0, val) | ||
934 | #define bfin_read_CAN1_MB14_ID1() bfin_read16(CAN1_MB14_ID1) | ||
935 | #define bfin_write_CAN1_MB14_ID1(val) bfin_write16(CAN1_MB14_ID1, val) | ||
936 | #define bfin_read_CAN1_MB15_DATA0() bfin_read16(CAN1_MB15_DATA0) | ||
937 | #define bfin_write_CAN1_MB15_DATA0(val) bfin_write16(CAN1_MB15_DATA0, val) | ||
938 | #define bfin_read_CAN1_MB15_DATA1() bfin_read16(CAN1_MB15_DATA1) | ||
939 | #define bfin_write_CAN1_MB15_DATA1(val) bfin_write16(CAN1_MB15_DATA1, val) | ||
940 | #define bfin_read_CAN1_MB15_DATA2() bfin_read16(CAN1_MB15_DATA2) | ||
941 | #define bfin_write_CAN1_MB15_DATA2(val) bfin_write16(CAN1_MB15_DATA2, val) | ||
942 | #define bfin_read_CAN1_MB15_DATA3() bfin_read16(CAN1_MB15_DATA3) | ||
943 | #define bfin_write_CAN1_MB15_DATA3(val) bfin_write16(CAN1_MB15_DATA3, val) | ||
944 | #define bfin_read_CAN1_MB15_LENGTH() bfin_read16(CAN1_MB15_LENGTH) | ||
945 | #define bfin_write_CAN1_MB15_LENGTH(val) bfin_write16(CAN1_MB15_LENGTH, val) | ||
946 | #define bfin_read_CAN1_MB15_TIMESTAMP() bfin_read16(CAN1_MB15_TIMESTAMP) | ||
947 | #define bfin_write_CAN1_MB15_TIMESTAMP(val) bfin_write16(CAN1_MB15_TIMESTAMP, val) | ||
948 | #define bfin_read_CAN1_MB15_ID0() bfin_read16(CAN1_MB15_ID0) | ||
949 | #define bfin_write_CAN1_MB15_ID0(val) bfin_write16(CAN1_MB15_ID0, val) | ||
950 | #define bfin_read_CAN1_MB15_ID1() bfin_read16(CAN1_MB15_ID1) | ||
951 | #define bfin_write_CAN1_MB15_ID1(val) bfin_write16(CAN1_MB15_ID1, val) | ||
952 | |||
953 | /* CAN Controller 1 Mailbox Data Registers */ | ||
954 | |||
955 | #define bfin_read_CAN1_MB16_DATA0() bfin_read16(CAN1_MB16_DATA0) | ||
956 | #define bfin_write_CAN1_MB16_DATA0(val) bfin_write16(CAN1_MB16_DATA0, val) | ||
957 | #define bfin_read_CAN1_MB16_DATA1() bfin_read16(CAN1_MB16_DATA1) | ||
958 | #define bfin_write_CAN1_MB16_DATA1(val) bfin_write16(CAN1_MB16_DATA1, val) | ||
959 | #define bfin_read_CAN1_MB16_DATA2() bfin_read16(CAN1_MB16_DATA2) | ||
960 | #define bfin_write_CAN1_MB16_DATA2(val) bfin_write16(CAN1_MB16_DATA2, val) | ||
961 | #define bfin_read_CAN1_MB16_DATA3() bfin_read16(CAN1_MB16_DATA3) | ||
962 | #define bfin_write_CAN1_MB16_DATA3(val) bfin_write16(CAN1_MB16_DATA3, val) | ||
963 | #define bfin_read_CAN1_MB16_LENGTH() bfin_read16(CAN1_MB16_LENGTH) | ||
964 | #define bfin_write_CAN1_MB16_LENGTH(val) bfin_write16(CAN1_MB16_LENGTH, val) | ||
965 | #define bfin_read_CAN1_MB16_TIMESTAMP() bfin_read16(CAN1_MB16_TIMESTAMP) | ||
966 | #define bfin_write_CAN1_MB16_TIMESTAMP(val) bfin_write16(CAN1_MB16_TIMESTAMP, val) | ||
967 | #define bfin_read_CAN1_MB16_ID0() bfin_read16(CAN1_MB16_ID0) | ||
968 | #define bfin_write_CAN1_MB16_ID0(val) bfin_write16(CAN1_MB16_ID0, val) | ||
969 | #define bfin_read_CAN1_MB16_ID1() bfin_read16(CAN1_MB16_ID1) | ||
970 | #define bfin_write_CAN1_MB16_ID1(val) bfin_write16(CAN1_MB16_ID1, val) | ||
971 | #define bfin_read_CAN1_MB17_DATA0() bfin_read16(CAN1_MB17_DATA0) | ||
972 | #define bfin_write_CAN1_MB17_DATA0(val) bfin_write16(CAN1_MB17_DATA0, val) | ||
973 | #define bfin_read_CAN1_MB17_DATA1() bfin_read16(CAN1_MB17_DATA1) | ||
974 | #define bfin_write_CAN1_MB17_DATA1(val) bfin_write16(CAN1_MB17_DATA1, val) | ||
975 | #define bfin_read_CAN1_MB17_DATA2() bfin_read16(CAN1_MB17_DATA2) | ||
976 | #define bfin_write_CAN1_MB17_DATA2(val) bfin_write16(CAN1_MB17_DATA2, val) | ||
977 | #define bfin_read_CAN1_MB17_DATA3() bfin_read16(CAN1_MB17_DATA3) | ||
978 | #define bfin_write_CAN1_MB17_DATA3(val) bfin_write16(CAN1_MB17_DATA3, val) | ||
979 | #define bfin_read_CAN1_MB17_LENGTH() bfin_read16(CAN1_MB17_LENGTH) | ||
980 | #define bfin_write_CAN1_MB17_LENGTH(val) bfin_write16(CAN1_MB17_LENGTH, val) | ||
981 | #define bfin_read_CAN1_MB17_TIMESTAMP() bfin_read16(CAN1_MB17_TIMESTAMP) | ||
982 | #define bfin_write_CAN1_MB17_TIMESTAMP(val) bfin_write16(CAN1_MB17_TIMESTAMP, val) | ||
983 | #define bfin_read_CAN1_MB17_ID0() bfin_read16(CAN1_MB17_ID0) | ||
984 | #define bfin_write_CAN1_MB17_ID0(val) bfin_write16(CAN1_MB17_ID0, val) | ||
985 | #define bfin_read_CAN1_MB17_ID1() bfin_read16(CAN1_MB17_ID1) | ||
986 | #define bfin_write_CAN1_MB17_ID1(val) bfin_write16(CAN1_MB17_ID1, val) | ||
987 | #define bfin_read_CAN1_MB18_DATA0() bfin_read16(CAN1_MB18_DATA0) | ||
988 | #define bfin_write_CAN1_MB18_DATA0(val) bfin_write16(CAN1_MB18_DATA0, val) | ||
989 | #define bfin_read_CAN1_MB18_DATA1() bfin_read16(CAN1_MB18_DATA1) | ||
990 | #define bfin_write_CAN1_MB18_DATA1(val) bfin_write16(CAN1_MB18_DATA1, val) | ||
991 | #define bfin_read_CAN1_MB18_DATA2() bfin_read16(CAN1_MB18_DATA2) | ||
992 | #define bfin_write_CAN1_MB18_DATA2(val) bfin_write16(CAN1_MB18_DATA2, val) | ||
993 | #define bfin_read_CAN1_MB18_DATA3() bfin_read16(CAN1_MB18_DATA3) | ||
994 | #define bfin_write_CAN1_MB18_DATA3(val) bfin_write16(CAN1_MB18_DATA3, val) | ||
995 | #define bfin_read_CAN1_MB18_LENGTH() bfin_read16(CAN1_MB18_LENGTH) | ||
996 | #define bfin_write_CAN1_MB18_LENGTH(val) bfin_write16(CAN1_MB18_LENGTH, val) | ||
997 | #define bfin_read_CAN1_MB18_TIMESTAMP() bfin_read16(CAN1_MB18_TIMESTAMP) | ||
998 | #define bfin_write_CAN1_MB18_TIMESTAMP(val) bfin_write16(CAN1_MB18_TIMESTAMP, val) | ||
999 | #define bfin_read_CAN1_MB18_ID0() bfin_read16(CAN1_MB18_ID0) | ||
1000 | #define bfin_write_CAN1_MB18_ID0(val) bfin_write16(CAN1_MB18_ID0, val) | ||
1001 | #define bfin_read_CAN1_MB18_ID1() bfin_read16(CAN1_MB18_ID1) | ||
1002 | #define bfin_write_CAN1_MB18_ID1(val) bfin_write16(CAN1_MB18_ID1, val) | ||
1003 | #define bfin_read_CAN1_MB19_DATA0() bfin_read16(CAN1_MB19_DATA0) | ||
1004 | #define bfin_write_CAN1_MB19_DATA0(val) bfin_write16(CAN1_MB19_DATA0, val) | ||
1005 | #define bfin_read_CAN1_MB19_DATA1() bfin_read16(CAN1_MB19_DATA1) | ||
1006 | #define bfin_write_CAN1_MB19_DATA1(val) bfin_write16(CAN1_MB19_DATA1, val) | ||
1007 | #define bfin_read_CAN1_MB19_DATA2() bfin_read16(CAN1_MB19_DATA2) | ||
1008 | #define bfin_write_CAN1_MB19_DATA2(val) bfin_write16(CAN1_MB19_DATA2, val) | ||
1009 | #define bfin_read_CAN1_MB19_DATA3() bfin_read16(CAN1_MB19_DATA3) | ||
1010 | #define bfin_write_CAN1_MB19_DATA3(val) bfin_write16(CAN1_MB19_DATA3, val) | ||
1011 | #define bfin_read_CAN1_MB19_LENGTH() bfin_read16(CAN1_MB19_LENGTH) | ||
1012 | #define bfin_write_CAN1_MB19_LENGTH(val) bfin_write16(CAN1_MB19_LENGTH, val) | ||
1013 | #define bfin_read_CAN1_MB19_TIMESTAMP() bfin_read16(CAN1_MB19_TIMESTAMP) | ||
1014 | #define bfin_write_CAN1_MB19_TIMESTAMP(val) bfin_write16(CAN1_MB19_TIMESTAMP, val) | ||
1015 | #define bfin_read_CAN1_MB19_ID0() bfin_read16(CAN1_MB19_ID0) | ||
1016 | #define bfin_write_CAN1_MB19_ID0(val) bfin_write16(CAN1_MB19_ID0, val) | ||
1017 | #define bfin_read_CAN1_MB19_ID1() bfin_read16(CAN1_MB19_ID1) | ||
1018 | #define bfin_write_CAN1_MB19_ID1(val) bfin_write16(CAN1_MB19_ID1, val) | ||
1019 | #define bfin_read_CAN1_MB20_DATA0() bfin_read16(CAN1_MB20_DATA0) | ||
1020 | #define bfin_write_CAN1_MB20_DATA0(val) bfin_write16(CAN1_MB20_DATA0, val) | ||
1021 | #define bfin_read_CAN1_MB20_DATA1() bfin_read16(CAN1_MB20_DATA1) | ||
1022 | #define bfin_write_CAN1_MB20_DATA1(val) bfin_write16(CAN1_MB20_DATA1, val) | ||
1023 | #define bfin_read_CAN1_MB20_DATA2() bfin_read16(CAN1_MB20_DATA2) | ||
1024 | #define bfin_write_CAN1_MB20_DATA2(val) bfin_write16(CAN1_MB20_DATA2, val) | ||
1025 | #define bfin_read_CAN1_MB20_DATA3() bfin_read16(CAN1_MB20_DATA3) | ||
1026 | #define bfin_write_CAN1_MB20_DATA3(val) bfin_write16(CAN1_MB20_DATA3, val) | ||
1027 | #define bfin_read_CAN1_MB20_LENGTH() bfin_read16(CAN1_MB20_LENGTH) | ||
1028 | #define bfin_write_CAN1_MB20_LENGTH(val) bfin_write16(CAN1_MB20_LENGTH, val) | ||
1029 | #define bfin_read_CAN1_MB20_TIMESTAMP() bfin_read16(CAN1_MB20_TIMESTAMP) | ||
1030 | #define bfin_write_CAN1_MB20_TIMESTAMP(val) bfin_write16(CAN1_MB20_TIMESTAMP, val) | ||
1031 | #define bfin_read_CAN1_MB20_ID0() bfin_read16(CAN1_MB20_ID0) | ||
1032 | #define bfin_write_CAN1_MB20_ID0(val) bfin_write16(CAN1_MB20_ID0, val) | ||
1033 | #define bfin_read_CAN1_MB20_ID1() bfin_read16(CAN1_MB20_ID1) | ||
1034 | #define bfin_write_CAN1_MB20_ID1(val) bfin_write16(CAN1_MB20_ID1, val) | ||
1035 | #define bfin_read_CAN1_MB21_DATA0() bfin_read16(CAN1_MB21_DATA0) | ||
1036 | #define bfin_write_CAN1_MB21_DATA0(val) bfin_write16(CAN1_MB21_DATA0, val) | ||
1037 | #define bfin_read_CAN1_MB21_DATA1() bfin_read16(CAN1_MB21_DATA1) | ||
1038 | #define bfin_write_CAN1_MB21_DATA1(val) bfin_write16(CAN1_MB21_DATA1, val) | ||
1039 | #define bfin_read_CAN1_MB21_DATA2() bfin_read16(CAN1_MB21_DATA2) | ||
1040 | #define bfin_write_CAN1_MB21_DATA2(val) bfin_write16(CAN1_MB21_DATA2, val) | ||
1041 | #define bfin_read_CAN1_MB21_DATA3() bfin_read16(CAN1_MB21_DATA3) | ||
1042 | #define bfin_write_CAN1_MB21_DATA3(val) bfin_write16(CAN1_MB21_DATA3, val) | ||
1043 | #define bfin_read_CAN1_MB21_LENGTH() bfin_read16(CAN1_MB21_LENGTH) | ||
1044 | #define bfin_write_CAN1_MB21_LENGTH(val) bfin_write16(CAN1_MB21_LENGTH, val) | ||
1045 | #define bfin_read_CAN1_MB21_TIMESTAMP() bfin_read16(CAN1_MB21_TIMESTAMP) | ||
1046 | #define bfin_write_CAN1_MB21_TIMESTAMP(val) bfin_write16(CAN1_MB21_TIMESTAMP, val) | ||
1047 | #define bfin_read_CAN1_MB21_ID0() bfin_read16(CAN1_MB21_ID0) | ||
1048 | #define bfin_write_CAN1_MB21_ID0(val) bfin_write16(CAN1_MB21_ID0, val) | ||
1049 | #define bfin_read_CAN1_MB21_ID1() bfin_read16(CAN1_MB21_ID1) | ||
1050 | #define bfin_write_CAN1_MB21_ID1(val) bfin_write16(CAN1_MB21_ID1, val) | ||
1051 | #define bfin_read_CAN1_MB22_DATA0() bfin_read16(CAN1_MB22_DATA0) | ||
1052 | #define bfin_write_CAN1_MB22_DATA0(val) bfin_write16(CAN1_MB22_DATA0, val) | ||
1053 | #define bfin_read_CAN1_MB22_DATA1() bfin_read16(CAN1_MB22_DATA1) | ||
1054 | #define bfin_write_CAN1_MB22_DATA1(val) bfin_write16(CAN1_MB22_DATA1, val) | ||
1055 | #define bfin_read_CAN1_MB22_DATA2() bfin_read16(CAN1_MB22_DATA2) | ||
1056 | #define bfin_write_CAN1_MB22_DATA2(val) bfin_write16(CAN1_MB22_DATA2, val) | ||
1057 | #define bfin_read_CAN1_MB22_DATA3() bfin_read16(CAN1_MB22_DATA3) | ||
1058 | #define bfin_write_CAN1_MB22_DATA3(val) bfin_write16(CAN1_MB22_DATA3, val) | ||
1059 | #define bfin_read_CAN1_MB22_LENGTH() bfin_read16(CAN1_MB22_LENGTH) | ||
1060 | #define bfin_write_CAN1_MB22_LENGTH(val) bfin_write16(CAN1_MB22_LENGTH, val) | ||
1061 | #define bfin_read_CAN1_MB22_TIMESTAMP() bfin_read16(CAN1_MB22_TIMESTAMP) | ||
1062 | #define bfin_write_CAN1_MB22_TIMESTAMP(val) bfin_write16(CAN1_MB22_TIMESTAMP, val) | ||
1063 | #define bfin_read_CAN1_MB22_ID0() bfin_read16(CAN1_MB22_ID0) | ||
1064 | #define bfin_write_CAN1_MB22_ID0(val) bfin_write16(CAN1_MB22_ID0, val) | ||
1065 | #define bfin_read_CAN1_MB22_ID1() bfin_read16(CAN1_MB22_ID1) | ||
1066 | #define bfin_write_CAN1_MB22_ID1(val) bfin_write16(CAN1_MB22_ID1, val) | ||
1067 | #define bfin_read_CAN1_MB23_DATA0() bfin_read16(CAN1_MB23_DATA0) | ||
1068 | #define bfin_write_CAN1_MB23_DATA0(val) bfin_write16(CAN1_MB23_DATA0, val) | ||
1069 | #define bfin_read_CAN1_MB23_DATA1() bfin_read16(CAN1_MB23_DATA1) | ||
1070 | #define bfin_write_CAN1_MB23_DATA1(val) bfin_write16(CAN1_MB23_DATA1, val) | ||
1071 | #define bfin_read_CAN1_MB23_DATA2() bfin_read16(CAN1_MB23_DATA2) | ||
1072 | #define bfin_write_CAN1_MB23_DATA2(val) bfin_write16(CAN1_MB23_DATA2, val) | ||
1073 | #define bfin_read_CAN1_MB23_DATA3() bfin_read16(CAN1_MB23_DATA3) | ||
1074 | #define bfin_write_CAN1_MB23_DATA3(val) bfin_write16(CAN1_MB23_DATA3, val) | ||
1075 | #define bfin_read_CAN1_MB23_LENGTH() bfin_read16(CAN1_MB23_LENGTH) | ||
1076 | #define bfin_write_CAN1_MB23_LENGTH(val) bfin_write16(CAN1_MB23_LENGTH, val) | ||
1077 | #define bfin_read_CAN1_MB23_TIMESTAMP() bfin_read16(CAN1_MB23_TIMESTAMP) | ||
1078 | #define bfin_write_CAN1_MB23_TIMESTAMP(val) bfin_write16(CAN1_MB23_TIMESTAMP, val) | ||
1079 | #define bfin_read_CAN1_MB23_ID0() bfin_read16(CAN1_MB23_ID0) | ||
1080 | #define bfin_write_CAN1_MB23_ID0(val) bfin_write16(CAN1_MB23_ID0, val) | ||
1081 | #define bfin_read_CAN1_MB23_ID1() bfin_read16(CAN1_MB23_ID1) | ||
1082 | #define bfin_write_CAN1_MB23_ID1(val) bfin_write16(CAN1_MB23_ID1, val) | ||
1083 | #define bfin_read_CAN1_MB24_DATA0() bfin_read16(CAN1_MB24_DATA0) | ||
1084 | #define bfin_write_CAN1_MB24_DATA0(val) bfin_write16(CAN1_MB24_DATA0, val) | ||
1085 | #define bfin_read_CAN1_MB24_DATA1() bfin_read16(CAN1_MB24_DATA1) | ||
1086 | #define bfin_write_CAN1_MB24_DATA1(val) bfin_write16(CAN1_MB24_DATA1, val) | ||
1087 | #define bfin_read_CAN1_MB24_DATA2() bfin_read16(CAN1_MB24_DATA2) | ||
1088 | #define bfin_write_CAN1_MB24_DATA2(val) bfin_write16(CAN1_MB24_DATA2, val) | ||
1089 | #define bfin_read_CAN1_MB24_DATA3() bfin_read16(CAN1_MB24_DATA3) | ||
1090 | #define bfin_write_CAN1_MB24_DATA3(val) bfin_write16(CAN1_MB24_DATA3, val) | ||
1091 | #define bfin_read_CAN1_MB24_LENGTH() bfin_read16(CAN1_MB24_LENGTH) | ||
1092 | #define bfin_write_CAN1_MB24_LENGTH(val) bfin_write16(CAN1_MB24_LENGTH, val) | ||
1093 | #define bfin_read_CAN1_MB24_TIMESTAMP() bfin_read16(CAN1_MB24_TIMESTAMP) | ||
1094 | #define bfin_write_CAN1_MB24_TIMESTAMP(val) bfin_write16(CAN1_MB24_TIMESTAMP, val) | ||
1095 | #define bfin_read_CAN1_MB24_ID0() bfin_read16(CAN1_MB24_ID0) | ||
1096 | #define bfin_write_CAN1_MB24_ID0(val) bfin_write16(CAN1_MB24_ID0, val) | ||
1097 | #define bfin_read_CAN1_MB24_ID1() bfin_read16(CAN1_MB24_ID1) | ||
1098 | #define bfin_write_CAN1_MB24_ID1(val) bfin_write16(CAN1_MB24_ID1, val) | ||
1099 | #define bfin_read_CAN1_MB25_DATA0() bfin_read16(CAN1_MB25_DATA0) | ||
1100 | #define bfin_write_CAN1_MB25_DATA0(val) bfin_write16(CAN1_MB25_DATA0, val) | ||
1101 | #define bfin_read_CAN1_MB25_DATA1() bfin_read16(CAN1_MB25_DATA1) | ||
1102 | #define bfin_write_CAN1_MB25_DATA1(val) bfin_write16(CAN1_MB25_DATA1, val) | ||
1103 | #define bfin_read_CAN1_MB25_DATA2() bfin_read16(CAN1_MB25_DATA2) | ||
1104 | #define bfin_write_CAN1_MB25_DATA2(val) bfin_write16(CAN1_MB25_DATA2, val) | ||
1105 | #define bfin_read_CAN1_MB25_DATA3() bfin_read16(CAN1_MB25_DATA3) | ||
1106 | #define bfin_write_CAN1_MB25_DATA3(val) bfin_write16(CAN1_MB25_DATA3, val) | ||
1107 | #define bfin_read_CAN1_MB25_LENGTH() bfin_read16(CAN1_MB25_LENGTH) | ||
1108 | #define bfin_write_CAN1_MB25_LENGTH(val) bfin_write16(CAN1_MB25_LENGTH, val) | ||
1109 | #define bfin_read_CAN1_MB25_TIMESTAMP() bfin_read16(CAN1_MB25_TIMESTAMP) | ||
1110 | #define bfin_write_CAN1_MB25_TIMESTAMP(val) bfin_write16(CAN1_MB25_TIMESTAMP, val) | ||
1111 | #define bfin_read_CAN1_MB25_ID0() bfin_read16(CAN1_MB25_ID0) | ||
1112 | #define bfin_write_CAN1_MB25_ID0(val) bfin_write16(CAN1_MB25_ID0, val) | ||
1113 | #define bfin_read_CAN1_MB25_ID1() bfin_read16(CAN1_MB25_ID1) | ||
1114 | #define bfin_write_CAN1_MB25_ID1(val) bfin_write16(CAN1_MB25_ID1, val) | ||
1115 | #define bfin_read_CAN1_MB26_DATA0() bfin_read16(CAN1_MB26_DATA0) | ||
1116 | #define bfin_write_CAN1_MB26_DATA0(val) bfin_write16(CAN1_MB26_DATA0, val) | ||
1117 | #define bfin_read_CAN1_MB26_DATA1() bfin_read16(CAN1_MB26_DATA1) | ||
1118 | #define bfin_write_CAN1_MB26_DATA1(val) bfin_write16(CAN1_MB26_DATA1, val) | ||
1119 | #define bfin_read_CAN1_MB26_DATA2() bfin_read16(CAN1_MB26_DATA2) | ||
1120 | #define bfin_write_CAN1_MB26_DATA2(val) bfin_write16(CAN1_MB26_DATA2, val) | ||
1121 | #define bfin_read_CAN1_MB26_DATA3() bfin_read16(CAN1_MB26_DATA3) | ||
1122 | #define bfin_write_CAN1_MB26_DATA3(val) bfin_write16(CAN1_MB26_DATA3, val) | ||
1123 | #define bfin_read_CAN1_MB26_LENGTH() bfin_read16(CAN1_MB26_LENGTH) | ||
1124 | #define bfin_write_CAN1_MB26_LENGTH(val) bfin_write16(CAN1_MB26_LENGTH, val) | ||
1125 | #define bfin_read_CAN1_MB26_TIMESTAMP() bfin_read16(CAN1_MB26_TIMESTAMP) | ||
1126 | #define bfin_write_CAN1_MB26_TIMESTAMP(val) bfin_write16(CAN1_MB26_TIMESTAMP, val) | ||
1127 | #define bfin_read_CAN1_MB26_ID0() bfin_read16(CAN1_MB26_ID0) | ||
1128 | #define bfin_write_CAN1_MB26_ID0(val) bfin_write16(CAN1_MB26_ID0, val) | ||
1129 | #define bfin_read_CAN1_MB26_ID1() bfin_read16(CAN1_MB26_ID1) | ||
1130 | #define bfin_write_CAN1_MB26_ID1(val) bfin_write16(CAN1_MB26_ID1, val) | ||
1131 | #define bfin_read_CAN1_MB27_DATA0() bfin_read16(CAN1_MB27_DATA0) | ||
1132 | #define bfin_write_CAN1_MB27_DATA0(val) bfin_write16(CAN1_MB27_DATA0, val) | ||
1133 | #define bfin_read_CAN1_MB27_DATA1() bfin_read16(CAN1_MB27_DATA1) | ||
1134 | #define bfin_write_CAN1_MB27_DATA1(val) bfin_write16(CAN1_MB27_DATA1, val) | ||
1135 | #define bfin_read_CAN1_MB27_DATA2() bfin_read16(CAN1_MB27_DATA2) | ||
1136 | #define bfin_write_CAN1_MB27_DATA2(val) bfin_write16(CAN1_MB27_DATA2, val) | ||
1137 | #define bfin_read_CAN1_MB27_DATA3() bfin_read16(CAN1_MB27_DATA3) | ||
1138 | #define bfin_write_CAN1_MB27_DATA3(val) bfin_write16(CAN1_MB27_DATA3, val) | ||
1139 | #define bfin_read_CAN1_MB27_LENGTH() bfin_read16(CAN1_MB27_LENGTH) | ||
1140 | #define bfin_write_CAN1_MB27_LENGTH(val) bfin_write16(CAN1_MB27_LENGTH, val) | ||
1141 | #define bfin_read_CAN1_MB27_TIMESTAMP() bfin_read16(CAN1_MB27_TIMESTAMP) | ||
1142 | #define bfin_write_CAN1_MB27_TIMESTAMP(val) bfin_write16(CAN1_MB27_TIMESTAMP, val) | ||
1143 | #define bfin_read_CAN1_MB27_ID0() bfin_read16(CAN1_MB27_ID0) | ||
1144 | #define bfin_write_CAN1_MB27_ID0(val) bfin_write16(CAN1_MB27_ID0, val) | ||
1145 | #define bfin_read_CAN1_MB27_ID1() bfin_read16(CAN1_MB27_ID1) | ||
1146 | #define bfin_write_CAN1_MB27_ID1(val) bfin_write16(CAN1_MB27_ID1, val) | ||
1147 | #define bfin_read_CAN1_MB28_DATA0() bfin_read16(CAN1_MB28_DATA0) | ||
1148 | #define bfin_write_CAN1_MB28_DATA0(val) bfin_write16(CAN1_MB28_DATA0, val) | ||
1149 | #define bfin_read_CAN1_MB28_DATA1() bfin_read16(CAN1_MB28_DATA1) | ||
1150 | #define bfin_write_CAN1_MB28_DATA1(val) bfin_write16(CAN1_MB28_DATA1, val) | ||
1151 | #define bfin_read_CAN1_MB28_DATA2() bfin_read16(CAN1_MB28_DATA2) | ||
1152 | #define bfin_write_CAN1_MB28_DATA2(val) bfin_write16(CAN1_MB28_DATA2, val) | ||
1153 | #define bfin_read_CAN1_MB28_DATA3() bfin_read16(CAN1_MB28_DATA3) | ||
1154 | #define bfin_write_CAN1_MB28_DATA3(val) bfin_write16(CAN1_MB28_DATA3, val) | ||
1155 | #define bfin_read_CAN1_MB28_LENGTH() bfin_read16(CAN1_MB28_LENGTH) | ||
1156 | #define bfin_write_CAN1_MB28_LENGTH(val) bfin_write16(CAN1_MB28_LENGTH, val) | ||
1157 | #define bfin_read_CAN1_MB28_TIMESTAMP() bfin_read16(CAN1_MB28_TIMESTAMP) | ||
1158 | #define bfin_write_CAN1_MB28_TIMESTAMP(val) bfin_write16(CAN1_MB28_TIMESTAMP, val) | ||
1159 | #define bfin_read_CAN1_MB28_ID0() bfin_read16(CAN1_MB28_ID0) | ||
1160 | #define bfin_write_CAN1_MB28_ID0(val) bfin_write16(CAN1_MB28_ID0, val) | ||
1161 | #define bfin_read_CAN1_MB28_ID1() bfin_read16(CAN1_MB28_ID1) | ||
1162 | #define bfin_write_CAN1_MB28_ID1(val) bfin_write16(CAN1_MB28_ID1, val) | ||
1163 | #define bfin_read_CAN1_MB29_DATA0() bfin_read16(CAN1_MB29_DATA0) | ||
1164 | #define bfin_write_CAN1_MB29_DATA0(val) bfin_write16(CAN1_MB29_DATA0, val) | ||
1165 | #define bfin_read_CAN1_MB29_DATA1() bfin_read16(CAN1_MB29_DATA1) | ||
1166 | #define bfin_write_CAN1_MB29_DATA1(val) bfin_write16(CAN1_MB29_DATA1, val) | ||
1167 | #define bfin_read_CAN1_MB29_DATA2() bfin_read16(CAN1_MB29_DATA2) | ||
1168 | #define bfin_write_CAN1_MB29_DATA2(val) bfin_write16(CAN1_MB29_DATA2, val) | ||
1169 | #define bfin_read_CAN1_MB29_DATA3() bfin_read16(CAN1_MB29_DATA3) | ||
1170 | #define bfin_write_CAN1_MB29_DATA3(val) bfin_write16(CAN1_MB29_DATA3, val) | ||
1171 | #define bfin_read_CAN1_MB29_LENGTH() bfin_read16(CAN1_MB29_LENGTH) | ||
1172 | #define bfin_write_CAN1_MB29_LENGTH(val) bfin_write16(CAN1_MB29_LENGTH, val) | ||
1173 | #define bfin_read_CAN1_MB29_TIMESTAMP() bfin_read16(CAN1_MB29_TIMESTAMP) | ||
1174 | #define bfin_write_CAN1_MB29_TIMESTAMP(val) bfin_write16(CAN1_MB29_TIMESTAMP, val) | ||
1175 | #define bfin_read_CAN1_MB29_ID0() bfin_read16(CAN1_MB29_ID0) | ||
1176 | #define bfin_write_CAN1_MB29_ID0(val) bfin_write16(CAN1_MB29_ID0, val) | ||
1177 | #define bfin_read_CAN1_MB29_ID1() bfin_read16(CAN1_MB29_ID1) | ||
1178 | #define bfin_write_CAN1_MB29_ID1(val) bfin_write16(CAN1_MB29_ID1, val) | ||
1179 | #define bfin_read_CAN1_MB30_DATA0() bfin_read16(CAN1_MB30_DATA0) | ||
1180 | #define bfin_write_CAN1_MB30_DATA0(val) bfin_write16(CAN1_MB30_DATA0, val) | ||
1181 | #define bfin_read_CAN1_MB30_DATA1() bfin_read16(CAN1_MB30_DATA1) | ||
1182 | #define bfin_write_CAN1_MB30_DATA1(val) bfin_write16(CAN1_MB30_DATA1, val) | ||
1183 | #define bfin_read_CAN1_MB30_DATA2() bfin_read16(CAN1_MB30_DATA2) | ||
1184 | #define bfin_write_CAN1_MB30_DATA2(val) bfin_write16(CAN1_MB30_DATA2, val) | ||
1185 | #define bfin_read_CAN1_MB30_DATA3() bfin_read16(CAN1_MB30_DATA3) | ||
1186 | #define bfin_write_CAN1_MB30_DATA3(val) bfin_write16(CAN1_MB30_DATA3, val) | ||
1187 | #define bfin_read_CAN1_MB30_LENGTH() bfin_read16(CAN1_MB30_LENGTH) | ||
1188 | #define bfin_write_CAN1_MB30_LENGTH(val) bfin_write16(CAN1_MB30_LENGTH, val) | ||
1189 | #define bfin_read_CAN1_MB30_TIMESTAMP() bfin_read16(CAN1_MB30_TIMESTAMP) | ||
1190 | #define bfin_write_CAN1_MB30_TIMESTAMP(val) bfin_write16(CAN1_MB30_TIMESTAMP, val) | ||
1191 | #define bfin_read_CAN1_MB30_ID0() bfin_read16(CAN1_MB30_ID0) | ||
1192 | #define bfin_write_CAN1_MB30_ID0(val) bfin_write16(CAN1_MB30_ID0, val) | ||
1193 | #define bfin_read_CAN1_MB30_ID1() bfin_read16(CAN1_MB30_ID1) | ||
1194 | #define bfin_write_CAN1_MB30_ID1(val) bfin_write16(CAN1_MB30_ID1, val) | ||
1195 | #define bfin_read_CAN1_MB31_DATA0() bfin_read16(CAN1_MB31_DATA0) | ||
1196 | #define bfin_write_CAN1_MB31_DATA0(val) bfin_write16(CAN1_MB31_DATA0, val) | ||
1197 | #define bfin_read_CAN1_MB31_DATA1() bfin_read16(CAN1_MB31_DATA1) | ||
1198 | #define bfin_write_CAN1_MB31_DATA1(val) bfin_write16(CAN1_MB31_DATA1, val) | ||
1199 | #define bfin_read_CAN1_MB31_DATA2() bfin_read16(CAN1_MB31_DATA2) | ||
1200 | #define bfin_write_CAN1_MB31_DATA2(val) bfin_write16(CAN1_MB31_DATA2, val) | ||
1201 | #define bfin_read_CAN1_MB31_DATA3() bfin_read16(CAN1_MB31_DATA3) | ||
1202 | #define bfin_write_CAN1_MB31_DATA3(val) bfin_write16(CAN1_MB31_DATA3, val) | ||
1203 | #define bfin_read_CAN1_MB31_LENGTH() bfin_read16(CAN1_MB31_LENGTH) | ||
1204 | #define bfin_write_CAN1_MB31_LENGTH(val) bfin_write16(CAN1_MB31_LENGTH, val) | ||
1205 | #define bfin_read_CAN1_MB31_TIMESTAMP() bfin_read16(CAN1_MB31_TIMESTAMP) | ||
1206 | #define bfin_write_CAN1_MB31_TIMESTAMP(val) bfin_write16(CAN1_MB31_TIMESTAMP, val) | ||
1207 | #define bfin_read_CAN1_MB31_ID0() bfin_read16(CAN1_MB31_ID0) | ||
1208 | #define bfin_write_CAN1_MB31_ID0(val) bfin_write16(CAN1_MB31_ID0, val) | ||
1209 | #define bfin_read_CAN1_MB31_ID1() bfin_read16(CAN1_MB31_ID1) | ||
1210 | #define bfin_write_CAN1_MB31_ID1(val) bfin_write16(CAN1_MB31_ID1, val) | ||
1211 | |||
1212 | /* ATAPI Registers */ | ||
1213 | |||
1214 | #define bfin_read_ATAPI_CONTROL() bfin_read16(ATAPI_CONTROL) | ||
1215 | #define bfin_write_ATAPI_CONTROL(val) bfin_write16(ATAPI_CONTROL, val) | ||
1216 | #define bfin_read_ATAPI_STATUS() bfin_read16(ATAPI_STATUS) | ||
1217 | #define bfin_write_ATAPI_STATUS(val) bfin_write16(ATAPI_STATUS, val) | ||
1218 | #define bfin_read_ATAPI_DEV_ADDR() bfin_read16(ATAPI_DEV_ADDR) | ||
1219 | #define bfin_write_ATAPI_DEV_ADDR(val) bfin_write16(ATAPI_DEV_ADDR, val) | ||
1220 | #define bfin_read_ATAPI_DEV_TXBUF() bfin_read16(ATAPI_DEV_TXBUF) | ||
1221 | #define bfin_write_ATAPI_DEV_TXBUF(val) bfin_write16(ATAPI_DEV_TXBUF, val) | ||
1222 | #define bfin_read_ATAPI_DEV_RXBUF() bfin_read16(ATAPI_DEV_RXBUF) | ||
1223 | #define bfin_write_ATAPI_DEV_RXBUF(val) bfin_write16(ATAPI_DEV_RXBUF, val) | ||
1224 | #define bfin_read_ATAPI_INT_MASK() bfin_read16(ATAPI_INT_MASK) | ||
1225 | #define bfin_write_ATAPI_INT_MASK(val) bfin_write16(ATAPI_INT_MASK, val) | ||
1226 | #define bfin_read_ATAPI_INT_STATUS() bfin_read16(ATAPI_INT_STATUS) | ||
1227 | #define bfin_write_ATAPI_INT_STATUS(val) bfin_write16(ATAPI_INT_STATUS, val) | ||
1228 | #define bfin_read_ATAPI_XFER_LEN() bfin_read16(ATAPI_XFER_LEN) | ||
1229 | #define bfin_write_ATAPI_XFER_LEN(val) bfin_write16(ATAPI_XFER_LEN, val) | ||
1230 | #define bfin_read_ATAPI_LINE_STATUS() bfin_read16(ATAPI_LINE_STATUS) | ||
1231 | #define bfin_write_ATAPI_LINE_STATUS(val) bfin_write16(ATAPI_LINE_STATUS, val) | ||
1232 | #define bfin_read_ATAPI_SM_STATE() bfin_read16(ATAPI_SM_STATE) | ||
1233 | #define bfin_write_ATAPI_SM_STATE(val) bfin_write16(ATAPI_SM_STATE, val) | ||
1234 | #define bfin_read_ATAPI_TERMINATE() bfin_read16(ATAPI_TERMINATE) | ||
1235 | #define bfin_write_ATAPI_TERMINATE(val) bfin_write16(ATAPI_TERMINATE, val) | ||
1236 | #define bfin_read_ATAPI_PIO_TFRCNT() bfin_read16(ATAPI_PIO_TFRCNT) | ||
1237 | #define bfin_write_ATAPI_PIO_TFRCNT(val) bfin_write16(ATAPI_PIO_TFRCNT, val) | ||
1238 | #define bfin_read_ATAPI_DMA_TFRCNT() bfin_read16(ATAPI_DMA_TFRCNT) | ||
1239 | #define bfin_write_ATAPI_DMA_TFRCNT(val) bfin_write16(ATAPI_DMA_TFRCNT, val) | ||
1240 | #define bfin_read_ATAPI_UMAIN_TFRCNT() bfin_read16(ATAPI_UMAIN_TFRCNT) | ||
1241 | #define bfin_write_ATAPI_UMAIN_TFRCNT(val) bfin_write16(ATAPI_UMAIN_TFRCNT, val) | ||
1242 | #define bfin_read_ATAPI_UDMAOUT_TFRCNT() bfin_read16(ATAPI_UDMAOUT_TFRCNT) | ||
1243 | #define bfin_write_ATAPI_UDMAOUT_TFRCNT(val) bfin_write16(ATAPI_UDMAOUT_TFRCNT, val) | ||
1244 | #define bfin_read_ATAPI_REG_TIM_0() bfin_read16(ATAPI_REG_TIM_0) | ||
1245 | #define bfin_write_ATAPI_REG_TIM_0(val) bfin_write16(ATAPI_REG_TIM_0, val) | ||
1246 | #define bfin_read_ATAPI_PIO_TIM_0() bfin_read16(ATAPI_PIO_TIM_0) | ||
1247 | #define bfin_write_ATAPI_PIO_TIM_0(val) bfin_write16(ATAPI_PIO_TIM_0, val) | ||
1248 | #define bfin_read_ATAPI_PIO_TIM_1() bfin_read16(ATAPI_PIO_TIM_1) | ||
1249 | #define bfin_write_ATAPI_PIO_TIM_1(val) bfin_write16(ATAPI_PIO_TIM_1, val) | ||
1250 | #define bfin_read_ATAPI_MULTI_TIM_0() bfin_read16(ATAPI_MULTI_TIM_0) | ||
1251 | #define bfin_write_ATAPI_MULTI_TIM_0(val) bfin_write16(ATAPI_MULTI_TIM_0, val) | ||
1252 | #define bfin_read_ATAPI_MULTI_TIM_1() bfin_read16(ATAPI_MULTI_TIM_1) | ||
1253 | #define bfin_write_ATAPI_MULTI_TIM_1(val) bfin_write16(ATAPI_MULTI_TIM_1, val) | ||
1254 | #define bfin_read_ATAPI_MULTI_TIM_2() bfin_read16(ATAPI_MULTI_TIM_2) | ||
1255 | #define bfin_write_ATAPI_MULTI_TIM_2(val) bfin_write16(ATAPI_MULTI_TIM_2, val) | ||
1256 | #define bfin_read_ATAPI_ULTRA_TIM_0() bfin_read16(ATAPI_ULTRA_TIM_0) | ||
1257 | #define bfin_write_ATAPI_ULTRA_TIM_0(val) bfin_write16(ATAPI_ULTRA_TIM_0, val) | ||
1258 | #define bfin_read_ATAPI_ULTRA_TIM_1() bfin_read16(ATAPI_ULTRA_TIM_1) | ||
1259 | #define bfin_write_ATAPI_ULTRA_TIM_1(val) bfin_write16(ATAPI_ULTRA_TIM_1, val) | ||
1260 | #define bfin_read_ATAPI_ULTRA_TIM_2() bfin_read16(ATAPI_ULTRA_TIM_2) | ||
1261 | #define bfin_write_ATAPI_ULTRA_TIM_2(val) bfin_write16(ATAPI_ULTRA_TIM_2, val) | ||
1262 | #define bfin_read_ATAPI_ULTRA_TIM_3() bfin_read16(ATAPI_ULTRA_TIM_3) | ||
1263 | #define bfin_write_ATAPI_ULTRA_TIM_3(val) bfin_write16(ATAPI_ULTRA_TIM_3, val) | ||
1264 | |||
1265 | /* SDH Registers */ | ||
1266 | |||
1267 | #define bfin_read_SDH_PWR_CTL() bfin_read16(SDH_PWR_CTL) | ||
1268 | #define bfin_write_SDH_PWR_CTL(val) bfin_write16(SDH_PWR_CTL, val) | ||
1269 | #define bfin_read_SDH_CLK_CTL() bfin_read16(SDH_CLK_CTL) | ||
1270 | #define bfin_write_SDH_CLK_CTL(val) bfin_write16(SDH_CLK_CTL, val) | ||
1271 | #define bfin_read_SDH_ARGUMENT() bfin_read32(SDH_ARGUMENT) | ||
1272 | #define bfin_write_SDH_ARGUMENT(val) bfin_write32(SDH_ARGUMENT, val) | ||
1273 | #define bfin_read_SDH_COMMAND() bfin_read16(SDH_COMMAND) | ||
1274 | #define bfin_write_SDH_COMMAND(val) bfin_write16(SDH_COMMAND, val) | ||
1275 | #define bfin_read_SDH_RESP_CMD() bfin_read16(SDH_RESP_CMD) | ||
1276 | #define bfin_write_SDH_RESP_CMD(val) bfin_write16(SDH_RESP_CMD, val) | ||
1277 | #define bfin_read_SDH_RESPONSE0() bfin_read32(SDH_RESPONSE0) | ||
1278 | #define bfin_write_SDH_RESPONSE0(val) bfin_write32(SDH_RESPONSE0, val) | ||
1279 | #define bfin_read_SDH_RESPONSE1() bfin_read32(SDH_RESPONSE1) | ||
1280 | #define bfin_write_SDH_RESPONSE1(val) bfin_write32(SDH_RESPONSE1, val) | ||
1281 | #define bfin_read_SDH_RESPONSE2() bfin_read32(SDH_RESPONSE2) | ||
1282 | #define bfin_write_SDH_RESPONSE2(val) bfin_write32(SDH_RESPONSE2, val) | ||
1283 | #define bfin_read_SDH_RESPONSE3() bfin_read32(SDH_RESPONSE3) | ||
1284 | #define bfin_write_SDH_RESPONSE3(val) bfin_write32(SDH_RESPONSE3, val) | ||
1285 | #define bfin_read_SDH_DATA_TIMER() bfin_read32(SDH_DATA_TIMER) | ||
1286 | #define bfin_write_SDH_DATA_TIMER(val) bfin_write32(SDH_DATA_TIMER, val) | ||
1287 | #define bfin_read_SDH_DATA_LGTH() bfin_read16(SDH_DATA_LGTH) | ||
1288 | #define bfin_write_SDH_DATA_LGTH(val) bfin_write16(SDH_DATA_LGTH, val) | ||
1289 | #define bfin_read_SDH_DATA_CTL() bfin_read16(SDH_DATA_CTL) | ||
1290 | #define bfin_write_SDH_DATA_CTL(val) bfin_write16(SDH_DATA_CTL, val) | ||
1291 | #define bfin_read_SDH_DATA_CNT() bfin_read16(SDH_DATA_CNT) | ||
1292 | #define bfin_write_SDH_DATA_CNT(val) bfin_write16(SDH_DATA_CNT, val) | ||
1293 | #define bfin_read_SDH_STATUS() bfin_read32(SDH_STATUS) | ||
1294 | #define bfin_write_SDH_STATUS(val) bfin_write32(SDH_STATUS, val) | ||
1295 | #define bfin_read_SDH_STATUS_CLR() bfin_read16(SDH_STATUS_CLR) | ||
1296 | #define bfin_write_SDH_STATUS_CLR(val) bfin_write16(SDH_STATUS_CLR, val) | ||
1297 | #define bfin_read_SDH_MASK0() bfin_read32(SDH_MASK0) | ||
1298 | #define bfin_write_SDH_MASK0(val) bfin_write32(SDH_MASK0, val) | ||
1299 | #define bfin_read_SDH_MASK1() bfin_read32(SDH_MASK1) | ||
1300 | #define bfin_write_SDH_MASK1(val) bfin_write32(SDH_MASK1, val) | ||
1301 | #define bfin_read_SDH_FIFO_CNT() bfin_read16(SDH_FIFO_CNT) | ||
1302 | #define bfin_write_SDH_FIFO_CNT(val) bfin_write16(SDH_FIFO_CNT, val) | ||
1303 | #define bfin_read_SDH_FIFO() bfin_read32(SDH_FIFO) | ||
1304 | #define bfin_write_SDH_FIFO(val) bfin_write32(SDH_FIFO, val) | ||
1305 | #define bfin_read_SDH_E_STATUS() bfin_read16(SDH_E_STATUS) | ||
1306 | #define bfin_write_SDH_E_STATUS(val) bfin_write16(SDH_E_STATUS, val) | ||
1307 | #define bfin_read_SDH_E_MASK() bfin_read16(SDH_E_MASK) | ||
1308 | #define bfin_write_SDH_E_MASK(val) bfin_write16(SDH_E_MASK, val) | ||
1309 | #define bfin_read_SDH_CFG() bfin_read16(SDH_CFG) | ||
1310 | #define bfin_write_SDH_CFG(val) bfin_write16(SDH_CFG, val) | ||
1311 | #define bfin_read_SDH_RD_WAIT_EN() bfin_read16(SDH_RD_WAIT_EN) | ||
1312 | #define bfin_write_SDH_RD_WAIT_EN(val) bfin_write16(SDH_RD_WAIT_EN, val) | ||
1313 | #define bfin_read_SDH_PID0() bfin_read16(SDH_PID0) | ||
1314 | #define bfin_write_SDH_PID0(val) bfin_write16(SDH_PID0, val) | ||
1315 | #define bfin_read_SDH_PID1() bfin_read16(SDH_PID1) | ||
1316 | #define bfin_write_SDH_PID1(val) bfin_write16(SDH_PID1, val) | ||
1317 | #define bfin_read_SDH_PID2() bfin_read16(SDH_PID2) | ||
1318 | #define bfin_write_SDH_PID2(val) bfin_write16(SDH_PID2, val) | ||
1319 | #define bfin_read_SDH_PID3() bfin_read16(SDH_PID3) | ||
1320 | #define bfin_write_SDH_PID3(val) bfin_write16(SDH_PID3, val) | ||
1321 | #define bfin_read_SDH_PID4() bfin_read16(SDH_PID4) | ||
1322 | #define bfin_write_SDH_PID4(val) bfin_write16(SDH_PID4, val) | ||
1323 | #define bfin_read_SDH_PID5() bfin_read16(SDH_PID5) | ||
1324 | #define bfin_write_SDH_PID5(val) bfin_write16(SDH_PID5, val) | ||
1325 | #define bfin_read_SDH_PID6() bfin_read16(SDH_PID6) | ||
1326 | #define bfin_write_SDH_PID6(val) bfin_write16(SDH_PID6, val) | ||
1327 | #define bfin_read_SDH_PID7() bfin_read16(SDH_PID7) | ||
1328 | #define bfin_write_SDH_PID7(val) bfin_write16(SDH_PID7, val) | ||
1329 | |||
1330 | /* HOST Port Registers */ | ||
1331 | |||
1332 | #define bfin_read_HOST_CONTROL() bfin_read16(HOST_CONTROL) | ||
1333 | #define bfin_write_HOST_CONTROL(val) bfin_write16(HOST_CONTROL, val) | ||
1334 | #define bfin_read_HOST_STATUS() bfin_read16(HOST_STATUS) | ||
1335 | #define bfin_write_HOST_STATUS(val) bfin_write16(HOST_STATUS, val) | ||
1336 | #define bfin_read_HOST_TIMEOUT() bfin_read16(HOST_TIMEOUT) | ||
1337 | #define bfin_write_HOST_TIMEOUT(val) bfin_write16(HOST_TIMEOUT, val) | ||
1338 | |||
1339 | /* USB Control Registers */ | ||
1340 | |||
1341 | #define bfin_read_USB_FADDR() bfin_read16(USB_FADDR) | ||
1342 | #define bfin_write_USB_FADDR(val) bfin_write16(USB_FADDR, val) | ||
1343 | #define bfin_read_USB_POWER() bfin_read16(USB_POWER) | ||
1344 | #define bfin_write_USB_POWER(val) bfin_write16(USB_POWER, val) | ||
1345 | #define bfin_read_USB_INTRTX() bfin_read16(USB_INTRTX) | ||
1346 | #define bfin_write_USB_INTRTX(val) bfin_write16(USB_INTRTX, val) | ||
1347 | #define bfin_read_USB_INTRRX() bfin_read16(USB_INTRRX) | ||
1348 | #define bfin_write_USB_INTRRX(val) bfin_write16(USB_INTRRX, val) | ||
1349 | #define bfin_read_USB_INTRTXE() bfin_read16(USB_INTRTXE) | ||
1350 | #define bfin_write_USB_INTRTXE(val) bfin_write16(USB_INTRTXE, val) | ||
1351 | #define bfin_read_USB_INTRRXE() bfin_read16(USB_INTRRXE) | ||
1352 | #define bfin_write_USB_INTRRXE(val) bfin_write16(USB_INTRRXE, val) | ||
1353 | #define bfin_read_USB_INTRUSB() bfin_read16(USB_INTRUSB) | ||
1354 | #define bfin_write_USB_INTRUSB(val) bfin_write16(USB_INTRUSB, val) | ||
1355 | #define bfin_read_USB_INTRUSBE() bfin_read16(USB_INTRUSBE) | ||
1356 | #define bfin_write_USB_INTRUSBE(val) bfin_write16(USB_INTRUSBE, val) | ||
1357 | #define bfin_read_USB_FRAME() bfin_read16(USB_FRAME) | ||
1358 | #define bfin_write_USB_FRAME(val) bfin_write16(USB_FRAME, val) | ||
1359 | #define bfin_read_USB_INDEX() bfin_read16(USB_INDEX) | ||
1360 | #define bfin_write_USB_INDEX(val) bfin_write16(USB_INDEX, val) | ||
1361 | #define bfin_read_USB_TESTMODE() bfin_read16(USB_TESTMODE) | ||
1362 | #define bfin_write_USB_TESTMODE(val) bfin_write16(USB_TESTMODE, val) | ||
1363 | #define bfin_read_USB_GLOBINTR() bfin_read16(USB_GLOBINTR) | ||
1364 | #define bfin_write_USB_GLOBINTR(val) bfin_write16(USB_GLOBINTR, val) | ||
1365 | #define bfin_read_USB_GLOBAL_CTL() bfin_read16(USB_GLOBAL_CTL) | ||
1366 | #define bfin_write_USB_GLOBAL_CTL(val) bfin_write16(USB_GLOBAL_CTL, val) | ||
1367 | |||
1368 | /* USB Packet Control Registers */ | ||
1369 | |||
1370 | #define bfin_read_USB_TX_MAX_PACKET() bfin_read16(USB_TX_MAX_PACKET) | ||
1371 | #define bfin_write_USB_TX_MAX_PACKET(val) bfin_write16(USB_TX_MAX_PACKET, val) | ||
1372 | #define bfin_read_USB_CSR0() bfin_read16(USB_CSR0) | ||
1373 | #define bfin_write_USB_CSR0(val) bfin_write16(USB_CSR0, val) | ||
1374 | #define bfin_read_USB_TXCSR() bfin_read16(USB_TXCSR) | ||
1375 | #define bfin_write_USB_TXCSR(val) bfin_write16(USB_TXCSR, val) | ||
1376 | #define bfin_read_USB_RX_MAX_PACKET() bfin_read16(USB_RX_MAX_PACKET) | ||
1377 | #define bfin_write_USB_RX_MAX_PACKET(val) bfin_write16(USB_RX_MAX_PACKET, val) | ||
1378 | #define bfin_read_USB_RXCSR() bfin_read16(USB_RXCSR) | ||
1379 | #define bfin_write_USB_RXCSR(val) bfin_write16(USB_RXCSR, val) | ||
1380 | #define bfin_read_USB_COUNT0() bfin_read16(USB_COUNT0) | ||
1381 | #define bfin_write_USB_COUNT0(val) bfin_write16(USB_COUNT0, val) | ||
1382 | #define bfin_read_USB_RXCOUNT() bfin_read16(USB_RXCOUNT) | ||
1383 | #define bfin_write_USB_RXCOUNT(val) bfin_write16(USB_RXCOUNT, val) | ||
1384 | #define bfin_read_USB_TXTYPE() bfin_read16(USB_TXTYPE) | ||
1385 | #define bfin_write_USB_TXTYPE(val) bfin_write16(USB_TXTYPE, val) | ||
1386 | #define bfin_read_USB_NAKLIMIT0() bfin_read16(USB_NAKLIMIT0) | ||
1387 | #define bfin_write_USB_NAKLIMIT0(val) bfin_write16(USB_NAKLIMIT0, val) | ||
1388 | #define bfin_read_USB_TXINTERVAL() bfin_read16(USB_TXINTERVAL) | ||
1389 | #define bfin_write_USB_TXINTERVAL(val) bfin_write16(USB_TXINTERVAL, val) | ||
1390 | #define bfin_read_USB_RXTYPE() bfin_read16(USB_RXTYPE) | ||
1391 | #define bfin_write_USB_RXTYPE(val) bfin_write16(USB_RXTYPE, val) | ||
1392 | #define bfin_read_USB_RXINTERVAL() bfin_read16(USB_RXINTERVAL) | ||
1393 | #define bfin_write_USB_RXINTERVAL(val) bfin_write16(USB_RXINTERVAL, val) | ||
1394 | #define bfin_read_USB_TXCOUNT() bfin_read16(USB_TXCOUNT) | ||
1395 | #define bfin_write_USB_TXCOUNT(val) bfin_write16(USB_TXCOUNT, val) | ||
1396 | |||
1397 | /* USB Endbfin_read_()oint FIFO Registers */ | ||
1398 | |||
1399 | #define bfin_read_USB_EP0_FIFO() bfin_read16(USB_EP0_FIFO) | ||
1400 | #define bfin_write_USB_EP0_FIFO(val) bfin_write16(USB_EP0_FIFO, val) | ||
1401 | #define bfin_read_USB_EP1_FIFO() bfin_read16(USB_EP1_FIFO) | ||
1402 | #define bfin_write_USB_EP1_FIFO(val) bfin_write16(USB_EP1_FIFO, val) | ||
1403 | #define bfin_read_USB_EP2_FIFO() bfin_read16(USB_EP2_FIFO) | ||
1404 | #define bfin_write_USB_EP2_FIFO(val) bfin_write16(USB_EP2_FIFO, val) | ||
1405 | #define bfin_read_USB_EP3_FIFO() bfin_read16(USB_EP3_FIFO) | ||
1406 | #define bfin_write_USB_EP3_FIFO(val) bfin_write16(USB_EP3_FIFO, val) | ||
1407 | #define bfin_read_USB_EP4_FIFO() bfin_read16(USB_EP4_FIFO) | ||
1408 | #define bfin_write_USB_EP4_FIFO(val) bfin_write16(USB_EP4_FIFO, val) | ||
1409 | #define bfin_read_USB_EP5_FIFO() bfin_read16(USB_EP5_FIFO) | ||
1410 | #define bfin_write_USB_EP5_FIFO(val) bfin_write16(USB_EP5_FIFO, val) | ||
1411 | #define bfin_read_USB_EP6_FIFO() bfin_read16(USB_EP6_FIFO) | ||
1412 | #define bfin_write_USB_EP6_FIFO(val) bfin_write16(USB_EP6_FIFO, val) | ||
1413 | #define bfin_read_USB_EP7_FIFO() bfin_read16(USB_EP7_FIFO) | ||
1414 | #define bfin_write_USB_EP7_FIFO(val) bfin_write16(USB_EP7_FIFO, val) | ||
1415 | |||
1416 | /* USB OTG Control Registers */ | ||
1417 | |||
1418 | #define bfin_read_USB_OTG_DEV_CTL() bfin_read16(USB_OTG_DEV_CTL) | ||
1419 | #define bfin_write_USB_OTG_DEV_CTL(val) bfin_write16(USB_OTG_DEV_CTL, val) | ||
1420 | #define bfin_read_USB_OTG_VBUS_IRQ() bfin_read16(USB_OTG_VBUS_IRQ) | ||
1421 | #define bfin_write_USB_OTG_VBUS_IRQ(val) bfin_write16(USB_OTG_VBUS_IRQ, val) | ||
1422 | #define bfin_read_USB_OTG_VBUS_MASK() bfin_read16(USB_OTG_VBUS_MASK) | ||
1423 | #define bfin_write_USB_OTG_VBUS_MASK(val) bfin_write16(USB_OTG_VBUS_MASK, val) | ||
1424 | |||
1425 | /* USB Phy Control Registers */ | ||
1426 | |||
1427 | #define bfin_read_USB_LINKINFO() bfin_read16(USB_LINKINFO) | ||
1428 | #define bfin_write_USB_LINKINFO(val) bfin_write16(USB_LINKINFO, val) | ||
1429 | #define bfin_read_USB_VPLEN() bfin_read16(USB_VPLEN) | ||
1430 | #define bfin_write_USB_VPLEN(val) bfin_write16(USB_VPLEN, val) | ||
1431 | #define bfin_read_USB_HS_EOF1() bfin_read16(USB_HS_EOF1) | ||
1432 | #define bfin_write_USB_HS_EOF1(val) bfin_write16(USB_HS_EOF1, val) | ||
1433 | #define bfin_read_USB_FS_EOF1() bfin_read16(USB_FS_EOF1) | ||
1434 | #define bfin_write_USB_FS_EOF1(val) bfin_write16(USB_FS_EOF1, val) | ||
1435 | #define bfin_read_USB_LS_EOF1() bfin_read16(USB_LS_EOF1) | ||
1436 | #define bfin_write_USB_LS_EOF1(val) bfin_write16(USB_LS_EOF1, val) | ||
1437 | |||
1438 | /* (APHY_CNTRL is for ADI usage only) */ | ||
1439 | |||
1440 | #define bfin_read_USB_APHY_CNTRL() bfin_read16(USB_APHY_CNTRL) | ||
1441 | #define bfin_write_USB_APHY_CNTRL(val) bfin_write16(USB_APHY_CNTRL, val) | ||
1442 | |||
1443 | /* (APHY_CALIB is for ADI usage only) */ | ||
1444 | |||
1445 | #define bfin_read_USB_APHY_CALIB() bfin_read16(USB_APHY_CALIB) | ||
1446 | #define bfin_write_USB_APHY_CALIB(val) bfin_write16(USB_APHY_CALIB, val) | ||
1447 | #define bfin_read_USB_APHY_CNTRL2() bfin_read16(USB_APHY_CNTRL2) | ||
1448 | #define bfin_write_USB_APHY_CNTRL2(val) bfin_write16(USB_APHY_CNTRL2, val) | ||
1449 | |||
1450 | /* (PHY_TEST is for ADI usage only) */ | ||
1451 | |||
1452 | #define bfin_read_USB_PHY_TEST() bfin_read16(USB_PHY_TEST) | ||
1453 | #define bfin_write_USB_PHY_TEST(val) bfin_write16(USB_PHY_TEST, val) | ||
1454 | #define bfin_read_USB_PLLOSC_CTRL() bfin_read16(USB_PLLOSC_CTRL) | ||
1455 | #define bfin_write_USB_PLLOSC_CTRL(val) bfin_write16(USB_PLLOSC_CTRL, val) | ||
1456 | #define bfin_read_USB_SRP_CLKDIV() bfin_read16(USB_SRP_CLKDIV) | ||
1457 | #define bfin_write_USB_SRP_CLKDIV(val) bfin_write16(USB_SRP_CLKDIV, val) | ||
1458 | |||
1459 | /* USB Endbfin_read_()oint 0 Control Registers */ | ||
1460 | |||
1461 | #define bfin_read_USB_EP_NI0_TXMAXP() bfin_read16(USB_EP_NI0_TXMAXP) | ||
1462 | #define bfin_write_USB_EP_NI0_TXMAXP(val) bfin_write16(USB_EP_NI0_TXMAXP, val) | ||
1463 | #define bfin_read_USB_EP_NI0_TXCSR() bfin_read16(USB_EP_NI0_TXCSR) | ||
1464 | #define bfin_write_USB_EP_NI0_TXCSR(val) bfin_write16(USB_EP_NI0_TXCSR, val) | ||
1465 | #define bfin_read_USB_EP_NI0_RXMAXP() bfin_read16(USB_EP_NI0_RXMAXP) | ||
1466 | #define bfin_write_USB_EP_NI0_RXMAXP(val) bfin_write16(USB_EP_NI0_RXMAXP, val) | ||
1467 | #define bfin_read_USB_EP_NI0_RXCSR() bfin_read16(USB_EP_NI0_RXCSR) | ||
1468 | #define bfin_write_USB_EP_NI0_RXCSR(val) bfin_write16(USB_EP_NI0_RXCSR, val) | ||
1469 | #define bfin_read_USB_EP_NI0_RXCOUNT() bfin_read16(USB_EP_NI0_RXCOUNT) | ||
1470 | #define bfin_write_USB_EP_NI0_RXCOUNT(val) bfin_write16(USB_EP_NI0_RXCOUNT, val) | ||
1471 | #define bfin_read_USB_EP_NI0_TXTYPE() bfin_read16(USB_EP_NI0_TXTYPE) | ||
1472 | #define bfin_write_USB_EP_NI0_TXTYPE(val) bfin_write16(USB_EP_NI0_TXTYPE, val) | ||
1473 | #define bfin_read_USB_EP_NI0_TXINTERVAL() bfin_read16(USB_EP_NI0_TXINTERVAL) | ||
1474 | #define bfin_write_USB_EP_NI0_TXINTERVAL(val) bfin_write16(USB_EP_NI0_TXINTERVAL, val) | ||
1475 | #define bfin_read_USB_EP_NI0_RXTYPE() bfin_read16(USB_EP_NI0_RXTYPE) | ||
1476 | #define bfin_write_USB_EP_NI0_RXTYPE(val) bfin_write16(USB_EP_NI0_RXTYPE, val) | ||
1477 | #define bfin_read_USB_EP_NI0_RXINTERVAL() bfin_read16(USB_EP_NI0_RXINTERVAL) | ||
1478 | #define bfin_write_USB_EP_NI0_RXINTERVAL(val) bfin_write16(USB_EP_NI0_RXINTERVAL, val) | ||
1479 | |||
1480 | /* USB Endbfin_read_()oint 1 Control Registers */ | ||
1481 | |||
1482 | #define bfin_read_USB_EP_NI0_TXCOUNT() bfin_read16(USB_EP_NI0_TXCOUNT) | ||
1483 | #define bfin_write_USB_EP_NI0_TXCOUNT(val) bfin_write16(USB_EP_NI0_TXCOUNT, val) | ||
1484 | #define bfin_read_USB_EP_NI1_TXMAXP() bfin_read16(USB_EP_NI1_TXMAXP) | ||
1485 | #define bfin_write_USB_EP_NI1_TXMAXP(val) bfin_write16(USB_EP_NI1_TXMAXP, val) | ||
1486 | #define bfin_read_USB_EP_NI1_TXCSR() bfin_read16(USB_EP_NI1_TXCSR) | ||
1487 | #define bfin_write_USB_EP_NI1_TXCSR(val) bfin_write16(USB_EP_NI1_TXCSR, val) | ||
1488 | #define bfin_read_USB_EP_NI1_RXMAXP() bfin_read16(USB_EP_NI1_RXMAXP) | ||
1489 | #define bfin_write_USB_EP_NI1_RXMAXP(val) bfin_write16(USB_EP_NI1_RXMAXP, val) | ||
1490 | #define bfin_read_USB_EP_NI1_RXCSR() bfin_read16(USB_EP_NI1_RXCSR) | ||
1491 | #define bfin_write_USB_EP_NI1_RXCSR(val) bfin_write16(USB_EP_NI1_RXCSR, val) | ||
1492 | #define bfin_read_USB_EP_NI1_RXCOUNT() bfin_read16(USB_EP_NI1_RXCOUNT) | ||
1493 | #define bfin_write_USB_EP_NI1_RXCOUNT(val) bfin_write16(USB_EP_NI1_RXCOUNT, val) | ||
1494 | #define bfin_read_USB_EP_NI1_TXTYPE() bfin_read16(USB_EP_NI1_TXTYPE) | ||
1495 | #define bfin_write_USB_EP_NI1_TXTYPE(val) bfin_write16(USB_EP_NI1_TXTYPE, val) | ||
1496 | #define bfin_read_USB_EP_NI1_TXINTERVAL() bfin_read16(USB_EP_NI1_TXINTERVAL) | ||
1497 | #define bfin_write_USB_EP_NI1_TXINTERVAL(val) bfin_write16(USB_EP_NI1_TXINTERVAL, val) | ||
1498 | #define bfin_read_USB_EP_NI1_RXTYPE() bfin_read16(USB_EP_NI1_RXTYPE) | ||
1499 | #define bfin_write_USB_EP_NI1_RXTYPE(val) bfin_write16(USB_EP_NI1_RXTYPE, val) | ||
1500 | #define bfin_read_USB_EP_NI1_RXINTERVAL() bfin_read16(USB_EP_NI1_RXINTERVAL) | ||
1501 | #define bfin_write_USB_EP_NI1_RXINTERVAL(val) bfin_write16(USB_EP_NI1_RXINTERVAL, val) | ||
1502 | |||
1503 | /* USB Endbfin_read_()oint 2 Control Registers */ | ||
1504 | |||
1505 | #define bfin_read_USB_EP_NI1_TXCOUNT() bfin_read16(USB_EP_NI1_TXCOUNT) | ||
1506 | #define bfin_write_USB_EP_NI1_TXCOUNT(val) bfin_write16(USB_EP_NI1_TXCOUNT, val) | ||
1507 | #define bfin_read_USB_EP_NI2_TXMAXP() bfin_read16(USB_EP_NI2_TXMAXP) | ||
1508 | #define bfin_write_USB_EP_NI2_TXMAXP(val) bfin_write16(USB_EP_NI2_TXMAXP, val) | ||
1509 | #define bfin_read_USB_EP_NI2_TXCSR() bfin_read16(USB_EP_NI2_TXCSR) | ||
1510 | #define bfin_write_USB_EP_NI2_TXCSR(val) bfin_write16(USB_EP_NI2_TXCSR, val) | ||
1511 | #define bfin_read_USB_EP_NI2_RXMAXP() bfin_read16(USB_EP_NI2_RXMAXP) | ||
1512 | #define bfin_write_USB_EP_NI2_RXMAXP(val) bfin_write16(USB_EP_NI2_RXMAXP, val) | ||
1513 | #define bfin_read_USB_EP_NI2_RXCSR() bfin_read16(USB_EP_NI2_RXCSR) | ||
1514 | #define bfin_write_USB_EP_NI2_RXCSR(val) bfin_write16(USB_EP_NI2_RXCSR, val) | ||
1515 | #define bfin_read_USB_EP_NI2_RXCOUNT() bfin_read16(USB_EP_NI2_RXCOUNT) | ||
1516 | #define bfin_write_USB_EP_NI2_RXCOUNT(val) bfin_write16(USB_EP_NI2_RXCOUNT, val) | ||
1517 | #define bfin_read_USB_EP_NI2_TXTYPE() bfin_read16(USB_EP_NI2_TXTYPE) | ||
1518 | #define bfin_write_USB_EP_NI2_TXTYPE(val) bfin_write16(USB_EP_NI2_TXTYPE, val) | ||
1519 | #define bfin_read_USB_EP_NI2_TXINTERVAL() bfin_read16(USB_EP_NI2_TXINTERVAL) | ||
1520 | #define bfin_write_USB_EP_NI2_TXINTERVAL(val) bfin_write16(USB_EP_NI2_TXINTERVAL, val) | ||
1521 | #define bfin_read_USB_EP_NI2_RXTYPE() bfin_read16(USB_EP_NI2_RXTYPE) | ||
1522 | #define bfin_write_USB_EP_NI2_RXTYPE(val) bfin_write16(USB_EP_NI2_RXTYPE, val) | ||
1523 | #define bfin_read_USB_EP_NI2_RXINTERVAL() bfin_read16(USB_EP_NI2_RXINTERVAL) | ||
1524 | #define bfin_write_USB_EP_NI2_RXINTERVAL(val) bfin_write16(USB_EP_NI2_RXINTERVAL, val) | ||
1525 | |||
1526 | /* USB Endbfin_read_()oint 3 Control Registers */ | ||
1527 | |||
1528 | #define bfin_read_USB_EP_NI2_TXCOUNT() bfin_read16(USB_EP_NI2_TXCOUNT) | ||
1529 | #define bfin_write_USB_EP_NI2_TXCOUNT(val) bfin_write16(USB_EP_NI2_TXCOUNT, val) | ||
1530 | #define bfin_read_USB_EP_NI3_TXMAXP() bfin_read16(USB_EP_NI3_TXMAXP) | ||
1531 | #define bfin_write_USB_EP_NI3_TXMAXP(val) bfin_write16(USB_EP_NI3_TXMAXP, val) | ||
1532 | #define bfin_read_USB_EP_NI3_TXCSR() bfin_read16(USB_EP_NI3_TXCSR) | ||
1533 | #define bfin_write_USB_EP_NI3_TXCSR(val) bfin_write16(USB_EP_NI3_TXCSR, val) | ||
1534 | #define bfin_read_USB_EP_NI3_RXMAXP() bfin_read16(USB_EP_NI3_RXMAXP) | ||
1535 | #define bfin_write_USB_EP_NI3_RXMAXP(val) bfin_write16(USB_EP_NI3_RXMAXP, val) | ||
1536 | #define bfin_read_USB_EP_NI3_RXCSR() bfin_read16(USB_EP_NI3_RXCSR) | ||
1537 | #define bfin_write_USB_EP_NI3_RXCSR(val) bfin_write16(USB_EP_NI3_RXCSR, val) | ||
1538 | #define bfin_read_USB_EP_NI3_RXCOUNT() bfin_read16(USB_EP_NI3_RXCOUNT) | ||
1539 | #define bfin_write_USB_EP_NI3_RXCOUNT(val) bfin_write16(USB_EP_NI3_RXCOUNT, val) | ||
1540 | #define bfin_read_USB_EP_NI3_TXTYPE() bfin_read16(USB_EP_NI3_TXTYPE) | ||
1541 | #define bfin_write_USB_EP_NI3_TXTYPE(val) bfin_write16(USB_EP_NI3_TXTYPE, val) | ||
1542 | #define bfin_read_USB_EP_NI3_TXINTERVAL() bfin_read16(USB_EP_NI3_TXINTERVAL) | ||
1543 | #define bfin_write_USB_EP_NI3_TXINTERVAL(val) bfin_write16(USB_EP_NI3_TXINTERVAL, val) | ||
1544 | #define bfin_read_USB_EP_NI3_RXTYPE() bfin_read16(USB_EP_NI3_RXTYPE) | ||
1545 | #define bfin_write_USB_EP_NI3_RXTYPE(val) bfin_write16(USB_EP_NI3_RXTYPE, val) | ||
1546 | #define bfin_read_USB_EP_NI3_RXINTERVAL() bfin_read16(USB_EP_NI3_RXINTERVAL) | ||
1547 | #define bfin_write_USB_EP_NI3_RXINTERVAL(val) bfin_write16(USB_EP_NI3_RXINTERVAL, val) | ||
1548 | |||
1549 | /* USB Endbfin_read_()oint 4 Control Registers */ | ||
1550 | |||
1551 | #define bfin_read_USB_EP_NI3_TXCOUNT() bfin_read16(USB_EP_NI3_TXCOUNT) | ||
1552 | #define bfin_write_USB_EP_NI3_TXCOUNT(val) bfin_write16(USB_EP_NI3_TXCOUNT, val) | ||
1553 | #define bfin_read_USB_EP_NI4_TXMAXP() bfin_read16(USB_EP_NI4_TXMAXP) | ||
1554 | #define bfin_write_USB_EP_NI4_TXMAXP(val) bfin_write16(USB_EP_NI4_TXMAXP, val) | ||
1555 | #define bfin_read_USB_EP_NI4_TXCSR() bfin_read16(USB_EP_NI4_TXCSR) | ||
1556 | #define bfin_write_USB_EP_NI4_TXCSR(val) bfin_write16(USB_EP_NI4_TXCSR, val) | ||
1557 | #define bfin_read_USB_EP_NI4_RXMAXP() bfin_read16(USB_EP_NI4_RXMAXP) | ||
1558 | #define bfin_write_USB_EP_NI4_RXMAXP(val) bfin_write16(USB_EP_NI4_RXMAXP, val) | ||
1559 | #define bfin_read_USB_EP_NI4_RXCSR() bfin_read16(USB_EP_NI4_RXCSR) | ||
1560 | #define bfin_write_USB_EP_NI4_RXCSR(val) bfin_write16(USB_EP_NI4_RXCSR, val) | ||
1561 | #define bfin_read_USB_EP_NI4_RXCOUNT() bfin_read16(USB_EP_NI4_RXCOUNT) | ||
1562 | #define bfin_write_USB_EP_NI4_RXCOUNT(val) bfin_write16(USB_EP_NI4_RXCOUNT, val) | ||
1563 | #define bfin_read_USB_EP_NI4_TXTYPE() bfin_read16(USB_EP_NI4_TXTYPE) | ||
1564 | #define bfin_write_USB_EP_NI4_TXTYPE(val) bfin_write16(USB_EP_NI4_TXTYPE, val) | ||
1565 | #define bfin_read_USB_EP_NI4_TXINTERVAL() bfin_read16(USB_EP_NI4_TXINTERVAL) | ||
1566 | #define bfin_write_USB_EP_NI4_TXINTERVAL(val) bfin_write16(USB_EP_NI4_TXINTERVAL, val) | ||
1567 | #define bfin_read_USB_EP_NI4_RXTYPE() bfin_read16(USB_EP_NI4_RXTYPE) | ||
1568 | #define bfin_write_USB_EP_NI4_RXTYPE(val) bfin_write16(USB_EP_NI4_RXTYPE, val) | ||
1569 | #define bfin_read_USB_EP_NI4_RXINTERVAL() bfin_read16(USB_EP_NI4_RXINTERVAL) | ||
1570 | #define bfin_write_USB_EP_NI4_RXINTERVAL(val) bfin_write16(USB_EP_NI4_RXINTERVAL, val) | ||
1571 | |||
1572 | /* USB Endbfin_read_()oint 5 Control Registers */ | ||
1573 | |||
1574 | #define bfin_read_USB_EP_NI4_TXCOUNT() bfin_read16(USB_EP_NI4_TXCOUNT) | ||
1575 | #define bfin_write_USB_EP_NI4_TXCOUNT(val) bfin_write16(USB_EP_NI4_TXCOUNT, val) | ||
1576 | #define bfin_read_USB_EP_NI5_TXMAXP() bfin_read16(USB_EP_NI5_TXMAXP) | ||
1577 | #define bfin_write_USB_EP_NI5_TXMAXP(val) bfin_write16(USB_EP_NI5_TXMAXP, val) | ||
1578 | #define bfin_read_USB_EP_NI5_TXCSR() bfin_read16(USB_EP_NI5_TXCSR) | ||
1579 | #define bfin_write_USB_EP_NI5_TXCSR(val) bfin_write16(USB_EP_NI5_TXCSR, val) | ||
1580 | #define bfin_read_USB_EP_NI5_RXMAXP() bfin_read16(USB_EP_NI5_RXMAXP) | ||
1581 | #define bfin_write_USB_EP_NI5_RXMAXP(val) bfin_write16(USB_EP_NI5_RXMAXP, val) | ||
1582 | #define bfin_read_USB_EP_NI5_RXCSR() bfin_read16(USB_EP_NI5_RXCSR) | ||
1583 | #define bfin_write_USB_EP_NI5_RXCSR(val) bfin_write16(USB_EP_NI5_RXCSR, val) | ||
1584 | #define bfin_read_USB_EP_NI5_RXCOUNT() bfin_read16(USB_EP_NI5_RXCOUNT) | ||
1585 | #define bfin_write_USB_EP_NI5_RXCOUNT(val) bfin_write16(USB_EP_NI5_RXCOUNT, val) | ||
1586 | #define bfin_read_USB_EP_NI5_TXTYPE() bfin_read16(USB_EP_NI5_TXTYPE) | ||
1587 | #define bfin_write_USB_EP_NI5_TXTYPE(val) bfin_write16(USB_EP_NI5_TXTYPE, val) | ||
1588 | #define bfin_read_USB_EP_NI5_TXINTERVAL() bfin_read16(USB_EP_NI5_TXINTERVAL) | ||
1589 | #define bfin_write_USB_EP_NI5_TXINTERVAL(val) bfin_write16(USB_EP_NI5_TXINTERVAL, val) | ||
1590 | #define bfin_read_USB_EP_NI5_RXTYPE() bfin_read16(USB_EP_NI5_RXTYPE) | ||
1591 | #define bfin_write_USB_EP_NI5_RXTYPE(val) bfin_write16(USB_EP_NI5_RXTYPE, val) | ||
1592 | #define bfin_read_USB_EP_NI5_RXINTERVAL() bfin_read16(USB_EP_NI5_RXINTERVAL) | ||
1593 | #define bfin_write_USB_EP_NI5_RXINTERVAL(val) bfin_write16(USB_EP_NI5_RXINTERVAL, val) | ||
1594 | |||
1595 | /* USB Endbfin_read_()oint 6 Control Registers */ | ||
1596 | |||
1597 | #define bfin_read_USB_EP_NI5_TXCOUNT() bfin_read16(USB_EP_NI5_TXCOUNT) | ||
1598 | #define bfin_write_USB_EP_NI5_TXCOUNT(val) bfin_write16(USB_EP_NI5_TXCOUNT, val) | ||
1599 | #define bfin_read_USB_EP_NI6_TXMAXP() bfin_read16(USB_EP_NI6_TXMAXP) | ||
1600 | #define bfin_write_USB_EP_NI6_TXMAXP(val) bfin_write16(USB_EP_NI6_TXMAXP, val) | ||
1601 | #define bfin_read_USB_EP_NI6_TXCSR() bfin_read16(USB_EP_NI6_TXCSR) | ||
1602 | #define bfin_write_USB_EP_NI6_TXCSR(val) bfin_write16(USB_EP_NI6_TXCSR, val) | ||
1603 | #define bfin_read_USB_EP_NI6_RXMAXP() bfin_read16(USB_EP_NI6_RXMAXP) | ||
1604 | #define bfin_write_USB_EP_NI6_RXMAXP(val) bfin_write16(USB_EP_NI6_RXMAXP, val) | ||
1605 | #define bfin_read_USB_EP_NI6_RXCSR() bfin_read16(USB_EP_NI6_RXCSR) | ||
1606 | #define bfin_write_USB_EP_NI6_RXCSR(val) bfin_write16(USB_EP_NI6_RXCSR, val) | ||
1607 | #define bfin_read_USB_EP_NI6_RXCOUNT() bfin_read16(USB_EP_NI6_RXCOUNT) | ||
1608 | #define bfin_write_USB_EP_NI6_RXCOUNT(val) bfin_write16(USB_EP_NI6_RXCOUNT, val) | ||
1609 | #define bfin_read_USB_EP_NI6_TXTYPE() bfin_read16(USB_EP_NI6_TXTYPE) | ||
1610 | #define bfin_write_USB_EP_NI6_TXTYPE(val) bfin_write16(USB_EP_NI6_TXTYPE, val) | ||
1611 | #define bfin_read_USB_EP_NI6_TXINTERVAL() bfin_read16(USB_EP_NI6_TXINTERVAL) | ||
1612 | #define bfin_write_USB_EP_NI6_TXINTERVAL(val) bfin_write16(USB_EP_NI6_TXINTERVAL, val) | ||
1613 | #define bfin_read_USB_EP_NI6_RXTYPE() bfin_read16(USB_EP_NI6_RXTYPE) | ||
1614 | #define bfin_write_USB_EP_NI6_RXTYPE(val) bfin_write16(USB_EP_NI6_RXTYPE, val) | ||
1615 | #define bfin_read_USB_EP_NI6_RXINTERVAL() bfin_read16(USB_EP_NI6_RXINTERVAL) | ||
1616 | #define bfin_write_USB_EP_NI6_RXINTERVAL(val) bfin_write16(USB_EP_NI6_RXINTERVAL, val) | ||
1617 | |||
1618 | /* USB Endbfin_read_()oint 7 Control Registers */ | ||
1619 | |||
1620 | #define bfin_read_USB_EP_NI6_TXCOUNT() bfin_read16(USB_EP_NI6_TXCOUNT) | ||
1621 | #define bfin_write_USB_EP_NI6_TXCOUNT(val) bfin_write16(USB_EP_NI6_TXCOUNT, val) | ||
1622 | #define bfin_read_USB_EP_NI7_TXMAXP() bfin_read16(USB_EP_NI7_TXMAXP) | ||
1623 | #define bfin_write_USB_EP_NI7_TXMAXP(val) bfin_write16(USB_EP_NI7_TXMAXP, val) | ||
1624 | #define bfin_read_USB_EP_NI7_TXCSR() bfin_read16(USB_EP_NI7_TXCSR) | ||
1625 | #define bfin_write_USB_EP_NI7_TXCSR(val) bfin_write16(USB_EP_NI7_TXCSR, val) | ||
1626 | #define bfin_read_USB_EP_NI7_RXMAXP() bfin_read16(USB_EP_NI7_RXMAXP) | ||
1627 | #define bfin_write_USB_EP_NI7_RXMAXP(val) bfin_write16(USB_EP_NI7_RXMAXP, val) | ||
1628 | #define bfin_read_USB_EP_NI7_RXCSR() bfin_read16(USB_EP_NI7_RXCSR) | ||
1629 | #define bfin_write_USB_EP_NI7_RXCSR(val) bfin_write16(USB_EP_NI7_RXCSR, val) | ||
1630 | #define bfin_read_USB_EP_NI7_RXCOUNT() bfin_read16(USB_EP_NI7_RXCOUNT) | ||
1631 | #define bfin_write_USB_EP_NI7_RXCOUNT(val) bfin_write16(USB_EP_NI7_RXCOUNT, val) | ||
1632 | #define bfin_read_USB_EP_NI7_TXTYPE() bfin_read16(USB_EP_NI7_TXTYPE) | ||
1633 | #define bfin_write_USB_EP_NI7_TXTYPE(val) bfin_write16(USB_EP_NI7_TXTYPE, val) | ||
1634 | #define bfin_read_USB_EP_NI7_TXINTERVAL() bfin_read16(USB_EP_NI7_TXINTERVAL) | ||
1635 | #define bfin_write_USB_EP_NI7_TXINTERVAL(val) bfin_write16(USB_EP_NI7_TXINTERVAL, val) | ||
1636 | #define bfin_read_USB_EP_NI7_RXTYPE() bfin_read16(USB_EP_NI7_RXTYPE) | ||
1637 | #define bfin_write_USB_EP_NI7_RXTYPE(val) bfin_write16(USB_EP_NI7_RXTYPE, val) | ||
1638 | #define bfin_read_USB_EP_NI7_RXINTERVAL() bfin_read16(USB_EP_NI7_RXINTERVAL) | ||
1639 | #define bfin_write_USB_EP_NI7_RXINTERVAL(val) bfin_write16(USB_EP_NI7_RXINTERVAL, val) | ||
1640 | #define bfin_read_USB_EP_NI7_TXCOUNT() bfin_read16(USB_EP_NI7_TXCOUNT) | ||
1641 | #define bfin_write_USB_EP_NI7_TXCOUNT(val) bfin_write16(USB_EP_NI7_TXCOUNT, val) | ||
1642 | #define bfin_read_USB_DMA_INTERRUPT() bfin_read16(USB_DMA_INTERRUPT) | ||
1643 | #define bfin_write_USB_DMA_INTERRUPT(val) bfin_write16(USB_DMA_INTERRUPT, val) | ||
1644 | |||
1645 | /* USB Channel 0 Config Registers */ | ||
1646 | |||
1647 | #define bfin_read_USB_DMA0CONTROL() bfin_read16(USB_DMA0CONTROL) | ||
1648 | #define bfin_write_USB_DMA0CONTROL(val) bfin_write16(USB_DMA0CONTROL, val) | ||
1649 | #define bfin_read_USB_DMA0ADDRLOW() bfin_read16(USB_DMA0ADDRLOW) | ||
1650 | #define bfin_write_USB_DMA0ADDRLOW(val) bfin_write16(USB_DMA0ADDRLOW, val) | ||
1651 | #define bfin_read_USB_DMA0ADDRHIGH() bfin_read16(USB_DMA0ADDRHIGH) | ||
1652 | #define bfin_write_USB_DMA0ADDRHIGH(val) bfin_write16(USB_DMA0ADDRHIGH, val) | ||
1653 | #define bfin_read_USB_DMA0COUNTLOW() bfin_read16(USB_DMA0COUNTLOW) | ||
1654 | #define bfin_write_USB_DMA0COUNTLOW(val) bfin_write16(USB_DMA0COUNTLOW, val) | ||
1655 | #define bfin_read_USB_DMA0COUNTHIGH() bfin_read16(USB_DMA0COUNTHIGH) | ||
1656 | #define bfin_write_USB_DMA0COUNTHIGH(val) bfin_write16(USB_DMA0COUNTHIGH, val) | ||
1657 | |||
1658 | /* USB Channel 1 Config Registers */ | ||
1659 | |||
1660 | #define bfin_read_USB_DMA1CONTROL() bfin_read16(USB_DMA1CONTROL) | ||
1661 | #define bfin_write_USB_DMA1CONTROL(val) bfin_write16(USB_DMA1CONTROL, val) | ||
1662 | #define bfin_read_USB_DMA1ADDRLOW() bfin_read16(USB_DMA1ADDRLOW) | ||
1663 | #define bfin_write_USB_DMA1ADDRLOW(val) bfin_write16(USB_DMA1ADDRLOW, val) | ||
1664 | #define bfin_read_USB_DMA1ADDRHIGH() bfin_read16(USB_DMA1ADDRHIGH) | ||
1665 | #define bfin_write_USB_DMA1ADDRHIGH(val) bfin_write16(USB_DMA1ADDRHIGH, val) | ||
1666 | #define bfin_read_USB_DMA1COUNTLOW() bfin_read16(USB_DMA1COUNTLOW) | ||
1667 | #define bfin_write_USB_DMA1COUNTLOW(val) bfin_write16(USB_DMA1COUNTLOW, val) | ||
1668 | #define bfin_read_USB_DMA1COUNTHIGH() bfin_read16(USB_DMA1COUNTHIGH) | ||
1669 | #define bfin_write_USB_DMA1COUNTHIGH(val) bfin_write16(USB_DMA1COUNTHIGH, val) | ||
1670 | |||
1671 | /* USB Channel 2 Config Registers */ | ||
1672 | |||
1673 | #define bfin_read_USB_DMA2CONTROL() bfin_read16(USB_DMA2CONTROL) | ||
1674 | #define bfin_write_USB_DMA2CONTROL(val) bfin_write16(USB_DMA2CONTROL, val) | ||
1675 | #define bfin_read_USB_DMA2ADDRLOW() bfin_read16(USB_DMA2ADDRLOW) | ||
1676 | #define bfin_write_USB_DMA2ADDRLOW(val) bfin_write16(USB_DMA2ADDRLOW, val) | ||
1677 | #define bfin_read_USB_DMA2ADDRHIGH() bfin_read16(USB_DMA2ADDRHIGH) | ||
1678 | #define bfin_write_USB_DMA2ADDRHIGH(val) bfin_write16(USB_DMA2ADDRHIGH, val) | ||
1679 | #define bfin_read_USB_DMA2COUNTLOW() bfin_read16(USB_DMA2COUNTLOW) | ||
1680 | #define bfin_write_USB_DMA2COUNTLOW(val) bfin_write16(USB_DMA2COUNTLOW, val) | ||
1681 | #define bfin_read_USB_DMA2COUNTHIGH() bfin_read16(USB_DMA2COUNTHIGH) | ||
1682 | #define bfin_write_USB_DMA2COUNTHIGH(val) bfin_write16(USB_DMA2COUNTHIGH, val) | ||
1683 | |||
1684 | /* USB Channel 3 Config Registers */ | ||
1685 | |||
1686 | #define bfin_read_USB_DMA3CONTROL() bfin_read16(USB_DMA3CONTROL) | ||
1687 | #define bfin_write_USB_DMA3CONTROL(val) bfin_write16(USB_DMA3CONTROL, val) | ||
1688 | #define bfin_read_USB_DMA3ADDRLOW() bfin_read16(USB_DMA3ADDRLOW) | ||
1689 | #define bfin_write_USB_DMA3ADDRLOW(val) bfin_write16(USB_DMA3ADDRLOW, val) | ||
1690 | #define bfin_read_USB_DMA3ADDRHIGH() bfin_read16(USB_DMA3ADDRHIGH) | ||
1691 | #define bfin_write_USB_DMA3ADDRHIGH(val) bfin_write16(USB_DMA3ADDRHIGH, val) | ||
1692 | #define bfin_read_USB_DMA3COUNTLOW() bfin_read16(USB_DMA3COUNTLOW) | ||
1693 | #define bfin_write_USB_DMA3COUNTLOW(val) bfin_write16(USB_DMA3COUNTLOW, val) | ||
1694 | #define bfin_read_USB_DMA3COUNTHIGH() bfin_read16(USB_DMA3COUNTHIGH) | ||
1695 | #define bfin_write_USB_DMA3COUNTHIGH(val) bfin_write16(USB_DMA3COUNTHIGH, val) | ||
1696 | |||
1697 | /* USB Channel 4 Config Registers */ | ||
1698 | |||
1699 | #define bfin_read_USB_DMA4CONTROL() bfin_read16(USB_DMA4CONTROL) | ||
1700 | #define bfin_write_USB_DMA4CONTROL(val) bfin_write16(USB_DMA4CONTROL, val) | ||
1701 | #define bfin_read_USB_DMA4ADDRLOW() bfin_read16(USB_DMA4ADDRLOW) | ||
1702 | #define bfin_write_USB_DMA4ADDRLOW(val) bfin_write16(USB_DMA4ADDRLOW, val) | ||
1703 | #define bfin_read_USB_DMA4ADDRHIGH() bfin_read16(USB_DMA4ADDRHIGH) | ||
1704 | #define bfin_write_USB_DMA4ADDRHIGH(val) bfin_write16(USB_DMA4ADDRHIGH, val) | ||
1705 | #define bfin_read_USB_DMA4COUNTLOW() bfin_read16(USB_DMA4COUNTLOW) | ||
1706 | #define bfin_write_USB_DMA4COUNTLOW(val) bfin_write16(USB_DMA4COUNTLOW, val) | ||
1707 | #define bfin_read_USB_DMA4COUNTHIGH() bfin_read16(USB_DMA4COUNTHIGH) | ||
1708 | #define bfin_write_USB_DMA4COUNTHIGH(val) bfin_write16(USB_DMA4COUNTHIGH, val) | ||
1709 | |||
1710 | /* USB Channel 5 Config Registers */ | ||
1711 | |||
1712 | #define bfin_read_USB_DMA5CONTROL() bfin_read16(USB_DMA5CONTROL) | ||
1713 | #define bfin_write_USB_DMA5CONTROL(val) bfin_write16(USB_DMA5CONTROL, val) | ||
1714 | #define bfin_read_USB_DMA5ADDRLOW() bfin_read16(USB_DMA5ADDRLOW) | ||
1715 | #define bfin_write_USB_DMA5ADDRLOW(val) bfin_write16(USB_DMA5ADDRLOW, val) | ||
1716 | #define bfin_read_USB_DMA5ADDRHIGH() bfin_read16(USB_DMA5ADDRHIGH) | ||
1717 | #define bfin_write_USB_DMA5ADDRHIGH(val) bfin_write16(USB_DMA5ADDRHIGH, val) | ||
1718 | #define bfin_read_USB_DMA5COUNTLOW() bfin_read16(USB_DMA5COUNTLOW) | ||
1719 | #define bfin_write_USB_DMA5COUNTLOW(val) bfin_write16(USB_DMA5COUNTLOW, val) | ||
1720 | #define bfin_read_USB_DMA5COUNTHIGH() bfin_read16(USB_DMA5COUNTHIGH) | ||
1721 | #define bfin_write_USB_DMA5COUNTHIGH(val) bfin_write16(USB_DMA5COUNTHIGH, val) | ||
1722 | |||
1723 | /* USB Channel 6 Config Registers */ | ||
1724 | |||
1725 | #define bfin_read_USB_DMA6CONTROL() bfin_read16(USB_DMA6CONTROL) | ||
1726 | #define bfin_write_USB_DMA6CONTROL(val) bfin_write16(USB_DMA6CONTROL, val) | ||
1727 | #define bfin_read_USB_DMA6ADDRLOW() bfin_read16(USB_DMA6ADDRLOW) | ||
1728 | #define bfin_write_USB_DMA6ADDRLOW(val) bfin_write16(USB_DMA6ADDRLOW, val) | ||
1729 | #define bfin_read_USB_DMA6ADDRHIGH() bfin_read16(USB_DMA6ADDRHIGH) | ||
1730 | #define bfin_write_USB_DMA6ADDRHIGH(val) bfin_write16(USB_DMA6ADDRHIGH, val) | ||
1731 | #define bfin_read_USB_DMA6COUNTLOW() bfin_read16(USB_DMA6COUNTLOW) | ||
1732 | #define bfin_write_USB_DMA6COUNTLOW(val) bfin_write16(USB_DMA6COUNTLOW, val) | ||
1733 | #define bfin_read_USB_DMA6COUNTHIGH() bfin_read16(USB_DMA6COUNTHIGH) | ||
1734 | #define bfin_write_USB_DMA6COUNTHIGH(val) bfin_write16(USB_DMA6COUNTHIGH, val) | ||
1735 | |||
1736 | /* USB Channel 7 Config Registers */ | ||
1737 | |||
1738 | #define bfin_read_USB_DMA7CONTROL() bfin_read16(USB_DMA7CONTROL) | ||
1739 | #define bfin_write_USB_DMA7CONTROL(val) bfin_write16(USB_DMA7CONTROL, val) | ||
1740 | #define bfin_read_USB_DMA7ADDRLOW() bfin_read16(USB_DMA7ADDRLOW) | ||
1741 | #define bfin_write_USB_DMA7ADDRLOW(val) bfin_write16(USB_DMA7ADDRLOW, val) | ||
1742 | #define bfin_read_USB_DMA7ADDRHIGH() bfin_read16(USB_DMA7ADDRHIGH) | ||
1743 | #define bfin_write_USB_DMA7ADDRHIGH(val) bfin_write16(USB_DMA7ADDRHIGH, val) | ||
1744 | #define bfin_read_USB_DMA7COUNTLOW() bfin_read16(USB_DMA7COUNTLOW) | ||
1745 | #define bfin_write_USB_DMA7COUNTLOW(val) bfin_write16(USB_DMA7COUNTLOW, val) | ||
1746 | #define bfin_read_USB_DMA7COUNTHIGH() bfin_read16(USB_DMA7COUNTHIGH) | ||
1747 | #define bfin_write_USB_DMA7COUNTHIGH(val) bfin_write16(USB_DMA7COUNTHIGH, val) | ||
1748 | |||
1749 | /* Keybfin_read_()ad Registers */ | ||
1750 | |||
1751 | #define bfin_read_KPAD_CTL() bfin_read16(KPAD_CTL) | ||
1752 | #define bfin_write_KPAD_CTL(val) bfin_write16(KPAD_CTL, val) | ||
1753 | #define bfin_read_KPAD_PRESCALE() bfin_read16(KPAD_PRESCALE) | ||
1754 | #define bfin_write_KPAD_PRESCALE(val) bfin_write16(KPAD_PRESCALE, val) | ||
1755 | #define bfin_read_KPAD_MSEL() bfin_read16(KPAD_MSEL) | ||
1756 | #define bfin_write_KPAD_MSEL(val) bfin_write16(KPAD_MSEL, val) | ||
1757 | #define bfin_read_KPAD_ROWCOL() bfin_read16(KPAD_ROWCOL) | ||
1758 | #define bfin_write_KPAD_ROWCOL(val) bfin_write16(KPAD_ROWCOL, val) | ||
1759 | #define bfin_read_KPAD_STAT() bfin_read16(KPAD_STAT) | ||
1760 | #define bfin_write_KPAD_STAT(val) bfin_write16(KPAD_STAT, val) | ||
1761 | #define bfin_read_KPAD_SOFTEVAL() bfin_read16(KPAD_SOFTEVAL) | ||
1762 | #define bfin_write_KPAD_SOFTEVAL(val) bfin_write16(KPAD_SOFTEVAL, val) | ||
1763 | |||
1764 | /* Pixel Combfin_read_()ositor (PIXC) Registers */ | ||
1765 | |||
1766 | #define bfin_read_PIXC_CTL() bfin_read16(PIXC_CTL) | ||
1767 | #define bfin_write_PIXC_CTL(val) bfin_write16(PIXC_CTL, val) | ||
1768 | #define bfin_read_PIXC_PPL() bfin_read16(PIXC_PPL) | ||
1769 | #define bfin_write_PIXC_PPL(val) bfin_write16(PIXC_PPL, val) | ||
1770 | #define bfin_read_PIXC_LPF() bfin_read16(PIXC_LPF) | ||
1771 | #define bfin_write_PIXC_LPF(val) bfin_write16(PIXC_LPF, val) | ||
1772 | #define bfin_read_PIXC_AHSTART() bfin_read16(PIXC_AHSTART) | ||
1773 | #define bfin_write_PIXC_AHSTART(val) bfin_write16(PIXC_AHSTART, val) | ||
1774 | #define bfin_read_PIXC_AHEND() bfin_read16(PIXC_AHEND) | ||
1775 | #define bfin_write_PIXC_AHEND(val) bfin_write16(PIXC_AHEND, val) | ||
1776 | #define bfin_read_PIXC_AVSTART() bfin_read16(PIXC_AVSTART) | ||
1777 | #define bfin_write_PIXC_AVSTART(val) bfin_write16(PIXC_AVSTART, val) | ||
1778 | #define bfin_read_PIXC_AVEND() bfin_read16(PIXC_AVEND) | ||
1779 | #define bfin_write_PIXC_AVEND(val) bfin_write16(PIXC_AVEND, val) | ||
1780 | #define bfin_read_PIXC_ATRANSP() bfin_read16(PIXC_ATRANSP) | ||
1781 | #define bfin_write_PIXC_ATRANSP(val) bfin_write16(PIXC_ATRANSP, val) | ||
1782 | #define bfin_read_PIXC_BHSTART() bfin_read16(PIXC_BHSTART) | ||
1783 | #define bfin_write_PIXC_BHSTART(val) bfin_write16(PIXC_BHSTART, val) | ||
1784 | #define bfin_read_PIXC_BHEND() bfin_read16(PIXC_BHEND) | ||
1785 | #define bfin_write_PIXC_BHEND(val) bfin_write16(PIXC_BHEND, val) | ||
1786 | #define bfin_read_PIXC_BVSTART() bfin_read16(PIXC_BVSTART) | ||
1787 | #define bfin_write_PIXC_BVSTART(val) bfin_write16(PIXC_BVSTART, val) | ||
1788 | #define bfin_read_PIXC_BVEND() bfin_read16(PIXC_BVEND) | ||
1789 | #define bfin_write_PIXC_BVEND(val) bfin_write16(PIXC_BVEND, val) | ||
1790 | #define bfin_read_PIXC_BTRANSP() bfin_read16(PIXC_BTRANSP) | ||
1791 | #define bfin_write_PIXC_BTRANSP(val) bfin_write16(PIXC_BTRANSP, val) | ||
1792 | #define bfin_read_PIXC_INTRSTAT() bfin_read16(PIXC_INTRSTAT) | ||
1793 | #define bfin_write_PIXC_INTRSTAT(val) bfin_write16(PIXC_INTRSTAT, val) | ||
1794 | #define bfin_read_PIXC_RYCON() bfin_read32(PIXC_RYCON) | ||
1795 | #define bfin_write_PIXC_RYCON(val) bfin_write32(PIXC_RYCON, val) | ||
1796 | #define bfin_read_PIXC_GUCON() bfin_read32(PIXC_GUCON) | ||
1797 | #define bfin_write_PIXC_GUCON(val) bfin_write32(PIXC_GUCON, val) | ||
1798 | #define bfin_read_PIXC_BVCON() bfin_read32(PIXC_BVCON) | ||
1799 | #define bfin_write_PIXC_BVCON(val) bfin_write32(PIXC_BVCON, val) | ||
1800 | #define bfin_read_PIXC_CCBIAS() bfin_read32(PIXC_CCBIAS) | ||
1801 | #define bfin_write_PIXC_CCBIAS(val) bfin_write32(PIXC_CCBIAS, val) | ||
1802 | #define bfin_read_PIXC_TC() bfin_read32(PIXC_TC) | ||
1803 | #define bfin_write_PIXC_TC(val) bfin_write32(PIXC_TC, val) | ||
1804 | |||
1805 | /* Handshake MDMA 0 Registers */ | ||
1806 | |||
1807 | #define bfin_read_HMDMA0_CONTROL() bfin_read16(HMDMA0_CONTROL) | ||
1808 | #define bfin_write_HMDMA0_CONTROL(val) bfin_write16(HMDMA0_CONTROL, val) | ||
1809 | #define bfin_read_HMDMA0_ECINIT() bfin_read16(HMDMA0_ECINIT) | ||
1810 | #define bfin_write_HMDMA0_ECINIT(val) bfin_write16(HMDMA0_ECINIT, val) | ||
1811 | #define bfin_read_HMDMA0_BCINIT() bfin_read16(HMDMA0_BCINIT) | ||
1812 | #define bfin_write_HMDMA0_BCINIT(val) bfin_write16(HMDMA0_BCINIT, val) | ||
1813 | #define bfin_read_HMDMA0_ECURGENT() bfin_read16(HMDMA0_ECURGENT) | ||
1814 | #define bfin_write_HMDMA0_ECURGENT(val) bfin_write16(HMDMA0_ECURGENT, val) | ||
1815 | #define bfin_read_HMDMA0_ECOVERFLOW() bfin_read16(HMDMA0_ECOVERFLOW) | ||
1816 | #define bfin_write_HMDMA0_ECOVERFLOW(val) bfin_write16(HMDMA0_ECOVERFLOW, val) | ||
1817 | #define bfin_read_HMDMA0_ECOUNT() bfin_read16(HMDMA0_ECOUNT) | ||
1818 | #define bfin_write_HMDMA0_ECOUNT(val) bfin_write16(HMDMA0_ECOUNT, val) | ||
1819 | #define bfin_read_HMDMA0_BCOUNT() bfin_read16(HMDMA0_BCOUNT) | ||
1820 | #define bfin_write_HMDMA0_BCOUNT(val) bfin_write16(HMDMA0_BCOUNT, val) | ||
1821 | |||
1822 | /* Handshake MDMA 1 Registers */ | ||
1823 | |||
1824 | #define bfin_read_HMDMA1_CONTROL() bfin_read16(HMDMA1_CONTROL) | ||
1825 | #define bfin_write_HMDMA1_CONTROL(val) bfin_write16(HMDMA1_CONTROL, val) | ||
1826 | #define bfin_read_HMDMA1_ECINIT() bfin_read16(HMDMA1_ECINIT) | ||
1827 | #define bfin_write_HMDMA1_ECINIT(val) bfin_write16(HMDMA1_ECINIT, val) | ||
1828 | #define bfin_read_HMDMA1_BCINIT() bfin_read16(HMDMA1_BCINIT) | ||
1829 | #define bfin_write_HMDMA1_BCINIT(val) bfin_write16(HMDMA1_BCINIT, val) | ||
1830 | #define bfin_read_HMDMA1_ECURGENT() bfin_read16(HMDMA1_ECURGENT) | ||
1831 | #define bfin_write_HMDMA1_ECURGENT(val) bfin_write16(HMDMA1_ECURGENT, val) | ||
1832 | #define bfin_read_HMDMA1_ECOVERFLOW() bfin_read16(HMDMA1_ECOVERFLOW) | ||
1833 | #define bfin_write_HMDMA1_ECOVERFLOW(val) bfin_write16(HMDMA1_ECOVERFLOW, val) | ||
1834 | #define bfin_read_HMDMA1_ECOUNT() bfin_read16(HMDMA1_ECOUNT) | ||
1835 | #define bfin_write_HMDMA1_ECOUNT(val) bfin_write16(HMDMA1_ECOUNT, val) | ||
1836 | #define bfin_read_HMDMA1_BCOUNT() bfin_read16(HMDMA1_BCOUNT) | ||
1837 | #define bfin_write_HMDMA1_BCOUNT(val) bfin_write16(HMDMA1_BCOUNT, val) | ||
1838 | |||
1839 | #endif /* _CDEF_BF549_H */ | 310 | #endif /* _CDEF_BF549_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h index a2e9d9849eba..32f71e6a7c15 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h | |||
@@ -2615,17 +2615,6 @@ | |||
2615 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) | 2615 | #define bfin_read_CNT_MIN() bfin_read32(CNT_MIN) |
2616 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) | 2616 | #define bfin_write_CNT_MIN(val) bfin_write32(CNT_MIN, val) |
2617 | 2617 | ||
2618 | /* OTP/FUSE Registers */ | ||
2619 | |||
2620 | #define bfin_read_OTP_CONTROL() bfin_read16(OTP_CONTROL) | ||
2621 | #define bfin_write_OTP_CONTROL(val) bfin_write16(OTP_CONTROL, val) | ||
2622 | #define bfin_read_OTP_BEN() bfin_read16(OTP_BEN) | ||
2623 | #define bfin_write_OTP_BEN(val) bfin_write16(OTP_BEN, val) | ||
2624 | #define bfin_read_OTP_STATUS() bfin_read16(OTP_STATUS) | ||
2625 | #define bfin_write_OTP_STATUS(val) bfin_write16(OTP_STATUS, val) | ||
2626 | #define bfin_read_OTP_TIMING() bfin_read32(OTP_TIMING) | ||
2627 | #define bfin_write_OTP_TIMING(val) bfin_write32(OTP_TIMING, val) | ||
2628 | |||
2629 | /* Security Registers */ | 2618 | /* Security Registers */ |
2630 | 2619 | ||
2631 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) | 2620 | #define bfin_read_SECURE_SYSSWT() bfin_read32(SECURE_SYSSWT) |
@@ -2640,17 +2629,6 @@ | |||
2640 | #define bfin_read_DMAC1_PERIMUX() bfin_read16(DMAC1_PERIMUX) | 2629 | #define bfin_read_DMAC1_PERIMUX() bfin_read16(DMAC1_PERIMUX) |
2641 | #define bfin_write_DMAC1_PERIMUX(val) bfin_write16(DMAC1_PERIMUX, val) | 2630 | #define bfin_write_DMAC1_PERIMUX(val) bfin_write16(DMAC1_PERIMUX, val) |
2642 | 2631 | ||
2643 | /* OTP Read/Write Data Buffer Registers */ | ||
2644 | |||
2645 | #define bfin_read_OTP_DATA0() bfin_read32(OTP_DATA0) | ||
2646 | #define bfin_write_OTP_DATA0(val) bfin_write32(OTP_DATA0, val) | ||
2647 | #define bfin_read_OTP_DATA1() bfin_read32(OTP_DATA1) | ||
2648 | #define bfin_write_OTP_DATA1(val) bfin_write32(OTP_DATA1, val) | ||
2649 | #define bfin_read_OTP_DATA2() bfin_read32(OTP_DATA2) | ||
2650 | #define bfin_write_OTP_DATA2(val) bfin_write32(OTP_DATA2, val) | ||
2651 | #define bfin_read_OTP_DATA3() bfin_read32(OTP_DATA3) | ||
2652 | #define bfin_write_OTP_DATA3(val) bfin_write32(OTP_DATA3, val) | ||
2653 | |||
2654 | /* Handshake MDMA is not defined in the shared file because it is not available on the ADSP-BF542 bfin_read_()rocessor */ | 2632 | /* Handshake MDMA is not defined in the shared file because it is not available on the ADSP-BF542 bfin_read_()rocessor */ |
2655 | 2633 | ||
2656 | /* legacy definitions */ | 2634 | /* legacy definitions */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF544.h b/arch/blackfin/mach-bf548/include/mach/defBF544.h index 39f588dcd382..f916c52a148a 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF544.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF544.h | |||
@@ -624,9 +624,9 @@ | |||
624 | #define DMA_READY 0x1 /* DMA Ready */ | 624 | #define DMA_READY 0x1 /* DMA Ready */ |
625 | #define FIFOFULL 0x2 /* FIFO Full */ | 625 | #define FIFOFULL 0x2 /* FIFO Full */ |
626 | #define FIFOEMPTY 0x4 /* FIFO Empty */ | 626 | #define FIFOEMPTY 0x4 /* FIFO Empty */ |
627 | #define COMPLETE 0x8 /* DMA Complete */ | 627 | #define DMA_COMPLETE 0x8 /* DMA Complete */ |
628 | #define HSHK 0x10 /* Host Handshake */ | 628 | #define HSHK 0x10 /* Host Handshake */ |
629 | #define TIMEOUT 0x20 /* Host Timeout */ | 629 | #define HSTIMEOUT 0x20 /* Host Timeout */ |
630 | #define HIRQ 0x40 /* Host Interrupt Request */ | 630 | #define HIRQ 0x40 /* Host Interrupt Request */ |
631 | #define ALLOW_CNFG 0x80 /* Allow New Configuration */ | 631 | #define ALLOW_CNFG 0x80 /* Allow New Configuration */ |
632 | #define DMA_DIR 0x100 /* DMA Direction */ | 632 | #define DMA_DIR 0x100 /* DMA Direction */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF547.h b/arch/blackfin/mach-bf548/include/mach/defBF547.h index c4dcf302d9f5..72c343646b2a 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF547.h | |||
@@ -4,18 +4,18 @@ | |||
4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef _DEF_BF548_H | 7 | #ifndef _DEF_BF547_H |
8 | #define _DEF_BF548_H | 8 | #define _DEF_BF547_H |
9 | 9 | ||
10 | /* Include all Core registers and bit definitions */ | 10 | /* Include all Core registers and bit definitions */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include <asm/def_LPBlackfin.h> |
12 | 12 | ||
13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF548 */ | 13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF547 */ |
14 | 14 | ||
15 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ | 15 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ |
16 | #include "defBF54x_base.h" | 16 | #include "defBF54x_base.h" |
17 | 17 | ||
18 | /* The following are the #defines needed by ADSP-BF548 that are not in the common header */ | 18 | /* The following are the #defines needed by ADSP-BF547 that are not in the common header */ |
19 | 19 | ||
20 | /* Timer Registers */ | 20 | /* Timer Registers */ |
21 | 21 | ||
@@ -1217,4 +1217,4 @@ | |||
1217 | /* ******************************************* */ | 1217 | /* ******************************************* */ |
1218 | 1218 | ||
1219 | 1219 | ||
1220 | #endif /* _DEF_BF548_H */ | 1220 | #endif /* _DEF_BF547_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF548.h b/arch/blackfin/mach-bf548/include/mach/defBF548.h index a5079980968c..3fb33b040ab7 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF548.h | |||
@@ -15,115 +15,8 @@ | |||
15 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ | 15 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ |
16 | #include "defBF54x_base.h" | 16 | #include "defBF54x_base.h" |
17 | 17 | ||
18 | /* The following are the #defines needed by ADSP-BF548 that are not in the common header */ | 18 | /* The BF548 is like the BF547, but has additional CANs */ |
19 | 19 | #include "defBF547.h" | |
20 | /* Timer Registers */ | ||
21 | |||
22 | #define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */ | ||
23 | #define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */ | ||
24 | #define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */ | ||
25 | #define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */ | ||
26 | #define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */ | ||
27 | #define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */ | ||
28 | #define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */ | ||
29 | #define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */ | ||
30 | #define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */ | ||
31 | #define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */ | ||
32 | #define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */ | ||
33 | #define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */ | ||
34 | |||
35 | /* Timer Group of 3 Registers */ | ||
36 | |||
37 | #define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */ | ||
38 | #define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */ | ||
39 | #define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */ | ||
40 | |||
41 | /* SPORT0 Registers */ | ||
42 | |||
43 | #define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */ | ||
44 | #define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */ | ||
45 | #define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */ | ||
46 | #define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */ | ||
47 | #define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */ | ||
48 | #define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */ | ||
49 | #define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */ | ||
50 | #define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */ | ||
51 | #define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */ | ||
52 | #define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */ | ||
53 | #define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */ | ||
54 | #define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */ | ||
55 | #define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */ | ||
56 | #define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */ | ||
57 | #define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */ | ||
58 | #define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */ | ||
59 | #define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */ | ||
60 | #define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */ | ||
61 | #define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */ | ||
62 | #define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */ | ||
63 | #define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */ | ||
64 | #define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */ | ||
65 | |||
66 | /* EPPI0 Registers */ | ||
67 | |||
68 | #define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */ | ||
69 | #define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */ | ||
70 | #define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */ | ||
71 | #define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */ | ||
72 | #define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */ | ||
73 | #define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */ | ||
74 | #define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */ | ||
75 | #define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */ | ||
76 | #define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */ | ||
77 | #define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */ | ||
78 | #define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */ | ||
79 | #define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */ | ||
80 | #define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */ | ||
81 | #define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */ | ||
82 | |||
83 | /* UART2 Registers */ | ||
84 | |||
85 | #define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */ | ||
86 | #define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */ | ||
87 | #define UART2_GCTL 0xffc02108 /* Global Control Register */ | ||
88 | #define UART2_LCR 0xffc0210c /* Line Control Register */ | ||
89 | #define UART2_MCR 0xffc02110 /* Modem Control Register */ | ||
90 | #define UART2_LSR 0xffc02114 /* Line Status Register */ | ||
91 | #define UART2_MSR 0xffc02118 /* Modem Status Register */ | ||
92 | #define UART2_SCR 0xffc0211c /* Scratch Register */ | ||
93 | #define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */ | ||
94 | #define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */ | ||
95 | #define UART2_RBR 0xffc0212c /* Receive Buffer Register */ | ||
96 | |||
97 | /* Two Wire Interface Registers (TWI1) */ | ||
98 | |||
99 | #define TWI1_REGBASE 0xffc02200 | ||
100 | #define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */ | ||
101 | #define TWI1_CONTROL 0xffc02204 /* TWI Control Register */ | ||
102 | #define TWI1_SLAVE_CTRL 0xffc02208 /* TWI Slave Mode Control Register */ | ||
103 | #define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */ | ||
104 | #define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */ | ||
105 | #define TWI1_MASTER_CTRL 0xffc02214 /* TWI Master Mode Control Register */ | ||
106 | #define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */ | ||
107 | #define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */ | ||
108 | #define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */ | ||
109 | #define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */ | ||
110 | #define TWI1_FIFO_CTRL 0xffc02228 /* TWI FIFO Control Register */ | ||
111 | #define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */ | ||
112 | #define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */ | ||
113 | #define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */ | ||
114 | #define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */ | ||
115 | #define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */ | ||
116 | |||
117 | /* SPI2 Registers */ | ||
118 | |||
119 | #define SPI2_REGBASE 0xffc02400 | ||
120 | #define SPI2_CTL 0xffc02400 /* SPI2 Control Register */ | ||
121 | #define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */ | ||
122 | #define SPI2_STAT 0xffc02408 /* SPI2 Status Register */ | ||
123 | #define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */ | ||
124 | #define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */ | ||
125 | #define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */ | ||
126 | #define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */ | ||
127 | 20 | ||
128 | /* CAN Controller 1 Config 1 Registers */ | 21 | /* CAN Controller 1 Config 1 Registers */ |
129 | 22 | ||
@@ -508,1096 +401,4 @@ | |||
508 | #define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */ | 401 | #define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */ |
509 | #define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */ | 402 | #define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */ |
510 | 403 | ||
511 | /* ATAPI Registers */ | ||
512 | |||
513 | #define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */ | ||
514 | #define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */ | ||
515 | #define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */ | ||
516 | #define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */ | ||
517 | #define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */ | ||
518 | #define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */ | ||
519 | #define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */ | ||
520 | #define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */ | ||
521 | #define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */ | ||
522 | #define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */ | ||
523 | #define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */ | ||
524 | #define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */ | ||
525 | #define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */ | ||
526 | #define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */ | ||
527 | #define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */ | ||
528 | #define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */ | ||
529 | #define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */ | ||
530 | #define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */ | ||
531 | #define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */ | ||
532 | #define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */ | ||
533 | #define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */ | ||
534 | #define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */ | ||
535 | #define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */ | ||
536 | #define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */ | ||
537 | #define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */ | ||
538 | |||
539 | /* SDH Registers */ | ||
540 | |||
541 | #define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */ | ||
542 | #define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */ | ||
543 | #define SDH_ARGUMENT 0xffc03908 /* SDH Argument */ | ||
544 | #define SDH_COMMAND 0xffc0390c /* SDH Command */ | ||
545 | #define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */ | ||
546 | #define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */ | ||
547 | #define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */ | ||
548 | #define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */ | ||
549 | #define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */ | ||
550 | #define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */ | ||
551 | #define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */ | ||
552 | #define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */ | ||
553 | #define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */ | ||
554 | #define SDH_STATUS 0xffc03934 /* SDH Status */ | ||
555 | #define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */ | ||
556 | #define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */ | ||
557 | #define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */ | ||
558 | #define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */ | ||
559 | #define SDH_FIFO 0xffc03980 /* SDH Data FIFO */ | ||
560 | #define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */ | ||
561 | #define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */ | ||
562 | #define SDH_CFG 0xffc039c8 /* SDH Configuration */ | ||
563 | #define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */ | ||
564 | #define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */ | ||
565 | #define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */ | ||
566 | #define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */ | ||
567 | #define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */ | ||
568 | #define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */ | ||
569 | #define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */ | ||
570 | #define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */ | ||
571 | #define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */ | ||
572 | |||
573 | /* HOST Port Registers */ | ||
574 | |||
575 | #define HOST_CONTROL 0xffc03a00 /* HOST Control Register */ | ||
576 | #define HOST_STATUS 0xffc03a04 /* HOST Status Register */ | ||
577 | #define HOST_TIMEOUT 0xffc03a08 /* HOST Acknowledge Mode Timeout Register */ | ||
578 | |||
579 | /* USB Control Registers */ | ||
580 | |||
581 | #define USB_FADDR 0xffc03c00 /* Function address register */ | ||
582 | #define USB_POWER 0xffc03c04 /* Power management register */ | ||
583 | #define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */ | ||
584 | #define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */ | ||
585 | #define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */ | ||
586 | #define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */ | ||
587 | #define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */ | ||
588 | #define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */ | ||
589 | #define USB_FRAME 0xffc03c20 /* USB frame number */ | ||
590 | #define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */ | ||
591 | #define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */ | ||
592 | #define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */ | ||
593 | #define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */ | ||
594 | |||
595 | /* USB Packet Control Registers */ | ||
596 | |||
597 | #define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */ | ||
598 | #define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
599 | #define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
600 | #define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */ | ||
601 | #define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */ | ||
602 | #define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
603 | #define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
604 | #define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */ | ||
605 | #define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
606 | #define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
607 | #define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */ | ||
608 | #define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */ | ||
609 | #define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
610 | |||
611 | /* USB Endpoint FIFO Registers */ | ||
612 | |||
613 | #define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */ | ||
614 | #define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */ | ||
615 | #define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */ | ||
616 | #define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */ | ||
617 | #define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */ | ||
618 | #define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */ | ||
619 | #define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */ | ||
620 | #define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */ | ||
621 | |||
622 | /* USB OTG Control Registers */ | ||
623 | |||
624 | #define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */ | ||
625 | #define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */ | ||
626 | #define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */ | ||
627 | |||
628 | /* USB Phy Control Registers */ | ||
629 | |||
630 | #define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */ | ||
631 | #define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */ | ||
632 | #define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */ | ||
633 | #define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */ | ||
634 | #define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */ | ||
635 | |||
636 | /* (APHY_CNTRL is for ADI usage only) */ | ||
637 | |||
638 | #define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */ | ||
639 | |||
640 | /* (APHY_CALIB is for ADI usage only) */ | ||
641 | |||
642 | #define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */ | ||
643 | #define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */ | ||
644 | |||
645 | /* (PHY_TEST is for ADI usage only) */ | ||
646 | |||
647 | #define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */ | ||
648 | #define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */ | ||
649 | #define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */ | ||
650 | |||
651 | /* USB Endpoint 0 Control Registers */ | ||
652 | |||
653 | #define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */ | ||
654 | #define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */ | ||
655 | #define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */ | ||
656 | #define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */ | ||
657 | #define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */ | ||
658 | #define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */ | ||
659 | #define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */ | ||
660 | #define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */ | ||
661 | #define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */ | ||
662 | |||
663 | /* USB Endpoint 1 Control Registers */ | ||
664 | |||
665 | #define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */ | ||
666 | #define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */ | ||
667 | #define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */ | ||
668 | #define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */ | ||
669 | #define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */ | ||
670 | #define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */ | ||
671 | #define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */ | ||
672 | #define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */ | ||
673 | #define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */ | ||
674 | #define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */ | ||
675 | |||
676 | /* USB Endpoint 2 Control Registers */ | ||
677 | |||
678 | #define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */ | ||
679 | #define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */ | ||
680 | #define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */ | ||
681 | #define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */ | ||
682 | #define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */ | ||
683 | #define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */ | ||
684 | #define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */ | ||
685 | #define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */ | ||
686 | #define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */ | ||
687 | #define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */ | ||
688 | |||
689 | /* USB Endpoint 3 Control Registers */ | ||
690 | |||
691 | #define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */ | ||
692 | #define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */ | ||
693 | #define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */ | ||
694 | #define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */ | ||
695 | #define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */ | ||
696 | #define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */ | ||
697 | #define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */ | ||
698 | #define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */ | ||
699 | #define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */ | ||
700 | #define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */ | ||
701 | |||
702 | /* USB Endpoint 4 Control Registers */ | ||
703 | |||
704 | #define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */ | ||
705 | #define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */ | ||
706 | #define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */ | ||
707 | #define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */ | ||
708 | #define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */ | ||
709 | #define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */ | ||
710 | #define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */ | ||
711 | #define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */ | ||
712 | #define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */ | ||
713 | #define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */ | ||
714 | |||
715 | /* USB Endpoint 5 Control Registers */ | ||
716 | |||
717 | #define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */ | ||
718 | #define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */ | ||
719 | #define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */ | ||
720 | #define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */ | ||
721 | #define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */ | ||
722 | #define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */ | ||
723 | #define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */ | ||
724 | #define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */ | ||
725 | #define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */ | ||
726 | #define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */ | ||
727 | |||
728 | /* USB Endpoint 6 Control Registers */ | ||
729 | |||
730 | #define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */ | ||
731 | #define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */ | ||
732 | #define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */ | ||
733 | #define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */ | ||
734 | #define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */ | ||
735 | #define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */ | ||
736 | #define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */ | ||
737 | #define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */ | ||
738 | #define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */ | ||
739 | #define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */ | ||
740 | |||
741 | /* USB Endpoint 7 Control Registers */ | ||
742 | |||
743 | #define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */ | ||
744 | #define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */ | ||
745 | #define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */ | ||
746 | #define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */ | ||
747 | #define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */ | ||
748 | #define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */ | ||
749 | #define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */ | ||
750 | #define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */ | ||
751 | #define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */ | ||
752 | #define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */ | ||
753 | #define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */ | ||
754 | #define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */ | ||
755 | |||
756 | /* USB Channel 0 Config Registers */ | ||
757 | |||
758 | #define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */ | ||
759 | #define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */ | ||
760 | #define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */ | ||
761 | #define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
762 | #define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
763 | |||
764 | /* USB Channel 1 Config Registers */ | ||
765 | |||
766 | #define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */ | ||
767 | #define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */ | ||
768 | #define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */ | ||
769 | #define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
770 | #define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
771 | |||
772 | /* USB Channel 2 Config Registers */ | ||
773 | |||
774 | #define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */ | ||
775 | #define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */ | ||
776 | #define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */ | ||
777 | #define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
778 | #define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
779 | |||
780 | /* USB Channel 3 Config Registers */ | ||
781 | |||
782 | #define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */ | ||
783 | #define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */ | ||
784 | #define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */ | ||
785 | #define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
786 | #define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
787 | |||
788 | /* USB Channel 4 Config Registers */ | ||
789 | |||
790 | #define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */ | ||
791 | #define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */ | ||
792 | #define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */ | ||
793 | #define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
794 | #define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
795 | |||
796 | /* USB Channel 5 Config Registers */ | ||
797 | |||
798 | #define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */ | ||
799 | #define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */ | ||
800 | #define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */ | ||
801 | #define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
802 | #define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
803 | |||
804 | /* USB Channel 6 Config Registers */ | ||
805 | |||
806 | #define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */ | ||
807 | #define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */ | ||
808 | #define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */ | ||
809 | #define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
810 | #define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
811 | |||
812 | /* USB Channel 7 Config Registers */ | ||
813 | |||
814 | #define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */ | ||
815 | #define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */ | ||
816 | #define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */ | ||
817 | #define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
818 | #define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
819 | |||
820 | /* Keypad Registers */ | ||
821 | |||
822 | #define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */ | ||
823 | #define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */ | ||
824 | #define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */ | ||
825 | #define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */ | ||
826 | #define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */ | ||
827 | #define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */ | ||
828 | |||
829 | /* Pixel Compositor (PIXC) Registers */ | ||
830 | |||
831 | #define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */ | ||
832 | #define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */ | ||
833 | #define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */ | ||
834 | #define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */ | ||
835 | #define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */ | ||
836 | #define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */ | ||
837 | #define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */ | ||
838 | #define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */ | ||
839 | #define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */ | ||
840 | #define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */ | ||
841 | #define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */ | ||
842 | #define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */ | ||
843 | #define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */ | ||
844 | #define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */ | ||
845 | #define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */ | ||
846 | #define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */ | ||
847 | #define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */ | ||
848 | #define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */ | ||
849 | #define PIXC_TC 0xffc04450 /* Holds the transparent color value */ | ||
850 | |||
851 | /* Handshake MDMA 0 Registers */ | ||
852 | |||
853 | #define HMDMA0_CONTROL 0xffc04500 /* Handshake MDMA0 Control Register */ | ||
854 | #define HMDMA0_ECINIT 0xffc04504 /* Handshake MDMA0 Initial Edge Count Register */ | ||
855 | #define HMDMA0_BCINIT 0xffc04508 /* Handshake MDMA0 Initial Block Count Register */ | ||
856 | #define HMDMA0_ECURGENT 0xffc0450c /* Handshake MDMA0 Urgent Edge Count Threshold Register */ | ||
857 | #define HMDMA0_ECOVERFLOW 0xffc04510 /* Handshake MDMA0 Edge Count Overflow Interrupt Register */ | ||
858 | #define HMDMA0_ECOUNT 0xffc04514 /* Handshake MDMA0 Current Edge Count Register */ | ||
859 | #define HMDMA0_BCOUNT 0xffc04518 /* Handshake MDMA0 Current Block Count Register */ | ||
860 | |||
861 | /* Handshake MDMA 1 Registers */ | ||
862 | |||
863 | #define HMDMA1_CONTROL 0xffc04540 /* Handshake MDMA1 Control Register */ | ||
864 | #define HMDMA1_ECINIT 0xffc04544 /* Handshake MDMA1 Initial Edge Count Register */ | ||
865 | #define HMDMA1_BCINIT 0xffc04548 /* Handshake MDMA1 Initial Block Count Register */ | ||
866 | #define HMDMA1_ECURGENT 0xffc0454c /* Handshake MDMA1 Urgent Edge Count Threshold Register */ | ||
867 | #define HMDMA1_ECOVERFLOW 0xffc04550 /* Handshake MDMA1 Edge Count Overflow Interrupt Register */ | ||
868 | #define HMDMA1_ECOUNT 0xffc04554 /* Handshake MDMA1 Current Edge Count Register */ | ||
869 | #define HMDMA1_BCOUNT 0xffc04558 /* Handshake MDMA1 Current Block Count Register */ | ||
870 | |||
871 | |||
872 | /* ********************************************************** */ | ||
873 | /* SINGLE BIT MACRO PAIRS (bit mask and negated one) */ | ||
874 | /* and MULTI BIT READ MACROS */ | ||
875 | /* ********************************************************** */ | ||
876 | |||
877 | /* Bit masks for PIXC_CTL */ | ||
878 | |||
879 | #define PIXC_EN 0x1 /* Pixel Compositor Enable */ | ||
880 | #define OVR_A_EN 0x2 /* Overlay A Enable */ | ||
881 | #define OVR_B_EN 0x4 /* Overlay B Enable */ | ||
882 | #define IMG_FORM 0x8 /* Image Data Format */ | ||
883 | #define OVR_FORM 0x10 /* Overlay Data Format */ | ||
884 | #define OUT_FORM 0x20 /* Output Data Format */ | ||
885 | #define UDS_MOD 0x40 /* Resampling Mode */ | ||
886 | #define TC_EN 0x80 /* Transparent Color Enable */ | ||
887 | #define IMG_STAT 0x300 /* Image FIFO Status */ | ||
888 | #define OVR_STAT 0xc00 /* Overlay FIFO Status */ | ||
889 | #define WM_LVL 0x3000 /* FIFO Watermark Level */ | ||
890 | |||
891 | /* Bit masks for PIXC_AHSTART */ | ||
892 | |||
893 | #define A_HSTART 0xfff /* Horizontal Start Coordinates */ | ||
894 | |||
895 | /* Bit masks for PIXC_AHEND */ | ||
896 | |||
897 | #define A_HEND 0xfff /* Horizontal End Coordinates */ | ||
898 | |||
899 | /* Bit masks for PIXC_AVSTART */ | ||
900 | |||
901 | #define A_VSTART 0x3ff /* Vertical Start Coordinates */ | ||
902 | |||
903 | /* Bit masks for PIXC_AVEND */ | ||
904 | |||
905 | #define A_VEND 0x3ff /* Vertical End Coordinates */ | ||
906 | |||
907 | /* Bit masks for PIXC_ATRANSP */ | ||
908 | |||
909 | #define A_TRANSP 0xf /* Transparency Value */ | ||
910 | |||
911 | /* Bit masks for PIXC_BHSTART */ | ||
912 | |||
913 | #define B_HSTART 0xfff /* Horizontal Start Coordinates */ | ||
914 | |||
915 | /* Bit masks for PIXC_BHEND */ | ||
916 | |||
917 | #define B_HEND 0xfff /* Horizontal End Coordinates */ | ||
918 | |||
919 | /* Bit masks for PIXC_BVSTART */ | ||
920 | |||
921 | #define B_VSTART 0x3ff /* Vertical Start Coordinates */ | ||
922 | |||
923 | /* Bit masks for PIXC_BVEND */ | ||
924 | |||
925 | #define B_VEND 0x3ff /* Vertical End Coordinates */ | ||
926 | |||
927 | /* Bit masks for PIXC_BTRANSP */ | ||
928 | |||
929 | #define B_TRANSP 0xf /* Transparency Value */ | ||
930 | |||
931 | /* Bit masks for PIXC_INTRSTAT */ | ||
932 | |||
933 | #define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */ | ||
934 | #define FRM_INT_EN 0x2 /* Interrupt at End of Frame */ | ||
935 | #define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */ | ||
936 | #define FRM_INT_STAT 0x8 /* Frame Interrupt Status */ | ||
937 | |||
938 | /* Bit masks for PIXC_RYCON */ | ||
939 | |||
940 | #define A11 0x3ff /* A11 in the Coefficient Matrix */ | ||
941 | #define A12 0xffc00 /* A12 in the Coefficient Matrix */ | ||
942 | #define A13 0x3ff00000 /* A13 in the Coefficient Matrix */ | ||
943 | #define RY_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
944 | |||
945 | /* Bit masks for PIXC_GUCON */ | ||
946 | |||
947 | #define A21 0x3ff /* A21 in the Coefficient Matrix */ | ||
948 | #define A22 0xffc00 /* A22 in the Coefficient Matrix */ | ||
949 | #define A23 0x3ff00000 /* A23 in the Coefficient Matrix */ | ||
950 | #define GU_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
951 | |||
952 | /* Bit masks for PIXC_BVCON */ | ||
953 | |||
954 | #define A31 0x3ff /* A31 in the Coefficient Matrix */ | ||
955 | #define A32 0xffc00 /* A32 in the Coefficient Matrix */ | ||
956 | #define A33 0x3ff00000 /* A33 in the Coefficient Matrix */ | ||
957 | #define BV_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
958 | |||
959 | /* Bit masks for PIXC_CCBIAS */ | ||
960 | |||
961 | #define A14 0x3ff /* A14 in the Bias Vector */ | ||
962 | #define A24 0xffc00 /* A24 in the Bias Vector */ | ||
963 | #define A34 0x3ff00000 /* A34 in the Bias Vector */ | ||
964 | |||
965 | /* Bit masks for PIXC_TC */ | ||
966 | |||
967 | #define RY_TRANS 0xff /* Transparent Color - R/Y Component */ | ||
968 | #define GU_TRANS 0xff00 /* Transparent Color - G/U Component */ | ||
969 | #define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */ | ||
970 | |||
971 | /* Bit masks for HOST_CONTROL */ | ||
972 | |||
973 | #define HOST_EN 0x1 /* Host Enable */ | ||
974 | #define HOST_END 0x2 /* Host Endianess */ | ||
975 | #define DATA_SIZE 0x4 /* Data Size */ | ||
976 | #define HOST_RST 0x8 /* Host Reset */ | ||
977 | #define HRDY_OVR 0x20 /* Host Ready Override */ | ||
978 | #define INT_MODE 0x40 /* Interrupt Mode */ | ||
979 | #define BT_EN 0x80 /* Bus Timeout Enable */ | ||
980 | #define EHW 0x100 /* Enable Host Write */ | ||
981 | #define EHR 0x200 /* Enable Host Read */ | ||
982 | #define BDR 0x400 /* Burst DMA Requests */ | ||
983 | |||
984 | /* Bit masks for HOST_STATUS */ | ||
985 | |||
986 | #define DMA_READY 0x1 /* DMA Ready */ | ||
987 | #define FIFOFULL 0x2 /* FIFO Full */ | ||
988 | #define FIFOEMPTY 0x4 /* FIFO Empty */ | ||
989 | #define DMA_COMPLETE 0x8 /* DMA Complete */ | ||
990 | #define HSHK 0x10 /* Host Handshake */ | ||
991 | #define HSTIMEOUT 0x20 /* Host Timeout */ | ||
992 | #define HIRQ 0x40 /* Host Interrupt Request */ | ||
993 | #define ALLOW_CNFG 0x80 /* Allow New Configuration */ | ||
994 | #define DMA_DIR 0x100 /* DMA Direction */ | ||
995 | #define BTE 0x200 /* Bus Timeout Enabled */ | ||
996 | |||
997 | /* Bit masks for HOST_TIMEOUT */ | ||
998 | |||
999 | #define COUNT_TIMEOUT 0x7ff /* Host Timeout count */ | ||
1000 | |||
1001 | /* Bit masks for KPAD_CTL */ | ||
1002 | |||
1003 | #define KPAD_EN 0x1 /* Keypad Enable */ | ||
1004 | #define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */ | ||
1005 | #define KPAD_ROWEN 0x1c00 /* Row Enable Width */ | ||
1006 | #define KPAD_COLEN 0xe000 /* Column Enable Width */ | ||
1007 | |||
1008 | /* Bit masks for KPAD_PRESCALE */ | ||
1009 | |||
1010 | #define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */ | ||
1011 | |||
1012 | /* Bit masks for KPAD_MSEL */ | ||
1013 | |||
1014 | #define DBON_SCALE 0xff /* Debounce Scale Value */ | ||
1015 | #define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */ | ||
1016 | |||
1017 | /* Bit masks for KPAD_ROWCOL */ | ||
1018 | |||
1019 | #define KPAD_ROW 0xff /* Rows Pressed */ | ||
1020 | #define KPAD_COL 0xff00 /* Columns Pressed */ | ||
1021 | |||
1022 | /* Bit masks for KPAD_STAT */ | ||
1023 | |||
1024 | #define KPAD_IRQ 0x1 /* Keypad Interrupt Status */ | ||
1025 | #define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */ | ||
1026 | #define KPAD_PRESSED 0x8 /* Key press current status */ | ||
1027 | |||
1028 | /* Bit masks for KPAD_SOFTEVAL */ | ||
1029 | |||
1030 | #define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */ | ||
1031 | |||
1032 | /* Bit masks for SDH_COMMAND */ | ||
1033 | |||
1034 | #define CMD_IDX 0x3f /* Command Index */ | ||
1035 | #define CMD_RSP 0x40 /* Response */ | ||
1036 | #define CMD_L_RSP 0x80 /* Long Response */ | ||
1037 | #define CMD_INT_E 0x100 /* Command Interrupt */ | ||
1038 | #define CMD_PEND_E 0x200 /* Command Pending */ | ||
1039 | #define CMD_E 0x400 /* Command Enable */ | ||
1040 | |||
1041 | /* Bit masks for SDH_PWR_CTL */ | ||
1042 | |||
1043 | #define PWR_ON 0x3 /* Power On */ | ||
1044 | #if 0 | ||
1045 | #define TBD 0x3c /* TBD */ | ||
1046 | #endif | ||
1047 | #define SD_CMD_OD 0x40 /* Open Drain Output */ | ||
1048 | #define ROD_CTL 0x80 /* Rod Control */ | ||
1049 | |||
1050 | /* Bit masks for SDH_CLK_CTL */ | ||
1051 | |||
1052 | #define CLKDIV 0xff /* MC_CLK Divisor */ | ||
1053 | #define CLK_E 0x100 /* MC_CLK Bus Clock Enable */ | ||
1054 | #define PWR_SV_E 0x200 /* Power Save Enable */ | ||
1055 | #define CLKDIV_BYPASS 0x400 /* Bypass Divisor */ | ||
1056 | #define WIDE_BUS 0x800 /* Wide Bus Mode Enable */ | ||
1057 | |||
1058 | /* Bit masks for SDH_RESP_CMD */ | ||
1059 | |||
1060 | #define RESP_CMD 0x3f /* Response Command */ | ||
1061 | |||
1062 | /* Bit masks for SDH_DATA_CTL */ | ||
1063 | |||
1064 | #define DTX_E 0x1 /* Data Transfer Enable */ | ||
1065 | #define DTX_DIR 0x2 /* Data Transfer Direction */ | ||
1066 | #define DTX_MODE 0x4 /* Data Transfer Mode */ | ||
1067 | #define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */ | ||
1068 | #define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */ | ||
1069 | |||
1070 | /* Bit masks for SDH_STATUS */ | ||
1071 | |||
1072 | #define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */ | ||
1073 | #define DAT_CRC_FAIL 0x2 /* Data CRC Fail */ | ||
1074 | #define CMD_TIME_OUT 0x4 /* CMD Time Out */ | ||
1075 | #define DAT_TIME_OUT 0x8 /* Data Time Out */ | ||
1076 | #define TX_UNDERRUN 0x10 /* Transmit Underrun */ | ||
1077 | #define RX_OVERRUN 0x20 /* Receive Overrun */ | ||
1078 | #define CMD_RESP_END 0x40 /* CMD Response End */ | ||
1079 | #define CMD_SENT 0x80 /* CMD Sent */ | ||
1080 | #define DAT_END 0x100 /* Data End */ | ||
1081 | #define START_BIT_ERR 0x200 /* Start Bit Error */ | ||
1082 | #define DAT_BLK_END 0x400 /* Data Block End */ | ||
1083 | #define CMD_ACT 0x800 /* CMD Active */ | ||
1084 | #define TX_ACT 0x1000 /* Transmit Active */ | ||
1085 | #define RX_ACT 0x2000 /* Receive Active */ | ||
1086 | #define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */ | ||
1087 | #define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */ | ||
1088 | #define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */ | ||
1089 | #define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */ | ||
1090 | #define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */ | ||
1091 | #define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */ | ||
1092 | #define TX_DAT_RDY 0x100000 /* Transmit Data Available */ | ||
1093 | #define RX_FIFO_RDY 0x200000 /* Receive Data Available */ | ||
1094 | |||
1095 | /* Bit masks for SDH_STATUS_CLR */ | ||
1096 | |||
1097 | #define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */ | ||
1098 | #define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */ | ||
1099 | #define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */ | ||
1100 | #define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */ | ||
1101 | #define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */ | ||
1102 | #define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */ | ||
1103 | #define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */ | ||
1104 | #define CMD_SENT_STAT 0x80 /* CMD Sent Status */ | ||
1105 | #define DAT_END_STAT 0x100 /* Data End Status */ | ||
1106 | #define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */ | ||
1107 | #define DAT_BLK_END_STAT 0x400 /* Data Block End Status */ | ||
1108 | |||
1109 | /* Bit masks for SDH_MASK0 */ | ||
1110 | |||
1111 | #define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */ | ||
1112 | #define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */ | ||
1113 | #define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */ | ||
1114 | #define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */ | ||
1115 | #define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */ | ||
1116 | #define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */ | ||
1117 | #define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */ | ||
1118 | #define CMD_SENT_MASK 0x80 /* CMD Sent Mask */ | ||
1119 | #define DAT_END_MASK 0x100 /* Data End Mask */ | ||
1120 | #define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */ | ||
1121 | #define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */ | ||
1122 | #define CMD_ACT_MASK 0x800 /* CMD Active Mask */ | ||
1123 | #define TX_ACT_MASK 0x1000 /* Transmit Active Mask */ | ||
1124 | #define RX_ACT_MASK 0x2000 /* Receive Active Mask */ | ||
1125 | #define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */ | ||
1126 | #define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */ | ||
1127 | #define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */ | ||
1128 | #define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */ | ||
1129 | #define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */ | ||
1130 | #define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */ | ||
1131 | #define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */ | ||
1132 | #define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */ | ||
1133 | |||
1134 | /* Bit masks for SDH_FIFO_CNT */ | ||
1135 | |||
1136 | #define FIFO_COUNT 0x7fff /* FIFO Count */ | ||
1137 | |||
1138 | /* Bit masks for SDH_E_STATUS */ | ||
1139 | |||
1140 | #define SDIO_INT_DET 0x2 /* SDIO Int Detected */ | ||
1141 | #define SD_CARD_DET 0x10 /* SD Card Detect */ | ||
1142 | |||
1143 | /* Bit masks for SDH_E_MASK */ | ||
1144 | |||
1145 | #define SDIO_MSK 0x2 /* Mask SDIO Int Detected */ | ||
1146 | #define SCD_MSK 0x40 /* Mask Card Detect */ | ||
1147 | |||
1148 | /* Bit masks for SDH_CFG */ | ||
1149 | |||
1150 | #define CLKS_EN 0x1 /* Clocks Enable */ | ||
1151 | #define SD4E 0x4 /* SDIO 4-Bit Enable */ | ||
1152 | #define MWE 0x8 /* Moving Window Enable */ | ||
1153 | #define SD_RST 0x10 /* SDMMC Reset */ | ||
1154 | #define PUP_SDDAT 0x20 /* Pull-up SD_DAT */ | ||
1155 | #define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */ | ||
1156 | #define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */ | ||
1157 | |||
1158 | /* Bit masks for SDH_RD_WAIT_EN */ | ||
1159 | |||
1160 | #define RWR 0x1 /* Read Wait Request */ | ||
1161 | |||
1162 | /* Bit masks for ATAPI_CONTROL */ | ||
1163 | |||
1164 | #define PIO_START 0x1 /* Start PIO/Reg Op */ | ||
1165 | #define MULTI_START 0x2 /* Start Multi-DMA Op */ | ||
1166 | #define ULTRA_START 0x4 /* Start Ultra-DMA Op */ | ||
1167 | #define XFER_DIR 0x8 /* Transfer Direction */ | ||
1168 | #define IORDY_EN 0x10 /* IORDY Enable */ | ||
1169 | #define FIFO_FLUSH 0x20 /* Flush FIFOs */ | ||
1170 | #define SOFT_RST 0x40 /* Soft Reset */ | ||
1171 | #define DEV_RST 0x80 /* Device Reset */ | ||
1172 | #define TFRCNT_RST 0x100 /* Trans Count Reset */ | ||
1173 | #define END_ON_TERM 0x200 /* End/Terminate Select */ | ||
1174 | #define PIO_USE_DMA 0x400 /* PIO-DMA Enable */ | ||
1175 | #define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */ | ||
1176 | |||
1177 | /* Bit masks for ATAPI_STATUS */ | ||
1178 | |||
1179 | #define PIO_XFER_ON 0x1 /* PIO transfer in progress */ | ||
1180 | #define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */ | ||
1181 | #define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */ | ||
1182 | #define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */ | ||
1183 | |||
1184 | /* Bit masks for ATAPI_DEV_ADDR */ | ||
1185 | |||
1186 | #define DEV_ADDR 0x1f /* Device Address */ | ||
1187 | |||
1188 | /* Bit masks for ATAPI_INT_MASK */ | ||
1189 | |||
1190 | #define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */ | ||
1191 | #define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */ | ||
1192 | #define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */ | ||
1193 | #define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */ | ||
1194 | #define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */ | ||
1195 | #define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */ | ||
1196 | #define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */ | ||
1197 | #define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */ | ||
1198 | #define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */ | ||
1199 | |||
1200 | /* Bit masks for ATAPI_INT_STATUS */ | ||
1201 | |||
1202 | #define ATAPI_DEV_INT 0x1 /* Device interrupt status */ | ||
1203 | #define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */ | ||
1204 | #define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */ | ||
1205 | #define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */ | ||
1206 | #define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */ | ||
1207 | #define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */ | ||
1208 | #define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */ | ||
1209 | #define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */ | ||
1210 | #define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */ | ||
1211 | |||
1212 | /* Bit masks for ATAPI_LINE_STATUS */ | ||
1213 | |||
1214 | #define ATAPI_INTR 0x1 /* Device interrupt to host line status */ | ||
1215 | #define ATAPI_DASP 0x2 /* Device dasp to host line status */ | ||
1216 | #define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */ | ||
1217 | #define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */ | ||
1218 | #define ATAPI_ADDR 0x70 /* ATAPI address line status */ | ||
1219 | #define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */ | ||
1220 | #define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */ | ||
1221 | #define ATAPI_DIOWN 0x200 /* ATAPI write line status */ | ||
1222 | #define ATAPI_DIORN 0x400 /* ATAPI read line status */ | ||
1223 | #define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */ | ||
1224 | |||
1225 | /* Bit masks for ATAPI_SM_STATE */ | ||
1226 | |||
1227 | #define PIO_CSTATE 0xf /* PIO mode state machine current state */ | ||
1228 | #define DMA_CSTATE 0xf0 /* DMA mode state machine current state */ | ||
1229 | #define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */ | ||
1230 | #define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */ | ||
1231 | |||
1232 | /* Bit masks for ATAPI_TERMINATE */ | ||
1233 | |||
1234 | #define ATAPI_HOST_TERM 0x1 /* Host terminationation */ | ||
1235 | |||
1236 | /* Bit masks for ATAPI_REG_TIM_0 */ | ||
1237 | |||
1238 | #define T2_REG 0xff /* End of cycle time for register access transfers */ | ||
1239 | #define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */ | ||
1240 | |||
1241 | /* Bit masks for ATAPI_PIO_TIM_0 */ | ||
1242 | |||
1243 | #define T1_REG 0xf /* Time from address valid to DIOR/DIOW */ | ||
1244 | #define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */ | ||
1245 | #define T4_REG 0xf000 /* DIOW data hold */ | ||
1246 | |||
1247 | /* Bit masks for ATAPI_PIO_TIM_1 */ | ||
1248 | |||
1249 | #define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */ | ||
1250 | |||
1251 | /* Bit masks for ATAPI_MULTI_TIM_0 */ | ||
1252 | |||
1253 | #define TD 0xff /* DIOR/DIOW asserted pulsewidth */ | ||
1254 | #define TM 0xff00 /* Time from address valid to DIOR/DIOW */ | ||
1255 | |||
1256 | /* Bit masks for ATAPI_MULTI_TIM_1 */ | ||
1257 | |||
1258 | #define TKW 0xff /* Selects DIOW negated pulsewidth */ | ||
1259 | #define TKR 0xff00 /* Selects DIOR negated pulsewidth */ | ||
1260 | |||
1261 | /* Bit masks for ATAPI_MULTI_TIM_2 */ | ||
1262 | |||
1263 | #define TH 0xff /* Selects DIOW data hold */ | ||
1264 | #define TEOC 0xff00 /* Selects end of cycle for DMA */ | ||
1265 | |||
1266 | /* Bit masks for ATAPI_ULTRA_TIM_0 */ | ||
1267 | |||
1268 | #define TACK 0xff /* Selects setup and hold times for TACK */ | ||
1269 | #define TENV 0xff00 /* Selects envelope time */ | ||
1270 | |||
1271 | /* Bit masks for ATAPI_ULTRA_TIM_1 */ | ||
1272 | |||
1273 | #define TDVS 0xff /* Selects data valid setup time */ | ||
1274 | #define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */ | ||
1275 | |||
1276 | /* Bit masks for ATAPI_ULTRA_TIM_2 */ | ||
1277 | |||
1278 | #define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */ | ||
1279 | #define TMLI 0xff00 /* Selects interlock time */ | ||
1280 | |||
1281 | /* Bit masks for ATAPI_ULTRA_TIM_3 */ | ||
1282 | |||
1283 | #define TZAH 0xff /* Selects minimum delay required for output */ | ||
1284 | #define READY_PAUSE 0xff00 /* Selects ready to pause */ | ||
1285 | |||
1286 | /* Bit masks for TIMER_ENABLE1 */ | ||
1287 | |||
1288 | #define TIMEN8 0x1 /* Timer 8 Enable */ | ||
1289 | #define TIMEN9 0x2 /* Timer 9 Enable */ | ||
1290 | #define TIMEN10 0x4 /* Timer 10 Enable */ | ||
1291 | |||
1292 | /* Bit masks for TIMER_DISABLE1 */ | ||
1293 | |||
1294 | #define TIMDIS8 0x1 /* Timer 8 Disable */ | ||
1295 | #define TIMDIS9 0x2 /* Timer 9 Disable */ | ||
1296 | #define TIMDIS10 0x4 /* Timer 10 Disable */ | ||
1297 | |||
1298 | /* Bit masks for TIMER_STATUS1 */ | ||
1299 | |||
1300 | #define TIMIL8 0x1 /* Timer 8 Interrupt */ | ||
1301 | #define TIMIL9 0x2 /* Timer 9 Interrupt */ | ||
1302 | #define TIMIL10 0x4 /* Timer 10 Interrupt */ | ||
1303 | #define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */ | ||
1304 | #define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */ | ||
1305 | #define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */ | ||
1306 | #define TRUN8 0x1000 /* Timer 8 Slave Enable Status */ | ||
1307 | #define TRUN9 0x2000 /* Timer 9 Slave Enable Status */ | ||
1308 | #define TRUN10 0x4000 /* Timer 10 Slave Enable Status */ | ||
1309 | |||
1310 | /* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */ | ||
1311 | |||
1312 | /* Bit masks for USB_FADDR */ | ||
1313 | |||
1314 | #define FUNCTION_ADDRESS 0x7f /* Function address */ | ||
1315 | |||
1316 | /* Bit masks for USB_POWER */ | ||
1317 | |||
1318 | #define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */ | ||
1319 | #define SUSPEND_MODE 0x2 /* Suspend Mode indicator */ | ||
1320 | #define RESUME_MODE 0x4 /* DMA Mode */ | ||
1321 | #define RESET 0x8 /* Reset indicator */ | ||
1322 | #define HS_MODE 0x10 /* High Speed mode indicator */ | ||
1323 | #define HS_ENABLE 0x20 /* high Speed Enable */ | ||
1324 | #define SOFT_CONN 0x40 /* Soft connect */ | ||
1325 | #define ISO_UPDATE 0x80 /* Isochronous update */ | ||
1326 | |||
1327 | /* Bit masks for USB_INTRTX */ | ||
1328 | |||
1329 | #define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */ | ||
1330 | #define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */ | ||
1331 | #define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */ | ||
1332 | #define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */ | ||
1333 | #define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */ | ||
1334 | #define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */ | ||
1335 | #define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */ | ||
1336 | #define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */ | ||
1337 | |||
1338 | /* Bit masks for USB_INTRRX */ | ||
1339 | |||
1340 | #define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */ | ||
1341 | #define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */ | ||
1342 | #define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */ | ||
1343 | #define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */ | ||
1344 | #define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */ | ||
1345 | #define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */ | ||
1346 | #define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */ | ||
1347 | |||
1348 | /* Bit masks for USB_INTRTXE */ | ||
1349 | |||
1350 | #define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */ | ||
1351 | #define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */ | ||
1352 | #define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */ | ||
1353 | #define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */ | ||
1354 | #define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */ | ||
1355 | #define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */ | ||
1356 | #define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */ | ||
1357 | #define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */ | ||
1358 | |||
1359 | /* Bit masks for USB_INTRRXE */ | ||
1360 | |||
1361 | #define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */ | ||
1362 | #define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */ | ||
1363 | #define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */ | ||
1364 | #define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */ | ||
1365 | #define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */ | ||
1366 | #define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */ | ||
1367 | #define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */ | ||
1368 | |||
1369 | /* Bit masks for USB_INTRUSB */ | ||
1370 | |||
1371 | #define SUSPEND_B 0x1 /* Suspend indicator */ | ||
1372 | #define RESUME_B 0x2 /* Resume indicator */ | ||
1373 | #define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */ | ||
1374 | #define SOF_B 0x8 /* Start of frame */ | ||
1375 | #define CONN_B 0x10 /* Connection indicator */ | ||
1376 | #define DISCON_B 0x20 /* Disconnect indicator */ | ||
1377 | #define SESSION_REQ_B 0x40 /* Session Request */ | ||
1378 | #define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */ | ||
1379 | |||
1380 | /* Bit masks for USB_INTRUSBE */ | ||
1381 | |||
1382 | #define SUSPEND_BE 0x1 /* Suspend indicator int enable */ | ||
1383 | #define RESUME_BE 0x2 /* Resume indicator int enable */ | ||
1384 | #define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */ | ||
1385 | #define SOF_BE 0x8 /* Start of frame int enable */ | ||
1386 | #define CONN_BE 0x10 /* Connection indicator int enable */ | ||
1387 | #define DISCON_BE 0x20 /* Disconnect indicator int enable */ | ||
1388 | #define SESSION_REQ_BE 0x40 /* Session Request int enable */ | ||
1389 | #define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */ | ||
1390 | |||
1391 | /* Bit masks for USB_FRAME */ | ||
1392 | |||
1393 | #define FRAME_NUMBER 0x7ff /* Frame number */ | ||
1394 | |||
1395 | /* Bit masks for USB_INDEX */ | ||
1396 | |||
1397 | #define SELECTED_ENDPOINT 0xf /* selected endpoint */ | ||
1398 | |||
1399 | /* Bit masks for USB_GLOBAL_CTL */ | ||
1400 | |||
1401 | #define GLOBAL_ENA 0x1 /* enables USB module */ | ||
1402 | #define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */ | ||
1403 | #define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */ | ||
1404 | #define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */ | ||
1405 | #define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */ | ||
1406 | #define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */ | ||
1407 | #define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */ | ||
1408 | #define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */ | ||
1409 | #define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */ | ||
1410 | #define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */ | ||
1411 | #define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */ | ||
1412 | #define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */ | ||
1413 | #define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */ | ||
1414 | #define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */ | ||
1415 | #define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */ | ||
1416 | |||
1417 | /* Bit masks for USB_OTG_DEV_CTL */ | ||
1418 | |||
1419 | #define SESSION 0x1 /* session indicator */ | ||
1420 | #define HOST_REQ 0x2 /* Host negotiation request */ | ||
1421 | #define HOST_MODE 0x4 /* indicates USBDRC is a host */ | ||
1422 | #define VBUS0 0x8 /* Vbus level indicator[0] */ | ||
1423 | #define VBUS1 0x10 /* Vbus level indicator[1] */ | ||
1424 | #define LSDEV 0x20 /* Low-speed indicator */ | ||
1425 | #define FSDEV 0x40 /* Full or High-speed indicator */ | ||
1426 | #define B_DEVICE 0x80 /* A' or 'B' device indicator */ | ||
1427 | |||
1428 | /* Bit masks for USB_OTG_VBUS_IRQ */ | ||
1429 | |||
1430 | #define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */ | ||
1431 | #define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */ | ||
1432 | #define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */ | ||
1433 | #define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */ | ||
1434 | #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */ | ||
1435 | #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */ | ||
1436 | |||
1437 | /* Bit masks for USB_OTG_VBUS_MASK */ | ||
1438 | |||
1439 | #define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */ | ||
1440 | #define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */ | ||
1441 | #define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */ | ||
1442 | #define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */ | ||
1443 | #define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */ | ||
1444 | #define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */ | ||
1445 | |||
1446 | /* Bit masks for USB_CSR0 */ | ||
1447 | |||
1448 | #define RXPKTRDY 0x1 /* data packet receive indicator */ | ||
1449 | #define TXPKTRDY 0x2 /* data packet in FIFO indicator */ | ||
1450 | #define STALL_SENT 0x4 /* STALL handshake sent */ | ||
1451 | #define DATAEND 0x8 /* Data end indicator */ | ||
1452 | #define SETUPEND 0x10 /* Setup end */ | ||
1453 | #define SENDSTALL 0x20 /* Send STALL handshake */ | ||
1454 | #define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */ | ||
1455 | #define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */ | ||
1456 | #define FLUSHFIFO 0x100 /* flush endpoint FIFO */ | ||
1457 | #define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */ | ||
1458 | #define SETUPPKT_H 0x8 /* send Setup token host mode */ | ||
1459 | #define ERROR_H 0x10 /* timeout error indicator host mode */ | ||
1460 | #define REQPKT_H 0x20 /* Request an IN transaction host mode */ | ||
1461 | #define STATUSPKT_H 0x40 /* Status stage transaction host mode */ | ||
1462 | #define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */ | ||
1463 | |||
1464 | /* Bit masks for USB_COUNT0 */ | ||
1465 | |||
1466 | #define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */ | ||
1467 | |||
1468 | /* Bit masks for USB_NAKLIMIT0 */ | ||
1469 | |||
1470 | #define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */ | ||
1471 | |||
1472 | /* Bit masks for USB_TX_MAX_PACKET */ | ||
1473 | |||
1474 | #define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */ | ||
1475 | |||
1476 | /* Bit masks for USB_RX_MAX_PACKET */ | ||
1477 | |||
1478 | #define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */ | ||
1479 | |||
1480 | /* Bit masks for USB_TXCSR */ | ||
1481 | |||
1482 | #define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */ | ||
1483 | #define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */ | ||
1484 | #define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */ | ||
1485 | #define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */ | ||
1486 | #define STALL_SEND_T 0x10 /* issue a Stall handshake */ | ||
1487 | #define STALL_SENT_T 0x20 /* Stall handshake transmitted */ | ||
1488 | #define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */ | ||
1489 | #define INCOMPTX_T 0x80 /* indicates that a large packet is split */ | ||
1490 | #define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */ | ||
1491 | #define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */ | ||
1492 | #define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */ | ||
1493 | #define ISO_T 0x4000 /* enable Isochronous transfers */ | ||
1494 | #define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */ | ||
1495 | #define ERROR_TH 0x4 /* error condition host mode */ | ||
1496 | #define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */ | ||
1497 | #define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */ | ||
1498 | |||
1499 | /* Bit masks for USB_TXCOUNT */ | ||
1500 | |||
1501 | #define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
1502 | |||
1503 | /* Bit masks for USB_RXCSR */ | ||
1504 | |||
1505 | #define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */ | ||
1506 | #define FIFO_FULL_R 0x2 /* FIFO not empty */ | ||
1507 | #define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */ | ||
1508 | #define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */ | ||
1509 | #define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */ | ||
1510 | #define STALL_SEND_R 0x20 /* issue a Stall handshake */ | ||
1511 | #define STALL_SENT_R 0x40 /* Stall handshake transmitted */ | ||
1512 | #define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */ | ||
1513 | #define INCOMPRX_R 0x100 /* indicates that a large packet is split */ | ||
1514 | #define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */ | ||
1515 | #define DISNYET_R 0x1000 /* disable Nyet handshakes */ | ||
1516 | #define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */ | ||
1517 | #define ISO_R 0x4000 /* enable Isochronous transfers */ | ||
1518 | #define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */ | ||
1519 | #define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */ | ||
1520 | #define REQPKT_RH 0x20 /* request an IN transaction host mode */ | ||
1521 | #define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */ | ||
1522 | #define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */ | ||
1523 | #define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */ | ||
1524 | #define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */ | ||
1525 | |||
1526 | /* Bit masks for USB_RXCOUNT */ | ||
1527 | |||
1528 | #define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */ | ||
1529 | |||
1530 | /* Bit masks for USB_TXTYPE */ | ||
1531 | |||
1532 | #define TARGET_EP_NO_T 0xf /* EP number */ | ||
1533 | #define PROTOCOL_T 0xc /* transfer type */ | ||
1534 | |||
1535 | /* Bit masks for USB_TXINTERVAL */ | ||
1536 | |||
1537 | #define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */ | ||
1538 | |||
1539 | /* Bit masks for USB_RXTYPE */ | ||
1540 | |||
1541 | #define TARGET_EP_NO_R 0xf /* EP number */ | ||
1542 | #define PROTOCOL_R 0xc /* transfer type */ | ||
1543 | |||
1544 | /* Bit masks for USB_RXINTERVAL */ | ||
1545 | |||
1546 | #define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */ | ||
1547 | |||
1548 | /* Bit masks for USB_DMA_INTERRUPT */ | ||
1549 | |||
1550 | #define DMA0_INT 0x1 /* DMA0 pending interrupt */ | ||
1551 | #define DMA1_INT 0x2 /* DMA1 pending interrupt */ | ||
1552 | #define DMA2_INT 0x4 /* DMA2 pending interrupt */ | ||
1553 | #define DMA3_INT 0x8 /* DMA3 pending interrupt */ | ||
1554 | #define DMA4_INT 0x10 /* DMA4 pending interrupt */ | ||
1555 | #define DMA5_INT 0x20 /* DMA5 pending interrupt */ | ||
1556 | #define DMA6_INT 0x40 /* DMA6 pending interrupt */ | ||
1557 | #define DMA7_INT 0x80 /* DMA7 pending interrupt */ | ||
1558 | |||
1559 | /* Bit masks for USB_DMAxCONTROL */ | ||
1560 | |||
1561 | #define DMA_ENA 0x1 /* DMA enable */ | ||
1562 | #define DIRECTION 0x2 /* direction of DMA transfer */ | ||
1563 | #define MODE 0x4 /* DMA Bus error */ | ||
1564 | #define INT_ENA 0x8 /* Interrupt enable */ | ||
1565 | #define EPNUM 0xf0 /* EP number */ | ||
1566 | #define BUSERROR 0x100 /* DMA Bus error */ | ||
1567 | |||
1568 | /* Bit masks for USB_DMAxADDRHIGH */ | ||
1569 | |||
1570 | #define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */ | ||
1571 | |||
1572 | /* Bit masks for USB_DMAxADDRLOW */ | ||
1573 | |||
1574 | #define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */ | ||
1575 | |||
1576 | /* Bit masks for USB_DMAxCOUNTHIGH */ | ||
1577 | |||
1578 | #define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */ | ||
1579 | |||
1580 | /* Bit masks for USB_DMAxCOUNTLOW */ | ||
1581 | |||
1582 | #define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */ | ||
1583 | |||
1584 | /* Bit masks for HMDMAx_CONTROL */ | ||
1585 | |||
1586 | #define HMDMAEN 0x1 /* Handshake MDMA Enable */ | ||
1587 | #define REP 0x2 /* Handshake MDMA Request Polarity */ | ||
1588 | #define UTE 0x8 /* Urgency Threshold Enable */ | ||
1589 | #define OIE 0x10 /* Overflow Interrupt Enable */ | ||
1590 | #define BDIE 0x20 /* Block Done Interrupt Enable */ | ||
1591 | #define MBDI 0x40 /* Mask Block Done Interrupt */ | ||
1592 | #define DRQ 0x300 /* Handshake MDMA Request Type */ | ||
1593 | #define RBC 0x1000 /* Force Reload of BCOUNT */ | ||
1594 | #define PS 0x2000 /* Pin Status */ | ||
1595 | #define OI 0x4000 /* Overflow Interrupt Generated */ | ||
1596 | #define BDI 0x8000 /* Block Done Interrupt Generated */ | ||
1597 | |||
1598 | /* ******************************************* */ | ||
1599 | /* MULTI BIT MACRO ENUMERATIONS */ | ||
1600 | /* ******************************************* */ | ||
1601 | |||
1602 | |||
1603 | #endif /* _DEF_BF548_H */ | 404 | #endif /* _DEF_BF548_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF549.h b/arch/blackfin/mach-bf548/include/mach/defBF549.h index f7f043560c6f..5a04e6d4017e 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF549.h | |||
@@ -10,121 +10,13 @@ | |||
10 | /* Include all Core registers and bit definitions */ | 10 | /* Include all Core registers and bit definitions */ |
11 | #include <asm/def_LPBlackfin.h> | 11 | #include <asm/def_LPBlackfin.h> |
12 | 12 | ||
13 | |||
14 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */ | 13 | /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 */ |
15 | 14 | ||
16 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ | 15 | /* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */ |
17 | #include "defBF54x_base.h" | 16 | #include "defBF54x_base.h" |
18 | 17 | ||
19 | /* The following are the #defines needed by ADSP-BF549 that are not in the common header */ | 18 | /* The BF549 is like the BF544, but has MXVR */ |
20 | 19 | #include "defBF547.h" | |
21 | /* Timer Registers */ | ||
22 | |||
23 | #define TIMER8_CONFIG 0xffc00600 /* Timer 8 Configuration Register */ | ||
24 | #define TIMER8_COUNTER 0xffc00604 /* Timer 8 Counter Register */ | ||
25 | #define TIMER8_PERIOD 0xffc00608 /* Timer 8 Period Register */ | ||
26 | #define TIMER8_WIDTH 0xffc0060c /* Timer 8 Width Register */ | ||
27 | #define TIMER9_CONFIG 0xffc00610 /* Timer 9 Configuration Register */ | ||
28 | #define TIMER9_COUNTER 0xffc00614 /* Timer 9 Counter Register */ | ||
29 | #define TIMER9_PERIOD 0xffc00618 /* Timer 9 Period Register */ | ||
30 | #define TIMER9_WIDTH 0xffc0061c /* Timer 9 Width Register */ | ||
31 | #define TIMER10_CONFIG 0xffc00620 /* Timer 10 Configuration Register */ | ||
32 | #define TIMER10_COUNTER 0xffc00624 /* Timer 10 Counter Register */ | ||
33 | #define TIMER10_PERIOD 0xffc00628 /* Timer 10 Period Register */ | ||
34 | #define TIMER10_WIDTH 0xffc0062c /* Timer 10 Width Register */ | ||
35 | |||
36 | /* Timer Group of 3 Registers */ | ||
37 | |||
38 | #define TIMER_ENABLE1 0xffc00640 /* Timer Group of 3 Enable Register */ | ||
39 | #define TIMER_DISABLE1 0xffc00644 /* Timer Group of 3 Disable Register */ | ||
40 | #define TIMER_STATUS1 0xffc00648 /* Timer Group of 3 Status Register */ | ||
41 | |||
42 | /* SPORT0 Registers */ | ||
43 | |||
44 | #define SPORT0_TCR1 0xffc00800 /* SPORT0 Transmit Configuration 1 Register */ | ||
45 | #define SPORT0_TCR2 0xffc00804 /* SPORT0 Transmit Configuration 2 Register */ | ||
46 | #define SPORT0_TCLKDIV 0xffc00808 /* SPORT0 Transmit Serial Clock Divider Register */ | ||
47 | #define SPORT0_TFSDIV 0xffc0080c /* SPORT0 Transmit Frame Sync Divider Register */ | ||
48 | #define SPORT0_TX 0xffc00810 /* SPORT0 Transmit Data Register */ | ||
49 | #define SPORT0_RX 0xffc00818 /* SPORT0 Receive Data Register */ | ||
50 | #define SPORT0_RCR1 0xffc00820 /* SPORT0 Receive Configuration 1 Register */ | ||
51 | #define SPORT0_RCR2 0xffc00824 /* SPORT0 Receive Configuration 2 Register */ | ||
52 | #define SPORT0_RCLKDIV 0xffc00828 /* SPORT0 Receive Serial Clock Divider Register */ | ||
53 | #define SPORT0_RFSDIV 0xffc0082c /* SPORT0 Receive Frame Sync Divider Register */ | ||
54 | #define SPORT0_STAT 0xffc00830 /* SPORT0 Status Register */ | ||
55 | #define SPORT0_CHNL 0xffc00834 /* SPORT0 Current Channel Register */ | ||
56 | #define SPORT0_MCMC1 0xffc00838 /* SPORT0 Multi channel Configuration Register 1 */ | ||
57 | #define SPORT0_MCMC2 0xffc0083c /* SPORT0 Multi channel Configuration Register 2 */ | ||
58 | #define SPORT0_MTCS0 0xffc00840 /* SPORT0 Multi channel Transmit Select Register 0 */ | ||
59 | #define SPORT0_MTCS1 0xffc00844 /* SPORT0 Multi channel Transmit Select Register 1 */ | ||
60 | #define SPORT0_MTCS2 0xffc00848 /* SPORT0 Multi channel Transmit Select Register 2 */ | ||
61 | #define SPORT0_MTCS3 0xffc0084c /* SPORT0 Multi channel Transmit Select Register 3 */ | ||
62 | #define SPORT0_MRCS0 0xffc00850 /* SPORT0 Multi channel Receive Select Register 0 */ | ||
63 | #define SPORT0_MRCS1 0xffc00854 /* SPORT0 Multi channel Receive Select Register 1 */ | ||
64 | #define SPORT0_MRCS2 0xffc00858 /* SPORT0 Multi channel Receive Select Register 2 */ | ||
65 | #define SPORT0_MRCS3 0xffc0085c /* SPORT0 Multi channel Receive Select Register 3 */ | ||
66 | |||
67 | /* EPPI0 Registers */ | ||
68 | |||
69 | #define EPPI0_STATUS 0xffc01000 /* EPPI0 Status Register */ | ||
70 | #define EPPI0_HCOUNT 0xffc01004 /* EPPI0 Horizontal Transfer Count Register */ | ||
71 | #define EPPI0_HDELAY 0xffc01008 /* EPPI0 Horizontal Delay Count Register */ | ||
72 | #define EPPI0_VCOUNT 0xffc0100c /* EPPI0 Vertical Transfer Count Register */ | ||
73 | #define EPPI0_VDELAY 0xffc01010 /* EPPI0 Vertical Delay Count Register */ | ||
74 | #define EPPI0_FRAME 0xffc01014 /* EPPI0 Lines per Frame Register */ | ||
75 | #define EPPI0_LINE 0xffc01018 /* EPPI0 Samples per Line Register */ | ||
76 | #define EPPI0_CLKDIV 0xffc0101c /* EPPI0 Clock Divide Register */ | ||
77 | #define EPPI0_CONTROL 0xffc01020 /* EPPI0 Control Register */ | ||
78 | #define EPPI0_FS1W_HBL 0xffc01024 /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */ | ||
79 | #define EPPI0_FS1P_AVPL 0xffc01028 /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */ | ||
80 | #define EPPI0_FS2W_LVB 0xffc0102c /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */ | ||
81 | #define EPPI0_FS2P_LAVF 0xffc01030 /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */ | ||
82 | #define EPPI0_CLIP 0xffc01034 /* EPPI0 Clipping Register */ | ||
83 | |||
84 | /* UART2 Registers */ | ||
85 | |||
86 | #define UART2_DLL 0xffc02100 /* Divisor Latch Low Byte */ | ||
87 | #define UART2_DLH 0xffc02104 /* Divisor Latch High Byte */ | ||
88 | #define UART2_GCTL 0xffc02108 /* Global Control Register */ | ||
89 | #define UART2_LCR 0xffc0210c /* Line Control Register */ | ||
90 | #define UART2_MCR 0xffc02110 /* Modem Control Register */ | ||
91 | #define UART2_LSR 0xffc02114 /* Line Status Register */ | ||
92 | #define UART2_MSR 0xffc02118 /* Modem Status Register */ | ||
93 | #define UART2_SCR 0xffc0211c /* Scratch Register */ | ||
94 | #define UART2_IER_SET 0xffc02120 /* Interrupt Enable Register Set */ | ||
95 | #define UART2_IER_CLEAR 0xffc02124 /* Interrupt Enable Register Clear */ | ||
96 | #define UART2_RBR 0xffc0212c /* Receive Buffer Register */ | ||
97 | |||
98 | /* Two Wire Interface Registers (TWI1) */ | ||
99 | |||
100 | #define TWI1_REGBASE 0xffc02200 | ||
101 | #define TWI1_CLKDIV 0xffc02200 /* Clock Divider Register */ | ||
102 | #define TWI1_CONTROL 0xffc02204 /* TWI Control Register */ | ||
103 | #define TWI1_SLAVE_CTRL 0xffc02208 /* TWI Slave Mode Control Register */ | ||
104 | #define TWI1_SLAVE_STAT 0xffc0220c /* TWI Slave Mode Status Register */ | ||
105 | #define TWI1_SLAVE_ADDR 0xffc02210 /* TWI Slave Mode Address Register */ | ||
106 | #define TWI1_MASTER_CTRL 0xffc02214 /* TWI Master Mode Control Register */ | ||
107 | #define TWI1_MASTER_STAT 0xffc02218 /* TWI Master Mode Status Register */ | ||
108 | #define TWI1_MASTER_ADDR 0xffc0221c /* TWI Master Mode Address Register */ | ||
109 | #define TWI1_INT_STAT 0xffc02220 /* TWI Interrupt Status Register */ | ||
110 | #define TWI1_INT_MASK 0xffc02224 /* TWI Interrupt Mask Register */ | ||
111 | #define TWI1_FIFO_CTRL 0xffc02228 /* TWI FIFO Control Register */ | ||
112 | #define TWI1_FIFO_STAT 0xffc0222c /* TWI FIFO Status Register */ | ||
113 | #define TWI1_XMT_DATA8 0xffc02280 /* TWI FIFO Transmit Data Single Byte Register */ | ||
114 | #define TWI1_XMT_DATA16 0xffc02284 /* TWI FIFO Transmit Data Double Byte Register */ | ||
115 | #define TWI1_RCV_DATA8 0xffc02288 /* TWI FIFO Receive Data Single Byte Register */ | ||
116 | #define TWI1_RCV_DATA16 0xffc0228c /* TWI FIFO Receive Data Double Byte Register */ | ||
117 | |||
118 | /* SPI2 Registers */ | ||
119 | |||
120 | #define SPI2_REGBASE 0xffc02400 | ||
121 | #define SPI2_CTL 0xffc02400 /* SPI2 Control Register */ | ||
122 | #define SPI2_FLG 0xffc02404 /* SPI2 Flag Register */ | ||
123 | #define SPI2_STAT 0xffc02408 /* SPI2 Status Register */ | ||
124 | #define SPI2_TDBR 0xffc0240c /* SPI2 Transmit Data Buffer Register */ | ||
125 | #define SPI2_RDBR 0xffc02410 /* SPI2 Receive Data Buffer Register */ | ||
126 | #define SPI2_BAUD 0xffc02414 /* SPI2 Baud Rate Register */ | ||
127 | #define SPI2_SHADOW 0xffc02418 /* SPI2 Receive Data Buffer Shadow Register */ | ||
128 | 20 | ||
129 | /* MXVR Registers */ | 21 | /* MXVR Registers */ |
130 | 22 | ||
@@ -296,2418 +188,4 @@ | |||
296 | #define MXVR_PIN_CTL 0xffc028dc /* MXVR Pin Control Register */ | 188 | #define MXVR_PIN_CTL 0xffc028dc /* MXVR Pin Control Register */ |
297 | #define MXVR_SCLK_CNT 0xffc028e0 /* MXVR System Clock Counter Register */ | 189 | #define MXVR_SCLK_CNT 0xffc028e0 /* MXVR System Clock Counter Register */ |
298 | 190 | ||
299 | /* CAN Controller 1 Config 1 Registers */ | ||
300 | |||
301 | #define CAN1_MC1 0xffc03200 /* CAN Controller 1 Mailbox Configuration Register 1 */ | ||
302 | #define CAN1_MD1 0xffc03204 /* CAN Controller 1 Mailbox Direction Register 1 */ | ||
303 | #define CAN1_TRS1 0xffc03208 /* CAN Controller 1 Transmit Request Set Register 1 */ | ||
304 | #define CAN1_TRR1 0xffc0320c /* CAN Controller 1 Transmit Request Reset Register 1 */ | ||
305 | #define CAN1_TA1 0xffc03210 /* CAN Controller 1 Transmit Acknowledge Register 1 */ | ||
306 | #define CAN1_AA1 0xffc03214 /* CAN Controller 1 Abort Acknowledge Register 1 */ | ||
307 | #define CAN1_RMP1 0xffc03218 /* CAN Controller 1 Receive Message Pending Register 1 */ | ||
308 | #define CAN1_RML1 0xffc0321c /* CAN Controller 1 Receive Message Lost Register 1 */ | ||
309 | #define CAN1_MBTIF1 0xffc03220 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 1 */ | ||
310 | #define CAN1_MBRIF1 0xffc03224 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 1 */ | ||
311 | #define CAN1_MBIM1 0xffc03228 /* CAN Controller 1 Mailbox Interrupt Mask Register 1 */ | ||
312 | #define CAN1_RFH1 0xffc0322c /* CAN Controller 1 Remote Frame Handling Enable Register 1 */ | ||
313 | #define CAN1_OPSS1 0xffc03230 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 1 */ | ||
314 | |||
315 | /* CAN Controller 1 Config 2 Registers */ | ||
316 | |||
317 | #define CAN1_MC2 0xffc03240 /* CAN Controller 1 Mailbox Configuration Register 2 */ | ||
318 | #define CAN1_MD2 0xffc03244 /* CAN Controller 1 Mailbox Direction Register 2 */ | ||
319 | #define CAN1_TRS2 0xffc03248 /* CAN Controller 1 Transmit Request Set Register 2 */ | ||
320 | #define CAN1_TRR2 0xffc0324c /* CAN Controller 1 Transmit Request Reset Register 2 */ | ||
321 | #define CAN1_TA2 0xffc03250 /* CAN Controller 1 Transmit Acknowledge Register 2 */ | ||
322 | #define CAN1_AA2 0xffc03254 /* CAN Controller 1 Abort Acknowledge Register 2 */ | ||
323 | #define CAN1_RMP2 0xffc03258 /* CAN Controller 1 Receive Message Pending Register 2 */ | ||
324 | #define CAN1_RML2 0xffc0325c /* CAN Controller 1 Receive Message Lost Register 2 */ | ||
325 | #define CAN1_MBTIF2 0xffc03260 /* CAN Controller 1 Mailbox Transmit Interrupt Flag Register 2 */ | ||
326 | #define CAN1_MBRIF2 0xffc03264 /* CAN Controller 1 Mailbox Receive Interrupt Flag Register 2 */ | ||
327 | #define CAN1_MBIM2 0xffc03268 /* CAN Controller 1 Mailbox Interrupt Mask Register 2 */ | ||
328 | #define CAN1_RFH2 0xffc0326c /* CAN Controller 1 Remote Frame Handling Enable Register 2 */ | ||
329 | #define CAN1_OPSS2 0xffc03270 /* CAN Controller 1 Overwrite Protection Single Shot Transmit Register 2 */ | ||
330 | |||
331 | /* CAN Controller 1 Clock/Interrupt/Counter Registers */ | ||
332 | |||
333 | #define CAN1_CLOCK 0xffc03280 /* CAN Controller 1 Clock Register */ | ||
334 | #define CAN1_TIMING 0xffc03284 /* CAN Controller 1 Timing Register */ | ||
335 | #define CAN1_DEBUG 0xffc03288 /* CAN Controller 1 Debug Register */ | ||
336 | #define CAN1_STATUS 0xffc0328c /* CAN Controller 1 Global Status Register */ | ||
337 | #define CAN1_CEC 0xffc03290 /* CAN Controller 1 Error Counter Register */ | ||
338 | #define CAN1_GIS 0xffc03294 /* CAN Controller 1 Global Interrupt Status Register */ | ||
339 | #define CAN1_GIM 0xffc03298 /* CAN Controller 1 Global Interrupt Mask Register */ | ||
340 | #define CAN1_GIF 0xffc0329c /* CAN Controller 1 Global Interrupt Flag Register */ | ||
341 | #define CAN1_CONTROL 0xffc032a0 /* CAN Controller 1 Master Control Register */ | ||
342 | #define CAN1_INTR 0xffc032a4 /* CAN Controller 1 Interrupt Pending Register */ | ||
343 | #define CAN1_MBTD 0xffc032ac /* CAN Controller 1 Mailbox Temporary Disable Register */ | ||
344 | #define CAN1_EWR 0xffc032b0 /* CAN Controller 1 Programmable Warning Level Register */ | ||
345 | #define CAN1_ESR 0xffc032b4 /* CAN Controller 1 Error Status Register */ | ||
346 | #define CAN1_UCCNT 0xffc032c4 /* CAN Controller 1 Universal Counter Register */ | ||
347 | #define CAN1_UCRC 0xffc032c8 /* CAN Controller 1 Universal Counter Force Reload Register */ | ||
348 | #define CAN1_UCCNF 0xffc032cc /* CAN Controller 1 Universal Counter Configuration Register */ | ||
349 | |||
350 | /* CAN Controller 1 Mailbox Acceptance Registers */ | ||
351 | |||
352 | #define CAN1_AM00L 0xffc03300 /* CAN Controller 1 Mailbox 0 Acceptance Mask High Register */ | ||
353 | #define CAN1_AM00H 0xffc03304 /* CAN Controller 1 Mailbox 0 Acceptance Mask Low Register */ | ||
354 | #define CAN1_AM01L 0xffc03308 /* CAN Controller 1 Mailbox 1 Acceptance Mask High Register */ | ||
355 | #define CAN1_AM01H 0xffc0330c /* CAN Controller 1 Mailbox 1 Acceptance Mask Low Register */ | ||
356 | #define CAN1_AM02L 0xffc03310 /* CAN Controller 1 Mailbox 2 Acceptance Mask High Register */ | ||
357 | #define CAN1_AM02H 0xffc03314 /* CAN Controller 1 Mailbox 2 Acceptance Mask Low Register */ | ||
358 | #define CAN1_AM03L 0xffc03318 /* CAN Controller 1 Mailbox 3 Acceptance Mask High Register */ | ||
359 | #define CAN1_AM03H 0xffc0331c /* CAN Controller 1 Mailbox 3 Acceptance Mask Low Register */ | ||
360 | #define CAN1_AM04L 0xffc03320 /* CAN Controller 1 Mailbox 4 Acceptance Mask High Register */ | ||
361 | #define CAN1_AM04H 0xffc03324 /* CAN Controller 1 Mailbox 4 Acceptance Mask Low Register */ | ||
362 | #define CAN1_AM05L 0xffc03328 /* CAN Controller 1 Mailbox 5 Acceptance Mask High Register */ | ||
363 | #define CAN1_AM05H 0xffc0332c /* CAN Controller 1 Mailbox 5 Acceptance Mask Low Register */ | ||
364 | #define CAN1_AM06L 0xffc03330 /* CAN Controller 1 Mailbox 6 Acceptance Mask High Register */ | ||
365 | #define CAN1_AM06H 0xffc03334 /* CAN Controller 1 Mailbox 6 Acceptance Mask Low Register */ | ||
366 | #define CAN1_AM07L 0xffc03338 /* CAN Controller 1 Mailbox 7 Acceptance Mask High Register */ | ||
367 | #define CAN1_AM07H 0xffc0333c /* CAN Controller 1 Mailbox 7 Acceptance Mask Low Register */ | ||
368 | #define CAN1_AM08L 0xffc03340 /* CAN Controller 1 Mailbox 8 Acceptance Mask High Register */ | ||
369 | #define CAN1_AM08H 0xffc03344 /* CAN Controller 1 Mailbox 8 Acceptance Mask Low Register */ | ||
370 | #define CAN1_AM09L 0xffc03348 /* CAN Controller 1 Mailbox 9 Acceptance Mask High Register */ | ||
371 | #define CAN1_AM09H 0xffc0334c /* CAN Controller 1 Mailbox 9 Acceptance Mask Low Register */ | ||
372 | #define CAN1_AM10L 0xffc03350 /* CAN Controller 1 Mailbox 10 Acceptance Mask High Register */ | ||
373 | #define CAN1_AM10H 0xffc03354 /* CAN Controller 1 Mailbox 10 Acceptance Mask Low Register */ | ||
374 | #define CAN1_AM11L 0xffc03358 /* CAN Controller 1 Mailbox 11 Acceptance Mask High Register */ | ||
375 | #define CAN1_AM11H 0xffc0335c /* CAN Controller 1 Mailbox 11 Acceptance Mask Low Register */ | ||
376 | #define CAN1_AM12L 0xffc03360 /* CAN Controller 1 Mailbox 12 Acceptance Mask High Register */ | ||
377 | #define CAN1_AM12H 0xffc03364 /* CAN Controller 1 Mailbox 12 Acceptance Mask Low Register */ | ||
378 | #define CAN1_AM13L 0xffc03368 /* CAN Controller 1 Mailbox 13 Acceptance Mask High Register */ | ||
379 | #define CAN1_AM13H 0xffc0336c /* CAN Controller 1 Mailbox 13 Acceptance Mask Low Register */ | ||
380 | #define CAN1_AM14L 0xffc03370 /* CAN Controller 1 Mailbox 14 Acceptance Mask High Register */ | ||
381 | #define CAN1_AM14H 0xffc03374 /* CAN Controller 1 Mailbox 14 Acceptance Mask Low Register */ | ||
382 | #define CAN1_AM15L 0xffc03378 /* CAN Controller 1 Mailbox 15 Acceptance Mask High Register */ | ||
383 | #define CAN1_AM15H 0xffc0337c /* CAN Controller 1 Mailbox 15 Acceptance Mask Low Register */ | ||
384 | |||
385 | /* CAN Controller 1 Mailbox Acceptance Registers */ | ||
386 | |||
387 | #define CAN1_AM16L 0xffc03380 /* CAN Controller 1 Mailbox 16 Acceptance Mask High Register */ | ||
388 | #define CAN1_AM16H 0xffc03384 /* CAN Controller 1 Mailbox 16 Acceptance Mask Low Register */ | ||
389 | #define CAN1_AM17L 0xffc03388 /* CAN Controller 1 Mailbox 17 Acceptance Mask High Register */ | ||
390 | #define CAN1_AM17H 0xffc0338c /* CAN Controller 1 Mailbox 17 Acceptance Mask Low Register */ | ||
391 | #define CAN1_AM18L 0xffc03390 /* CAN Controller 1 Mailbox 18 Acceptance Mask High Register */ | ||
392 | #define CAN1_AM18H 0xffc03394 /* CAN Controller 1 Mailbox 18 Acceptance Mask Low Register */ | ||
393 | #define CAN1_AM19L 0xffc03398 /* CAN Controller 1 Mailbox 19 Acceptance Mask High Register */ | ||
394 | #define CAN1_AM19H 0xffc0339c /* CAN Controller 1 Mailbox 19 Acceptance Mask Low Register */ | ||
395 | #define CAN1_AM20L 0xffc033a0 /* CAN Controller 1 Mailbox 20 Acceptance Mask High Register */ | ||
396 | #define CAN1_AM20H 0xffc033a4 /* CAN Controller 1 Mailbox 20 Acceptance Mask Low Register */ | ||
397 | #define CAN1_AM21L 0xffc033a8 /* CAN Controller 1 Mailbox 21 Acceptance Mask High Register */ | ||
398 | #define CAN1_AM21H 0xffc033ac /* CAN Controller 1 Mailbox 21 Acceptance Mask Low Register */ | ||
399 | #define CAN1_AM22L 0xffc033b0 /* CAN Controller 1 Mailbox 22 Acceptance Mask High Register */ | ||
400 | #define CAN1_AM22H 0xffc033b4 /* CAN Controller 1 Mailbox 22 Acceptance Mask Low Register */ | ||
401 | #define CAN1_AM23L 0xffc033b8 /* CAN Controller 1 Mailbox 23 Acceptance Mask High Register */ | ||
402 | #define CAN1_AM23H 0xffc033bc /* CAN Controller 1 Mailbox 23 Acceptance Mask Low Register */ | ||
403 | #define CAN1_AM24L 0xffc033c0 /* CAN Controller 1 Mailbox 24 Acceptance Mask High Register */ | ||
404 | #define CAN1_AM24H 0xffc033c4 /* CAN Controller 1 Mailbox 24 Acceptance Mask Low Register */ | ||
405 | #define CAN1_AM25L 0xffc033c8 /* CAN Controller 1 Mailbox 25 Acceptance Mask High Register */ | ||
406 | #define CAN1_AM25H 0xffc033cc /* CAN Controller 1 Mailbox 25 Acceptance Mask Low Register */ | ||
407 | #define CAN1_AM26L 0xffc033d0 /* CAN Controller 1 Mailbox 26 Acceptance Mask High Register */ | ||
408 | #define CAN1_AM26H 0xffc033d4 /* CAN Controller 1 Mailbox 26 Acceptance Mask Low Register */ | ||
409 | #define CAN1_AM27L 0xffc033d8 /* CAN Controller 1 Mailbox 27 Acceptance Mask High Register */ | ||
410 | #define CAN1_AM27H 0xffc033dc /* CAN Controller 1 Mailbox 27 Acceptance Mask Low Register */ | ||
411 | #define CAN1_AM28L 0xffc033e0 /* CAN Controller 1 Mailbox 28 Acceptance Mask High Register */ | ||
412 | #define CAN1_AM28H 0xffc033e4 /* CAN Controller 1 Mailbox 28 Acceptance Mask Low Register */ | ||
413 | #define CAN1_AM29L 0xffc033e8 /* CAN Controller 1 Mailbox 29 Acceptance Mask High Register */ | ||
414 | #define CAN1_AM29H 0xffc033ec /* CAN Controller 1 Mailbox 29 Acceptance Mask Low Register */ | ||
415 | #define CAN1_AM30L 0xffc033f0 /* CAN Controller 1 Mailbox 30 Acceptance Mask High Register */ | ||
416 | #define CAN1_AM30H 0xffc033f4 /* CAN Controller 1 Mailbox 30 Acceptance Mask Low Register */ | ||
417 | #define CAN1_AM31L 0xffc033f8 /* CAN Controller 1 Mailbox 31 Acceptance Mask High Register */ | ||
418 | #define CAN1_AM31H 0xffc033fc /* CAN Controller 1 Mailbox 31 Acceptance Mask Low Register */ | ||
419 | |||
420 | /* CAN Controller 1 Mailbox Data Registers */ | ||
421 | |||
422 | #define CAN1_MB00_DATA0 0xffc03400 /* CAN Controller 1 Mailbox 0 Data 0 Register */ | ||
423 | #define CAN1_MB00_DATA1 0xffc03404 /* CAN Controller 1 Mailbox 0 Data 1 Register */ | ||
424 | #define CAN1_MB00_DATA2 0xffc03408 /* CAN Controller 1 Mailbox 0 Data 2 Register */ | ||
425 | #define CAN1_MB00_DATA3 0xffc0340c /* CAN Controller 1 Mailbox 0 Data 3 Register */ | ||
426 | #define CAN1_MB00_LENGTH 0xffc03410 /* CAN Controller 1 Mailbox 0 Length Register */ | ||
427 | #define CAN1_MB00_TIMESTAMP 0xffc03414 /* CAN Controller 1 Mailbox 0 Timestamp Register */ | ||
428 | #define CAN1_MB00_ID0 0xffc03418 /* CAN Controller 1 Mailbox 0 ID0 Register */ | ||
429 | #define CAN1_MB00_ID1 0xffc0341c /* CAN Controller 1 Mailbox 0 ID1 Register */ | ||
430 | #define CAN1_MB01_DATA0 0xffc03420 /* CAN Controller 1 Mailbox 1 Data 0 Register */ | ||
431 | #define CAN1_MB01_DATA1 0xffc03424 /* CAN Controller 1 Mailbox 1 Data 1 Register */ | ||
432 | #define CAN1_MB01_DATA2 0xffc03428 /* CAN Controller 1 Mailbox 1 Data 2 Register */ | ||
433 | #define CAN1_MB01_DATA3 0xffc0342c /* CAN Controller 1 Mailbox 1 Data 3 Register */ | ||
434 | #define CAN1_MB01_LENGTH 0xffc03430 /* CAN Controller 1 Mailbox 1 Length Register */ | ||
435 | #define CAN1_MB01_TIMESTAMP 0xffc03434 /* CAN Controller 1 Mailbox 1 Timestamp Register */ | ||
436 | #define CAN1_MB01_ID0 0xffc03438 /* CAN Controller 1 Mailbox 1 ID0 Register */ | ||
437 | #define CAN1_MB01_ID1 0xffc0343c /* CAN Controller 1 Mailbox 1 ID1 Register */ | ||
438 | #define CAN1_MB02_DATA0 0xffc03440 /* CAN Controller 1 Mailbox 2 Data 0 Register */ | ||
439 | #define CAN1_MB02_DATA1 0xffc03444 /* CAN Controller 1 Mailbox 2 Data 1 Register */ | ||
440 | #define CAN1_MB02_DATA2 0xffc03448 /* CAN Controller 1 Mailbox 2 Data 2 Register */ | ||
441 | #define CAN1_MB02_DATA3 0xffc0344c /* CAN Controller 1 Mailbox 2 Data 3 Register */ | ||
442 | #define CAN1_MB02_LENGTH 0xffc03450 /* CAN Controller 1 Mailbox 2 Length Register */ | ||
443 | #define CAN1_MB02_TIMESTAMP 0xffc03454 /* CAN Controller 1 Mailbox 2 Timestamp Register */ | ||
444 | #define CAN1_MB02_ID0 0xffc03458 /* CAN Controller 1 Mailbox 2 ID0 Register */ | ||
445 | #define CAN1_MB02_ID1 0xffc0345c /* CAN Controller 1 Mailbox 2 ID1 Register */ | ||
446 | #define CAN1_MB03_DATA0 0xffc03460 /* CAN Controller 1 Mailbox 3 Data 0 Register */ | ||
447 | #define CAN1_MB03_DATA1 0xffc03464 /* CAN Controller 1 Mailbox 3 Data 1 Register */ | ||
448 | #define CAN1_MB03_DATA2 0xffc03468 /* CAN Controller 1 Mailbox 3 Data 2 Register */ | ||
449 | #define CAN1_MB03_DATA3 0xffc0346c /* CAN Controller 1 Mailbox 3 Data 3 Register */ | ||
450 | #define CAN1_MB03_LENGTH 0xffc03470 /* CAN Controller 1 Mailbox 3 Length Register */ | ||
451 | #define CAN1_MB03_TIMESTAMP 0xffc03474 /* CAN Controller 1 Mailbox 3 Timestamp Register */ | ||
452 | #define CAN1_MB03_ID0 0xffc03478 /* CAN Controller 1 Mailbox 3 ID0 Register */ | ||
453 | #define CAN1_MB03_ID1 0xffc0347c /* CAN Controller 1 Mailbox 3 ID1 Register */ | ||
454 | #define CAN1_MB04_DATA0 0xffc03480 /* CAN Controller 1 Mailbox 4 Data 0 Register */ | ||
455 | #define CAN1_MB04_DATA1 0xffc03484 /* CAN Controller 1 Mailbox 4 Data 1 Register */ | ||
456 | #define CAN1_MB04_DATA2 0xffc03488 /* CAN Controller 1 Mailbox 4 Data 2 Register */ | ||
457 | #define CAN1_MB04_DATA3 0xffc0348c /* CAN Controller 1 Mailbox 4 Data 3 Register */ | ||
458 | #define CAN1_MB04_LENGTH 0xffc03490 /* CAN Controller 1 Mailbox 4 Length Register */ | ||
459 | #define CAN1_MB04_TIMESTAMP 0xffc03494 /* CAN Controller 1 Mailbox 4 Timestamp Register */ | ||
460 | #define CAN1_MB04_ID0 0xffc03498 /* CAN Controller 1 Mailbox 4 ID0 Register */ | ||
461 | #define CAN1_MB04_ID1 0xffc0349c /* CAN Controller 1 Mailbox 4 ID1 Register */ | ||
462 | #define CAN1_MB05_DATA0 0xffc034a0 /* CAN Controller 1 Mailbox 5 Data 0 Register */ | ||
463 | #define CAN1_MB05_DATA1 0xffc034a4 /* CAN Controller 1 Mailbox 5 Data 1 Register */ | ||
464 | #define CAN1_MB05_DATA2 0xffc034a8 /* CAN Controller 1 Mailbox 5 Data 2 Register */ | ||
465 | #define CAN1_MB05_DATA3 0xffc034ac /* CAN Controller 1 Mailbox 5 Data 3 Register */ | ||
466 | #define CAN1_MB05_LENGTH 0xffc034b0 /* CAN Controller 1 Mailbox 5 Length Register */ | ||
467 | #define CAN1_MB05_TIMESTAMP 0xffc034b4 /* CAN Controller 1 Mailbox 5 Timestamp Register */ | ||
468 | #define CAN1_MB05_ID0 0xffc034b8 /* CAN Controller 1 Mailbox 5 ID0 Register */ | ||
469 | #define CAN1_MB05_ID1 0xffc034bc /* CAN Controller 1 Mailbox 5 ID1 Register */ | ||
470 | #define CAN1_MB06_DATA0 0xffc034c0 /* CAN Controller 1 Mailbox 6 Data 0 Register */ | ||
471 | #define CAN1_MB06_DATA1 0xffc034c4 /* CAN Controller 1 Mailbox 6 Data 1 Register */ | ||
472 | #define CAN1_MB06_DATA2 0xffc034c8 /* CAN Controller 1 Mailbox 6 Data 2 Register */ | ||
473 | #define CAN1_MB06_DATA3 0xffc034cc /* CAN Controller 1 Mailbox 6 Data 3 Register */ | ||
474 | #define CAN1_MB06_LENGTH 0xffc034d0 /* CAN Controller 1 Mailbox 6 Length Register */ | ||
475 | #define CAN1_MB06_TIMESTAMP 0xffc034d4 /* CAN Controller 1 Mailbox 6 Timestamp Register */ | ||
476 | #define CAN1_MB06_ID0 0xffc034d8 /* CAN Controller 1 Mailbox 6 ID0 Register */ | ||
477 | #define CAN1_MB06_ID1 0xffc034dc /* CAN Controller 1 Mailbox 6 ID1 Register */ | ||
478 | #define CAN1_MB07_DATA0 0xffc034e0 /* CAN Controller 1 Mailbox 7 Data 0 Register */ | ||
479 | #define CAN1_MB07_DATA1 0xffc034e4 /* CAN Controller 1 Mailbox 7 Data 1 Register */ | ||
480 | #define CAN1_MB07_DATA2 0xffc034e8 /* CAN Controller 1 Mailbox 7 Data 2 Register */ | ||
481 | #define CAN1_MB07_DATA3 0xffc034ec /* CAN Controller 1 Mailbox 7 Data 3 Register */ | ||
482 | #define CAN1_MB07_LENGTH 0xffc034f0 /* CAN Controller 1 Mailbox 7 Length Register */ | ||
483 | #define CAN1_MB07_TIMESTAMP 0xffc034f4 /* CAN Controller 1 Mailbox 7 Timestamp Register */ | ||
484 | #define CAN1_MB07_ID0 0xffc034f8 /* CAN Controller 1 Mailbox 7 ID0 Register */ | ||
485 | #define CAN1_MB07_ID1 0xffc034fc /* CAN Controller 1 Mailbox 7 ID1 Register */ | ||
486 | #define CAN1_MB08_DATA0 0xffc03500 /* CAN Controller 1 Mailbox 8 Data 0 Register */ | ||
487 | #define CAN1_MB08_DATA1 0xffc03504 /* CAN Controller 1 Mailbox 8 Data 1 Register */ | ||
488 | #define CAN1_MB08_DATA2 0xffc03508 /* CAN Controller 1 Mailbox 8 Data 2 Register */ | ||
489 | #define CAN1_MB08_DATA3 0xffc0350c /* CAN Controller 1 Mailbox 8 Data 3 Register */ | ||
490 | #define CAN1_MB08_LENGTH 0xffc03510 /* CAN Controller 1 Mailbox 8 Length Register */ | ||
491 | #define CAN1_MB08_TIMESTAMP 0xffc03514 /* CAN Controller 1 Mailbox 8 Timestamp Register */ | ||
492 | #define CAN1_MB08_ID0 0xffc03518 /* CAN Controller 1 Mailbox 8 ID0 Register */ | ||
493 | #define CAN1_MB08_ID1 0xffc0351c /* CAN Controller 1 Mailbox 8 ID1 Register */ | ||
494 | #define CAN1_MB09_DATA0 0xffc03520 /* CAN Controller 1 Mailbox 9 Data 0 Register */ | ||
495 | #define CAN1_MB09_DATA1 0xffc03524 /* CAN Controller 1 Mailbox 9 Data 1 Register */ | ||
496 | #define CAN1_MB09_DATA2 0xffc03528 /* CAN Controller 1 Mailbox 9 Data 2 Register */ | ||
497 | #define CAN1_MB09_DATA3 0xffc0352c /* CAN Controller 1 Mailbox 9 Data 3 Register */ | ||
498 | #define CAN1_MB09_LENGTH 0xffc03530 /* CAN Controller 1 Mailbox 9 Length Register */ | ||
499 | #define CAN1_MB09_TIMESTAMP 0xffc03534 /* CAN Controller 1 Mailbox 9 Timestamp Register */ | ||
500 | #define CAN1_MB09_ID0 0xffc03538 /* CAN Controller 1 Mailbox 9 ID0 Register */ | ||
501 | #define CAN1_MB09_ID1 0xffc0353c /* CAN Controller 1 Mailbox 9 ID1 Register */ | ||
502 | #define CAN1_MB10_DATA0 0xffc03540 /* CAN Controller 1 Mailbox 10 Data 0 Register */ | ||
503 | #define CAN1_MB10_DATA1 0xffc03544 /* CAN Controller 1 Mailbox 10 Data 1 Register */ | ||
504 | #define CAN1_MB10_DATA2 0xffc03548 /* CAN Controller 1 Mailbox 10 Data 2 Register */ | ||
505 | #define CAN1_MB10_DATA3 0xffc0354c /* CAN Controller 1 Mailbox 10 Data 3 Register */ | ||
506 | #define CAN1_MB10_LENGTH 0xffc03550 /* CAN Controller 1 Mailbox 10 Length Register */ | ||
507 | #define CAN1_MB10_TIMESTAMP 0xffc03554 /* CAN Controller 1 Mailbox 10 Timestamp Register */ | ||
508 | #define CAN1_MB10_ID0 0xffc03558 /* CAN Controller 1 Mailbox 10 ID0 Register */ | ||
509 | #define CAN1_MB10_ID1 0xffc0355c /* CAN Controller 1 Mailbox 10 ID1 Register */ | ||
510 | #define CAN1_MB11_DATA0 0xffc03560 /* CAN Controller 1 Mailbox 11 Data 0 Register */ | ||
511 | #define CAN1_MB11_DATA1 0xffc03564 /* CAN Controller 1 Mailbox 11 Data 1 Register */ | ||
512 | #define CAN1_MB11_DATA2 0xffc03568 /* CAN Controller 1 Mailbox 11 Data 2 Register */ | ||
513 | #define CAN1_MB11_DATA3 0xffc0356c /* CAN Controller 1 Mailbox 11 Data 3 Register */ | ||
514 | #define CAN1_MB11_LENGTH 0xffc03570 /* CAN Controller 1 Mailbox 11 Length Register */ | ||
515 | #define CAN1_MB11_TIMESTAMP 0xffc03574 /* CAN Controller 1 Mailbox 11 Timestamp Register */ | ||
516 | #define CAN1_MB11_ID0 0xffc03578 /* CAN Controller 1 Mailbox 11 ID0 Register */ | ||
517 | #define CAN1_MB11_ID1 0xffc0357c /* CAN Controller 1 Mailbox 11 ID1 Register */ | ||
518 | #define CAN1_MB12_DATA0 0xffc03580 /* CAN Controller 1 Mailbox 12 Data 0 Register */ | ||
519 | #define CAN1_MB12_DATA1 0xffc03584 /* CAN Controller 1 Mailbox 12 Data 1 Register */ | ||
520 | #define CAN1_MB12_DATA2 0xffc03588 /* CAN Controller 1 Mailbox 12 Data 2 Register */ | ||
521 | #define CAN1_MB12_DATA3 0xffc0358c /* CAN Controller 1 Mailbox 12 Data 3 Register */ | ||
522 | #define CAN1_MB12_LENGTH 0xffc03590 /* CAN Controller 1 Mailbox 12 Length Register */ | ||
523 | #define CAN1_MB12_TIMESTAMP 0xffc03594 /* CAN Controller 1 Mailbox 12 Timestamp Register */ | ||
524 | #define CAN1_MB12_ID0 0xffc03598 /* CAN Controller 1 Mailbox 12 ID0 Register */ | ||
525 | #define CAN1_MB12_ID1 0xffc0359c /* CAN Controller 1 Mailbox 12 ID1 Register */ | ||
526 | #define CAN1_MB13_DATA0 0xffc035a0 /* CAN Controller 1 Mailbox 13 Data 0 Register */ | ||
527 | #define CAN1_MB13_DATA1 0xffc035a4 /* CAN Controller 1 Mailbox 13 Data 1 Register */ | ||
528 | #define CAN1_MB13_DATA2 0xffc035a8 /* CAN Controller 1 Mailbox 13 Data 2 Register */ | ||
529 | #define CAN1_MB13_DATA3 0xffc035ac /* CAN Controller 1 Mailbox 13 Data 3 Register */ | ||
530 | #define CAN1_MB13_LENGTH 0xffc035b0 /* CAN Controller 1 Mailbox 13 Length Register */ | ||
531 | #define CAN1_MB13_TIMESTAMP 0xffc035b4 /* CAN Controller 1 Mailbox 13 Timestamp Register */ | ||
532 | #define CAN1_MB13_ID0 0xffc035b8 /* CAN Controller 1 Mailbox 13 ID0 Register */ | ||
533 | #define CAN1_MB13_ID1 0xffc035bc /* CAN Controller 1 Mailbox 13 ID1 Register */ | ||
534 | #define CAN1_MB14_DATA0 0xffc035c0 /* CAN Controller 1 Mailbox 14 Data 0 Register */ | ||
535 | #define CAN1_MB14_DATA1 0xffc035c4 /* CAN Controller 1 Mailbox 14 Data 1 Register */ | ||
536 | #define CAN1_MB14_DATA2 0xffc035c8 /* CAN Controller 1 Mailbox 14 Data 2 Register */ | ||
537 | #define CAN1_MB14_DATA3 0xffc035cc /* CAN Controller 1 Mailbox 14 Data 3 Register */ | ||
538 | #define CAN1_MB14_LENGTH 0xffc035d0 /* CAN Controller 1 Mailbox 14 Length Register */ | ||
539 | #define CAN1_MB14_TIMESTAMP 0xffc035d4 /* CAN Controller 1 Mailbox 14 Timestamp Register */ | ||
540 | #define CAN1_MB14_ID0 0xffc035d8 /* CAN Controller 1 Mailbox 14 ID0 Register */ | ||
541 | #define CAN1_MB14_ID1 0xffc035dc /* CAN Controller 1 Mailbox 14 ID1 Register */ | ||
542 | #define CAN1_MB15_DATA0 0xffc035e0 /* CAN Controller 1 Mailbox 15 Data 0 Register */ | ||
543 | #define CAN1_MB15_DATA1 0xffc035e4 /* CAN Controller 1 Mailbox 15 Data 1 Register */ | ||
544 | #define CAN1_MB15_DATA2 0xffc035e8 /* CAN Controller 1 Mailbox 15 Data 2 Register */ | ||
545 | #define CAN1_MB15_DATA3 0xffc035ec /* CAN Controller 1 Mailbox 15 Data 3 Register */ | ||
546 | #define CAN1_MB15_LENGTH 0xffc035f0 /* CAN Controller 1 Mailbox 15 Length Register */ | ||
547 | #define CAN1_MB15_TIMESTAMP 0xffc035f4 /* CAN Controller 1 Mailbox 15 Timestamp Register */ | ||
548 | #define CAN1_MB15_ID0 0xffc035f8 /* CAN Controller 1 Mailbox 15 ID0 Register */ | ||
549 | #define CAN1_MB15_ID1 0xffc035fc /* CAN Controller 1 Mailbox 15 ID1 Register */ | ||
550 | |||
551 | /* CAN Controller 1 Mailbox Data Registers */ | ||
552 | |||
553 | #define CAN1_MB16_DATA0 0xffc03600 /* CAN Controller 1 Mailbox 16 Data 0 Register */ | ||
554 | #define CAN1_MB16_DATA1 0xffc03604 /* CAN Controller 1 Mailbox 16 Data 1 Register */ | ||
555 | #define CAN1_MB16_DATA2 0xffc03608 /* CAN Controller 1 Mailbox 16 Data 2 Register */ | ||
556 | #define CAN1_MB16_DATA3 0xffc0360c /* CAN Controller 1 Mailbox 16 Data 3 Register */ | ||
557 | #define CAN1_MB16_LENGTH 0xffc03610 /* CAN Controller 1 Mailbox 16 Length Register */ | ||
558 | #define CAN1_MB16_TIMESTAMP 0xffc03614 /* CAN Controller 1 Mailbox 16 Timestamp Register */ | ||
559 | #define CAN1_MB16_ID0 0xffc03618 /* CAN Controller 1 Mailbox 16 ID0 Register */ | ||
560 | #define CAN1_MB16_ID1 0xffc0361c /* CAN Controller 1 Mailbox 16 ID1 Register */ | ||
561 | #define CAN1_MB17_DATA0 0xffc03620 /* CAN Controller 1 Mailbox 17 Data 0 Register */ | ||
562 | #define CAN1_MB17_DATA1 0xffc03624 /* CAN Controller 1 Mailbox 17 Data 1 Register */ | ||
563 | #define CAN1_MB17_DATA2 0xffc03628 /* CAN Controller 1 Mailbox 17 Data 2 Register */ | ||
564 | #define CAN1_MB17_DATA3 0xffc0362c /* CAN Controller 1 Mailbox 17 Data 3 Register */ | ||
565 | #define CAN1_MB17_LENGTH 0xffc03630 /* CAN Controller 1 Mailbox 17 Length Register */ | ||
566 | #define CAN1_MB17_TIMESTAMP 0xffc03634 /* CAN Controller 1 Mailbox 17 Timestamp Register */ | ||
567 | #define CAN1_MB17_ID0 0xffc03638 /* CAN Controller 1 Mailbox 17 ID0 Register */ | ||
568 | #define CAN1_MB17_ID1 0xffc0363c /* CAN Controller 1 Mailbox 17 ID1 Register */ | ||
569 | #define CAN1_MB18_DATA0 0xffc03640 /* CAN Controller 1 Mailbox 18 Data 0 Register */ | ||
570 | #define CAN1_MB18_DATA1 0xffc03644 /* CAN Controller 1 Mailbox 18 Data 1 Register */ | ||
571 | #define CAN1_MB18_DATA2 0xffc03648 /* CAN Controller 1 Mailbox 18 Data 2 Register */ | ||
572 | #define CAN1_MB18_DATA3 0xffc0364c /* CAN Controller 1 Mailbox 18 Data 3 Register */ | ||
573 | #define CAN1_MB18_LENGTH 0xffc03650 /* CAN Controller 1 Mailbox 18 Length Register */ | ||
574 | #define CAN1_MB18_TIMESTAMP 0xffc03654 /* CAN Controller 1 Mailbox 18 Timestamp Register */ | ||
575 | #define CAN1_MB18_ID0 0xffc03658 /* CAN Controller 1 Mailbox 18 ID0 Register */ | ||
576 | #define CAN1_MB18_ID1 0xffc0365c /* CAN Controller 1 Mailbox 18 ID1 Register */ | ||
577 | #define CAN1_MB19_DATA0 0xffc03660 /* CAN Controller 1 Mailbox 19 Data 0 Register */ | ||
578 | #define CAN1_MB19_DATA1 0xffc03664 /* CAN Controller 1 Mailbox 19 Data 1 Register */ | ||
579 | #define CAN1_MB19_DATA2 0xffc03668 /* CAN Controller 1 Mailbox 19 Data 2 Register */ | ||
580 | #define CAN1_MB19_DATA3 0xffc0366c /* CAN Controller 1 Mailbox 19 Data 3 Register */ | ||
581 | #define CAN1_MB19_LENGTH 0xffc03670 /* CAN Controller 1 Mailbox 19 Length Register */ | ||
582 | #define CAN1_MB19_TIMESTAMP 0xffc03674 /* CAN Controller 1 Mailbox 19 Timestamp Register */ | ||
583 | #define CAN1_MB19_ID0 0xffc03678 /* CAN Controller 1 Mailbox 19 ID0 Register */ | ||
584 | #define CAN1_MB19_ID1 0xffc0367c /* CAN Controller 1 Mailbox 19 ID1 Register */ | ||
585 | #define CAN1_MB20_DATA0 0xffc03680 /* CAN Controller 1 Mailbox 20 Data 0 Register */ | ||
586 | #define CAN1_MB20_DATA1 0xffc03684 /* CAN Controller 1 Mailbox 20 Data 1 Register */ | ||
587 | #define CAN1_MB20_DATA2 0xffc03688 /* CAN Controller 1 Mailbox 20 Data 2 Register */ | ||
588 | #define CAN1_MB20_DATA3 0xffc0368c /* CAN Controller 1 Mailbox 20 Data 3 Register */ | ||
589 | #define CAN1_MB20_LENGTH 0xffc03690 /* CAN Controller 1 Mailbox 20 Length Register */ | ||
590 | #define CAN1_MB20_TIMESTAMP 0xffc03694 /* CAN Controller 1 Mailbox 20 Timestamp Register */ | ||
591 | #define CAN1_MB20_ID0 0xffc03698 /* CAN Controller 1 Mailbox 20 ID0 Register */ | ||
592 | #define CAN1_MB20_ID1 0xffc0369c /* CAN Controller 1 Mailbox 20 ID1 Register */ | ||
593 | #define CAN1_MB21_DATA0 0xffc036a0 /* CAN Controller 1 Mailbox 21 Data 0 Register */ | ||
594 | #define CAN1_MB21_DATA1 0xffc036a4 /* CAN Controller 1 Mailbox 21 Data 1 Register */ | ||
595 | #define CAN1_MB21_DATA2 0xffc036a8 /* CAN Controller 1 Mailbox 21 Data 2 Register */ | ||
596 | #define CAN1_MB21_DATA3 0xffc036ac /* CAN Controller 1 Mailbox 21 Data 3 Register */ | ||
597 | #define CAN1_MB21_LENGTH 0xffc036b0 /* CAN Controller 1 Mailbox 21 Length Register */ | ||
598 | #define CAN1_MB21_TIMESTAMP 0xffc036b4 /* CAN Controller 1 Mailbox 21 Timestamp Register */ | ||
599 | #define CAN1_MB21_ID0 0xffc036b8 /* CAN Controller 1 Mailbox 21 ID0 Register */ | ||
600 | #define CAN1_MB21_ID1 0xffc036bc /* CAN Controller 1 Mailbox 21 ID1 Register */ | ||
601 | #define CAN1_MB22_DATA0 0xffc036c0 /* CAN Controller 1 Mailbox 22 Data 0 Register */ | ||
602 | #define CAN1_MB22_DATA1 0xffc036c4 /* CAN Controller 1 Mailbox 22 Data 1 Register */ | ||
603 | #define CAN1_MB22_DATA2 0xffc036c8 /* CAN Controller 1 Mailbox 22 Data 2 Register */ | ||
604 | #define CAN1_MB22_DATA3 0xffc036cc /* CAN Controller 1 Mailbox 22 Data 3 Register */ | ||
605 | #define CAN1_MB22_LENGTH 0xffc036d0 /* CAN Controller 1 Mailbox 22 Length Register */ | ||
606 | #define CAN1_MB22_TIMESTAMP 0xffc036d4 /* CAN Controller 1 Mailbox 22 Timestamp Register */ | ||
607 | #define CAN1_MB22_ID0 0xffc036d8 /* CAN Controller 1 Mailbox 22 ID0 Register */ | ||
608 | #define CAN1_MB22_ID1 0xffc036dc /* CAN Controller 1 Mailbox 22 ID1 Register */ | ||
609 | #define CAN1_MB23_DATA0 0xffc036e0 /* CAN Controller 1 Mailbox 23 Data 0 Register */ | ||
610 | #define CAN1_MB23_DATA1 0xffc036e4 /* CAN Controller 1 Mailbox 23 Data 1 Register */ | ||
611 | #define CAN1_MB23_DATA2 0xffc036e8 /* CAN Controller 1 Mailbox 23 Data 2 Register */ | ||
612 | #define CAN1_MB23_DATA3 0xffc036ec /* CAN Controller 1 Mailbox 23 Data 3 Register */ | ||
613 | #define CAN1_MB23_LENGTH 0xffc036f0 /* CAN Controller 1 Mailbox 23 Length Register */ | ||
614 | #define CAN1_MB23_TIMESTAMP 0xffc036f4 /* CAN Controller 1 Mailbox 23 Timestamp Register */ | ||
615 | #define CAN1_MB23_ID0 0xffc036f8 /* CAN Controller 1 Mailbox 23 ID0 Register */ | ||
616 | #define CAN1_MB23_ID1 0xffc036fc /* CAN Controller 1 Mailbox 23 ID1 Register */ | ||
617 | #define CAN1_MB24_DATA0 0xffc03700 /* CAN Controller 1 Mailbox 24 Data 0 Register */ | ||
618 | #define CAN1_MB24_DATA1 0xffc03704 /* CAN Controller 1 Mailbox 24 Data 1 Register */ | ||
619 | #define CAN1_MB24_DATA2 0xffc03708 /* CAN Controller 1 Mailbox 24 Data 2 Register */ | ||
620 | #define CAN1_MB24_DATA3 0xffc0370c /* CAN Controller 1 Mailbox 24 Data 3 Register */ | ||
621 | #define CAN1_MB24_LENGTH 0xffc03710 /* CAN Controller 1 Mailbox 24 Length Register */ | ||
622 | #define CAN1_MB24_TIMESTAMP 0xffc03714 /* CAN Controller 1 Mailbox 24 Timestamp Register */ | ||
623 | #define CAN1_MB24_ID0 0xffc03718 /* CAN Controller 1 Mailbox 24 ID0 Register */ | ||
624 | #define CAN1_MB24_ID1 0xffc0371c /* CAN Controller 1 Mailbox 24 ID1 Register */ | ||
625 | #define CAN1_MB25_DATA0 0xffc03720 /* CAN Controller 1 Mailbox 25 Data 0 Register */ | ||
626 | #define CAN1_MB25_DATA1 0xffc03724 /* CAN Controller 1 Mailbox 25 Data 1 Register */ | ||
627 | #define CAN1_MB25_DATA2 0xffc03728 /* CAN Controller 1 Mailbox 25 Data 2 Register */ | ||
628 | #define CAN1_MB25_DATA3 0xffc0372c /* CAN Controller 1 Mailbox 25 Data 3 Register */ | ||
629 | #define CAN1_MB25_LENGTH 0xffc03730 /* CAN Controller 1 Mailbox 25 Length Register */ | ||
630 | #define CAN1_MB25_TIMESTAMP 0xffc03734 /* CAN Controller 1 Mailbox 25 Timestamp Register */ | ||
631 | #define CAN1_MB25_ID0 0xffc03738 /* CAN Controller 1 Mailbox 25 ID0 Register */ | ||
632 | #define CAN1_MB25_ID1 0xffc0373c /* CAN Controller 1 Mailbox 25 ID1 Register */ | ||
633 | #define CAN1_MB26_DATA0 0xffc03740 /* CAN Controller 1 Mailbox 26 Data 0 Register */ | ||
634 | #define CAN1_MB26_DATA1 0xffc03744 /* CAN Controller 1 Mailbox 26 Data 1 Register */ | ||
635 | #define CAN1_MB26_DATA2 0xffc03748 /* CAN Controller 1 Mailbox 26 Data 2 Register */ | ||
636 | #define CAN1_MB26_DATA3 0xffc0374c /* CAN Controller 1 Mailbox 26 Data 3 Register */ | ||
637 | #define CAN1_MB26_LENGTH 0xffc03750 /* CAN Controller 1 Mailbox 26 Length Register */ | ||
638 | #define CAN1_MB26_TIMESTAMP 0xffc03754 /* CAN Controller 1 Mailbox 26 Timestamp Register */ | ||
639 | #define CAN1_MB26_ID0 0xffc03758 /* CAN Controller 1 Mailbox 26 ID0 Register */ | ||
640 | #define CAN1_MB26_ID1 0xffc0375c /* CAN Controller 1 Mailbox 26 ID1 Register */ | ||
641 | #define CAN1_MB27_DATA0 0xffc03760 /* CAN Controller 1 Mailbox 27 Data 0 Register */ | ||
642 | #define CAN1_MB27_DATA1 0xffc03764 /* CAN Controller 1 Mailbox 27 Data 1 Register */ | ||
643 | #define CAN1_MB27_DATA2 0xffc03768 /* CAN Controller 1 Mailbox 27 Data 2 Register */ | ||
644 | #define CAN1_MB27_DATA3 0xffc0376c /* CAN Controller 1 Mailbox 27 Data 3 Register */ | ||
645 | #define CAN1_MB27_LENGTH 0xffc03770 /* CAN Controller 1 Mailbox 27 Length Register */ | ||
646 | #define CAN1_MB27_TIMESTAMP 0xffc03774 /* CAN Controller 1 Mailbox 27 Timestamp Register */ | ||
647 | #define CAN1_MB27_ID0 0xffc03778 /* CAN Controller 1 Mailbox 27 ID0 Register */ | ||
648 | #define CAN1_MB27_ID1 0xffc0377c /* CAN Controller 1 Mailbox 27 ID1 Register */ | ||
649 | #define CAN1_MB28_DATA0 0xffc03780 /* CAN Controller 1 Mailbox 28 Data 0 Register */ | ||
650 | #define CAN1_MB28_DATA1 0xffc03784 /* CAN Controller 1 Mailbox 28 Data 1 Register */ | ||
651 | #define CAN1_MB28_DATA2 0xffc03788 /* CAN Controller 1 Mailbox 28 Data 2 Register */ | ||
652 | #define CAN1_MB28_DATA3 0xffc0378c /* CAN Controller 1 Mailbox 28 Data 3 Register */ | ||
653 | #define CAN1_MB28_LENGTH 0xffc03790 /* CAN Controller 1 Mailbox 28 Length Register */ | ||
654 | #define CAN1_MB28_TIMESTAMP 0xffc03794 /* CAN Controller 1 Mailbox 28 Timestamp Register */ | ||
655 | #define CAN1_MB28_ID0 0xffc03798 /* CAN Controller 1 Mailbox 28 ID0 Register */ | ||
656 | #define CAN1_MB28_ID1 0xffc0379c /* CAN Controller 1 Mailbox 28 ID1 Register */ | ||
657 | #define CAN1_MB29_DATA0 0xffc037a0 /* CAN Controller 1 Mailbox 29 Data 0 Register */ | ||
658 | #define CAN1_MB29_DATA1 0xffc037a4 /* CAN Controller 1 Mailbox 29 Data 1 Register */ | ||
659 | #define CAN1_MB29_DATA2 0xffc037a8 /* CAN Controller 1 Mailbox 29 Data 2 Register */ | ||
660 | #define CAN1_MB29_DATA3 0xffc037ac /* CAN Controller 1 Mailbox 29 Data 3 Register */ | ||
661 | #define CAN1_MB29_LENGTH 0xffc037b0 /* CAN Controller 1 Mailbox 29 Length Register */ | ||
662 | #define CAN1_MB29_TIMESTAMP 0xffc037b4 /* CAN Controller 1 Mailbox 29 Timestamp Register */ | ||
663 | #define CAN1_MB29_ID0 0xffc037b8 /* CAN Controller 1 Mailbox 29 ID0 Register */ | ||
664 | #define CAN1_MB29_ID1 0xffc037bc /* CAN Controller 1 Mailbox 29 ID1 Register */ | ||
665 | #define CAN1_MB30_DATA0 0xffc037c0 /* CAN Controller 1 Mailbox 30 Data 0 Register */ | ||
666 | #define CAN1_MB30_DATA1 0xffc037c4 /* CAN Controller 1 Mailbox 30 Data 1 Register */ | ||
667 | #define CAN1_MB30_DATA2 0xffc037c8 /* CAN Controller 1 Mailbox 30 Data 2 Register */ | ||
668 | #define CAN1_MB30_DATA3 0xffc037cc /* CAN Controller 1 Mailbox 30 Data 3 Register */ | ||
669 | #define CAN1_MB30_LENGTH 0xffc037d0 /* CAN Controller 1 Mailbox 30 Length Register */ | ||
670 | #define CAN1_MB30_TIMESTAMP 0xffc037d4 /* CAN Controller 1 Mailbox 30 Timestamp Register */ | ||
671 | #define CAN1_MB30_ID0 0xffc037d8 /* CAN Controller 1 Mailbox 30 ID0 Register */ | ||
672 | #define CAN1_MB30_ID1 0xffc037dc /* CAN Controller 1 Mailbox 30 ID1 Register */ | ||
673 | #define CAN1_MB31_DATA0 0xffc037e0 /* CAN Controller 1 Mailbox 31 Data 0 Register */ | ||
674 | #define CAN1_MB31_DATA1 0xffc037e4 /* CAN Controller 1 Mailbox 31 Data 1 Register */ | ||
675 | #define CAN1_MB31_DATA2 0xffc037e8 /* CAN Controller 1 Mailbox 31 Data 2 Register */ | ||
676 | #define CAN1_MB31_DATA3 0xffc037ec /* CAN Controller 1 Mailbox 31 Data 3 Register */ | ||
677 | #define CAN1_MB31_LENGTH 0xffc037f0 /* CAN Controller 1 Mailbox 31 Length Register */ | ||
678 | #define CAN1_MB31_TIMESTAMP 0xffc037f4 /* CAN Controller 1 Mailbox 31 Timestamp Register */ | ||
679 | #define CAN1_MB31_ID0 0xffc037f8 /* CAN Controller 1 Mailbox 31 ID0 Register */ | ||
680 | #define CAN1_MB31_ID1 0xffc037fc /* CAN Controller 1 Mailbox 31 ID1 Register */ | ||
681 | |||
682 | /* ATAPI Registers */ | ||
683 | |||
684 | #define ATAPI_CONTROL 0xffc03800 /* ATAPI Control Register */ | ||
685 | #define ATAPI_STATUS 0xffc03804 /* ATAPI Status Register */ | ||
686 | #define ATAPI_DEV_ADDR 0xffc03808 /* ATAPI Device Register Address */ | ||
687 | #define ATAPI_DEV_TXBUF 0xffc0380c /* ATAPI Device Register Write Data */ | ||
688 | #define ATAPI_DEV_RXBUF 0xffc03810 /* ATAPI Device Register Read Data */ | ||
689 | #define ATAPI_INT_MASK 0xffc03814 /* ATAPI Interrupt Mask Register */ | ||
690 | #define ATAPI_INT_STATUS 0xffc03818 /* ATAPI Interrupt Status Register */ | ||
691 | #define ATAPI_XFER_LEN 0xffc0381c /* ATAPI Length of Transfer */ | ||
692 | #define ATAPI_LINE_STATUS 0xffc03820 /* ATAPI Line Status */ | ||
693 | #define ATAPI_SM_STATE 0xffc03824 /* ATAPI State Machine Status */ | ||
694 | #define ATAPI_TERMINATE 0xffc03828 /* ATAPI Host Terminate */ | ||
695 | #define ATAPI_PIO_TFRCNT 0xffc0382c /* ATAPI PIO mode transfer count */ | ||
696 | #define ATAPI_DMA_TFRCNT 0xffc03830 /* ATAPI DMA mode transfer count */ | ||
697 | #define ATAPI_UMAIN_TFRCNT 0xffc03834 /* ATAPI UDMAIN transfer count */ | ||
698 | #define ATAPI_UDMAOUT_TFRCNT 0xffc03838 /* ATAPI UDMAOUT transfer count */ | ||
699 | #define ATAPI_REG_TIM_0 0xffc03840 /* ATAPI Register Transfer Timing 0 */ | ||
700 | #define ATAPI_PIO_TIM_0 0xffc03844 /* ATAPI PIO Timing 0 Register */ | ||
701 | #define ATAPI_PIO_TIM_1 0xffc03848 /* ATAPI PIO Timing 1 Register */ | ||
702 | #define ATAPI_MULTI_TIM_0 0xffc03850 /* ATAPI Multi-DMA Timing 0 Register */ | ||
703 | #define ATAPI_MULTI_TIM_1 0xffc03854 /* ATAPI Multi-DMA Timing 1 Register */ | ||
704 | #define ATAPI_MULTI_TIM_2 0xffc03858 /* ATAPI Multi-DMA Timing 2 Register */ | ||
705 | #define ATAPI_ULTRA_TIM_0 0xffc03860 /* ATAPI Ultra-DMA Timing 0 Register */ | ||
706 | #define ATAPI_ULTRA_TIM_1 0xffc03864 /* ATAPI Ultra-DMA Timing 1 Register */ | ||
707 | #define ATAPI_ULTRA_TIM_2 0xffc03868 /* ATAPI Ultra-DMA Timing 2 Register */ | ||
708 | #define ATAPI_ULTRA_TIM_3 0xffc0386c /* ATAPI Ultra-DMA Timing 3 Register */ | ||
709 | |||
710 | /* SDH Registers */ | ||
711 | |||
712 | #define SDH_PWR_CTL 0xffc03900 /* SDH Power Control */ | ||
713 | #define SDH_CLK_CTL 0xffc03904 /* SDH Clock Control */ | ||
714 | #define SDH_ARGUMENT 0xffc03908 /* SDH Argument */ | ||
715 | #define SDH_COMMAND 0xffc0390c /* SDH Command */ | ||
716 | #define SDH_RESP_CMD 0xffc03910 /* SDH Response Command */ | ||
717 | #define SDH_RESPONSE0 0xffc03914 /* SDH Response0 */ | ||
718 | #define SDH_RESPONSE1 0xffc03918 /* SDH Response1 */ | ||
719 | #define SDH_RESPONSE2 0xffc0391c /* SDH Response2 */ | ||
720 | #define SDH_RESPONSE3 0xffc03920 /* SDH Response3 */ | ||
721 | #define SDH_DATA_TIMER 0xffc03924 /* SDH Data Timer */ | ||
722 | #define SDH_DATA_LGTH 0xffc03928 /* SDH Data Length */ | ||
723 | #define SDH_DATA_CTL 0xffc0392c /* SDH Data Control */ | ||
724 | #define SDH_DATA_CNT 0xffc03930 /* SDH Data Counter */ | ||
725 | #define SDH_STATUS 0xffc03934 /* SDH Status */ | ||
726 | #define SDH_STATUS_CLR 0xffc03938 /* SDH Status Clear */ | ||
727 | #define SDH_MASK0 0xffc0393c /* SDH Interrupt0 Mask */ | ||
728 | #define SDH_MASK1 0xffc03940 /* SDH Interrupt1 Mask */ | ||
729 | #define SDH_FIFO_CNT 0xffc03948 /* SDH FIFO Counter */ | ||
730 | #define SDH_FIFO 0xffc03980 /* SDH Data FIFO */ | ||
731 | #define SDH_E_STATUS 0xffc039c0 /* SDH Exception Status */ | ||
732 | #define SDH_E_MASK 0xffc039c4 /* SDH Exception Mask */ | ||
733 | #define SDH_CFG 0xffc039c8 /* SDH Configuration */ | ||
734 | #define SDH_RD_WAIT_EN 0xffc039cc /* SDH Read Wait Enable */ | ||
735 | #define SDH_PID0 0xffc039d0 /* SDH Peripheral Identification0 */ | ||
736 | #define SDH_PID1 0xffc039d4 /* SDH Peripheral Identification1 */ | ||
737 | #define SDH_PID2 0xffc039d8 /* SDH Peripheral Identification2 */ | ||
738 | #define SDH_PID3 0xffc039dc /* SDH Peripheral Identification3 */ | ||
739 | #define SDH_PID4 0xffc039e0 /* SDH Peripheral Identification4 */ | ||
740 | #define SDH_PID5 0xffc039e4 /* SDH Peripheral Identification5 */ | ||
741 | #define SDH_PID6 0xffc039e8 /* SDH Peripheral Identification6 */ | ||
742 | #define SDH_PID7 0xffc039ec /* SDH Peripheral Identification7 */ | ||
743 | |||
744 | /* HOST Port Registers */ | ||
745 | |||
746 | #define HOST_CONTROL 0xffc03a00 /* HOST Control Register */ | ||
747 | #define HOST_STATUS 0xffc03a04 /* HOST Status Register */ | ||
748 | #define HOST_TIMEOUT 0xffc03a08 /* HOST Acknowledge Mode Timeout Register */ | ||
749 | |||
750 | /* USB Control Registers */ | ||
751 | |||
752 | #define USB_FADDR 0xffc03c00 /* Function address register */ | ||
753 | #define USB_POWER 0xffc03c04 /* Power management register */ | ||
754 | #define USB_INTRTX 0xffc03c08 /* Interrupt register for endpoint 0 and Tx endpoint 1 to 7 */ | ||
755 | #define USB_INTRRX 0xffc03c0c /* Interrupt register for Rx endpoints 1 to 7 */ | ||
756 | #define USB_INTRTXE 0xffc03c10 /* Interrupt enable register for IntrTx */ | ||
757 | #define USB_INTRRXE 0xffc03c14 /* Interrupt enable register for IntrRx */ | ||
758 | #define USB_INTRUSB 0xffc03c18 /* Interrupt register for common USB interrupts */ | ||
759 | #define USB_INTRUSBE 0xffc03c1c /* Interrupt enable register for IntrUSB */ | ||
760 | #define USB_FRAME 0xffc03c20 /* USB frame number */ | ||
761 | #define USB_INDEX 0xffc03c24 /* Index register for selecting the indexed endpoint registers */ | ||
762 | #define USB_TESTMODE 0xffc03c28 /* Enabled USB 20 test modes */ | ||
763 | #define USB_GLOBINTR 0xffc03c2c /* Global Interrupt Mask register and Wakeup Exception Interrupt */ | ||
764 | #define USB_GLOBAL_CTL 0xffc03c30 /* Global Clock Control for the core */ | ||
765 | |||
766 | /* USB Packet Control Registers */ | ||
767 | |||
768 | #define USB_TX_MAX_PACKET 0xffc03c40 /* Maximum packet size for Host Tx endpoint */ | ||
769 | #define USB_CSR0 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
770 | #define USB_TXCSR 0xffc03c44 /* Control Status register for endpoint 0 and Control Status register for Host Tx endpoint */ | ||
771 | #define USB_RX_MAX_PACKET 0xffc03c48 /* Maximum packet size for Host Rx endpoint */ | ||
772 | #define USB_RXCSR 0xffc03c4c /* Control Status register for Host Rx endpoint */ | ||
773 | #define USB_COUNT0 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
774 | #define USB_RXCOUNT 0xffc03c50 /* Number of bytes received in endpoint 0 FIFO and Number of bytes received in Host Tx endpoint */ | ||
775 | #define USB_TXTYPE 0xffc03c54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint */ | ||
776 | #define USB_NAKLIMIT0 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
777 | #define USB_TXINTERVAL 0xffc03c58 /* Sets the NAK response timeout on Endpoint 0 and on Bulk transfers for Host Tx endpoint */ | ||
778 | #define USB_RXTYPE 0xffc03c5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint */ | ||
779 | #define USB_RXINTERVAL 0xffc03c60 /* Sets the polling interval for Interrupt and Isochronous transfers or the NAK response timeout on Bulk transfers */ | ||
780 | #define USB_TXCOUNT 0xffc03c68 /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
781 | |||
782 | /* USB Endpoint FIFO Registers */ | ||
783 | |||
784 | #define USB_EP0_FIFO 0xffc03c80 /* Endpoint 0 FIFO */ | ||
785 | #define USB_EP1_FIFO 0xffc03c88 /* Endpoint 1 FIFO */ | ||
786 | #define USB_EP2_FIFO 0xffc03c90 /* Endpoint 2 FIFO */ | ||
787 | #define USB_EP3_FIFO 0xffc03c98 /* Endpoint 3 FIFO */ | ||
788 | #define USB_EP4_FIFO 0xffc03ca0 /* Endpoint 4 FIFO */ | ||
789 | #define USB_EP5_FIFO 0xffc03ca8 /* Endpoint 5 FIFO */ | ||
790 | #define USB_EP6_FIFO 0xffc03cb0 /* Endpoint 6 FIFO */ | ||
791 | #define USB_EP7_FIFO 0xffc03cb8 /* Endpoint 7 FIFO */ | ||
792 | |||
793 | /* USB OTG Control Registers */ | ||
794 | |||
795 | #define USB_OTG_DEV_CTL 0xffc03d00 /* OTG Device Control Register */ | ||
796 | #define USB_OTG_VBUS_IRQ 0xffc03d04 /* OTG VBUS Control Interrupts */ | ||
797 | #define USB_OTG_VBUS_MASK 0xffc03d08 /* VBUS Control Interrupt Enable */ | ||
798 | |||
799 | /* USB Phy Control Registers */ | ||
800 | |||
801 | #define USB_LINKINFO 0xffc03d48 /* Enables programming of some PHY-side delays */ | ||
802 | #define USB_VPLEN 0xffc03d4c /* Determines duration of VBUS pulse for VBUS charging */ | ||
803 | #define USB_HS_EOF1 0xffc03d50 /* Time buffer for High-Speed transactions */ | ||
804 | #define USB_FS_EOF1 0xffc03d54 /* Time buffer for Full-Speed transactions */ | ||
805 | #define USB_LS_EOF1 0xffc03d58 /* Time buffer for Low-Speed transactions */ | ||
806 | |||
807 | /* (APHY_CNTRL is for ADI usage only) */ | ||
808 | |||
809 | #define USB_APHY_CNTRL 0xffc03de0 /* Register that increases visibility of Analog PHY */ | ||
810 | |||
811 | /* (APHY_CALIB is for ADI usage only) */ | ||
812 | |||
813 | #define USB_APHY_CALIB 0xffc03de4 /* Register used to set some calibration values */ | ||
814 | #define USB_APHY_CNTRL2 0xffc03de8 /* Register used to prevent re-enumeration once Moab goes into hibernate mode */ | ||
815 | |||
816 | /* (PHY_TEST is for ADI usage only) */ | ||
817 | |||
818 | #define USB_PHY_TEST 0xffc03dec /* Used for reducing simulation time and simplifies FIFO testability */ | ||
819 | #define USB_PLLOSC_CTRL 0xffc03df0 /* Used to program different parameters for USB PLL and Oscillator */ | ||
820 | #define USB_SRP_CLKDIV 0xffc03df4 /* Used to program clock divide value for the clock fed to the SRP detection logic */ | ||
821 | |||
822 | /* USB Endpoint 0 Control Registers */ | ||
823 | |||
824 | #define USB_EP_NI0_TXMAXP 0xffc03e00 /* Maximum packet size for Host Tx endpoint0 */ | ||
825 | #define USB_EP_NI0_TXCSR 0xffc03e04 /* Control Status register for endpoint 0 */ | ||
826 | #define USB_EP_NI0_RXMAXP 0xffc03e08 /* Maximum packet size for Host Rx endpoint0 */ | ||
827 | #define USB_EP_NI0_RXCSR 0xffc03e0c /* Control Status register for Host Rx endpoint0 */ | ||
828 | #define USB_EP_NI0_RXCOUNT 0xffc03e10 /* Number of bytes received in endpoint 0 FIFO */ | ||
829 | #define USB_EP_NI0_TXTYPE 0xffc03e14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint0 */ | ||
830 | #define USB_EP_NI0_TXINTERVAL 0xffc03e18 /* Sets the NAK response timeout on Endpoint 0 */ | ||
831 | #define USB_EP_NI0_RXTYPE 0xffc03e1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint0 */ | ||
832 | #define USB_EP_NI0_RXINTERVAL 0xffc03e20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint0 */ | ||
833 | |||
834 | /* USB Endpoint 1 Control Registers */ | ||
835 | |||
836 | #define USB_EP_NI0_TXCOUNT 0xffc03e28 /* Number of bytes to be written to the endpoint0 Tx FIFO */ | ||
837 | #define USB_EP_NI1_TXMAXP 0xffc03e40 /* Maximum packet size for Host Tx endpoint1 */ | ||
838 | #define USB_EP_NI1_TXCSR 0xffc03e44 /* Control Status register for endpoint1 */ | ||
839 | #define USB_EP_NI1_RXMAXP 0xffc03e48 /* Maximum packet size for Host Rx endpoint1 */ | ||
840 | #define USB_EP_NI1_RXCSR 0xffc03e4c /* Control Status register for Host Rx endpoint1 */ | ||
841 | #define USB_EP_NI1_RXCOUNT 0xffc03e50 /* Number of bytes received in endpoint1 FIFO */ | ||
842 | #define USB_EP_NI1_TXTYPE 0xffc03e54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint1 */ | ||
843 | #define USB_EP_NI1_TXINTERVAL 0xffc03e58 /* Sets the NAK response timeout on Endpoint1 */ | ||
844 | #define USB_EP_NI1_RXTYPE 0xffc03e5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint1 */ | ||
845 | #define USB_EP_NI1_RXINTERVAL 0xffc03e60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint1 */ | ||
846 | |||
847 | /* USB Endpoint 2 Control Registers */ | ||
848 | |||
849 | #define USB_EP_NI1_TXCOUNT 0xffc03e68 /* Number of bytes to be written to the+H102 endpoint1 Tx FIFO */ | ||
850 | #define USB_EP_NI2_TXMAXP 0xffc03e80 /* Maximum packet size for Host Tx endpoint2 */ | ||
851 | #define USB_EP_NI2_TXCSR 0xffc03e84 /* Control Status register for endpoint2 */ | ||
852 | #define USB_EP_NI2_RXMAXP 0xffc03e88 /* Maximum packet size for Host Rx endpoint2 */ | ||
853 | #define USB_EP_NI2_RXCSR 0xffc03e8c /* Control Status register for Host Rx endpoint2 */ | ||
854 | #define USB_EP_NI2_RXCOUNT 0xffc03e90 /* Number of bytes received in endpoint2 FIFO */ | ||
855 | #define USB_EP_NI2_TXTYPE 0xffc03e94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint2 */ | ||
856 | #define USB_EP_NI2_TXINTERVAL 0xffc03e98 /* Sets the NAK response timeout on Endpoint2 */ | ||
857 | #define USB_EP_NI2_RXTYPE 0xffc03e9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint2 */ | ||
858 | #define USB_EP_NI2_RXINTERVAL 0xffc03ea0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint2 */ | ||
859 | |||
860 | /* USB Endpoint 3 Control Registers */ | ||
861 | |||
862 | #define USB_EP_NI2_TXCOUNT 0xffc03ea8 /* Number of bytes to be written to the endpoint2 Tx FIFO */ | ||
863 | #define USB_EP_NI3_TXMAXP 0xffc03ec0 /* Maximum packet size for Host Tx endpoint3 */ | ||
864 | #define USB_EP_NI3_TXCSR 0xffc03ec4 /* Control Status register for endpoint3 */ | ||
865 | #define USB_EP_NI3_RXMAXP 0xffc03ec8 /* Maximum packet size for Host Rx endpoint3 */ | ||
866 | #define USB_EP_NI3_RXCSR 0xffc03ecc /* Control Status register for Host Rx endpoint3 */ | ||
867 | #define USB_EP_NI3_RXCOUNT 0xffc03ed0 /* Number of bytes received in endpoint3 FIFO */ | ||
868 | #define USB_EP_NI3_TXTYPE 0xffc03ed4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint3 */ | ||
869 | #define USB_EP_NI3_TXINTERVAL 0xffc03ed8 /* Sets the NAK response timeout on Endpoint3 */ | ||
870 | #define USB_EP_NI3_RXTYPE 0xffc03edc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint3 */ | ||
871 | #define USB_EP_NI3_RXINTERVAL 0xffc03ee0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint3 */ | ||
872 | |||
873 | /* USB Endpoint 4 Control Registers */ | ||
874 | |||
875 | #define USB_EP_NI3_TXCOUNT 0xffc03ee8 /* Number of bytes to be written to the H124endpoint3 Tx FIFO */ | ||
876 | #define USB_EP_NI4_TXMAXP 0xffc03f00 /* Maximum packet size for Host Tx endpoint4 */ | ||
877 | #define USB_EP_NI4_TXCSR 0xffc03f04 /* Control Status register for endpoint4 */ | ||
878 | #define USB_EP_NI4_RXMAXP 0xffc03f08 /* Maximum packet size for Host Rx endpoint4 */ | ||
879 | #define USB_EP_NI4_RXCSR 0xffc03f0c /* Control Status register for Host Rx endpoint4 */ | ||
880 | #define USB_EP_NI4_RXCOUNT 0xffc03f10 /* Number of bytes received in endpoint4 FIFO */ | ||
881 | #define USB_EP_NI4_TXTYPE 0xffc03f14 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint4 */ | ||
882 | #define USB_EP_NI4_TXINTERVAL 0xffc03f18 /* Sets the NAK response timeout on Endpoint4 */ | ||
883 | #define USB_EP_NI4_RXTYPE 0xffc03f1c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint4 */ | ||
884 | #define USB_EP_NI4_RXINTERVAL 0xffc03f20 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint4 */ | ||
885 | |||
886 | /* USB Endpoint 5 Control Registers */ | ||
887 | |||
888 | #define USB_EP_NI4_TXCOUNT 0xffc03f28 /* Number of bytes to be written to the endpoint4 Tx FIFO */ | ||
889 | #define USB_EP_NI5_TXMAXP 0xffc03f40 /* Maximum packet size for Host Tx endpoint5 */ | ||
890 | #define USB_EP_NI5_TXCSR 0xffc03f44 /* Control Status register for endpoint5 */ | ||
891 | #define USB_EP_NI5_RXMAXP 0xffc03f48 /* Maximum packet size for Host Rx endpoint5 */ | ||
892 | #define USB_EP_NI5_RXCSR 0xffc03f4c /* Control Status register for Host Rx endpoint5 */ | ||
893 | #define USB_EP_NI5_RXCOUNT 0xffc03f50 /* Number of bytes received in endpoint5 FIFO */ | ||
894 | #define USB_EP_NI5_TXTYPE 0xffc03f54 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint5 */ | ||
895 | #define USB_EP_NI5_TXINTERVAL 0xffc03f58 /* Sets the NAK response timeout on Endpoint5 */ | ||
896 | #define USB_EP_NI5_RXTYPE 0xffc03f5c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint5 */ | ||
897 | #define USB_EP_NI5_RXINTERVAL 0xffc03f60 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint5 */ | ||
898 | |||
899 | /* USB Endpoint 6 Control Registers */ | ||
900 | |||
901 | #define USB_EP_NI5_TXCOUNT 0xffc03f68 /* Number of bytes to be written to the H145endpoint5 Tx FIFO */ | ||
902 | #define USB_EP_NI6_TXMAXP 0xffc03f80 /* Maximum packet size for Host Tx endpoint6 */ | ||
903 | #define USB_EP_NI6_TXCSR 0xffc03f84 /* Control Status register for endpoint6 */ | ||
904 | #define USB_EP_NI6_RXMAXP 0xffc03f88 /* Maximum packet size for Host Rx endpoint6 */ | ||
905 | #define USB_EP_NI6_RXCSR 0xffc03f8c /* Control Status register for Host Rx endpoint6 */ | ||
906 | #define USB_EP_NI6_RXCOUNT 0xffc03f90 /* Number of bytes received in endpoint6 FIFO */ | ||
907 | #define USB_EP_NI6_TXTYPE 0xffc03f94 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint6 */ | ||
908 | #define USB_EP_NI6_TXINTERVAL 0xffc03f98 /* Sets the NAK response timeout on Endpoint6 */ | ||
909 | #define USB_EP_NI6_RXTYPE 0xffc03f9c /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint6 */ | ||
910 | #define USB_EP_NI6_RXINTERVAL 0xffc03fa0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint6 */ | ||
911 | |||
912 | /* USB Endpoint 7 Control Registers */ | ||
913 | |||
914 | #define USB_EP_NI6_TXCOUNT 0xffc03fa8 /* Number of bytes to be written to the endpoint6 Tx FIFO */ | ||
915 | #define USB_EP_NI7_TXMAXP 0xffc03fc0 /* Maximum packet size for Host Tx endpoint7 */ | ||
916 | #define USB_EP_NI7_TXCSR 0xffc03fc4 /* Control Status register for endpoint7 */ | ||
917 | #define USB_EP_NI7_RXMAXP 0xffc03fc8 /* Maximum packet size for Host Rx endpoint7 */ | ||
918 | #define USB_EP_NI7_RXCSR 0xffc03fcc /* Control Status register for Host Rx endpoint7 */ | ||
919 | #define USB_EP_NI7_RXCOUNT 0xffc03fd0 /* Number of bytes received in endpoint7 FIFO */ | ||
920 | #define USB_EP_NI7_TXTYPE 0xffc03fd4 /* Sets the transaction protocol and peripheral endpoint number for the Host Tx endpoint7 */ | ||
921 | #define USB_EP_NI7_TXINTERVAL 0xffc03fd8 /* Sets the NAK response timeout on Endpoint7 */ | ||
922 | #define USB_EP_NI7_RXTYPE 0xffc03fdc /* Sets the transaction protocol and peripheral endpoint number for the Host Rx endpoint7 */ | ||
923 | #define USB_EP_NI7_RXINTERVAL 0xffc03ff0 /* Sets the polling interval for Interrupt/Isochronous transfers or the NAK response timeout on Bulk transfers for Host Rx endpoint7 */ | ||
924 | #define USB_EP_NI7_TXCOUNT 0xffc03ff8 /* Number of bytes to be written to the endpoint7 Tx FIFO */ | ||
925 | #define USB_DMA_INTERRUPT 0xffc04000 /* Indicates pending interrupts for the DMA channels */ | ||
926 | |||
927 | /* USB Channel 0 Config Registers */ | ||
928 | |||
929 | #define USB_DMA0CONTROL 0xffc04004 /* DMA master channel 0 configuration */ | ||
930 | #define USB_DMA0ADDRLOW 0xffc04008 /* Lower 16-bits of memory source/destination address for DMA master channel 0 */ | ||
931 | #define USB_DMA0ADDRHIGH 0xffc0400c /* Upper 16-bits of memory source/destination address for DMA master channel 0 */ | ||
932 | #define USB_DMA0COUNTLOW 0xffc04010 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
933 | #define USB_DMA0COUNTHIGH 0xffc04014 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 0 */ | ||
934 | |||
935 | /* USB Channel 1 Config Registers */ | ||
936 | |||
937 | #define USB_DMA1CONTROL 0xffc04024 /* DMA master channel 1 configuration */ | ||
938 | #define USB_DMA1ADDRLOW 0xffc04028 /* Lower 16-bits of memory source/destination address for DMA master channel 1 */ | ||
939 | #define USB_DMA1ADDRHIGH 0xffc0402c /* Upper 16-bits of memory source/destination address for DMA master channel 1 */ | ||
940 | #define USB_DMA1COUNTLOW 0xffc04030 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
941 | #define USB_DMA1COUNTHIGH 0xffc04034 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 1 */ | ||
942 | |||
943 | /* USB Channel 2 Config Registers */ | ||
944 | |||
945 | #define USB_DMA2CONTROL 0xffc04044 /* DMA master channel 2 configuration */ | ||
946 | #define USB_DMA2ADDRLOW 0xffc04048 /* Lower 16-bits of memory source/destination address for DMA master channel 2 */ | ||
947 | #define USB_DMA2ADDRHIGH 0xffc0404c /* Upper 16-bits of memory source/destination address for DMA master channel 2 */ | ||
948 | #define USB_DMA2COUNTLOW 0xffc04050 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
949 | #define USB_DMA2COUNTHIGH 0xffc04054 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 2 */ | ||
950 | |||
951 | /* USB Channel 3 Config Registers */ | ||
952 | |||
953 | #define USB_DMA3CONTROL 0xffc04064 /* DMA master channel 3 configuration */ | ||
954 | #define USB_DMA3ADDRLOW 0xffc04068 /* Lower 16-bits of memory source/destination address for DMA master channel 3 */ | ||
955 | #define USB_DMA3ADDRHIGH 0xffc0406c /* Upper 16-bits of memory source/destination address for DMA master channel 3 */ | ||
956 | #define USB_DMA3COUNTLOW 0xffc04070 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
957 | #define USB_DMA3COUNTHIGH 0xffc04074 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 3 */ | ||
958 | |||
959 | /* USB Channel 4 Config Registers */ | ||
960 | |||
961 | #define USB_DMA4CONTROL 0xffc04084 /* DMA master channel 4 configuration */ | ||
962 | #define USB_DMA4ADDRLOW 0xffc04088 /* Lower 16-bits of memory source/destination address for DMA master channel 4 */ | ||
963 | #define USB_DMA4ADDRHIGH 0xffc0408c /* Upper 16-bits of memory source/destination address for DMA master channel 4 */ | ||
964 | #define USB_DMA4COUNTLOW 0xffc04090 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
965 | #define USB_DMA4COUNTHIGH 0xffc04094 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 4 */ | ||
966 | |||
967 | /* USB Channel 5 Config Registers */ | ||
968 | |||
969 | #define USB_DMA5CONTROL 0xffc040a4 /* DMA master channel 5 configuration */ | ||
970 | #define USB_DMA5ADDRLOW 0xffc040a8 /* Lower 16-bits of memory source/destination address for DMA master channel 5 */ | ||
971 | #define USB_DMA5ADDRHIGH 0xffc040ac /* Upper 16-bits of memory source/destination address for DMA master channel 5 */ | ||
972 | #define USB_DMA5COUNTLOW 0xffc040b0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
973 | #define USB_DMA5COUNTHIGH 0xffc040b4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 5 */ | ||
974 | |||
975 | /* USB Channel 6 Config Registers */ | ||
976 | |||
977 | #define USB_DMA6CONTROL 0xffc040c4 /* DMA master channel 6 configuration */ | ||
978 | #define USB_DMA6ADDRLOW 0xffc040c8 /* Lower 16-bits of memory source/destination address for DMA master channel 6 */ | ||
979 | #define USB_DMA6ADDRHIGH 0xffc040cc /* Upper 16-bits of memory source/destination address for DMA master channel 6 */ | ||
980 | #define USB_DMA6COUNTLOW 0xffc040d0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
981 | #define USB_DMA6COUNTHIGH 0xffc040d4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 6 */ | ||
982 | |||
983 | /* USB Channel 7 Config Registers */ | ||
984 | |||
985 | #define USB_DMA7CONTROL 0xffc040e4 /* DMA master channel 7 configuration */ | ||
986 | #define USB_DMA7ADDRLOW 0xffc040e8 /* Lower 16-bits of memory source/destination address for DMA master channel 7 */ | ||
987 | #define USB_DMA7ADDRHIGH 0xffc040ec /* Upper 16-bits of memory source/destination address for DMA master channel 7 */ | ||
988 | #define USB_DMA7COUNTLOW 0xffc040f0 /* Lower 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
989 | #define USB_DMA7COUNTHIGH 0xffc040f4 /* Upper 16-bits of byte count of DMA transfer for DMA master channel 7 */ | ||
990 | |||
991 | /* Keypad Registers */ | ||
992 | |||
993 | #define KPAD_CTL 0xffc04100 /* Controls keypad module enable and disable */ | ||
994 | #define KPAD_PRESCALE 0xffc04104 /* Establish a time base for programing the KPAD_MSEL register */ | ||
995 | #define KPAD_MSEL 0xffc04108 /* Selects delay parameters for keypad interface sensitivity */ | ||
996 | #define KPAD_ROWCOL 0xffc0410c /* Captures the row and column output values of the keys pressed */ | ||
997 | #define KPAD_STAT 0xffc04110 /* Holds and clears the status of the keypad interface interrupt */ | ||
998 | #define KPAD_SOFTEVAL 0xffc04114 /* Lets software force keypad interface to check for keys being pressed */ | ||
999 | |||
1000 | /* Pixel Compositor (PIXC) Registers */ | ||
1001 | |||
1002 | #define PIXC_CTL 0xffc04400 /* Overlay enable, resampling mode, I/O data format, transparency enable, watermark level, FIFO status */ | ||
1003 | #define PIXC_PPL 0xffc04404 /* Holds the number of pixels per line of the display */ | ||
1004 | #define PIXC_LPF 0xffc04408 /* Holds the number of lines per frame of the display */ | ||
1005 | #define PIXC_AHSTART 0xffc0440c /* Contains horizontal start pixel information of the overlay data (set A) */ | ||
1006 | #define PIXC_AHEND 0xffc04410 /* Contains horizontal end pixel information of the overlay data (set A) */ | ||
1007 | #define PIXC_AVSTART 0xffc04414 /* Contains vertical start pixel information of the overlay data (set A) */ | ||
1008 | #define PIXC_AVEND 0xffc04418 /* Contains vertical end pixel information of the overlay data (set A) */ | ||
1009 | #define PIXC_ATRANSP 0xffc0441c /* Contains the transparency ratio (set A) */ | ||
1010 | #define PIXC_BHSTART 0xffc04420 /* Contains horizontal start pixel information of the overlay data (set B) */ | ||
1011 | #define PIXC_BHEND 0xffc04424 /* Contains horizontal end pixel information of the overlay data (set B) */ | ||
1012 | #define PIXC_BVSTART 0xffc04428 /* Contains vertical start pixel information of the overlay data (set B) */ | ||
1013 | #define PIXC_BVEND 0xffc0442c /* Contains vertical end pixel information of the overlay data (set B) */ | ||
1014 | #define PIXC_BTRANSP 0xffc04430 /* Contains the transparency ratio (set B) */ | ||
1015 | #define PIXC_INTRSTAT 0xffc0443c /* Overlay interrupt configuration/status */ | ||
1016 | #define PIXC_RYCON 0xffc04440 /* Color space conversion matrix register. Contains the R/Y conversion coefficients */ | ||
1017 | #define PIXC_GUCON 0xffc04444 /* Color space conversion matrix register. Contains the G/U conversion coefficients */ | ||
1018 | #define PIXC_BVCON 0xffc04448 /* Color space conversion matrix register. Contains the B/V conversion coefficients */ | ||
1019 | #define PIXC_CCBIAS 0xffc0444c /* Bias values for the color space conversion matrix */ | ||
1020 | #define PIXC_TC 0xffc04450 /* Holds the transparent color value */ | ||
1021 | |||
1022 | /* Handshake MDMA 0 Registers */ | ||
1023 | |||
1024 | #define HMDMA0_CONTROL 0xffc04500 /* Handshake MDMA0 Control Register */ | ||
1025 | #define HMDMA0_ECINIT 0xffc04504 /* Handshake MDMA0 Initial Edge Count Register */ | ||
1026 | #define HMDMA0_BCINIT 0xffc04508 /* Handshake MDMA0 Initial Block Count Register */ | ||
1027 | #define HMDMA0_ECURGENT 0xffc0450c /* Handshake MDMA0 Urgent Edge Count Threshold Register */ | ||
1028 | #define HMDMA0_ECOVERFLOW 0xffc04510 /* Handshake MDMA0 Edge Count Overflow Interrupt Register */ | ||
1029 | #define HMDMA0_ECOUNT 0xffc04514 /* Handshake MDMA0 Current Edge Count Register */ | ||
1030 | #define HMDMA0_BCOUNT 0xffc04518 /* Handshake MDMA0 Current Block Count Register */ | ||
1031 | |||
1032 | /* Handshake MDMA 1 Registers */ | ||
1033 | |||
1034 | #define HMDMA1_CONTROL 0xffc04540 /* Handshake MDMA1 Control Register */ | ||
1035 | #define HMDMA1_ECINIT 0xffc04544 /* Handshake MDMA1 Initial Edge Count Register */ | ||
1036 | #define HMDMA1_BCINIT 0xffc04548 /* Handshake MDMA1 Initial Block Count Register */ | ||
1037 | #define HMDMA1_ECURGENT 0xffc0454c /* Handshake MDMA1 Urgent Edge Count Threshold Register */ | ||
1038 | #define HMDMA1_ECOVERFLOW 0xffc04550 /* Handshake MDMA1 Edge Count Overflow Interrupt Register */ | ||
1039 | #define HMDMA1_ECOUNT 0xffc04554 /* Handshake MDMA1 Current Edge Count Register */ | ||
1040 | #define HMDMA1_BCOUNT 0xffc04558 /* Handshake MDMA1 Current Block Count Register */ | ||
1041 | |||
1042 | |||
1043 | /* ********************************************************** */ | ||
1044 | /* SINGLE BIT MACRO PAIRS (bit mask and negated one) */ | ||
1045 | /* and MULTI BIT READ MACROS */ | ||
1046 | /* ********************************************************** */ | ||
1047 | |||
1048 | /* Bit masks for PIXC_CTL */ | ||
1049 | |||
1050 | #define PIXC_EN 0x1 /* Pixel Compositor Enable */ | ||
1051 | #define OVR_A_EN 0x2 /* Overlay A Enable */ | ||
1052 | #define OVR_B_EN 0x4 /* Overlay B Enable */ | ||
1053 | #define IMG_FORM 0x8 /* Image Data Format */ | ||
1054 | #define OVR_FORM 0x10 /* Overlay Data Format */ | ||
1055 | #define OUT_FORM 0x20 /* Output Data Format */ | ||
1056 | #define UDS_MOD 0x40 /* Resampling Mode */ | ||
1057 | #define TC_EN 0x80 /* Transparent Color Enable */ | ||
1058 | #define IMG_STAT 0x300 /* Image FIFO Status */ | ||
1059 | #define OVR_STAT 0xc00 /* Overlay FIFO Status */ | ||
1060 | #define WM_LVL 0x3000 /* FIFO Watermark Level */ | ||
1061 | |||
1062 | /* Bit masks for PIXC_AHSTART */ | ||
1063 | |||
1064 | #define A_HSTART 0xfff /* Horizontal Start Coordinates */ | ||
1065 | |||
1066 | /* Bit masks for PIXC_AHEND */ | ||
1067 | |||
1068 | #define A_HEND 0xfff /* Horizontal End Coordinates */ | ||
1069 | |||
1070 | /* Bit masks for PIXC_AVSTART */ | ||
1071 | |||
1072 | #define A_VSTART 0x3ff /* Vertical Start Coordinates */ | ||
1073 | |||
1074 | /* Bit masks for PIXC_AVEND */ | ||
1075 | |||
1076 | #define A_VEND 0x3ff /* Vertical End Coordinates */ | ||
1077 | |||
1078 | /* Bit masks for PIXC_ATRANSP */ | ||
1079 | |||
1080 | #define A_TRANSP 0xf /* Transparency Value */ | ||
1081 | |||
1082 | /* Bit masks for PIXC_BHSTART */ | ||
1083 | |||
1084 | #define B_HSTART 0xfff /* Horizontal Start Coordinates */ | ||
1085 | |||
1086 | /* Bit masks for PIXC_BHEND */ | ||
1087 | |||
1088 | #define B_HEND 0xfff /* Horizontal End Coordinates */ | ||
1089 | |||
1090 | /* Bit masks for PIXC_BVSTART */ | ||
1091 | |||
1092 | #define B_VSTART 0x3ff /* Vertical Start Coordinates */ | ||
1093 | |||
1094 | /* Bit masks for PIXC_BVEND */ | ||
1095 | |||
1096 | #define B_VEND 0x3ff /* Vertical End Coordinates */ | ||
1097 | |||
1098 | /* Bit masks for PIXC_BTRANSP */ | ||
1099 | |||
1100 | #define B_TRANSP 0xf /* Transparency Value */ | ||
1101 | |||
1102 | /* Bit masks for PIXC_INTRSTAT */ | ||
1103 | |||
1104 | #define OVR_INT_EN 0x1 /* Interrupt at End of Last Valid Overlay */ | ||
1105 | #define FRM_INT_EN 0x2 /* Interrupt at End of Frame */ | ||
1106 | #define OVR_INT_STAT 0x4 /* Overlay Interrupt Status */ | ||
1107 | #define FRM_INT_STAT 0x8 /* Frame Interrupt Status */ | ||
1108 | |||
1109 | /* Bit masks for PIXC_RYCON */ | ||
1110 | |||
1111 | #define A11 0x3ff /* A11 in the Coefficient Matrix */ | ||
1112 | #define A12 0xffc00 /* A12 in the Coefficient Matrix */ | ||
1113 | #define A13 0x3ff00000 /* A13 in the Coefficient Matrix */ | ||
1114 | #define RY_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
1115 | |||
1116 | /* Bit masks for PIXC_GUCON */ | ||
1117 | |||
1118 | #define A21 0x3ff /* A21 in the Coefficient Matrix */ | ||
1119 | #define A22 0xffc00 /* A22 in the Coefficient Matrix */ | ||
1120 | #define A23 0x3ff00000 /* A23 in the Coefficient Matrix */ | ||
1121 | #define GU_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
1122 | |||
1123 | /* Bit masks for PIXC_BVCON */ | ||
1124 | |||
1125 | #define A31 0x3ff /* A31 in the Coefficient Matrix */ | ||
1126 | #define A32 0xffc00 /* A32 in the Coefficient Matrix */ | ||
1127 | #define A33 0x3ff00000 /* A33 in the Coefficient Matrix */ | ||
1128 | #define BV_MULT4 0x40000000 /* Multiply Row by 4 */ | ||
1129 | |||
1130 | /* Bit masks for PIXC_CCBIAS */ | ||
1131 | |||
1132 | #define A14 0x3ff /* A14 in the Bias Vector */ | ||
1133 | #define A24 0xffc00 /* A24 in the Bias Vector */ | ||
1134 | #define A34 0x3ff00000 /* A34 in the Bias Vector */ | ||
1135 | |||
1136 | /* Bit masks for PIXC_TC */ | ||
1137 | |||
1138 | #define RY_TRANS 0xff /* Transparent Color - R/Y Component */ | ||
1139 | #define GU_TRANS 0xff00 /* Transparent Color - G/U Component */ | ||
1140 | #define BV_TRANS 0xff0000 /* Transparent Color - B/V Component */ | ||
1141 | |||
1142 | /* Bit masks for HOST_CONTROL */ | ||
1143 | |||
1144 | #define HOST_EN 0x1 /* Host Enable */ | ||
1145 | #define HOST_END 0x2 /* Host Endianess */ | ||
1146 | #define DATA_SIZE 0x4 /* Data Size */ | ||
1147 | #define HOST_RST 0x8 /* Host Reset */ | ||
1148 | #define HRDY_OVR 0x20 /* Host Ready Override */ | ||
1149 | #define INT_MODE 0x40 /* Interrupt Mode */ | ||
1150 | #define BT_EN 0x80 /* Bus Timeout Enable */ | ||
1151 | #define EHW 0x100 /* Enable Host Write */ | ||
1152 | #define EHR 0x200 /* Enable Host Read */ | ||
1153 | #define BDR 0x400 /* Burst DMA Requests */ | ||
1154 | |||
1155 | /* Bit masks for HOST_STATUS */ | ||
1156 | |||
1157 | #define DMA_READY 0x1 /* DMA Ready */ | ||
1158 | #define FIFOFULL 0x2 /* FIFO Full */ | ||
1159 | #define FIFOEMPTY 0x4 /* FIFO Empty */ | ||
1160 | #define DMA_COMPLETE 0x8 /* DMA Complete */ | ||
1161 | #define HSHK 0x10 /* Host Handshake */ | ||
1162 | #define TIMEOUT 0x20 /* Host Timeout */ | ||
1163 | #define HIRQ 0x40 /* Host Interrupt Request */ | ||
1164 | #define ALLOW_CNFG 0x80 /* Allow New Configuration */ | ||
1165 | #define DMA_DIR 0x100 /* DMA Direction */ | ||
1166 | #define BTE 0x200 /* Bus Timeout Enabled */ | ||
1167 | |||
1168 | /* Bit masks for HOST_TIMEOUT */ | ||
1169 | |||
1170 | #define COUNT_TIMEOUT 0x7ff /* Host Timeout count */ | ||
1171 | |||
1172 | /* Bit masks for MXVR_CONFIG */ | ||
1173 | |||
1174 | #define MXVREN 0x1 /* MXVR Enable */ | ||
1175 | #define MMSM 0x2 /* MXVR Master/Slave Mode Select */ | ||
1176 | #define ACTIVE 0x4 /* Active Mode */ | ||
1177 | #define SDELAY 0x8 /* Synchronous Data Delay */ | ||
1178 | #define NCMRXEN 0x10 /* Normal Control Message Receive Enable */ | ||
1179 | #define RWRRXEN 0x20 /* Remote Write Receive Enable */ | ||
1180 | #define MTXEN 0x40 /* MXVR Transmit Data Enable */ | ||
1181 | #define MTXONB 0x80 /* MXVR Phy Transmitter On */ | ||
1182 | #define EPARITY 0x100 /* Even Parity Select */ | ||
1183 | #define MSB 0x1e00 /* Master Synchronous Boundary */ | ||
1184 | #define APRXEN 0x2000 /* Asynchronous Packet Receive Enable */ | ||
1185 | #define WAKEUP 0x4000 /* Wake-Up */ | ||
1186 | #define LMECH 0x8000 /* Lock Mechanism Select */ | ||
1187 | |||
1188 | /* Bit masks for MXVR_STATE_0 */ | ||
1189 | |||
1190 | #define NACT 0x1 /* Network Activity */ | ||
1191 | #define SBLOCK 0x2 /* Super Block Lock */ | ||
1192 | #define FMPLLST 0xc /* Frequency Multiply PLL SM State */ | ||
1193 | #define CDRPLLST 0xe0 /* Clock/Data Recovery PLL SM State */ | ||
1194 | #define APBSY 0x100 /* Asynchronous Packet Transmit Buffer Busy */ | ||
1195 | #define APARB 0x200 /* Asynchronous Packet Arbitrating */ | ||
1196 | #define APTX 0x400 /* Asynchronous Packet Transmitting */ | ||
1197 | #define APRX 0x800 /* Receiving Asynchronous Packet */ | ||
1198 | #define CMBSY 0x1000 /* Control Message Transmit Buffer Busy */ | ||
1199 | #define CMARB 0x2000 /* Control Message Arbitrating */ | ||
1200 | #define CMTX 0x4000 /* Control Message Transmitting */ | ||
1201 | #define CMRX 0x8000 /* Receiving Control Message */ | ||
1202 | #define MRXONB 0x10000 /* MRXONB Pin State */ | ||
1203 | #define RGSIP 0x20000 /* Remote Get Source In Progress */ | ||
1204 | #define DALIP 0x40000 /* Resource Deallocate In Progress */ | ||
1205 | #define ALIP 0x80000 /* Resource Allocate In Progress */ | ||
1206 | #define RRDIP 0x100000 /* Remote Read In Progress */ | ||
1207 | #define RWRIP 0x200000 /* Remote Write In Progress */ | ||
1208 | #define FLOCK 0x400000 /* Frame Lock */ | ||
1209 | #define BLOCK 0x800000 /* Block Lock */ | ||
1210 | #define RSB 0xf000000 /* Received Synchronous Boundary */ | ||
1211 | #define DERRNUM 0xf0000000 /* DMA Error Channel Number */ | ||
1212 | |||
1213 | /* Bit masks for MXVR_STATE_1 */ | ||
1214 | |||
1215 | #define SRXNUMB 0xf /* Synchronous Receive FIFO Number of Bytes */ | ||
1216 | #define STXNUMB 0xf0 /* Synchronous Transmit FIFO Number of Bytes */ | ||
1217 | #define APCONT 0x100 /* Asynchronous Packet Continuation */ | ||
1218 | #define OBERRNUM 0xe00 /* DMA Out of Bounds Error Channel Number */ | ||
1219 | #define DMAACTIVE0 0x10000 /* DMA0 Active */ | ||
1220 | #define DMAACTIVE1 0x20000 /* DMA1 Active */ | ||
1221 | #define DMAACTIVE2 0x40000 /* DMA2 Active */ | ||
1222 | #define DMAACTIVE3 0x80000 /* DMA3 Active */ | ||
1223 | #define DMAACTIVE4 0x100000 /* DMA4 Active */ | ||
1224 | #define DMAACTIVE5 0x200000 /* DMA5 Active */ | ||
1225 | #define DMAACTIVE6 0x400000 /* DMA6 Active */ | ||
1226 | #define DMAACTIVE7 0x800000 /* DMA7 Active */ | ||
1227 | #define DMAPMEN0 0x1000000 /* DMA0 Pattern Matching Enabled */ | ||
1228 | #define DMAPMEN1 0x2000000 /* DMA1 Pattern Matching Enabled */ | ||
1229 | #define DMAPMEN2 0x4000000 /* DMA2 Pattern Matching Enabled */ | ||
1230 | #define DMAPMEN3 0x8000000 /* DMA3 Pattern Matching Enabled */ | ||
1231 | #define DMAPMEN4 0x10000000 /* DMA4 Pattern Matching Enabled */ | ||
1232 | #define DMAPMEN5 0x20000000 /* DMA5 Pattern Matching Enabled */ | ||
1233 | #define DMAPMEN6 0x40000000 /* DMA6 Pattern Matching Enabled */ | ||
1234 | #define DMAPMEN7 0x80000000 /* DMA7 Pattern Matching Enabled */ | ||
1235 | |||
1236 | /* Bit masks for MXVR_INT_STAT_0 */ | ||
1237 | |||
1238 | #define NI2A 0x1 /* Network Inactive to Active */ | ||
1239 | #define NA2I 0x2 /* Network Active to Inactive */ | ||
1240 | #define SBU2L 0x4 /* Super Block Unlock to Lock */ | ||
1241 | #define SBL2U 0x8 /* Super Block Lock to Unlock */ | ||
1242 | #define PRU 0x10 /* Position Register Updated */ | ||
1243 | #define MPRU 0x20 /* Maximum Position Register Updated */ | ||
1244 | #define DRU 0x40 /* Delay Register Updated */ | ||
1245 | #define MDRU 0x80 /* Maximum Delay Register Updated */ | ||
1246 | #define SBU 0x100 /* Synchronous Boundary Updated */ | ||
1247 | #define ATU 0x200 /* Allocation Table Updated */ | ||
1248 | #define FCZ0 0x400 /* Frame Counter 0 Zero */ | ||
1249 | #define FCZ1 0x800 /* Frame Counter 1 Zero */ | ||
1250 | #define PERR 0x1000 /* Parity Error */ | ||
1251 | #define MH2L 0x2000 /* MRXONB High to Low */ | ||
1252 | #define ML2H 0x4000 /* MRXONB Low to High */ | ||
1253 | #define WUP 0x8000 /* Wake-Up Preamble Received */ | ||
1254 | #define FU2L 0x10000 /* Frame Unlock to Lock */ | ||
1255 | #define FL2U 0x20000 /* Frame Lock to Unlock */ | ||
1256 | #define BU2L 0x40000 /* Block Unlock to Lock */ | ||
1257 | #define BL2U 0x80000 /* Block Lock to Unlock */ | ||
1258 | #define OBERR 0x100000 /* DMA Out of Bounds Error */ | ||
1259 | #define PFL 0x200000 /* PLL Frequency Locked */ | ||
1260 | #define SCZ 0x400000 /* System Clock Counter Zero */ | ||
1261 | #define FERR 0x800000 /* FIFO Error */ | ||
1262 | #define CMR 0x1000000 /* Control Message Received */ | ||
1263 | #define CMROF 0x2000000 /* Control Message Receive Buffer Overflow */ | ||
1264 | #define CMTS 0x4000000 /* Control Message Transmit Buffer Successfully Sent */ | ||
1265 | #define CMTC 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled */ | ||
1266 | #define RWRC 0x10000000 /* Remote Write Control Message Completed */ | ||
1267 | #define BCZ 0x20000000 /* Block Counter Zero */ | ||
1268 | #define BMERR 0x40000000 /* Biphase Mark Coding Error */ | ||
1269 | #define DERR 0x80000000 /* DMA Error */ | ||
1270 | |||
1271 | /* Bit masks for MXVR_INT_STAT_1 */ | ||
1272 | |||
1273 | #define HDONE0 0x1 /* DMA0 Half Done */ | ||
1274 | #define DONE0 0x2 /* DMA0 Done */ | ||
1275 | #define APR 0x4 /* Asynchronous Packet Received */ | ||
1276 | #define APROF 0x8 /* Asynchronous Packet Receive Buffer Overflow */ | ||
1277 | #define HDONE1 0x10 /* DMA1 Half Done */ | ||
1278 | #define DONE1 0x20 /* DMA1 Done */ | ||
1279 | #define APTS 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent */ | ||
1280 | #define APTC 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled */ | ||
1281 | #define HDONE2 0x100 /* DMA2 Half Done */ | ||
1282 | #define DONE2 0x200 /* DMA2 Done */ | ||
1283 | #define APRCE 0x400 /* Asynchronous Packet Receive CRC Error */ | ||
1284 | #define APRPE 0x800 /* Asynchronous Packet Receive Packet Error */ | ||
1285 | #define HDONE3 0x1000 /* DMA3 Half Done */ | ||
1286 | #define DONE3 0x2000 /* DMA3 Done */ | ||
1287 | #define HDONE4 0x10000 /* DMA4 Half Done */ | ||
1288 | #define DONE4 0x20000 /* DMA4 Done */ | ||
1289 | #define HDONE5 0x100000 /* DMA5 Half Done */ | ||
1290 | #define DONE5 0x200000 /* DMA5 Done */ | ||
1291 | #define HDONE6 0x1000000 /* DMA6 Half Done */ | ||
1292 | #define DONE6 0x2000000 /* DMA6 Done */ | ||
1293 | #define HDONE7 0x10000000 /* DMA7 Half Done */ | ||
1294 | #define DONE7 0x20000000 /* DMA7 Done */ | ||
1295 | |||
1296 | /* Bit masks for MXVR_INT_EN_0 */ | ||
1297 | |||
1298 | #define NI2AEN 0x1 /* Network Inactive to Active Interrupt Enable */ | ||
1299 | #define NA2IEN 0x2 /* Network Active to Inactive Interrupt Enable */ | ||
1300 | #define SBU2LEN 0x4 /* Super Block Unlock to Lock Interrupt Enable */ | ||
1301 | #define SBL2UEN 0x8 /* Super Block Lock to Unlock Interrupt Enable */ | ||
1302 | #define PRUEN 0x10 /* Position Register Updated Interrupt Enable */ | ||
1303 | #define MPRUEN 0x20 /* Maximum Position Register Updated Interrupt Enable */ | ||
1304 | #define DRUEN 0x40 /* Delay Register Updated Interrupt Enable */ | ||
1305 | #define MDRUEN 0x80 /* Maximum Delay Register Updated Interrupt Enable */ | ||
1306 | #define SBUEN 0x100 /* Synchronous Boundary Updated Interrupt Enable */ | ||
1307 | #define ATUEN 0x200 /* Allocation Table Updated Interrupt Enable */ | ||
1308 | #define FCZ0EN 0x400 /* Frame Counter 0 Zero Interrupt Enable */ | ||
1309 | #define FCZ1EN 0x800 /* Frame Counter 1 Zero Interrupt Enable */ | ||
1310 | #define PERREN 0x1000 /* Parity Error Interrupt Enable */ | ||
1311 | #define MH2LEN 0x2000 /* MRXONB High to Low Interrupt Enable */ | ||
1312 | #define ML2HEN 0x4000 /* MRXONB Low to High Interrupt Enable */ | ||
1313 | #define WUPEN 0x8000 /* Wake-Up Preamble Received Interrupt Enable */ | ||
1314 | #define FU2LEN 0x10000 /* Frame Unlock to Lock Interrupt Enable */ | ||
1315 | #define FL2UEN 0x20000 /* Frame Lock to Unlock Interrupt Enable */ | ||
1316 | #define BU2LEN 0x40000 /* Block Unlock to Lock Interrupt Enable */ | ||
1317 | #define BL2UEN 0x80000 /* Block Lock to Unlock Interrupt Enable */ | ||
1318 | #define OBERREN 0x100000 /* DMA Out of Bounds Error Interrupt Enable */ | ||
1319 | #define PFLEN 0x200000 /* PLL Frequency Locked Interrupt Enable */ | ||
1320 | #define SCZEN 0x400000 /* System Clock Counter Zero Interrupt Enable */ | ||
1321 | #define FERREN 0x800000 /* FIFO Error Interrupt Enable */ | ||
1322 | #define CMREN 0x1000000 /* Control Message Received Interrupt Enable */ | ||
1323 | #define CMROFEN 0x2000000 /* Control Message Receive Buffer Overflow Interrupt Enable */ | ||
1324 | #define CMTSEN 0x4000000 /* Control Message Transmit Buffer Successfully Sent Interrupt Enable */ | ||
1325 | #define CMTCEN 0x8000000 /* Control Message Transmit Buffer Successfully Cancelled Interrupt Enable */ | ||
1326 | #define RWRCEN 0x10000000 /* Remote Write Control Message Completed Interrupt Enable */ | ||
1327 | #define BCZEN 0x20000000 /* Block Counter Zero Interrupt Enable */ | ||
1328 | #define BMERREN 0x40000000 /* Biphase Mark Coding Error Interrupt Enable */ | ||
1329 | #define DERREN 0x80000000 /* DMA Error Interrupt Enable */ | ||
1330 | |||
1331 | /* Bit masks for MXVR_INT_EN_1 */ | ||
1332 | |||
1333 | #define HDONEEN0 0x1 /* DMA0 Half Done Interrupt Enable */ | ||
1334 | #define DONEEN0 0x2 /* DMA0 Done Interrupt Enable */ | ||
1335 | #define APREN 0x4 /* Asynchronous Packet Received Interrupt Enable */ | ||
1336 | #define APROFEN 0x8 /* Asynchronous Packet Receive Buffer Overflow Interrupt Enable */ | ||
1337 | #define HDONEEN1 0x10 /* DMA1 Half Done Interrupt Enable */ | ||
1338 | #define DONEEN1 0x20 /* DMA1 Done Interrupt Enable */ | ||
1339 | #define APTSEN 0x40 /* Asynchronous Packet Transmit Buffer Successfully Sent Interrupt Enable */ | ||
1340 | #define APTCEN 0x80 /* Asynchronous Packet Transmit Buffer Successfully Cancelled Interrupt Enable */ | ||
1341 | #define HDONEEN2 0x100 /* DMA2 Half Done Interrupt Enable */ | ||
1342 | #define DONEEN2 0x200 /* DMA2 Done Interrupt Enable */ | ||
1343 | #define APRCEEN 0x400 /* Asynchronous Packet Receive CRC Error Interrupt Enable */ | ||
1344 | #define APRPEEN 0x800 /* Asynchronous Packet Receive Packet Error Interrupt Enable */ | ||
1345 | #define HDONEEN3 0x1000 /* DMA3 Half Done Interrupt Enable */ | ||
1346 | #define DONEEN3 0x2000 /* DMA3 Done Interrupt Enable */ | ||
1347 | #define HDONEEN4 0x10000 /* DMA4 Half Done Interrupt Enable */ | ||
1348 | #define DONEEN4 0x20000 /* DMA4 Done Interrupt Enable */ | ||
1349 | #define HDONEEN5 0x100000 /* DMA5 Half Done Interrupt Enable */ | ||
1350 | #define DONEEN5 0x200000 /* DMA5 Done Interrupt Enable */ | ||
1351 | #define HDONEEN6 0x1000000 /* DMA6 Half Done Interrupt Enable */ | ||
1352 | #define DONEEN6 0x2000000 /* DMA6 Done Interrupt Enable */ | ||
1353 | #define HDONEEN7 0x10000000 /* DMA7 Half Done Interrupt Enable */ | ||
1354 | #define DONEEN7 0x20000000 /* DMA7 Done Interrupt Enable */ | ||
1355 | |||
1356 | /* Bit masks for MXVR_POSITION */ | ||
1357 | |||
1358 | #define POSITION 0x3f /* Node Position */ | ||
1359 | #define PVALID 0x8000 /* Node Position Valid */ | ||
1360 | |||
1361 | /* Bit masks for MXVR_MAX_POSITION */ | ||
1362 | |||
1363 | #define MPOSITION 0x3f /* Maximum Node Position */ | ||
1364 | #define MPVALID 0x8000 /* Maximum Node Position Valid */ | ||
1365 | |||
1366 | /* Bit masks for MXVR_DELAY */ | ||
1367 | |||
1368 | #define DELAY 0x3f /* Node Frame Delay */ | ||
1369 | #define DVALID 0x8000 /* Node Frame Delay Valid */ | ||
1370 | |||
1371 | /* Bit masks for MXVR_MAX_DELAY */ | ||
1372 | |||
1373 | #define MDELAY 0x3f /* Maximum Node Frame Delay */ | ||
1374 | #define MDVALID 0x8000 /* Maximum Node Frame Delay Valid */ | ||
1375 | |||
1376 | /* Bit masks for MXVR_LADDR */ | ||
1377 | |||
1378 | #define LADDR 0xffff /* Logical Address */ | ||
1379 | #define LVALID 0x80000000 /* Logical Address Valid */ | ||
1380 | |||
1381 | /* Bit masks for MXVR_GADDR */ | ||
1382 | |||
1383 | #define GADDRL 0xff /* Group Address Lower Byte */ | ||
1384 | #define GVALID 0x8000 /* Group Address Valid */ | ||
1385 | |||
1386 | /* Bit masks for MXVR_AADDR */ | ||
1387 | |||
1388 | #define AADDR 0xffff /* Alternate Address */ | ||
1389 | #define AVALID 0x80000000 /* Alternate Address Valid */ | ||
1390 | |||
1391 | /* Bit masks for MXVR_ALLOC_0 */ | ||
1392 | |||
1393 | #define CL0 0x7f /* Channel 0 Connection Label */ | ||
1394 | #define CIU0 0x80 /* Channel 0 In Use */ | ||
1395 | #define CL1 0x7f00 /* Channel 0 Connection Label */ | ||
1396 | #define CIU1 0x8000 /* Channel 0 In Use */ | ||
1397 | #define CL2 0x7f0000 /* Channel 0 Connection Label */ | ||
1398 | #define CIU2 0x800000 /* Channel 0 In Use */ | ||
1399 | #define CL3 0x7f000000 /* Channel 0 Connection Label */ | ||
1400 | #define CIU3 0x80000000 /* Channel 0 In Use */ | ||
1401 | |||
1402 | /* Bit masks for MXVR_ALLOC_1 */ | ||
1403 | |||
1404 | #define CL4 0x7f /* Channel 4 Connection Label */ | ||
1405 | #define CIU4 0x80 /* Channel 4 In Use */ | ||
1406 | #define CL5 0x7f00 /* Channel 5 Connection Label */ | ||
1407 | #define CIU5 0x8000 /* Channel 5 In Use */ | ||
1408 | #define CL6 0x7f0000 /* Channel 6 Connection Label */ | ||
1409 | #define CIU6 0x800000 /* Channel 6 In Use */ | ||
1410 | #define CL7 0x7f000000 /* Channel 7 Connection Label */ | ||
1411 | #define CIU7 0x80000000 /* Channel 7 In Use */ | ||
1412 | |||
1413 | /* Bit masks for MXVR_ALLOC_2 */ | ||
1414 | |||
1415 | #define CL8 0x7f /* Channel 8 Connection Label */ | ||
1416 | #define CIU8 0x80 /* Channel 8 In Use */ | ||
1417 | #define CL9 0x7f00 /* Channel 9 Connection Label */ | ||
1418 | #define CIU9 0x8000 /* Channel 9 In Use */ | ||
1419 | #define CL10 0x7f0000 /* Channel 10 Connection Label */ | ||
1420 | #define CIU10 0x800000 /* Channel 10 In Use */ | ||
1421 | #define CL11 0x7f000000 /* Channel 11 Connection Label */ | ||
1422 | #define CIU11 0x80000000 /* Channel 11 In Use */ | ||
1423 | |||
1424 | /* Bit masks for MXVR_ALLOC_3 */ | ||
1425 | |||
1426 | #define CL12 0x7f /* Channel 12 Connection Label */ | ||
1427 | #define CIU12 0x80 /* Channel 12 In Use */ | ||
1428 | #define CL13 0x7f00 /* Channel 13 Connection Label */ | ||
1429 | #define CIU13 0x8000 /* Channel 13 In Use */ | ||
1430 | #define CL14 0x7f0000 /* Channel 14 Connection Label */ | ||
1431 | #define CIU14 0x800000 /* Channel 14 In Use */ | ||
1432 | #define CL15 0x7f000000 /* Channel 15 Connection Label */ | ||
1433 | #define CIU15 0x80000000 /* Channel 15 In Use */ | ||
1434 | |||
1435 | /* Bit masks for MXVR_ALLOC_4 */ | ||
1436 | |||
1437 | #define CL16 0x7f /* Channel 16 Connection Label */ | ||
1438 | #define CIU16 0x80 /* Channel 16 In Use */ | ||
1439 | #define CL17 0x7f00 /* Channel 17 Connection Label */ | ||
1440 | #define CIU17 0x8000 /* Channel 17 In Use */ | ||
1441 | #define CL18 0x7f0000 /* Channel 18 Connection Label */ | ||
1442 | #define CIU18 0x800000 /* Channel 18 In Use */ | ||
1443 | #define CL19 0x7f000000 /* Channel 19 Connection Label */ | ||
1444 | #define CIU19 0x80000000 /* Channel 19 In Use */ | ||
1445 | |||
1446 | /* Bit masks for MXVR_ALLOC_5 */ | ||
1447 | |||
1448 | #define CL20 0x7f /* Channel 20 Connection Label */ | ||
1449 | #define CIU20 0x80 /* Channel 20 In Use */ | ||
1450 | #define CL21 0x7f00 /* Channel 21 Connection Label */ | ||
1451 | #define CIU21 0x8000 /* Channel 21 In Use */ | ||
1452 | #define CL22 0x7f0000 /* Channel 22 Connection Label */ | ||
1453 | #define CIU22 0x800000 /* Channel 22 In Use */ | ||
1454 | #define CL23 0x7f000000 /* Channel 23 Connection Label */ | ||
1455 | #define CIU23 0x80000000 /* Channel 23 In Use */ | ||
1456 | |||
1457 | /* Bit masks for MXVR_ALLOC_6 */ | ||
1458 | |||
1459 | #define CL24 0x7f /* Channel 24 Connection Label */ | ||
1460 | #define CIU24 0x80 /* Channel 24 In Use */ | ||
1461 | #define CL25 0x7f00 /* Channel 25 Connection Label */ | ||
1462 | #define CIU25 0x8000 /* Channel 25 In Use */ | ||
1463 | #define CL26 0x7f0000 /* Channel 26 Connection Label */ | ||
1464 | #define CIU26 0x800000 /* Channel 26 In Use */ | ||
1465 | #define CL27 0x7f000000 /* Channel 27 Connection Label */ | ||
1466 | #define CIU27 0x80000000 /* Channel 27 In Use */ | ||
1467 | |||
1468 | /* Bit masks for MXVR_ALLOC_7 */ | ||
1469 | |||
1470 | #define CL28 0x7f /* Channel 28 Connection Label */ | ||
1471 | #define CIU28 0x80 /* Channel 28 In Use */ | ||
1472 | #define CL29 0x7f00 /* Channel 29 Connection Label */ | ||
1473 | #define CIU29 0x8000 /* Channel 29 In Use */ | ||
1474 | #define CL30 0x7f0000 /* Channel 30 Connection Label */ | ||
1475 | #define CIU30 0x800000 /* Channel 30 In Use */ | ||
1476 | #define CL31 0x7f000000 /* Channel 31 Connection Label */ | ||
1477 | #define CIU31 0x80000000 /* Channel 31 In Use */ | ||
1478 | |||
1479 | /* Bit masks for MXVR_ALLOC_8 */ | ||
1480 | |||
1481 | #define CL32 0x7f /* Channel 32 Connection Label */ | ||
1482 | #define CIU32 0x80 /* Channel 32 In Use */ | ||
1483 | #define CL33 0x7f00 /* Channel 33 Connection Label */ | ||
1484 | #define CIU33 0x8000 /* Channel 33 In Use */ | ||
1485 | #define CL34 0x7f0000 /* Channel 34 Connection Label */ | ||
1486 | #define CIU34 0x800000 /* Channel 34 In Use */ | ||
1487 | #define CL35 0x7f000000 /* Channel 35 Connection Label */ | ||
1488 | #define CIU35 0x80000000 /* Channel 35 In Use */ | ||
1489 | |||
1490 | /* Bit masks for MXVR_ALLOC_9 */ | ||
1491 | |||
1492 | #define CL36 0x7f /* Channel 36 Connection Label */ | ||
1493 | #define CIU36 0x80 /* Channel 36 In Use */ | ||
1494 | #define CL37 0x7f00 /* Channel 37 Connection Label */ | ||
1495 | #define CIU37 0x8000 /* Channel 37 In Use */ | ||
1496 | #define CL38 0x7f0000 /* Channel 38 Connection Label */ | ||
1497 | #define CIU38 0x800000 /* Channel 38 In Use */ | ||
1498 | #define CL39 0x7f000000 /* Channel 39 Connection Label */ | ||
1499 | #define CIU39 0x80000000 /* Channel 39 In Use */ | ||
1500 | |||
1501 | /* Bit masks for MXVR_ALLOC_10 */ | ||
1502 | |||
1503 | #define CL40 0x7f /* Channel 40 Connection Label */ | ||
1504 | #define CIU40 0x80 /* Channel 40 In Use */ | ||
1505 | #define CL41 0x7f00 /* Channel 41 Connection Label */ | ||
1506 | #define CIU41 0x8000 /* Channel 41 In Use */ | ||
1507 | #define CL42 0x7f0000 /* Channel 42 Connection Label */ | ||
1508 | #define CIU42 0x800000 /* Channel 42 In Use */ | ||
1509 | #define CL43 0x7f000000 /* Channel 43 Connection Label */ | ||
1510 | #define CIU43 0x80000000 /* Channel 43 In Use */ | ||
1511 | |||
1512 | /* Bit masks for MXVR_ALLOC_11 */ | ||
1513 | |||
1514 | #define CL44 0x7f /* Channel 44 Connection Label */ | ||
1515 | #define CIU44 0x80 /* Channel 44 In Use */ | ||
1516 | #define CL45 0x7f00 /* Channel 45 Connection Label */ | ||
1517 | #define CIU45 0x8000 /* Channel 45 In Use */ | ||
1518 | #define CL46 0x7f0000 /* Channel 46 Connection Label */ | ||
1519 | #define CIU46 0x800000 /* Channel 46 In Use */ | ||
1520 | #define CL47 0x7f000000 /* Channel 47 Connection Label */ | ||
1521 | #define CIU47 0x80000000 /* Channel 47 In Use */ | ||
1522 | |||
1523 | /* Bit masks for MXVR_ALLOC_12 */ | ||
1524 | |||
1525 | #define CL48 0x7f /* Channel 48 Connection Label */ | ||
1526 | #define CIU48 0x80 /* Channel 48 In Use */ | ||
1527 | #define CL49 0x7f00 /* Channel 49 Connection Label */ | ||
1528 | #define CIU49 0x8000 /* Channel 49 In Use */ | ||
1529 | #define CL50 0x7f0000 /* Channel 50 Connection Label */ | ||
1530 | #define CIU50 0x800000 /* Channel 50 In Use */ | ||
1531 | #define CL51 0x7f000000 /* Channel 51 Connection Label */ | ||
1532 | #define CIU51 0x80000000 /* Channel 51 In Use */ | ||
1533 | |||
1534 | /* Bit masks for MXVR_ALLOC_13 */ | ||
1535 | |||
1536 | #define CL52 0x7f /* Channel 52 Connection Label */ | ||
1537 | #define CIU52 0x80 /* Channel 52 In Use */ | ||
1538 | #define CL53 0x7f00 /* Channel 53 Connection Label */ | ||
1539 | #define CIU53 0x8000 /* Channel 53 In Use */ | ||
1540 | #define CL54 0x7f0000 /* Channel 54 Connection Label */ | ||
1541 | #define CIU54 0x800000 /* Channel 54 In Use */ | ||
1542 | #define CL55 0x7f000000 /* Channel 55 Connection Label */ | ||
1543 | #define CIU55 0x80000000 /* Channel 55 In Use */ | ||
1544 | |||
1545 | /* Bit masks for MXVR_ALLOC_14 */ | ||
1546 | |||
1547 | #define CL56 0x7f /* Channel 56 Connection Label */ | ||
1548 | #define CIU56 0x80 /* Channel 56 In Use */ | ||
1549 | #define CL57 0x7f00 /* Channel 57 Connection Label */ | ||
1550 | #define CIU57 0x8000 /* Channel 57 In Use */ | ||
1551 | #define CL58 0x7f0000 /* Channel 58 Connection Label */ | ||
1552 | #define CIU58 0x800000 /* Channel 58 In Use */ | ||
1553 | #define CL59 0x7f000000 /* Channel 59 Connection Label */ | ||
1554 | #define CIU59 0x80000000 /* Channel 59 In Use */ | ||
1555 | |||
1556 | /* MXVR_SYNC_LCHAN_0 Masks */ | ||
1557 | |||
1558 | #define LCHANPC0 0x0000000Flu | ||
1559 | #define LCHANPC1 0x000000F0lu | ||
1560 | #define LCHANPC2 0x00000F00lu | ||
1561 | #define LCHANPC3 0x0000F000lu | ||
1562 | #define LCHANPC4 0x000F0000lu | ||
1563 | #define LCHANPC5 0x00F00000lu | ||
1564 | #define LCHANPC6 0x0F000000lu | ||
1565 | #define LCHANPC7 0xF0000000lu | ||
1566 | |||
1567 | |||
1568 | /* MXVR_SYNC_LCHAN_1 Masks */ | ||
1569 | |||
1570 | #define LCHANPC8 0x0000000Flu | ||
1571 | #define LCHANPC9 0x000000F0lu | ||
1572 | #define LCHANPC10 0x00000F00lu | ||
1573 | #define LCHANPC11 0x0000F000lu | ||
1574 | #define LCHANPC12 0x000F0000lu | ||
1575 | #define LCHANPC13 0x00F00000lu | ||
1576 | #define LCHANPC14 0x0F000000lu | ||
1577 | #define LCHANPC15 0xF0000000lu | ||
1578 | |||
1579 | |||
1580 | /* MXVR_SYNC_LCHAN_2 Masks */ | ||
1581 | |||
1582 | #define LCHANPC16 0x0000000Flu | ||
1583 | #define LCHANPC17 0x000000F0lu | ||
1584 | #define LCHANPC18 0x00000F00lu | ||
1585 | #define LCHANPC19 0x0000F000lu | ||
1586 | #define LCHANPC20 0x000F0000lu | ||
1587 | #define LCHANPC21 0x00F00000lu | ||
1588 | #define LCHANPC22 0x0F000000lu | ||
1589 | #define LCHANPC23 0xF0000000lu | ||
1590 | |||
1591 | |||
1592 | /* MXVR_SYNC_LCHAN_3 Masks */ | ||
1593 | |||
1594 | #define LCHANPC24 0x0000000Flu | ||
1595 | #define LCHANPC25 0x000000F0lu | ||
1596 | #define LCHANPC26 0x00000F00lu | ||
1597 | #define LCHANPC27 0x0000F000lu | ||
1598 | #define LCHANPC28 0x000F0000lu | ||
1599 | #define LCHANPC29 0x00F00000lu | ||
1600 | #define LCHANPC30 0x0F000000lu | ||
1601 | #define LCHANPC31 0xF0000000lu | ||
1602 | |||
1603 | |||
1604 | /* MXVR_SYNC_LCHAN_4 Masks */ | ||
1605 | |||
1606 | #define LCHANPC32 0x0000000Flu | ||
1607 | #define LCHANPC33 0x000000F0lu | ||
1608 | #define LCHANPC34 0x00000F00lu | ||
1609 | #define LCHANPC35 0x0000F000lu | ||
1610 | #define LCHANPC36 0x000F0000lu | ||
1611 | #define LCHANPC37 0x00F00000lu | ||
1612 | #define LCHANPC38 0x0F000000lu | ||
1613 | #define LCHANPC39 0xF0000000lu | ||
1614 | |||
1615 | |||
1616 | /* MXVR_SYNC_LCHAN_5 Masks */ | ||
1617 | |||
1618 | #define LCHANPC40 0x0000000Flu | ||
1619 | #define LCHANPC41 0x000000F0lu | ||
1620 | #define LCHANPC42 0x00000F00lu | ||
1621 | #define LCHANPC43 0x0000F000lu | ||
1622 | #define LCHANPC44 0x000F0000lu | ||
1623 | #define LCHANPC45 0x00F00000lu | ||
1624 | #define LCHANPC46 0x0F000000lu | ||
1625 | #define LCHANPC47 0xF0000000lu | ||
1626 | |||
1627 | |||
1628 | /* MXVR_SYNC_LCHAN_6 Masks */ | ||
1629 | |||
1630 | #define LCHANPC48 0x0000000Flu | ||
1631 | #define LCHANPC49 0x000000F0lu | ||
1632 | #define LCHANPC50 0x00000F00lu | ||
1633 | #define LCHANPC51 0x0000F000lu | ||
1634 | #define LCHANPC52 0x000F0000lu | ||
1635 | #define LCHANPC53 0x00F00000lu | ||
1636 | #define LCHANPC54 0x0F000000lu | ||
1637 | #define LCHANPC55 0xF0000000lu | ||
1638 | |||
1639 | |||
1640 | /* MXVR_SYNC_LCHAN_7 Masks */ | ||
1641 | |||
1642 | #define LCHANPC56 0x0000000Flu | ||
1643 | #define LCHANPC57 0x000000F0lu | ||
1644 | #define LCHANPC58 0x00000F00lu | ||
1645 | #define LCHANPC59 0x0000F000lu | ||
1646 | |||
1647 | /* Bit masks for MXVR_DMAx_CONFIG */ | ||
1648 | |||
1649 | #define MDMAEN 0x1 /* DMA Channel Enable */ | ||
1650 | #define DMADD 0x2 /* DMA Channel Direction */ | ||
1651 | #define BY4SWAPEN 0x20 /* DMA Channel Four Byte Swap Enable */ | ||
1652 | #define LCHAN 0x3c0 /* DMA Channel Logical Channel */ | ||
1653 | #define BITSWAPEN 0x400 /* DMA Channel Bit Swap Enable */ | ||
1654 | #define BY2SWAPEN 0x800 /* DMA Channel Two Byte Swap Enable */ | ||
1655 | #define MFLOW 0x7000 /* DMA Channel Operation Flow */ | ||
1656 | #define FIXEDPM 0x80000 /* DMA Channel Fixed Pattern Matching Select */ | ||
1657 | #define STARTPAT 0x300000 /* DMA Channel Start Pattern Select */ | ||
1658 | #define STOPPAT 0xc00000 /* DMA Channel Stop Pattern Select */ | ||
1659 | #define COUNTPOS 0x1c000000 /* DMA Channel Count Position */ | ||
1660 | |||
1661 | /* Bit masks for MXVR_AP_CTL */ | ||
1662 | |||
1663 | #define STARTAP 0x1 /* Start Asynchronous Packet Transmission */ | ||
1664 | #define CANCELAP 0x2 /* Cancel Asynchronous Packet Transmission */ | ||
1665 | #define RESETAP 0x4 /* Reset Asynchronous Packet Arbitration */ | ||
1666 | #define APRBE0 0x4000 /* Asynchronous Packet Receive Buffer Entry 0 */ | ||
1667 | #define APRBE1 0x8000 /* Asynchronous Packet Receive Buffer Entry 1 */ | ||
1668 | |||
1669 | /* Bit masks for MXVR_APRB_START_ADDR */ | ||
1670 | |||
1671 | #define MXVR_APRB_START_ADDR_MASK 0x1fffffe /* Asynchronous Packet Receive Buffer Start Address */ | ||
1672 | |||
1673 | /* Bit masks for MXVR_APRB_CURR_ADDR */ | ||
1674 | |||
1675 | #define MXVR_APRB_CURR_ADDR_MASK 0xffffffff /* Asynchronous Packet Receive Buffer Current Address */ | ||
1676 | |||
1677 | /* Bit masks for MXVR_APTB_START_ADDR */ | ||
1678 | |||
1679 | #define MXVR_APTB_START_ADDR_MASK 0x1fffffe /* Asynchronous Packet Transmit Buffer Start Address */ | ||
1680 | |||
1681 | /* Bit masks for MXVR_APTB_CURR_ADDR */ | ||
1682 | |||
1683 | #define MXVR_APTB_CURR_ADDR_MASK 0xffffffff /* Asynchronous Packet Transmit Buffer Current Address */ | ||
1684 | |||
1685 | /* Bit masks for MXVR_CM_CTL */ | ||
1686 | |||
1687 | #define STARTCM 0x1 /* Start Control Message Transmission */ | ||
1688 | #define CANCELCM 0x2 /* Cancel Control Message Transmission */ | ||
1689 | #define CMRBE0 0x10000 /* Control Message Receive Buffer Entry 0 */ | ||
1690 | #define CMRBE1 0x20000 /* Control Message Receive Buffer Entry 1 */ | ||
1691 | #define CMRBE2 0x40000 /* Control Message Receive Buffer Entry 2 */ | ||
1692 | #define CMRBE3 0x80000 /* Control Message Receive Buffer Entry 3 */ | ||
1693 | #define CMRBE4 0x100000 /* Control Message Receive Buffer Entry 4 */ | ||
1694 | #define CMRBE5 0x200000 /* Control Message Receive Buffer Entry 5 */ | ||
1695 | #define CMRBE6 0x400000 /* Control Message Receive Buffer Entry 6 */ | ||
1696 | #define CMRBE7 0x800000 /* Control Message Receive Buffer Entry 7 */ | ||
1697 | #define CMRBE8 0x1000000 /* Control Message Receive Buffer Entry 8 */ | ||
1698 | #define CMRBE9 0x2000000 /* Control Message Receive Buffer Entry 9 */ | ||
1699 | #define CMRBE10 0x4000000 /* Control Message Receive Buffer Entry 10 */ | ||
1700 | #define CMRBE11 0x8000000 /* Control Message Receive Buffer Entry 11 */ | ||
1701 | #define CMRBE12 0x10000000 /* Control Message Receive Buffer Entry 12 */ | ||
1702 | #define CMRBE13 0x20000000 /* Control Message Receive Buffer Entry 13 */ | ||
1703 | #define CMRBE14 0x40000000 /* Control Message Receive Buffer Entry 14 */ | ||
1704 | #define CMRBE15 0x80000000 /* Control Message Receive Buffer Entry 15 */ | ||
1705 | |||
1706 | /* Bit masks for MXVR_CMRB_START_ADDR */ | ||
1707 | |||
1708 | #define MXVR_CMRB_START_ADDR_MASK 0x1fffffe /* Control Message Receive Buffer Start Address */ | ||
1709 | |||
1710 | /* Bit masks for MXVR_CMRB_CURR_ADDR */ | ||
1711 | |||
1712 | #define MXVR_CMRB_CURR_ADDR_MASK 0xffffffff /* Control Message Receive Buffer Current Address */ | ||
1713 | |||
1714 | /* Bit masks for MXVR_CMTB_START_ADDR */ | ||
1715 | |||
1716 | #define MXVR_CMTB_START_ADDR_MASK 0x1fffffe /* Control Message Transmit Buffer Start Address */ | ||
1717 | |||
1718 | /* Bit masks for MXVR_CMTB_CURR_ADDR */ | ||
1719 | |||
1720 | #define MXVR_CMTB_CURR_ADDR_MASK 0xffffffff /* Control Message Transmit Buffer Current Address */ | ||
1721 | |||
1722 | /* Bit masks for MXVR_RRDB_START_ADDR */ | ||
1723 | |||
1724 | #define MXVR_RRDB_START_ADDR_MASK 0x1fffffe /* Remote Read Buffer Start Address */ | ||
1725 | |||
1726 | /* Bit masks for MXVR_RRDB_CURR_ADDR */ | ||
1727 | |||
1728 | #define MXVR_RRDB_CURR_ADDR_MASK 0xffffffff /* Remote Read Buffer Current Address */ | ||
1729 | |||
1730 | /* Bit masks for MXVR_PAT_DATAx */ | ||
1731 | |||
1732 | #define MATCH_DATA_0 0xff /* Pattern Match Data Byte 0 */ | ||
1733 | #define MATCH_DATA_1 0xff00 /* Pattern Match Data Byte 1 */ | ||
1734 | #define MATCH_DATA_2 0xff0000 /* Pattern Match Data Byte 2 */ | ||
1735 | #define MATCH_DATA_3 0xff000000 /* Pattern Match Data Byte 3 */ | ||
1736 | |||
1737 | /* Bit masks for MXVR_PAT_EN_0 */ | ||
1738 | |||
1739 | #define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */ | ||
1740 | #define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */ | ||
1741 | #define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */ | ||
1742 | #define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */ | ||
1743 | #define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */ | ||
1744 | #define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */ | ||
1745 | #define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */ | ||
1746 | #define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */ | ||
1747 | #define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */ | ||
1748 | #define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */ | ||
1749 | #define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */ | ||
1750 | #define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */ | ||
1751 | #define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */ | ||
1752 | #define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */ | ||
1753 | #define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */ | ||
1754 | #define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */ | ||
1755 | #define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */ | ||
1756 | #define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */ | ||
1757 | #define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */ | ||
1758 | #define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */ | ||
1759 | #define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */ | ||
1760 | #define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */ | ||
1761 | #define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */ | ||
1762 | #define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */ | ||
1763 | #define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */ | ||
1764 | #define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */ | ||
1765 | #define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */ | ||
1766 | #define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */ | ||
1767 | #define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */ | ||
1768 | #define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */ | ||
1769 | #define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */ | ||
1770 | #define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */ | ||
1771 | |||
1772 | /* Bit masks for MXVR_PAT_EN_1 */ | ||
1773 | |||
1774 | #define MATCH_EN_0_0 0x1 /* Pattern Match Enable Byte 0 Bit 0 */ | ||
1775 | #define MATCH_EN_0_1 0x2 /* Pattern Match Enable Byte 0 Bit 1 */ | ||
1776 | #define MATCH_EN_0_2 0x4 /* Pattern Match Enable Byte 0 Bit 2 */ | ||
1777 | #define MATCH_EN_0_3 0x8 /* Pattern Match Enable Byte 0 Bit 3 */ | ||
1778 | #define MATCH_EN_0_4 0x10 /* Pattern Match Enable Byte 0 Bit 4 */ | ||
1779 | #define MATCH_EN_0_5 0x20 /* Pattern Match Enable Byte 0 Bit 5 */ | ||
1780 | #define MATCH_EN_0_6 0x40 /* Pattern Match Enable Byte 0 Bit 6 */ | ||
1781 | #define MATCH_EN_0_7 0x80 /* Pattern Match Enable Byte 0 Bit 7 */ | ||
1782 | #define MATCH_EN_1_0 0x100 /* Pattern Match Enable Byte 1 Bit 0 */ | ||
1783 | #define MATCH_EN_1_1 0x200 /* Pattern Match Enable Byte 1 Bit 1 */ | ||
1784 | #define MATCH_EN_1_2 0x400 /* Pattern Match Enable Byte 1 Bit 2 */ | ||
1785 | #define MATCH_EN_1_3 0x800 /* Pattern Match Enable Byte 1 Bit 3 */ | ||
1786 | #define MATCH_EN_1_4 0x1000 /* Pattern Match Enable Byte 1 Bit 4 */ | ||
1787 | #define MATCH_EN_1_5 0x2000 /* Pattern Match Enable Byte 1 Bit 5 */ | ||
1788 | #define MATCH_EN_1_6 0x4000 /* Pattern Match Enable Byte 1 Bit 6 */ | ||
1789 | #define MATCH_EN_1_7 0x8000 /* Pattern Match Enable Byte 1 Bit 7 */ | ||
1790 | #define MATCH_EN_2_0 0x10000 /* Pattern Match Enable Byte 2 Bit 0 */ | ||
1791 | #define MATCH_EN_2_1 0x20000 /* Pattern Match Enable Byte 2 Bit 1 */ | ||
1792 | #define MATCH_EN_2_2 0x40000 /* Pattern Match Enable Byte 2 Bit 2 */ | ||
1793 | #define MATCH_EN_2_3 0x80000 /* Pattern Match Enable Byte 2 Bit 3 */ | ||
1794 | #define MATCH_EN_2_4 0x100000 /* Pattern Match Enable Byte 2 Bit 4 */ | ||
1795 | #define MATCH_EN_2_5 0x200000 /* Pattern Match Enable Byte 2 Bit 5 */ | ||
1796 | #define MATCH_EN_2_6 0x400000 /* Pattern Match Enable Byte 2 Bit 6 */ | ||
1797 | #define MATCH_EN_2_7 0x800000 /* Pattern Match Enable Byte 2 Bit 7 */ | ||
1798 | #define MATCH_EN_3_0 0x1000000 /* Pattern Match Enable Byte 3 Bit 0 */ | ||
1799 | #define MATCH_EN_3_1 0x2000000 /* Pattern Match Enable Byte 3 Bit 1 */ | ||
1800 | #define MATCH_EN_3_2 0x4000000 /* Pattern Match Enable Byte 3 Bit 2 */ | ||
1801 | #define MATCH_EN_3_3 0x8000000 /* Pattern Match Enable Byte 3 Bit 3 */ | ||
1802 | #define MATCH_EN_3_4 0x10000000 /* Pattern Match Enable Byte 3 Bit 4 */ | ||
1803 | #define MATCH_EN_3_5 0x20000000 /* Pattern Match Enable Byte 3 Bit 5 */ | ||
1804 | #define MATCH_EN_3_6 0x40000000 /* Pattern Match Enable Byte 3 Bit 6 */ | ||
1805 | #define MATCH_EN_3_7 0x80000000 /* Pattern Match Enable Byte 3 Bit 7 */ | ||
1806 | |||
1807 | /* Bit masks for MXVR_FRAME_CNT_0 */ | ||
1808 | |||
1809 | #define FCNT 0xffff /* Frame Count */ | ||
1810 | |||
1811 | /* Bit masks for MXVR_FRAME_CNT_1 */ | ||
1812 | |||
1813 | #define FCNT 0xffff /* Frame Count */ | ||
1814 | |||
1815 | /* Bit masks for MXVR_ROUTING_0 */ | ||
1816 | |||
1817 | #define TX_CH0 0x3f /* Transmit Channel 0 */ | ||
1818 | #define MUTE_CH0 0x80 /* Mute Channel 0 */ | ||
1819 | #define TX_CH1 0x3f00 /* Transmit Channel 0 */ | ||
1820 | #define MUTE_CH1 0x8000 /* Mute Channel 0 */ | ||
1821 | #define TX_CH2 0x3f0000 /* Transmit Channel 0 */ | ||
1822 | #define MUTE_CH2 0x800000 /* Mute Channel 0 */ | ||
1823 | #define TX_CH3 0x3f000000 /* Transmit Channel 0 */ | ||
1824 | #define MUTE_CH3 0x80000000 /* Mute Channel 0 */ | ||
1825 | |||
1826 | /* Bit masks for MXVR_ROUTING_1 */ | ||
1827 | |||
1828 | #define TX_CH4 0x3f /* Transmit Channel 4 */ | ||
1829 | #define MUTE_CH4 0x80 /* Mute Channel 4 */ | ||
1830 | #define TX_CH5 0x3f00 /* Transmit Channel 5 */ | ||
1831 | #define MUTE_CH5 0x8000 /* Mute Channel 5 */ | ||
1832 | #define TX_CH6 0x3f0000 /* Transmit Channel 6 */ | ||
1833 | #define MUTE_CH6 0x800000 /* Mute Channel 6 */ | ||
1834 | #define TX_CH7 0x3f000000 /* Transmit Channel 7 */ | ||
1835 | #define MUTE_CH7 0x80000000 /* Mute Channel 7 */ | ||
1836 | |||
1837 | /* Bit masks for MXVR_ROUTING_2 */ | ||
1838 | |||
1839 | #define TX_CH8 0x3f /* Transmit Channel 8 */ | ||
1840 | #define MUTE_CH8 0x80 /* Mute Channel 8 */ | ||
1841 | #define TX_CH9 0x3f00 /* Transmit Channel 9 */ | ||
1842 | #define MUTE_CH9 0x8000 /* Mute Channel 9 */ | ||
1843 | #define TX_CH10 0x3f0000 /* Transmit Channel 10 */ | ||
1844 | #define MUTE_CH10 0x800000 /* Mute Channel 10 */ | ||
1845 | #define TX_CH11 0x3f000000 /* Transmit Channel 11 */ | ||
1846 | #define MUTE_CH11 0x80000000 /* Mute Channel 11 */ | ||
1847 | |||
1848 | /* Bit masks for MXVR_ROUTING_3 */ | ||
1849 | |||
1850 | #define TX_CH12 0x3f /* Transmit Channel 12 */ | ||
1851 | #define MUTE_CH12 0x80 /* Mute Channel 12 */ | ||
1852 | #define TX_CH13 0x3f00 /* Transmit Channel 13 */ | ||
1853 | #define MUTE_CH13 0x8000 /* Mute Channel 13 */ | ||
1854 | #define TX_CH14 0x3f0000 /* Transmit Channel 14 */ | ||
1855 | #define MUTE_CH14 0x800000 /* Mute Channel 14 */ | ||
1856 | #define TX_CH15 0x3f000000 /* Transmit Channel 15 */ | ||
1857 | #define MUTE_CH15 0x80000000 /* Mute Channel 15 */ | ||
1858 | |||
1859 | /* Bit masks for MXVR_ROUTING_4 */ | ||
1860 | |||
1861 | #define TX_CH16 0x3f /* Transmit Channel 16 */ | ||
1862 | #define MUTE_CH16 0x80 /* Mute Channel 16 */ | ||
1863 | #define TX_CH17 0x3f00 /* Transmit Channel 17 */ | ||
1864 | #define MUTE_CH17 0x8000 /* Mute Channel 17 */ | ||
1865 | #define TX_CH18 0x3f0000 /* Transmit Channel 18 */ | ||
1866 | #define MUTE_CH18 0x800000 /* Mute Channel 18 */ | ||
1867 | #define TX_CH19 0x3f000000 /* Transmit Channel 19 */ | ||
1868 | #define MUTE_CH19 0x80000000 /* Mute Channel 19 */ | ||
1869 | |||
1870 | /* Bit masks for MXVR_ROUTING_5 */ | ||
1871 | |||
1872 | #define TX_CH20 0x3f /* Transmit Channel 20 */ | ||
1873 | #define MUTE_CH20 0x80 /* Mute Channel 20 */ | ||
1874 | #define TX_CH21 0x3f00 /* Transmit Channel 21 */ | ||
1875 | #define MUTE_CH21 0x8000 /* Mute Channel 21 */ | ||
1876 | #define TX_CH22 0x3f0000 /* Transmit Channel 22 */ | ||
1877 | #define MUTE_CH22 0x800000 /* Mute Channel 22 */ | ||
1878 | #define TX_CH23 0x3f000000 /* Transmit Channel 23 */ | ||
1879 | #define MUTE_CH23 0x80000000 /* Mute Channel 23 */ | ||
1880 | |||
1881 | /* Bit masks for MXVR_ROUTING_6 */ | ||
1882 | |||
1883 | #define TX_CH24 0x3f /* Transmit Channel 24 */ | ||
1884 | #define MUTE_CH24 0x80 /* Mute Channel 24 */ | ||
1885 | #define TX_CH25 0x3f00 /* Transmit Channel 25 */ | ||
1886 | #define MUTE_CH25 0x8000 /* Mute Channel 25 */ | ||
1887 | #define TX_CH26 0x3f0000 /* Transmit Channel 26 */ | ||
1888 | #define MUTE_CH26 0x800000 /* Mute Channel 26 */ | ||
1889 | #define TX_CH27 0x3f000000 /* Transmit Channel 27 */ | ||
1890 | #define MUTE_CH27 0x80000000 /* Mute Channel 27 */ | ||
1891 | |||
1892 | /* Bit masks for MXVR_ROUTING_7 */ | ||
1893 | |||
1894 | #define TX_CH28 0x3f /* Transmit Channel 28 */ | ||
1895 | #define MUTE_CH28 0x80 /* Mute Channel 28 */ | ||
1896 | #define TX_CH29 0x3f00 /* Transmit Channel 29 */ | ||
1897 | #define MUTE_CH29 0x8000 /* Mute Channel 29 */ | ||
1898 | #define TX_CH30 0x3f0000 /* Transmit Channel 30 */ | ||
1899 | #define MUTE_CH30 0x800000 /* Mute Channel 30 */ | ||
1900 | #define TX_CH31 0x3f000000 /* Transmit Channel 31 */ | ||
1901 | #define MUTE_CH31 0x80000000 /* Mute Channel 31 */ | ||
1902 | |||
1903 | /* Bit masks for MXVR_ROUTING_8 */ | ||
1904 | |||
1905 | #define TX_CH32 0x3f /* Transmit Channel 32 */ | ||
1906 | #define MUTE_CH32 0x80 /* Mute Channel 32 */ | ||
1907 | #define TX_CH33 0x3f00 /* Transmit Channel 33 */ | ||
1908 | #define MUTE_CH33 0x8000 /* Mute Channel 33 */ | ||
1909 | #define TX_CH34 0x3f0000 /* Transmit Channel 34 */ | ||
1910 | #define MUTE_CH34 0x800000 /* Mute Channel 34 */ | ||
1911 | #define TX_CH35 0x3f000000 /* Transmit Channel 35 */ | ||
1912 | #define MUTE_CH35 0x80000000 /* Mute Channel 35 */ | ||
1913 | |||
1914 | /* Bit masks for MXVR_ROUTING_9 */ | ||
1915 | |||
1916 | #define TX_CH36 0x3f /* Transmit Channel 36 */ | ||
1917 | #define MUTE_CH36 0x80 /* Mute Channel 36 */ | ||
1918 | #define TX_CH37 0x3f00 /* Transmit Channel 37 */ | ||
1919 | #define MUTE_CH37 0x8000 /* Mute Channel 37 */ | ||
1920 | #define TX_CH38 0x3f0000 /* Transmit Channel 38 */ | ||
1921 | #define MUTE_CH38 0x800000 /* Mute Channel 38 */ | ||
1922 | #define TX_CH39 0x3f000000 /* Transmit Channel 39 */ | ||
1923 | #define MUTE_CH39 0x80000000 /* Mute Channel 39 */ | ||
1924 | |||
1925 | /* Bit masks for MXVR_ROUTING_10 */ | ||
1926 | |||
1927 | #define TX_CH40 0x3f /* Transmit Channel 40 */ | ||
1928 | #define MUTE_CH40 0x80 /* Mute Channel 40 */ | ||
1929 | #define TX_CH41 0x3f00 /* Transmit Channel 41 */ | ||
1930 | #define MUTE_CH41 0x8000 /* Mute Channel 41 */ | ||
1931 | #define TX_CH42 0x3f0000 /* Transmit Channel 42 */ | ||
1932 | #define MUTE_CH42 0x800000 /* Mute Channel 42 */ | ||
1933 | #define TX_CH43 0x3f000000 /* Transmit Channel 43 */ | ||
1934 | #define MUTE_CH43 0x80000000 /* Mute Channel 43 */ | ||
1935 | |||
1936 | /* Bit masks for MXVR_ROUTING_11 */ | ||
1937 | |||
1938 | #define TX_CH44 0x3f /* Transmit Channel 44 */ | ||
1939 | #define MUTE_CH44 0x80 /* Mute Channel 44 */ | ||
1940 | #define TX_CH45 0x3f00 /* Transmit Channel 45 */ | ||
1941 | #define MUTE_CH45 0x8000 /* Mute Channel 45 */ | ||
1942 | #define TX_CH46 0x3f0000 /* Transmit Channel 46 */ | ||
1943 | #define MUTE_CH46 0x800000 /* Mute Channel 46 */ | ||
1944 | #define TX_CH47 0x3f000000 /* Transmit Channel 47 */ | ||
1945 | #define MUTE_CH47 0x80000000 /* Mute Channel 47 */ | ||
1946 | |||
1947 | /* Bit masks for MXVR_ROUTING_12 */ | ||
1948 | |||
1949 | #define TX_CH48 0x3f /* Transmit Channel 48 */ | ||
1950 | #define MUTE_CH48 0x80 /* Mute Channel 48 */ | ||
1951 | #define TX_CH49 0x3f00 /* Transmit Channel 49 */ | ||
1952 | #define MUTE_CH49 0x8000 /* Mute Channel 49 */ | ||
1953 | #define TX_CH50 0x3f0000 /* Transmit Channel 50 */ | ||
1954 | #define MUTE_CH50 0x800000 /* Mute Channel 50 */ | ||
1955 | #define TX_CH51 0x3f000000 /* Transmit Channel 51 */ | ||
1956 | #define MUTE_CH51 0x80000000 /* Mute Channel 51 */ | ||
1957 | |||
1958 | /* Bit masks for MXVR_ROUTING_13 */ | ||
1959 | |||
1960 | #define TX_CH52 0x3f /* Transmit Channel 52 */ | ||
1961 | #define MUTE_CH52 0x80 /* Mute Channel 52 */ | ||
1962 | #define TX_CH53 0x3f00 /* Transmit Channel 53 */ | ||
1963 | #define MUTE_CH53 0x8000 /* Mute Channel 53 */ | ||
1964 | #define TX_CH54 0x3f0000 /* Transmit Channel 54 */ | ||
1965 | #define MUTE_CH54 0x800000 /* Mute Channel 54 */ | ||
1966 | #define TX_CH55 0x3f000000 /* Transmit Channel 55 */ | ||
1967 | #define MUTE_CH55 0x80000000 /* Mute Channel 55 */ | ||
1968 | |||
1969 | /* Bit masks for MXVR_ROUTING_14 */ | ||
1970 | |||
1971 | #define TX_CH56 0x3f /* Transmit Channel 56 */ | ||
1972 | #define MUTE_CH56 0x80 /* Mute Channel 56 */ | ||
1973 | #define TX_CH57 0x3f00 /* Transmit Channel 57 */ | ||
1974 | #define MUTE_CH57 0x8000 /* Mute Channel 57 */ | ||
1975 | #define TX_CH58 0x3f0000 /* Transmit Channel 58 */ | ||
1976 | #define MUTE_CH58 0x800000 /* Mute Channel 58 */ | ||
1977 | #define TX_CH59 0x3f000000 /* Transmit Channel 59 */ | ||
1978 | #define MUTE_CH59 0x80000000 /* Mute Channel 59 */ | ||
1979 | |||
1980 | /* Bit masks for MXVR_BLOCK_CNT */ | ||
1981 | |||
1982 | #define BCNT 0xffff /* Block Count */ | ||
1983 | |||
1984 | /* Bit masks for MXVR_CLK_CTL */ | ||
1985 | |||
1986 | #define MXTALCEN 0x1 /* MXVR Crystal Oscillator Clock Enable */ | ||
1987 | #define MXTALFEN 0x2 /* MXVR Crystal Oscillator Feedback Enable */ | ||
1988 | #define MXTALMUL 0x30 /* MXVR Crystal Multiplier */ | ||
1989 | #define CLKX3SEL 0x80 /* Clock Generation Source Select */ | ||
1990 | #define MMCLKEN 0x100 /* Master Clock Enable */ | ||
1991 | #define MMCLKMUL 0x1e00 /* Master Clock Multiplication Factor */ | ||
1992 | #define PLLSMPS 0xe000 /* MXVR PLL State Machine Prescaler */ | ||
1993 | #define MBCLKEN 0x10000 /* Bit Clock Enable */ | ||
1994 | #define MBCLKDIV 0x1e0000 /* Bit Clock Divide Factor */ | ||
1995 | #define INVRX 0x800000 /* Invert Receive Data */ | ||
1996 | #define MFSEN 0x1000000 /* Frame Sync Enable */ | ||
1997 | #define MFSDIV 0x1e000000 /* Frame Sync Divide Factor */ | ||
1998 | #define MFSSEL 0x60000000 /* Frame Sync Select */ | ||
1999 | #define MFSSYNC 0x80000000 /* Frame Sync Synchronization Select */ | ||
2000 | |||
2001 | /* Bit masks for MXVR_CDRPLL_CTL */ | ||
2002 | |||
2003 | #define CDRSMEN 0x1 /* MXVR CDRPLL State Machine Enable */ | ||
2004 | #define CDRRSTB 0x2 /* MXVR CDRPLL Reset */ | ||
2005 | #define CDRSVCO 0x4 /* MXVR CDRPLL Start VCO */ | ||
2006 | #define CDRMODE 0x8 /* MXVR CDRPLL CDR Mode Select */ | ||
2007 | #define CDRSCNT 0x3f0 /* MXVR CDRPLL Start Counter */ | ||
2008 | #define CDRLCNT 0xfc00 /* MXVR CDRPLL Lock Counter */ | ||
2009 | #define CDRSHPSEL 0x3f0000 /* MXVR CDRPLL Shaper Select */ | ||
2010 | #define CDRSHPEN 0x800000 /* MXVR CDRPLL Shaper Enable */ | ||
2011 | #define CDRCPSEL 0xff000000 /* MXVR CDRPLL Charge Pump Current Select */ | ||
2012 | |||
2013 | /* Bit masks for MXVR_FMPLL_CTL */ | ||
2014 | |||
2015 | #define FMSMEN 0x1 /* MXVR FMPLL State Machine Enable */ | ||
2016 | #define FMRSTB 0x2 /* MXVR FMPLL Reset */ | ||
2017 | #define FMSVCO 0x4 /* MXVR FMPLL Start VCO */ | ||
2018 | #define FMSCNT 0x3f0 /* MXVR FMPLL Start Counter */ | ||
2019 | #define FMLCNT 0xfc00 /* MXVR FMPLL Lock Counter */ | ||
2020 | #define FMCPSEL 0xff000000 /* MXVR FMPLL Charge Pump Current Select */ | ||
2021 | |||
2022 | /* Bit masks for MXVR_PIN_CTL */ | ||
2023 | |||
2024 | #define MTXONBOD 0x1 /* MTXONB Open Drain Select */ | ||
2025 | #define MTXONBG 0x2 /* MTXONB Gates MTX Select */ | ||
2026 | #define MFSOE 0x10 /* MFS Output Enable */ | ||
2027 | #define MFSGPSEL 0x20 /* MFS General Purpose Output Select */ | ||
2028 | #define MFSGPDAT 0x40 /* MFS General Purpose Output Data */ | ||
2029 | |||
2030 | /* Bit masks for MXVR_SCLK_CNT */ | ||
2031 | |||
2032 | #define SCNT 0xffff /* System Clock Count */ | ||
2033 | |||
2034 | /* Bit masks for KPAD_CTL */ | ||
2035 | |||
2036 | #define KPAD_EN 0x1 /* Keypad Enable */ | ||
2037 | #define KPAD_IRQMODE 0x6 /* Key Press Interrupt Enable */ | ||
2038 | #define KPAD_ROWEN 0x1c00 /* Row Enable Width */ | ||
2039 | #define KPAD_COLEN 0xe000 /* Column Enable Width */ | ||
2040 | |||
2041 | /* Bit masks for KPAD_PRESCALE */ | ||
2042 | |||
2043 | #define KPAD_PRESCALE_VAL 0x3f /* Key Prescale Value */ | ||
2044 | |||
2045 | /* Bit masks for KPAD_MSEL */ | ||
2046 | |||
2047 | #define DBON_SCALE 0xff /* Debounce Scale Value */ | ||
2048 | #define COLDRV_SCALE 0xff00 /* Column Driver Scale Value */ | ||
2049 | |||
2050 | /* Bit masks for KPAD_ROWCOL */ | ||
2051 | |||
2052 | #define KPAD_ROW 0xff /* Rows Pressed */ | ||
2053 | #define KPAD_COL 0xff00 /* Columns Pressed */ | ||
2054 | |||
2055 | /* Bit masks for KPAD_STAT */ | ||
2056 | |||
2057 | #define KPAD_IRQ 0x1 /* Keypad Interrupt Status */ | ||
2058 | #define KPAD_MROWCOL 0x6 /* Multiple Row/Column Keypress Status */ | ||
2059 | #define KPAD_PRESSED 0x8 /* Key press current status */ | ||
2060 | |||
2061 | /* Bit masks for KPAD_SOFTEVAL */ | ||
2062 | |||
2063 | #define KPAD_SOFTEVAL_E 0x2 /* Software Programmable Force Evaluate */ | ||
2064 | |||
2065 | /* Bit masks for SDH_COMMAND */ | ||
2066 | |||
2067 | #define CMD_IDX 0x3f /* Command Index */ | ||
2068 | #define CMD_RSP 0x40 /* Response */ | ||
2069 | #define CMD_L_RSP 0x80 /* Long Response */ | ||
2070 | #define CMD_INT_E 0x100 /* Command Interrupt */ | ||
2071 | #define CMD_PEND_E 0x200 /* Command Pending */ | ||
2072 | #define CMD_E 0x400 /* Command Enable */ | ||
2073 | |||
2074 | /* Bit masks for SDH_PWR_CTL */ | ||
2075 | |||
2076 | #define PWR_ON 0x3 /* Power On */ | ||
2077 | #if 0 | ||
2078 | #define TBD 0x3c /* TBD */ | ||
2079 | #endif | ||
2080 | #define SD_CMD_OD 0x40 /* Open Drain Output */ | ||
2081 | #define ROD_CTL 0x80 /* Rod Control */ | ||
2082 | |||
2083 | /* Bit masks for SDH_CLK_CTL */ | ||
2084 | |||
2085 | #define CLKDIV 0xff /* MC_CLK Divisor */ | ||
2086 | #define CLK_E 0x100 /* MC_CLK Bus Clock Enable */ | ||
2087 | #define PWR_SV_E 0x200 /* Power Save Enable */ | ||
2088 | #define CLKDIV_BYPASS 0x400 /* Bypass Divisor */ | ||
2089 | #define WIDE_BUS 0x800 /* Wide Bus Mode Enable */ | ||
2090 | |||
2091 | /* Bit masks for SDH_RESP_CMD */ | ||
2092 | |||
2093 | #define RESP_CMD 0x3f /* Response Command */ | ||
2094 | |||
2095 | /* Bit masks for SDH_DATA_CTL */ | ||
2096 | |||
2097 | #define DTX_E 0x1 /* Data Transfer Enable */ | ||
2098 | #define DTX_DIR 0x2 /* Data Transfer Direction */ | ||
2099 | #define DTX_MODE 0x4 /* Data Transfer Mode */ | ||
2100 | #define DTX_DMA_E 0x8 /* Data Transfer DMA Enable */ | ||
2101 | #define DTX_BLK_LGTH 0xf0 /* Data Transfer Block Length */ | ||
2102 | |||
2103 | /* Bit masks for SDH_STATUS */ | ||
2104 | |||
2105 | #define CMD_CRC_FAIL 0x1 /* CMD CRC Fail */ | ||
2106 | #define DAT_CRC_FAIL 0x2 /* Data CRC Fail */ | ||
2107 | #define CMD_TIME_OUT 0x4 /* CMD Time Out */ | ||
2108 | #define DAT_TIME_OUT 0x8 /* Data Time Out */ | ||
2109 | #define TX_UNDERRUN 0x10 /* Transmit Underrun */ | ||
2110 | #define RX_OVERRUN 0x20 /* Receive Overrun */ | ||
2111 | #define CMD_RESP_END 0x40 /* CMD Response End */ | ||
2112 | #define CMD_SENT 0x80 /* CMD Sent */ | ||
2113 | #define DAT_END 0x100 /* Data End */ | ||
2114 | #define START_BIT_ERR 0x200 /* Start Bit Error */ | ||
2115 | #define DAT_BLK_END 0x400 /* Data Block End */ | ||
2116 | #define CMD_ACT 0x800 /* CMD Active */ | ||
2117 | #define TX_ACT 0x1000 /* Transmit Active */ | ||
2118 | #define RX_ACT 0x2000 /* Receive Active */ | ||
2119 | #define TX_FIFO_STAT 0x4000 /* Transmit FIFO Status */ | ||
2120 | #define RX_FIFO_STAT 0x8000 /* Receive FIFO Status */ | ||
2121 | #define TX_FIFO_FULL 0x10000 /* Transmit FIFO Full */ | ||
2122 | #define RX_FIFO_FULL 0x20000 /* Receive FIFO Full */ | ||
2123 | #define TX_FIFO_ZERO 0x40000 /* Transmit FIFO Empty */ | ||
2124 | #define RX_DAT_ZERO 0x80000 /* Receive FIFO Empty */ | ||
2125 | #define TX_DAT_RDY 0x100000 /* Transmit Data Available */ | ||
2126 | #define RX_FIFO_RDY 0x200000 /* Receive Data Available */ | ||
2127 | |||
2128 | /* Bit masks for SDH_STATUS_CLR */ | ||
2129 | |||
2130 | #define CMD_CRC_FAIL_STAT 0x1 /* CMD CRC Fail Status */ | ||
2131 | #define DAT_CRC_FAIL_STAT 0x2 /* Data CRC Fail Status */ | ||
2132 | #define CMD_TIMEOUT_STAT 0x4 /* CMD Time Out Status */ | ||
2133 | #define DAT_TIMEOUT_STAT 0x8 /* Data Time Out status */ | ||
2134 | #define TX_UNDERRUN_STAT 0x10 /* Transmit Underrun Status */ | ||
2135 | #define RX_OVERRUN_STAT 0x20 /* Receive Overrun Status */ | ||
2136 | #define CMD_RESP_END_STAT 0x40 /* CMD Response End Status */ | ||
2137 | #define CMD_SENT_STAT 0x80 /* CMD Sent Status */ | ||
2138 | #define DAT_END_STAT 0x100 /* Data End Status */ | ||
2139 | #define START_BIT_ERR_STAT 0x200 /* Start Bit Error Status */ | ||
2140 | #define DAT_BLK_END_STAT 0x400 /* Data Block End Status */ | ||
2141 | |||
2142 | /* Bit masks for SDH_MASK0 */ | ||
2143 | |||
2144 | #define CMD_CRC_FAIL_MASK 0x1 /* CMD CRC Fail Mask */ | ||
2145 | #define DAT_CRC_FAIL_MASK 0x2 /* Data CRC Fail Mask */ | ||
2146 | #define CMD_TIMEOUT_MASK 0x4 /* CMD Time Out Mask */ | ||
2147 | #define DAT_TIMEOUT_MASK 0x8 /* Data Time Out Mask */ | ||
2148 | #define TX_UNDERRUN_MASK 0x10 /* Transmit Underrun Mask */ | ||
2149 | #define RX_OVERRUN_MASK 0x20 /* Receive Overrun Mask */ | ||
2150 | #define CMD_RESP_END_MASK 0x40 /* CMD Response End Mask */ | ||
2151 | #define CMD_SENT_MASK 0x80 /* CMD Sent Mask */ | ||
2152 | #define DAT_END_MASK 0x100 /* Data End Mask */ | ||
2153 | #define START_BIT_ERR_MASK 0x200 /* Start Bit Error Mask */ | ||
2154 | #define DAT_BLK_END_MASK 0x400 /* Data Block End Mask */ | ||
2155 | #define CMD_ACT_MASK 0x800 /* CMD Active Mask */ | ||
2156 | #define TX_ACT_MASK 0x1000 /* Transmit Active Mask */ | ||
2157 | #define RX_ACT_MASK 0x2000 /* Receive Active Mask */ | ||
2158 | #define TX_FIFO_STAT_MASK 0x4000 /* Transmit FIFO Status Mask */ | ||
2159 | #define RX_FIFO_STAT_MASK 0x8000 /* Receive FIFO Status Mask */ | ||
2160 | #define TX_FIFO_FULL_MASK 0x10000 /* Transmit FIFO Full Mask */ | ||
2161 | #define RX_FIFO_FULL_MASK 0x20000 /* Receive FIFO Full Mask */ | ||
2162 | #define TX_FIFO_ZERO_MASK 0x40000 /* Transmit FIFO Empty Mask */ | ||
2163 | #define RX_DAT_ZERO_MASK 0x80000 /* Receive FIFO Empty Mask */ | ||
2164 | #define TX_DAT_RDY_MASK 0x100000 /* Transmit Data Available Mask */ | ||
2165 | #define RX_FIFO_RDY_MASK 0x200000 /* Receive Data Available Mask */ | ||
2166 | |||
2167 | /* Bit masks for SDH_FIFO_CNT */ | ||
2168 | |||
2169 | #define FIFO_COUNT 0x7fff /* FIFO Count */ | ||
2170 | |||
2171 | /* Bit masks for SDH_E_STATUS */ | ||
2172 | |||
2173 | #define SDIO_INT_DET 0x2 /* SDIO Int Detected */ | ||
2174 | #define SD_CARD_DET 0x10 /* SD Card Detect */ | ||
2175 | |||
2176 | /* Bit masks for SDH_E_MASK */ | ||
2177 | |||
2178 | #define SDIO_MSK 0x2 /* Mask SDIO Int Detected */ | ||
2179 | #define SCD_MSK 0x40 /* Mask Card Detect */ | ||
2180 | |||
2181 | /* Bit masks for SDH_CFG */ | ||
2182 | |||
2183 | #define CLKS_EN 0x1 /* Clocks Enable */ | ||
2184 | #define SD4E 0x4 /* SDIO 4-Bit Enable */ | ||
2185 | #define MWE 0x8 /* Moving Window Enable */ | ||
2186 | #define SD_RST 0x10 /* SDMMC Reset */ | ||
2187 | #define PUP_SDDAT 0x20 /* Pull-up SD_DAT */ | ||
2188 | #define PUP_SDDAT3 0x40 /* Pull-up SD_DAT3 */ | ||
2189 | #define PD_SDDAT3 0x80 /* Pull-down SD_DAT3 */ | ||
2190 | |||
2191 | /* Bit masks for SDH_RD_WAIT_EN */ | ||
2192 | |||
2193 | #define RWR 0x1 /* Read Wait Request */ | ||
2194 | |||
2195 | /* Bit masks for ATAPI_CONTROL */ | ||
2196 | |||
2197 | #define PIO_START 0x1 /* Start PIO/Reg Op */ | ||
2198 | #define MULTI_START 0x2 /* Start Multi-DMA Op */ | ||
2199 | #define ULTRA_START 0x4 /* Start Ultra-DMA Op */ | ||
2200 | #define XFER_DIR 0x8 /* Transfer Direction */ | ||
2201 | #define IORDY_EN 0x10 /* IORDY Enable */ | ||
2202 | #define FIFO_FLUSH 0x20 /* Flush FIFOs */ | ||
2203 | #define SOFT_RST 0x40 /* Soft Reset */ | ||
2204 | #define DEV_RST 0x80 /* Device Reset */ | ||
2205 | #define TFRCNT_RST 0x100 /* Trans Count Reset */ | ||
2206 | #define END_ON_TERM 0x200 /* End/Terminate Select */ | ||
2207 | #define PIO_USE_DMA 0x400 /* PIO-DMA Enable */ | ||
2208 | #define UDMAIN_FIFO_THRS 0xf000 /* Ultra DMA-IN FIFO Threshold */ | ||
2209 | |||
2210 | /* Bit masks for ATAPI_STATUS */ | ||
2211 | |||
2212 | #define PIO_XFER_ON 0x1 /* PIO transfer in progress */ | ||
2213 | #define MULTI_XFER_ON 0x2 /* Multi-word DMA transfer in progress */ | ||
2214 | #define ULTRA_XFER_ON 0x4 /* Ultra DMA transfer in progress */ | ||
2215 | #define ULTRA_IN_FL 0xf0 /* Ultra DMA Input FIFO Level */ | ||
2216 | |||
2217 | /* Bit masks for ATAPI_DEV_ADDR */ | ||
2218 | |||
2219 | #define DEV_ADDR 0x1f /* Device Address */ | ||
2220 | |||
2221 | /* Bit masks for ATAPI_INT_MASK */ | ||
2222 | |||
2223 | #define ATAPI_DEV_INT_MASK 0x1 /* Device interrupt mask */ | ||
2224 | #define PIO_DONE_MASK 0x2 /* PIO transfer done interrupt mask */ | ||
2225 | #define MULTI_DONE_MASK 0x4 /* Multi-DMA transfer done interrupt mask */ | ||
2226 | #define UDMAIN_DONE_MASK 0x8 /* Ultra-DMA in transfer done interrupt mask */ | ||
2227 | #define UDMAOUT_DONE_MASK 0x10 /* Ultra-DMA out transfer done interrupt mask */ | ||
2228 | #define HOST_TERM_XFER_MASK 0x20 /* Host terminate current transfer interrupt mask */ | ||
2229 | #define MULTI_TERM_MASK 0x40 /* Device terminate Multi-DMA transfer interrupt mask */ | ||
2230 | #define UDMAIN_TERM_MASK 0x80 /* Device terminate Ultra-DMA-in transfer interrupt mask */ | ||
2231 | #define UDMAOUT_TERM_MASK 0x100 /* Device terminate Ultra-DMA-out transfer interrupt mask */ | ||
2232 | |||
2233 | /* Bit masks for ATAPI_INT_STATUS */ | ||
2234 | |||
2235 | #define ATAPI_DEV_INT 0x1 /* Device interrupt status */ | ||
2236 | #define PIO_DONE_INT 0x2 /* PIO transfer done interrupt status */ | ||
2237 | #define MULTI_DONE_INT 0x4 /* Multi-DMA transfer done interrupt status */ | ||
2238 | #define UDMAIN_DONE_INT 0x8 /* Ultra-DMA in transfer done interrupt status */ | ||
2239 | #define UDMAOUT_DONE_INT 0x10 /* Ultra-DMA out transfer done interrupt status */ | ||
2240 | #define HOST_TERM_XFER_INT 0x20 /* Host terminate current transfer interrupt status */ | ||
2241 | #define MULTI_TERM_INT 0x40 /* Device terminate Multi-DMA transfer interrupt status */ | ||
2242 | #define UDMAIN_TERM_INT 0x80 /* Device terminate Ultra-DMA-in transfer interrupt status */ | ||
2243 | #define UDMAOUT_TERM_INT 0x100 /* Device terminate Ultra-DMA-out transfer interrupt status */ | ||
2244 | |||
2245 | /* Bit masks for ATAPI_LINE_STATUS */ | ||
2246 | |||
2247 | #define ATAPI_INTR 0x1 /* Device interrupt to host line status */ | ||
2248 | #define ATAPI_DASP 0x2 /* Device dasp to host line status */ | ||
2249 | #define ATAPI_CS0N 0x4 /* ATAPI chip select 0 line status */ | ||
2250 | #define ATAPI_CS1N 0x8 /* ATAPI chip select 1 line status */ | ||
2251 | #define ATAPI_ADDR 0x70 /* ATAPI address line status */ | ||
2252 | #define ATAPI_DMAREQ 0x80 /* ATAPI DMA request line status */ | ||
2253 | #define ATAPI_DMAACKN 0x100 /* ATAPI DMA acknowledge line status */ | ||
2254 | #define ATAPI_DIOWN 0x200 /* ATAPI write line status */ | ||
2255 | #define ATAPI_DIORN 0x400 /* ATAPI read line status */ | ||
2256 | #define ATAPI_IORDY 0x800 /* ATAPI IORDY line status */ | ||
2257 | |||
2258 | /* Bit masks for ATAPI_SM_STATE */ | ||
2259 | |||
2260 | #define PIO_CSTATE 0xf /* PIO mode state machine current state */ | ||
2261 | #define DMA_CSTATE 0xf0 /* DMA mode state machine current state */ | ||
2262 | #define UDMAIN_CSTATE 0xf00 /* Ultra DMA-In mode state machine current state */ | ||
2263 | #define UDMAOUT_CSTATE 0xf000 /* ATAPI IORDY line status */ | ||
2264 | |||
2265 | /* Bit masks for ATAPI_TERMINATE */ | ||
2266 | |||
2267 | #define ATAPI_HOST_TERM 0x1 /* Host terminationation */ | ||
2268 | |||
2269 | /* Bit masks for ATAPI_REG_TIM_0 */ | ||
2270 | |||
2271 | #define T2_REG 0xff /* End of cycle time for register access transfers */ | ||
2272 | #define TEOC_REG 0xff00 /* Selects DIOR/DIOW pulsewidth */ | ||
2273 | |||
2274 | /* Bit masks for ATAPI_PIO_TIM_0 */ | ||
2275 | |||
2276 | #define T1_REG 0xf /* Time from address valid to DIOR/DIOW */ | ||
2277 | #define T2_REG_PIO 0xff0 /* DIOR/DIOW pulsewidth */ | ||
2278 | #define T4_REG 0xf000 /* DIOW data hold */ | ||
2279 | |||
2280 | /* Bit masks for ATAPI_PIO_TIM_1 */ | ||
2281 | |||
2282 | #define TEOC_REG_PIO 0xff /* End of cycle time for PIO access transfers. */ | ||
2283 | |||
2284 | /* Bit masks for ATAPI_MULTI_TIM_0 */ | ||
2285 | |||
2286 | #define TD 0xff /* DIOR/DIOW asserted pulsewidth */ | ||
2287 | #define TM 0xff00 /* Time from address valid to DIOR/DIOW */ | ||
2288 | |||
2289 | /* Bit masks for ATAPI_MULTI_TIM_1 */ | ||
2290 | |||
2291 | #define TKW 0xff /* Selects DIOW negated pulsewidth */ | ||
2292 | #define TKR 0xff00 /* Selects DIOR negated pulsewidth */ | ||
2293 | |||
2294 | /* Bit masks for ATAPI_MULTI_TIM_2 */ | ||
2295 | |||
2296 | #define TH 0xff /* Selects DIOW data hold */ | ||
2297 | #define TEOC 0xff00 /* Selects end of cycle for DMA */ | ||
2298 | |||
2299 | /* Bit masks for ATAPI_ULTRA_TIM_0 */ | ||
2300 | |||
2301 | #define TACK 0xff /* Selects setup and hold times for TACK */ | ||
2302 | #define TENV 0xff00 /* Selects envelope time */ | ||
2303 | |||
2304 | /* Bit masks for ATAPI_ULTRA_TIM_1 */ | ||
2305 | |||
2306 | #define TDVS 0xff /* Selects data valid setup time */ | ||
2307 | #define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */ | ||
2308 | |||
2309 | /* Bit masks for ATAPI_ULTRA_TIM_2 */ | ||
2310 | |||
2311 | #define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */ | ||
2312 | #define TMLI 0xff00 /* Selects interlock time */ | ||
2313 | |||
2314 | /* Bit masks for ATAPI_ULTRA_TIM_3 */ | ||
2315 | |||
2316 | #define TZAH 0xff /* Selects minimum delay required for output */ | ||
2317 | #define READY_PAUSE 0xff00 /* Selects ready to pause */ | ||
2318 | |||
2319 | /* Bit masks for TIMER_ENABLE1 */ | ||
2320 | |||
2321 | #define TIMEN8 0x1 /* Timer 8 Enable */ | ||
2322 | #define TIMEN9 0x2 /* Timer 9 Enable */ | ||
2323 | #define TIMEN10 0x4 /* Timer 10 Enable */ | ||
2324 | |||
2325 | /* Bit masks for TIMER_DISABLE1 */ | ||
2326 | |||
2327 | #define TIMDIS8 0x1 /* Timer 8 Disable */ | ||
2328 | #define TIMDIS9 0x2 /* Timer 9 Disable */ | ||
2329 | #define TIMDIS10 0x4 /* Timer 10 Disable */ | ||
2330 | |||
2331 | /* Bit masks for TIMER_STATUS1 */ | ||
2332 | |||
2333 | #define TIMIL8 0x1 /* Timer 8 Interrupt */ | ||
2334 | #define TIMIL9 0x2 /* Timer 9 Interrupt */ | ||
2335 | #define TIMIL10 0x4 /* Timer 10 Interrupt */ | ||
2336 | #define TOVF_ERR8 0x10 /* Timer 8 Counter Overflow */ | ||
2337 | #define TOVF_ERR9 0x20 /* Timer 9 Counter Overflow */ | ||
2338 | #define TOVF_ERR10 0x40 /* Timer 10 Counter Overflow */ | ||
2339 | #define TRUN8 0x1000 /* Timer 8 Slave Enable Status */ | ||
2340 | #define TRUN9 0x2000 /* Timer 9 Slave Enable Status */ | ||
2341 | #define TRUN10 0x4000 /* Timer 10 Slave Enable Status */ | ||
2342 | |||
2343 | /* Bit masks for EPPI0 are obtained from common base header for EPPIx (EPPI1 and EPPI2) */ | ||
2344 | |||
2345 | /* Bit masks for USB_FADDR */ | ||
2346 | |||
2347 | #define FUNCTION_ADDRESS 0x7f /* Function address */ | ||
2348 | |||
2349 | /* Bit masks for USB_POWER */ | ||
2350 | |||
2351 | #define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */ | ||
2352 | #define SUSPEND_MODE 0x2 /* Suspend Mode indicator */ | ||
2353 | #define RESUME_MODE 0x4 /* DMA Mode */ | ||
2354 | #define RESET 0x8 /* Reset indicator */ | ||
2355 | #define HS_MODE 0x10 /* High Speed mode indicator */ | ||
2356 | #define HS_ENABLE 0x20 /* high Speed Enable */ | ||
2357 | #define SOFT_CONN 0x40 /* Soft connect */ | ||
2358 | #define ISO_UPDATE 0x80 /* Isochronous update */ | ||
2359 | |||
2360 | /* Bit masks for USB_INTRTX */ | ||
2361 | |||
2362 | #define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */ | ||
2363 | #define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */ | ||
2364 | #define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */ | ||
2365 | #define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */ | ||
2366 | #define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */ | ||
2367 | #define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */ | ||
2368 | #define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */ | ||
2369 | #define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */ | ||
2370 | |||
2371 | /* Bit masks for USB_INTRRX */ | ||
2372 | |||
2373 | #define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */ | ||
2374 | #define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */ | ||
2375 | #define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */ | ||
2376 | #define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */ | ||
2377 | #define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */ | ||
2378 | #define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */ | ||
2379 | #define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */ | ||
2380 | |||
2381 | /* Bit masks for USB_INTRTXE */ | ||
2382 | |||
2383 | #define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */ | ||
2384 | #define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */ | ||
2385 | #define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */ | ||
2386 | #define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */ | ||
2387 | #define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */ | ||
2388 | #define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */ | ||
2389 | #define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */ | ||
2390 | #define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */ | ||
2391 | |||
2392 | /* Bit masks for USB_INTRRXE */ | ||
2393 | |||
2394 | #define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */ | ||
2395 | #define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */ | ||
2396 | #define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */ | ||
2397 | #define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */ | ||
2398 | #define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */ | ||
2399 | #define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */ | ||
2400 | #define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */ | ||
2401 | |||
2402 | /* Bit masks for USB_INTRUSB */ | ||
2403 | |||
2404 | #define SUSPEND_B 0x1 /* Suspend indicator */ | ||
2405 | #define RESUME_B 0x2 /* Resume indicator */ | ||
2406 | #define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */ | ||
2407 | #define SOF_B 0x8 /* Start of frame */ | ||
2408 | #define CONN_B 0x10 /* Connection indicator */ | ||
2409 | #define DISCON_B 0x20 /* Disconnect indicator */ | ||
2410 | #define SESSION_REQ_B 0x40 /* Session Request */ | ||
2411 | #define VBUS_ERROR_B 0x80 /* Vbus threshold indicator */ | ||
2412 | |||
2413 | /* Bit masks for USB_INTRUSBE */ | ||
2414 | |||
2415 | #define SUSPEND_BE 0x1 /* Suspend indicator int enable */ | ||
2416 | #define RESUME_BE 0x2 /* Resume indicator int enable */ | ||
2417 | #define RESET_OR_BABLE_BE 0x4 /* Reset/babble indicator int enable */ | ||
2418 | #define SOF_BE 0x8 /* Start of frame int enable */ | ||
2419 | #define CONN_BE 0x10 /* Connection indicator int enable */ | ||
2420 | #define DISCON_BE 0x20 /* Disconnect indicator int enable */ | ||
2421 | #define SESSION_REQ_BE 0x40 /* Session Request int enable */ | ||
2422 | #define VBUS_ERROR_BE 0x80 /* Vbus threshold indicator int enable */ | ||
2423 | |||
2424 | /* Bit masks for USB_FRAME */ | ||
2425 | |||
2426 | #define FRAME_NUMBER 0x7ff /* Frame number */ | ||
2427 | |||
2428 | /* Bit masks for USB_INDEX */ | ||
2429 | |||
2430 | #define SELECTED_ENDPOINT 0xf /* selected endpoint */ | ||
2431 | |||
2432 | /* Bit masks for USB_GLOBAL_CTL */ | ||
2433 | |||
2434 | #define GLOBAL_ENA 0x1 /* enables USB module */ | ||
2435 | #define EP1_TX_ENA 0x2 /* Transmit endpoint 1 enable */ | ||
2436 | #define EP2_TX_ENA 0x4 /* Transmit endpoint 2 enable */ | ||
2437 | #define EP3_TX_ENA 0x8 /* Transmit endpoint 3 enable */ | ||
2438 | #define EP4_TX_ENA 0x10 /* Transmit endpoint 4 enable */ | ||
2439 | #define EP5_TX_ENA 0x20 /* Transmit endpoint 5 enable */ | ||
2440 | #define EP6_TX_ENA 0x40 /* Transmit endpoint 6 enable */ | ||
2441 | #define EP7_TX_ENA 0x80 /* Transmit endpoint 7 enable */ | ||
2442 | #define EP1_RX_ENA 0x100 /* Receive endpoint 1 enable */ | ||
2443 | #define EP2_RX_ENA 0x200 /* Receive endpoint 2 enable */ | ||
2444 | #define EP3_RX_ENA 0x400 /* Receive endpoint 3 enable */ | ||
2445 | #define EP4_RX_ENA 0x800 /* Receive endpoint 4 enable */ | ||
2446 | #define EP5_RX_ENA 0x1000 /* Receive endpoint 5 enable */ | ||
2447 | #define EP6_RX_ENA 0x2000 /* Receive endpoint 6 enable */ | ||
2448 | #define EP7_RX_ENA 0x4000 /* Receive endpoint 7 enable */ | ||
2449 | |||
2450 | /* Bit masks for USB_OTG_DEV_CTL */ | ||
2451 | |||
2452 | #define SESSION 0x1 /* session indicator */ | ||
2453 | #define HOST_REQ 0x2 /* Host negotiation request */ | ||
2454 | #define HOST_MODE 0x4 /* indicates USBDRC is a host */ | ||
2455 | #define VBUS0 0x8 /* Vbus level indicator[0] */ | ||
2456 | #define VBUS1 0x10 /* Vbus level indicator[1] */ | ||
2457 | #define LSDEV 0x20 /* Low-speed indicator */ | ||
2458 | #define FSDEV 0x40 /* Full or High-speed indicator */ | ||
2459 | #define B_DEVICE 0x80 /* A' or 'B' device indicator */ | ||
2460 | |||
2461 | /* Bit masks for USB_OTG_VBUS_IRQ */ | ||
2462 | |||
2463 | #define DRIVE_VBUS_ON 0x1 /* indicator to drive VBUS control circuit */ | ||
2464 | #define DRIVE_VBUS_OFF 0x2 /* indicator to shut off charge pump */ | ||
2465 | #define CHRG_VBUS_START 0x4 /* indicator for external circuit to start charging VBUS */ | ||
2466 | #define CHRG_VBUS_END 0x8 /* indicator for external circuit to end charging VBUS */ | ||
2467 | #define DISCHRG_VBUS_START 0x10 /* indicator to start discharging VBUS */ | ||
2468 | #define DISCHRG_VBUS_END 0x20 /* indicator to stop discharging VBUS */ | ||
2469 | |||
2470 | /* Bit masks for USB_OTG_VBUS_MASK */ | ||
2471 | |||
2472 | #define DRIVE_VBUS_ON_ENA 0x1 /* enable DRIVE_VBUS_ON interrupt */ | ||
2473 | #define DRIVE_VBUS_OFF_ENA 0x2 /* enable DRIVE_VBUS_OFF interrupt */ | ||
2474 | #define CHRG_VBUS_START_ENA 0x4 /* enable CHRG_VBUS_START interrupt */ | ||
2475 | #define CHRG_VBUS_END_ENA 0x8 /* enable CHRG_VBUS_END interrupt */ | ||
2476 | #define DISCHRG_VBUS_START_ENA 0x10 /* enable DISCHRG_VBUS_START interrupt */ | ||
2477 | #define DISCHRG_VBUS_END_ENA 0x20 /* enable DISCHRG_VBUS_END interrupt */ | ||
2478 | |||
2479 | /* Bit masks for USB_CSR0 */ | ||
2480 | |||
2481 | #define RXPKTRDY 0x1 /* data packet receive indicator */ | ||
2482 | #define TXPKTRDY 0x2 /* data packet in FIFO indicator */ | ||
2483 | #define STALL_SENT 0x4 /* STALL handshake sent */ | ||
2484 | #define DATAEND 0x8 /* Data end indicator */ | ||
2485 | #define SETUPEND 0x10 /* Setup end */ | ||
2486 | #define SENDSTALL 0x20 /* Send STALL handshake */ | ||
2487 | #define SERVICED_RXPKTRDY 0x40 /* used to clear the RxPktRdy bit */ | ||
2488 | #define SERVICED_SETUPEND 0x80 /* used to clear the SetupEnd bit */ | ||
2489 | #define FLUSHFIFO 0x100 /* flush endpoint FIFO */ | ||
2490 | #define STALL_RECEIVED_H 0x4 /* STALL handshake received host mode */ | ||
2491 | #define SETUPPKT_H 0x8 /* send Setup token host mode */ | ||
2492 | #define ERROR_H 0x10 /* timeout error indicator host mode */ | ||
2493 | #define REQPKT_H 0x20 /* Request an IN transaction host mode */ | ||
2494 | #define STATUSPKT_H 0x40 /* Status stage transaction host mode */ | ||
2495 | #define NAK_TIMEOUT_H 0x80 /* EP0 halted after a NAK host mode */ | ||
2496 | |||
2497 | /* Bit masks for USB_COUNT0 */ | ||
2498 | |||
2499 | #define EP0_RX_COUNT 0x7f /* number of received bytes in EP0 FIFO */ | ||
2500 | |||
2501 | /* Bit masks for USB_NAKLIMIT0 */ | ||
2502 | |||
2503 | #define EP0_NAK_LIMIT 0x1f /* number of frames/micro frames after which EP0 timeouts */ | ||
2504 | |||
2505 | /* Bit masks for USB_TX_MAX_PACKET */ | ||
2506 | |||
2507 | #define MAX_PACKET_SIZE_T 0x7ff /* maximum data pay load in a frame */ | ||
2508 | |||
2509 | /* Bit masks for USB_RX_MAX_PACKET */ | ||
2510 | |||
2511 | #define MAX_PACKET_SIZE_R 0x7ff /* maximum data pay load in a frame */ | ||
2512 | |||
2513 | /* Bit masks for USB_TXCSR */ | ||
2514 | |||
2515 | #define TXPKTRDY_T 0x1 /* data packet in FIFO indicator */ | ||
2516 | #define FIFO_NOT_EMPTY_T 0x2 /* FIFO not empty */ | ||
2517 | #define UNDERRUN_T 0x4 /* TxPktRdy not set for an IN token */ | ||
2518 | #define FLUSHFIFO_T 0x8 /* flush endpoint FIFO */ | ||
2519 | #define STALL_SEND_T 0x10 /* issue a Stall handshake */ | ||
2520 | #define STALL_SENT_T 0x20 /* Stall handshake transmitted */ | ||
2521 | #define CLEAR_DATATOGGLE_T 0x40 /* clear endpoint data toggle */ | ||
2522 | #define INCOMPTX_T 0x80 /* indicates that a large packet is split */ | ||
2523 | #define DMAREQMODE_T 0x400 /* DMA mode (0 or 1) selection */ | ||
2524 | #define FORCE_DATATOGGLE_T 0x800 /* Force data toggle */ | ||
2525 | #define DMAREQ_ENA_T 0x1000 /* Enable DMA request for Tx EP */ | ||
2526 | #define ISO_T 0x4000 /* enable Isochronous transfers */ | ||
2527 | #define AUTOSET_T 0x8000 /* allows TxPktRdy to be set automatically */ | ||
2528 | #define ERROR_TH 0x4 /* error condition host mode */ | ||
2529 | #define STALL_RECEIVED_TH 0x20 /* Stall handshake received host mode */ | ||
2530 | #define NAK_TIMEOUT_TH 0x80 /* NAK timeout host mode */ | ||
2531 | |||
2532 | /* Bit masks for USB_TXCOUNT */ | ||
2533 | |||
2534 | #define TX_COUNT 0x1fff /* Number of bytes to be written to the selected endpoint Tx FIFO */ | ||
2535 | |||
2536 | /* Bit masks for USB_RXCSR */ | ||
2537 | |||
2538 | #define RXPKTRDY_R 0x1 /* data packet in FIFO indicator */ | ||
2539 | #define FIFO_FULL_R 0x2 /* FIFO not empty */ | ||
2540 | #define OVERRUN_R 0x4 /* TxPktRdy not set for an IN token */ | ||
2541 | #define DATAERROR_R 0x8 /* Out packet cannot be loaded into Rx FIFO */ | ||
2542 | #define FLUSHFIFO_R 0x10 /* flush endpoint FIFO */ | ||
2543 | #define STALL_SEND_R 0x20 /* issue a Stall handshake */ | ||
2544 | #define STALL_SENT_R 0x40 /* Stall handshake transmitted */ | ||
2545 | #define CLEAR_DATATOGGLE_R 0x80 /* clear endpoint data toggle */ | ||
2546 | #define INCOMPRX_R 0x100 /* indicates that a large packet is split */ | ||
2547 | #define DMAREQMODE_R 0x800 /* DMA mode (0 or 1) selection */ | ||
2548 | #define DISNYET_R 0x1000 /* disable Nyet handshakes */ | ||
2549 | #define DMAREQ_ENA_R 0x2000 /* Enable DMA request for Tx EP */ | ||
2550 | #define ISO_R 0x4000 /* enable Isochronous transfers */ | ||
2551 | #define AUTOCLEAR_R 0x8000 /* allows TxPktRdy to be set automatically */ | ||
2552 | #define ERROR_RH 0x4 /* TxPktRdy not set for an IN token host mode */ | ||
2553 | #define REQPKT_RH 0x20 /* request an IN transaction host mode */ | ||
2554 | #define STALL_RECEIVED_RH 0x40 /* Stall handshake received host mode */ | ||
2555 | #define INCOMPRX_RH 0x100 /* indicates that a large packet is split host mode */ | ||
2556 | #define DMAREQMODE_RH 0x800 /* DMA mode (0 or 1) selection host mode */ | ||
2557 | #define AUTOREQ_RH 0x4000 /* sets ReqPkt automatically host mode */ | ||
2558 | |||
2559 | /* Bit masks for USB_RXCOUNT */ | ||
2560 | |||
2561 | #define RX_COUNT 0x1fff /* Number of received bytes in the packet in the Rx FIFO */ | ||
2562 | |||
2563 | /* Bit masks for USB_TXTYPE */ | ||
2564 | |||
2565 | #define TARGET_EP_NO_T 0xf /* EP number */ | ||
2566 | #define PROTOCOL_T 0xc /* transfer type */ | ||
2567 | |||
2568 | /* Bit masks for USB_TXINTERVAL */ | ||
2569 | |||
2570 | #define TX_POLL_INTERVAL 0xff /* polling interval for selected Tx EP */ | ||
2571 | |||
2572 | /* Bit masks for USB_RXTYPE */ | ||
2573 | |||
2574 | #define TARGET_EP_NO_R 0xf /* EP number */ | ||
2575 | #define PROTOCOL_R 0xc /* transfer type */ | ||
2576 | |||
2577 | /* Bit masks for USB_RXINTERVAL */ | ||
2578 | |||
2579 | #define RX_POLL_INTERVAL 0xff /* polling interval for selected Rx EP */ | ||
2580 | |||
2581 | /* Bit masks for USB_DMA_INTERRUPT */ | ||
2582 | |||
2583 | #define DMA0_INT 0x1 /* DMA0 pending interrupt */ | ||
2584 | #define DMA1_INT 0x2 /* DMA1 pending interrupt */ | ||
2585 | #define DMA2_INT 0x4 /* DMA2 pending interrupt */ | ||
2586 | #define DMA3_INT 0x8 /* DMA3 pending interrupt */ | ||
2587 | #define DMA4_INT 0x10 /* DMA4 pending interrupt */ | ||
2588 | #define DMA5_INT 0x20 /* DMA5 pending interrupt */ | ||
2589 | #define DMA6_INT 0x40 /* DMA6 pending interrupt */ | ||
2590 | #define DMA7_INT 0x80 /* DMA7 pending interrupt */ | ||
2591 | |||
2592 | /* Bit masks for USB_DMAxCONTROL */ | ||
2593 | |||
2594 | #define DMA_ENA 0x1 /* DMA enable */ | ||
2595 | #define DIRECTION 0x2 /* direction of DMA transfer */ | ||
2596 | #define MODE 0x4 /* DMA Bus error */ | ||
2597 | #define INT_ENA 0x8 /* Interrupt enable */ | ||
2598 | #define EPNUM 0xf0 /* EP number */ | ||
2599 | #define BUSERROR 0x100 /* DMA Bus error */ | ||
2600 | |||
2601 | /* Bit masks for USB_DMAxADDRHIGH */ | ||
2602 | |||
2603 | #define DMA_ADDR_HIGH 0xffff /* Upper 16-bits of memory source/destination address for the DMA master channel */ | ||
2604 | |||
2605 | /* Bit masks for USB_DMAxADDRLOW */ | ||
2606 | |||
2607 | #define DMA_ADDR_LOW 0xffff /* Lower 16-bits of memory source/destination address for the DMA master channel */ | ||
2608 | |||
2609 | /* Bit masks for USB_DMAxCOUNTHIGH */ | ||
2610 | |||
2611 | #define DMA_COUNT_HIGH 0xffff /* Upper 16-bits of byte count of DMA transfer for DMA master channel */ | ||
2612 | |||
2613 | /* Bit masks for USB_DMAxCOUNTLOW */ | ||
2614 | |||
2615 | #define DMA_COUNT_LOW 0xffff /* Lower 16-bits of byte count of DMA transfer for DMA master channel */ | ||
2616 | |||
2617 | /* Bit masks for HMDMAx_CONTROL */ | ||
2618 | |||
2619 | #define HMDMAEN 0x1 /* Handshake MDMA Enable */ | ||
2620 | #define REP 0x2 /* Handshake MDMA Request Polarity */ | ||
2621 | #define UTE 0x8 /* Urgency Threshold Enable */ | ||
2622 | #define OIE 0x10 /* Overflow Interrupt Enable */ | ||
2623 | #define BDIE 0x20 /* Block Done Interrupt Enable */ | ||
2624 | #define MBDI 0x40 /* Mask Block Done Interrupt */ | ||
2625 | #define DRQ 0x300 /* Handshake MDMA Request Type */ | ||
2626 | #define RBC 0x1000 /* Force Reload of BCOUNT */ | ||
2627 | #define PS 0x2000 /* Pin Status */ | ||
2628 | #define OI 0x4000 /* Overflow Interrupt Generated */ | ||
2629 | #define BDI 0x8000 /* Block Done Interrupt Generated */ | ||
2630 | |||
2631 | /* ******************************************* */ | ||
2632 | /* MULTI BIT MACRO ENUMERATIONS */ | ||
2633 | /* ******************************************* */ | ||
2634 | |||
2635 | /* ************************ */ | ||
2636 | /* MXVR Address Offsets */ | ||
2637 | /* ************************ */ | ||
2638 | |||
2639 | /* Control Message Receive Buffer (CMRB) Address Offsets */ | ||
2640 | |||
2641 | #define CMRB_STRIDE 0x00000016lu | ||
2642 | |||
2643 | #define CMRB_DST_OFFSET 0x00000000lu | ||
2644 | #define CMRB_SRC_OFFSET 0x00000002lu | ||
2645 | #define CMRB_DATA_OFFSET 0x00000005lu | ||
2646 | |||
2647 | /* Control Message Transmit Buffer (CMTB) Address Offsets */ | ||
2648 | |||
2649 | #define CMTB_PRIO_OFFSET 0x00000000lu | ||
2650 | #define CMTB_DST_OFFSET 0x00000002lu | ||
2651 | #define CMTB_SRC_OFFSET 0x00000004lu | ||
2652 | #define CMTB_TYPE_OFFSET 0x00000006lu | ||
2653 | #define CMTB_DATA_OFFSET 0x00000007lu | ||
2654 | |||
2655 | #define CMTB_ANSWER_OFFSET 0x0000000Alu | ||
2656 | |||
2657 | #define CMTB_STAT_N_OFFSET 0x00000018lu | ||
2658 | #define CMTB_STAT_A_OFFSET 0x00000016lu | ||
2659 | #define CMTB_STAT_D_OFFSET 0x0000000Elu | ||
2660 | #define CMTB_STAT_R_OFFSET 0x00000014lu | ||
2661 | #define CMTB_STAT_W_OFFSET 0x00000014lu | ||
2662 | #define CMTB_STAT_G_OFFSET 0x00000014lu | ||
2663 | |||
2664 | /* Asynchronous Packet Receive Buffer (APRB) Address Offsets */ | ||
2665 | |||
2666 | #define APRB_STRIDE 0x00000400lu | ||
2667 | |||
2668 | #define APRB_DST_OFFSET 0x00000000lu | ||
2669 | #define APRB_LEN_OFFSET 0x00000002lu | ||
2670 | #define APRB_SRC_OFFSET 0x00000004lu | ||
2671 | #define APRB_DATA_OFFSET 0x00000006lu | ||
2672 | |||
2673 | /* Asynchronous Packet Transmit Buffer (APTB) Address Offsets */ | ||
2674 | |||
2675 | #define APTB_PRIO_OFFSET 0x00000000lu | ||
2676 | #define APTB_DST_OFFSET 0x00000002lu | ||
2677 | #define APTB_LEN_OFFSET 0x00000004lu | ||
2678 | #define APTB_SRC_OFFSET 0x00000006lu | ||
2679 | #define APTB_DATA_OFFSET 0x00000008lu | ||
2680 | |||
2681 | /* Remote Read Buffer (RRDB) Address Offsets */ | ||
2682 | |||
2683 | #define RRDB_WADDR_OFFSET 0x00000100lu | ||
2684 | #define RRDB_WLEN_OFFSET 0x00000101lu | ||
2685 | |||
2686 | /* **************** */ | ||
2687 | /* MXVR Macros */ | ||
2688 | /* **************** */ | ||
2689 | |||
2690 | /* MXVR_CONFIG Macros */ | ||
2691 | |||
2692 | #define SET_MSB(x) ( ( (x) & 0xF ) << 9) | ||
2693 | |||
2694 | /* MXVR_INT_STAT_1 Macros */ | ||
2695 | |||
2696 | #define DONEX(x) (0x00000002 << (4 * (x))) | ||
2697 | #define HDONEX(x) (0x00000001 << (4 * (x))) | ||
2698 | |||
2699 | /* MXVR_INT_EN_1 Macros */ | ||
2700 | |||
2701 | #define DONEENX(x) (0x00000002 << (4 * (x))) | ||
2702 | #define HDONEENX(x) (0x00000001 << (4 * (x))) | ||
2703 | |||
2704 | /* MXVR_CDRPLL_CTL Macros */ | ||
2705 | |||
2706 | #define SET_CDRSHPSEL(x) ( ( (x) & 0x3F ) << 16) | ||
2707 | |||
2708 | /* MXVR_FMPLL_CTL Macros */ | ||
2709 | |||
2710 | #define SET_CDRCPSEL(x) ( ( (x) & 0xFF ) << 24) | ||
2711 | #define SET_FMCPSEL(x) ( ( (x) & 0xFF ) << 24) | ||
2712 | |||
2713 | #endif /* _DEF_BF549_H */ | 191 | #endif /* _DEF_BF549_H */ |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h index 8590c8c78336..ab04d137fd8b 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | |||
@@ -1609,44 +1609,6 @@ | |||
1609 | #define PINT2 0x40000000 /* Pin Interrupt 2 */ | 1609 | #define PINT2 0x40000000 /* Pin Interrupt 2 */ |
1610 | #define PINT3 0x80000000 /* Pin Interrupt 3 */ | 1610 | #define PINT3 0x80000000 /* Pin Interrupt 3 */ |
1611 | 1611 | ||
1612 | /* Bit masks for DMAx_CONFIG, MDMA_Sx_CONFIG, MDMA_Dx_CONFIG */ | ||
1613 | |||
1614 | #define DMAEN 0x1 /* DMA Channel Enable */ | ||
1615 | #define WNR 0x2 /* DMA Direction */ | ||
1616 | #define WDSIZE_8 0x0 /* Transfer Word Size = 8 */ | ||
1617 | #define WDSIZE_16 0x4 /* Transfer Word Size = 16 */ | ||
1618 | #define WDSIZE_32 0x8 /* Transfer Word Size = 32 */ | ||
1619 | #define DMA2D 0x10 /* DMA Mode */ | ||
1620 | #define RESTART 0x20 /* Work Unit Transitions */ | ||
1621 | #define DI_SEL 0x40 /* Data Interrupt Timing Select */ | ||
1622 | #define DI_EN 0x80 /* Data Interrupt Enable */ | ||
1623 | |||
1624 | #define NDSIZE 0xf00 /* Flex Descriptor Size */ | ||
1625 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1626 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1627 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1628 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1629 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1630 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1631 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1632 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1633 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1634 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1635 | |||
1636 | #define DMAFLOW 0xf000 /* Next Operation */ | ||
1637 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1638 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1639 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1640 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1641 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1642 | |||
1643 | /* Bit masks for DMAx_IRQ_STATUS, MDMA_Sx_IRQ_STATUS, MDMA_Dx_IRQ_STATUS */ | ||
1644 | |||
1645 | #define DMA_DONE 0x1 /* DMA Completion Interrupt Status */ | ||
1646 | #define DMA_ERR 0x2 /* DMA Error Interrupt Status */ | ||
1647 | #define DFETCH 0x4 /* DMA Descriptor Fetch */ | ||
1648 | #define DMA_RUN 0x8 /* DMA Channel Running */ | ||
1649 | |||
1650 | /* Bit masks for DMAx_PERIPHERAL_MAP, MDMA_Sx_IRQ_STATUS, MDMA_Dx_IRQ_STATUS */ | 1612 | /* Bit masks for DMAx_PERIPHERAL_MAP, MDMA_Sx_IRQ_STATUS, MDMA_Dx_IRQ_STATUS */ |
1651 | 1613 | ||
1652 | #define CTYPE 0x40 /* DMA Channel Type */ | 1614 | #define CTYPE 0x40 /* DMA Channel Type */ |
@@ -1815,10 +1777,6 @@ | |||
1815 | #define DEB3_MERROR 0x40 /* DEB3 Error (2nd) */ | 1777 | #define DEB3_MERROR 0x40 /* DEB3 Error (2nd) */ |
1816 | #define CORE_MERROR 0x80 /* Core Error (2nd) */ | 1778 | #define CORE_MERROR 0x80 /* Core Error (2nd) */ |
1817 | 1779 | ||
1818 | /* Bit masks for EBIU_ERRADD */ | ||
1819 | |||
1820 | #define ERROR_ADDRESS 0xffffffff /* Error Address */ | ||
1821 | |||
1822 | /* Bit masks for EBIU_RSTCTL */ | 1780 | /* Bit masks for EBIU_RSTCTL */ |
1823 | 1781 | ||
1824 | #define DDRSRESET 0x1 /* DDR soft reset */ | 1782 | #define DDRSRESET 0x1 /* DDR soft reset */ |
@@ -1827,98 +1785,6 @@ | |||
1827 | #define SRACK 0x10 /* Self-refresh acknowledge */ | 1785 | #define SRACK 0x10 /* Self-refresh acknowledge */ |
1828 | #define MDDRENABLE 0x20 /* Mobile DDR enable */ | 1786 | #define MDDRENABLE 0x20 /* Mobile DDR enable */ |
1829 | 1787 | ||
1830 | /* Bit masks for EBIU_DDRBRC0 */ | ||
1831 | |||
1832 | #define BRC0 0xffffffff /* Count */ | ||
1833 | |||
1834 | /* Bit masks for EBIU_DDRBRC1 */ | ||
1835 | |||
1836 | #define BRC1 0xffffffff /* Count */ | ||
1837 | |||
1838 | /* Bit masks for EBIU_DDRBRC2 */ | ||
1839 | |||
1840 | #define BRC2 0xffffffff /* Count */ | ||
1841 | |||
1842 | /* Bit masks for EBIU_DDRBRC3 */ | ||
1843 | |||
1844 | #define BRC3 0xffffffff /* Count */ | ||
1845 | |||
1846 | /* Bit masks for EBIU_DDRBRC4 */ | ||
1847 | |||
1848 | #define BRC4 0xffffffff /* Count */ | ||
1849 | |||
1850 | /* Bit masks for EBIU_DDRBRC5 */ | ||
1851 | |||
1852 | #define BRC5 0xffffffff /* Count */ | ||
1853 | |||
1854 | /* Bit masks for EBIU_DDRBRC6 */ | ||
1855 | |||
1856 | #define BRC6 0xffffffff /* Count */ | ||
1857 | |||
1858 | /* Bit masks for EBIU_DDRBRC7 */ | ||
1859 | |||
1860 | #define BRC7 0xffffffff /* Count */ | ||
1861 | |||
1862 | /* Bit masks for EBIU_DDRBWC0 */ | ||
1863 | |||
1864 | #define BWC0 0xffffffff /* Count */ | ||
1865 | |||
1866 | /* Bit masks for EBIU_DDRBWC1 */ | ||
1867 | |||
1868 | #define BWC1 0xffffffff /* Count */ | ||
1869 | |||
1870 | /* Bit masks for EBIU_DDRBWC2 */ | ||
1871 | |||
1872 | #define BWC2 0xffffffff /* Count */ | ||
1873 | |||
1874 | /* Bit masks for EBIU_DDRBWC3 */ | ||
1875 | |||
1876 | #define BWC3 0xffffffff /* Count */ | ||
1877 | |||
1878 | /* Bit masks for EBIU_DDRBWC4 */ | ||
1879 | |||
1880 | #define BWC4 0xffffffff /* Count */ | ||
1881 | |||
1882 | /* Bit masks for EBIU_DDRBWC5 */ | ||
1883 | |||
1884 | #define BWC5 0xffffffff /* Count */ | ||
1885 | |||
1886 | /* Bit masks for EBIU_DDRBWC6 */ | ||
1887 | |||
1888 | #define BWC6 0xffffffff /* Count */ | ||
1889 | |||
1890 | /* Bit masks for EBIU_DDRBWC7 */ | ||
1891 | |||
1892 | #define BWC7 0xffffffff /* Count */ | ||
1893 | |||
1894 | /* Bit masks for EBIU_DDRACCT */ | ||
1895 | |||
1896 | #define ACCT 0xffffffff /* Count */ | ||
1897 | |||
1898 | /* Bit masks for EBIU_DDRTACT */ | ||
1899 | |||
1900 | #define TECT 0xffffffff /* Count */ | ||
1901 | |||
1902 | /* Bit masks for EBIU_DDRARCT */ | ||
1903 | |||
1904 | #define ARCT 0xffffffff /* Count */ | ||
1905 | |||
1906 | /* Bit masks for EBIU_DDRGC0 */ | ||
1907 | |||
1908 | #define GC0 0xffffffff /* Count */ | ||
1909 | |||
1910 | /* Bit masks for EBIU_DDRGC1 */ | ||
1911 | |||
1912 | #define GC1 0xffffffff /* Count */ | ||
1913 | |||
1914 | /* Bit masks for EBIU_DDRGC2 */ | ||
1915 | |||
1916 | #define GC2 0xffffffff /* Count */ | ||
1917 | |||
1918 | /* Bit masks for EBIU_DDRGC3 */ | ||
1919 | |||
1920 | #define GC3 0xffffffff /* Count */ | ||
1921 | |||
1922 | /* Bit masks for EBIU_DDRMCEN */ | 1788 | /* Bit masks for EBIU_DDRMCEN */ |
1923 | 1789 | ||
1924 | #define B0WCENABLE 0x1 /* Bank 0 write count enable */ | 1790 | #define B0WCENABLE 0x1 /* Bank 0 write count enable */ |
@@ -2092,12 +1958,6 @@ | |||
2092 | #define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */ | 1958 | #define TRUN6 0x40000000 /* Timer 6 Slave Enable Status */ |
2093 | #define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */ | 1959 | #define TRUN7 0x80000000 /* Timer 7 Slave Enable Status */ |
2094 | 1960 | ||
2095 | /* Bit masks for WDOG_CTL */ | ||
2096 | |||
2097 | #define WDEV 0x6 /* Watchdog Event */ | ||
2098 | #define WDEN 0xff0 /* Watchdog Enable */ | ||
2099 | #define WDRO 0x8000 /* Watchdog Rolled Over */ | ||
2100 | |||
2101 | /* Bit masks for CNT_CONFIG */ | 1961 | /* Bit masks for CNT_CONFIG */ |
2102 | 1962 | ||
2103 | #define CNTE 0x1 /* Counter Enable */ | 1963 | #define CNTE 0x1 /* Counter Enable */ |
@@ -2149,81 +2009,6 @@ | |||
2149 | 2009 | ||
2150 | #define DPRESCALE 0xf /* Load Counter Register */ | 2010 | #define DPRESCALE 0xf /* Load Counter Register */ |
2151 | 2011 | ||
2152 | /* Bit masks for RTC_STAT */ | ||
2153 | |||
2154 | #define SECONDS 0x3f /* Seconds */ | ||
2155 | #define MINUTES 0xfc0 /* Minutes */ | ||
2156 | #define HOURS 0x1f000 /* Hours */ | ||
2157 | #define DAY_COUNTER 0xfffe0000 /* Day Counter */ | ||
2158 | |||
2159 | /* Bit masks for RTC_ICTL */ | ||
2160 | |||
2161 | #define STOPWATCH_INTERRUPT_ENABLE 0x1 /* Stopwatch Interrupt Enable */ | ||
2162 | #define ALARM_INTERRUPT_ENABLE 0x2 /* Alarm Interrupt Enable */ | ||
2163 | #define SECONDS_INTERRUPT_ENABLE 0x4 /* Seconds Interrupt Enable */ | ||
2164 | #define MINUTES_INTERRUPT_ENABLE 0x8 /* Minutes Interrupt Enable */ | ||
2165 | #define HOURS_INTERRUPT_ENABLE 0x10 /* Hours Interrupt Enable */ | ||
2166 | #define TWENTY_FOUR_HOURS_INTERRUPT_ENABLE 0x20 /* 24 Hours Interrupt Enable */ | ||
2167 | #define DAY_ALARM_INTERRUPT_ENABLE 0x40 /* Day Alarm Interrupt Enable */ | ||
2168 | #define WRITE_COMPLETE_INTERRUPT_ENABLE 0x8000 /* Write Complete Interrupt Enable */ | ||
2169 | |||
2170 | /* Bit masks for RTC_ISTAT */ | ||
2171 | |||
2172 | #define STOPWATCH_EVENT_FLAG 0x1 /* Stopwatch Event Flag */ | ||
2173 | #define ALARM_EVENT_FLAG 0x2 /* Alarm Event Flag */ | ||
2174 | #define SECONDS_EVENT_FLAG 0x4 /* Seconds Event Flag */ | ||
2175 | #define MINUTES_EVENT_FLAG 0x8 /* Minutes Event Flag */ | ||
2176 | #define HOURS_EVENT_FLAG 0x10 /* Hours Event Flag */ | ||
2177 | #define TWENTY_FOUR_HOURS_EVENT_FLAG 0x20 /* 24 Hours Event Flag */ | ||
2178 | #define DAY_ALARM_EVENT_FLAG 0x40 /* Day Alarm Event Flag */ | ||
2179 | #define WRITE_PENDING__STATUS 0x4000 /* Write Pending Status */ | ||
2180 | #define WRITE_COMPLETE 0x8000 /* Write Complete */ | ||
2181 | |||
2182 | /* Bit masks for RTC_SWCNT */ | ||
2183 | |||
2184 | #define STOPWATCH_COUNT 0xffff /* Stopwatch Count */ | ||
2185 | |||
2186 | /* Bit masks for RTC_ALARM */ | ||
2187 | |||
2188 | #define SECONDS 0x3f /* Seconds */ | ||
2189 | #define MINUTES 0xfc0 /* Minutes */ | ||
2190 | #define HOURS 0x1f000 /* Hours */ | ||
2191 | #define DAY 0xfffe0000 /* Day */ | ||
2192 | |||
2193 | /* Bit masks for RTC_PREN */ | ||
2194 | |||
2195 | #define PREN 0x1 /* Prescaler Enable */ | ||
2196 | |||
2197 | /* Bit masks for OTP_CONTROL */ | ||
2198 | |||
2199 | #define FUSE_FADDR 0x1ff /* OTP/Fuse Address */ | ||
2200 | #define FIEN 0x800 /* OTP/Fuse Interrupt Enable */ | ||
2201 | #define FTESTDEC 0x1000 /* OTP/Fuse Test Decoder */ | ||
2202 | #define FWRTEST 0x2000 /* OTP/Fuse Write Test */ | ||
2203 | #define FRDEN 0x4000 /* OTP/Fuse Read Enable */ | ||
2204 | #define FWREN 0x8000 /* OTP/Fuse Write Enable */ | ||
2205 | |||
2206 | /* Bit masks for OTP_BEN */ | ||
2207 | |||
2208 | #define FBEN 0xffff /* OTP/Fuse Byte Enable */ | ||
2209 | |||
2210 | /* Bit masks for OTP_STATUS */ | ||
2211 | |||
2212 | #define FCOMP 0x1 /* OTP/Fuse Access Complete */ | ||
2213 | #define FERROR 0x2 /* OTP/Fuse Access Error */ | ||
2214 | #define MMRGLOAD 0x10 /* Memory Mapped Register Gasket Load */ | ||
2215 | #define MMRGLOCK 0x20 /* Memory Mapped Register Gasket Lock */ | ||
2216 | #define FPGMEN 0x40 /* OTP/Fuse Program Enable */ | ||
2217 | |||
2218 | /* Bit masks for OTP_TIMING */ | ||
2219 | |||
2220 | #define USECDIV 0xff /* Micro Second Divider */ | ||
2221 | #define READACC 0x7f00 /* Read Access Time */ | ||
2222 | #define CPUMPRL 0x38000 /* Charge Pump Release Time */ | ||
2223 | #define CPUMPSU 0xc0000 /* Charge Pump Setup Time */ | ||
2224 | #define CPUMPHD 0xf00000 /* Charge Pump Hold Time */ | ||
2225 | #define PGMTIME 0xff000000 /* Program Time */ | ||
2226 | |||
2227 | /* Bit masks for SECURE_SYSSWT */ | 2012 | /* Bit masks for SECURE_SYSSWT */ |
2228 | 2013 | ||
2229 | #define EMUDABL 0x1 /* Emulation Disable. */ | 2014 | #define EMUDABL 0x1 /* Emulation Disable. */ |
@@ -2252,26 +2037,6 @@ | |||
2252 | #define AFEXIT 0x10 /* Authentication Firmware Exit */ | 2037 | #define AFEXIT 0x10 /* Authentication Firmware Exit */ |
2253 | #define SECSTAT 0xe0 /* Secure Status */ | 2038 | #define SECSTAT 0xe0 /* Secure Status */ |
2254 | 2039 | ||
2255 | /* Bit masks for PLL_DIV */ | ||
2256 | |||
2257 | #define CSEL 0x30 /* Core Select */ | ||
2258 | #define SSEL 0xf /* System Select */ | ||
2259 | #define CSEL_DIV1 0x0000 /* CCLK = VCO / 1 */ | ||
2260 | #define CSEL_DIV2 0x0010 /* CCLK = VCO / 2 */ | ||
2261 | #define CSEL_DIV4 0x0020 /* CCLK = VCO / 4 */ | ||
2262 | #define CSEL_DIV8 0x0030 /* CCLK = VCO / 8 */ | ||
2263 | |||
2264 | /* Bit masks for PLL_CTL */ | ||
2265 | |||
2266 | #define MSEL 0x7e00 /* Multiplier Select */ | ||
2267 | #define BYPASS 0x100 /* PLL Bypass Enable */ | ||
2268 | #define OUTPUT_DELAY 0x80 /* External Memory Output Delay Enable */ | ||
2269 | #define INPUT_DELAY 0x40 /* External Memory Input Delay Enable */ | ||
2270 | #define PDWN 0x20 /* Power Down */ | ||
2271 | #define STOPCK 0x8 /* Stop Clock */ | ||
2272 | #define PLL_OFF 0x2 /* Disable PLL */ | ||
2273 | #define DF 0x1 /* Divide Frequency */ | ||
2274 | |||
2275 | /* SWRST Masks */ | 2040 | /* SWRST Masks */ |
2276 | #define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */ | 2041 | #define SYSTEM_RESET 0x0007 /* Initiates A System Software Reset */ |
2277 | #define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */ | 2042 | #define DOUBLE_FAULT 0x0008 /* Core Double Fault Causes Reset */ |
@@ -2279,52 +2044,6 @@ | |||
2279 | #define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */ | 2044 | #define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */ |
2280 | #define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */ | 2045 | #define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */ |
2281 | 2046 | ||
2282 | /* Bit masks for PLL_STAT */ | ||
2283 | |||
2284 | #define PLL_LOCKED 0x20 /* PLL Locked Status */ | ||
2285 | #define ACTIVE_PLLDISABLED 0x4 /* Active Mode With PLL Disabled */ | ||
2286 | #define FULL_ON 0x2 /* Full-On Mode */ | ||
2287 | #define ACTIVE_PLLENABLED 0x1 /* Active Mode With PLL Enabled */ | ||
2288 | #define RTCWS 0x400 /* RTC/Reset Wake-Up Status */ | ||
2289 | #define CANWS 0x800 /* CAN Wake-Up Status */ | ||
2290 | #define USBWS 0x2000 /* USB Wake-Up Status */ | ||
2291 | #define KPADWS 0x4000 /* Keypad Wake-Up Status */ | ||
2292 | #define ROTWS 0x8000 /* Rotary Wake-Up Status */ | ||
2293 | #define GPWS 0x1000 /* General-Purpose Wake-Up Status */ | ||
2294 | |||
2295 | /* Bit masks for VR_CTL */ | ||
2296 | |||
2297 | #define FREQ 0x3 /* Regulator Switching Frequency */ | ||
2298 | #define GAIN 0xc /* Voltage Output Level Gain */ | ||
2299 | #define VLEV 0xf0 /* Internal Voltage Level */ | ||
2300 | #define SCKELOW 0x8000 /* Drive SCKE Low During Reset Enable */ | ||
2301 | #define WAKE 0x100 /* RTC/Reset Wake-Up Enable */ | ||
2302 | #define CANWE 0x200 /* CAN0/1 Wake-Up Enable */ | ||
2303 | #define GPWE 0x400 /* General-Purpose Wake-Up Enable */ | ||
2304 | #define USBWE 0x800 /* USB Wake-Up Enable */ | ||
2305 | #define KPADWE 0x1000 /* Keypad Wake-Up Enable */ | ||
2306 | #define ROTWE 0x2000 /* Rotary Wake-Up Enable */ | ||
2307 | |||
2308 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
2309 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
2310 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
2311 | |||
2312 | #define GAIN_5 0x0000 /* GAIN = 5*/ | ||
2313 | #define GAIN_10 0x0004 /* GAIN = 1*/ | ||
2314 | #define GAIN_20 0x0008 /* GAIN = 2*/ | ||
2315 | #define GAIN_50 0x000C /* GAIN = 5*/ | ||
2316 | |||
2317 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
2318 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
2319 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
2320 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
2321 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
2322 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
2323 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
2324 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
2325 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
2326 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
2327 | |||
2328 | /* Bit masks for NFC_CTL */ | 2047 | /* Bit masks for NFC_CTL */ |
2329 | 2048 | ||
2330 | #define WR_DLY 0xf /* Write Strobe Delay */ | 2049 | #define WR_DLY 0xf /* Write Strobe Delay */ |
@@ -2489,14 +2208,6 @@ | |||
2489 | #define UCCT 0x40 /* Universal Counter CAN Trigger */ | 2208 | #define UCCT 0x40 /* Universal Counter CAN Trigger */ |
2490 | #define UCE 0x80 /* Universal Counter Enable */ | 2209 | #define UCE 0x80 /* Universal Counter Enable */ |
2491 | 2210 | ||
2492 | /* Bit masks for CAN0_UCCNT */ | ||
2493 | |||
2494 | #define UCCNT 0xffff /* Universal Counter Count Value */ | ||
2495 | |||
2496 | /* Bit masks for CAN0_UCRC */ | ||
2497 | |||
2498 | #define UCVAL 0xffff /* Universal Counter Reload/Capture Value */ | ||
2499 | |||
2500 | /* Bit masks for CAN0_CEC */ | 2211 | /* Bit masks for CAN0_CEC */ |
2501 | 2212 | ||
2502 | #define RXECNT 0xff /* Receive Error Counter */ | 2213 | #define RXECNT 0xff /* Receive Error Counter */ |
diff --git a/arch/blackfin/mach-bf561/boards/Kconfig b/arch/blackfin/mach-bf561/boards/Kconfig index e4bc6d7c5a6a..1aa529b9f8bb 100644 --- a/arch/blackfin/mach-bf561/boards/Kconfig +++ b/arch/blackfin/mach-bf561/boards/Kconfig | |||
@@ -19,4 +19,11 @@ config BFIN561_BLUETECHNIX_CM | |||
19 | help | 19 | help |
20 | CM-BF561 support for EVAL- and DEV-Board. | 20 | CM-BF561 support for EVAL- and DEV-Board. |
21 | 21 | ||
22 | config BFIN561_ACVILON | ||
23 | bool "BF561-ACVILON" | ||
24 | help | ||
25 | BF561-ACVILON System On Module support (SO-DIMM 144). | ||
26 | For more information about Acvilon BF561 SoM | ||
27 | please go to http://www.niistt.ru/ | ||
28 | |||
22 | endchoice | 29 | endchoice |
diff --git a/arch/blackfin/mach-bf561/boards/Makefile b/arch/blackfin/mach-bf561/boards/Makefile index 3a152559e957..a5879f7857ad 100644 --- a/arch/blackfin/mach-bf561/boards/Makefile +++ b/arch/blackfin/mach-bf561/boards/Makefile | |||
@@ -2,6 +2,7 @@ | |||
2 | # arch/blackfin/mach-bf561/boards/Makefile | 2 | # arch/blackfin/mach-bf561/boards/Makefile |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_BFIN561_ACVILON) += acvilon.o | ||
5 | obj-$(CONFIG_BFIN561_BLUETECHNIX_CM) += cm_bf561.o | 6 | obj-$(CONFIG_BFIN561_BLUETECHNIX_CM) += cm_bf561.o |
6 | obj-$(CONFIG_BFIN561_EZKIT) += ezkit.o | 7 | obj-$(CONFIG_BFIN561_EZKIT) += ezkit.o |
7 | obj-$(CONFIG_BFIN561_TEPLA) += tepla.o | 8 | obj-$(CONFIG_BFIN561_TEPLA) += tepla.o |
diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c new file mode 100644 index 000000000000..07e8dc8770da --- /dev/null +++ b/arch/blackfin/mach-bf561/boards/acvilon.c | |||
@@ -0,0 +1,551 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-bf561/acvilon.c | ||
3 | * Based on: arch/blackfin/mach-bf561/ezkit.c | ||
4 | * Author: | ||
5 | * | ||
6 | * Created: | ||
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * Copyright 2009 CJSC "NII STT" | ||
12 | * | ||
13 | * Bugs: | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | * | ||
30 | * | ||
31 | * For more information about Acvilon BF561 SoM please | ||
32 | * go to http://www.niistt.ru/ | ||
33 | * | ||
34 | */ | ||
35 | |||
36 | #include <linux/device.h> | ||
37 | #include <linux/platform_device.h> | ||
38 | #include <linux/mtd/mtd.h> | ||
39 | #include <linux/mtd/partitions.h> | ||
40 | #include <linux/mtd/physmap.h> | ||
41 | #include <linux/mtd/nand.h> | ||
42 | #include <linux/mtd/plat-ram.h> | ||
43 | #include <linux/spi/spi.h> | ||
44 | #include <linux/spi/flash.h> | ||
45 | #include <linux/irq.h> | ||
46 | #include <linux/interrupt.h> | ||
47 | #include <linux/i2c-pca-platform.h> | ||
48 | #include <linux/delay.h> | ||
49 | #include <linux/io.h> | ||
50 | #include <asm/dma.h> | ||
51 | #include <asm/bfin5xx_spi.h> | ||
52 | #include <asm/portmux.h> | ||
53 | #include <asm/dpmc.h> | ||
54 | #include <asm/cacheflush.h> | ||
55 | #include <linux/i2c.h> | ||
56 | |||
57 | /* | ||
58 | * Name the Board for the /proc/cpuinfo | ||
59 | */ | ||
60 | const char bfin_board_name[] = "Acvilon board"; | ||
61 | |||
62 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | ||
63 | #include <linux/usb/isp1760.h> | ||
64 | static struct resource bfin_isp1760_resources[] = { | ||
65 | [0] = { | ||
66 | .start = 0x20000000, | ||
67 | .end = 0x20000000 + 0x000fffff, | ||
68 | .flags = IORESOURCE_MEM, | ||
69 | }, | ||
70 | [1] = { | ||
71 | .start = IRQ_PF15, | ||
72 | .end = IRQ_PF15, | ||
73 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
74 | }, | ||
75 | }; | ||
76 | |||
77 | static struct isp1760_platform_data isp1760_priv = { | ||
78 | .is_isp1761 = 0, | ||
79 | .port1_disable = 0, | ||
80 | .bus_width_16 = 1, | ||
81 | .port1_otg = 0, | ||
82 | .analog_oc = 0, | ||
83 | .dack_polarity_high = 0, | ||
84 | .dreq_polarity_high = 0, | ||
85 | }; | ||
86 | |||
87 | static struct platform_device bfin_isp1760_device = { | ||
88 | .name = "isp1760-hcd", | ||
89 | .id = 0, | ||
90 | .dev = { | ||
91 | .platform_data = &isp1760_priv, | ||
92 | }, | ||
93 | .num_resources = ARRAY_SIZE(bfin_isp1760_resources), | ||
94 | .resource = bfin_isp1760_resources, | ||
95 | }; | ||
96 | #endif | ||
97 | |||
98 | static struct resource bfin_i2c_pca_resources[] = { | ||
99 | { | ||
100 | .name = "pca9564-regs", | ||
101 | .start = 0x2C000000, | ||
102 | .end = 0x2C000000 + 16, | ||
103 | .flags = IORESOURCE_MEM | IORESOURCE_MEM_32BIT, | ||
104 | }, { | ||
105 | |||
106 | .start = IRQ_PF8, | ||
107 | .end = IRQ_PF8, | ||
108 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
109 | }, | ||
110 | }; | ||
111 | |||
112 | struct i2c_pca9564_pf_platform_data pca9564_platform_data = { | ||
113 | .gpio = -1, | ||
114 | .i2c_clock_speed = 330000, | ||
115 | .timeout = 10000 | ||
116 | }; | ||
117 | |||
118 | /* PCA9564 I2C Bus driver */ | ||
119 | static struct platform_device bfin_i2c_pca_device = { | ||
120 | .name = "i2c-pca-platform", | ||
121 | .id = 0, | ||
122 | .num_resources = ARRAY_SIZE(bfin_i2c_pca_resources), | ||
123 | .resource = bfin_i2c_pca_resources, | ||
124 | .dev = { | ||
125 | .platform_data = &pca9564_platform_data, | ||
126 | } | ||
127 | }; | ||
128 | |||
129 | /* I2C devices fitted. */ | ||
130 | static struct i2c_board_info acvilon_i2c_devs[] __initdata = { | ||
131 | { | ||
132 | I2C_BOARD_INFO("ds1339", 0x68), | ||
133 | }, | ||
134 | { | ||
135 | I2C_BOARD_INFO("tcn75", 0x49), | ||
136 | }, | ||
137 | }; | ||
138 | |||
139 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) | ||
140 | static struct platdata_mtd_ram mtd_ram_data = { | ||
141 | .mapname = "rootfs(RAM)", | ||
142 | .bankwidth = 4, | ||
143 | }; | ||
144 | |||
145 | static struct resource mtd_ram_resource = { | ||
146 | .start = 0x4000000, | ||
147 | .end = 0x5ffffff, | ||
148 | .flags = IORESOURCE_MEM, | ||
149 | }; | ||
150 | |||
151 | static struct platform_device mtd_ram_device = { | ||
152 | .name = "mtd-ram", | ||
153 | .id = 0, | ||
154 | .dev = { | ||
155 | .platform_data = &mtd_ram_data, | ||
156 | }, | ||
157 | .num_resources = 1, | ||
158 | .resource = &mtd_ram_resource, | ||
159 | }; | ||
160 | #endif | ||
161 | |||
162 | #if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE) | ||
163 | #include <linux/smsc911x.h> | ||
164 | static struct resource smsc911x_resources[] = { | ||
165 | { | ||
166 | .name = "smsc911x-memory", | ||
167 | .start = 0x28000000, | ||
168 | .end = 0x28000000 + 0xFF, | ||
169 | .flags = IORESOURCE_MEM, | ||
170 | }, | ||
171 | { | ||
172 | .start = IRQ_PF7, | ||
173 | .end = IRQ_PF7, | ||
174 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
175 | }, | ||
176 | }; | ||
177 | |||
178 | static struct smsc911x_platform_config smsc911x_config = { | ||
179 | .flags = SMSC911X_USE_32BIT, | ||
180 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, | ||
181 | .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN, | ||
182 | .phy_interface = PHY_INTERFACE_MODE_MII, | ||
183 | }; | ||
184 | |||
185 | static struct platform_device smsc911x_device = { | ||
186 | .name = "smsc911x", | ||
187 | .id = 0, | ||
188 | .num_resources = ARRAY_SIZE(smsc911x_resources), | ||
189 | .resource = smsc911x_resources, | ||
190 | .dev = { | ||
191 | .platform_data = &smsc911x_config, | ||
192 | }, | ||
193 | }; | ||
194 | #endif | ||
195 | |||
196 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
197 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
198 | static struct resource bfin_uart0_resources[] = { | ||
199 | { | ||
200 | .start = BFIN_UART_THR, | ||
201 | .end = BFIN_UART_GCTL + 2, | ||
202 | .flags = IORESOURCE_MEM, | ||
203 | }, | ||
204 | { | ||
205 | .start = IRQ_UART_RX, | ||
206 | .end = IRQ_UART_RX + 1, | ||
207 | .flags = IORESOURCE_IRQ, | ||
208 | }, | ||
209 | { | ||
210 | .start = IRQ_UART_ERROR, | ||
211 | .end = IRQ_UART_ERROR, | ||
212 | .flags = IORESOURCE_IRQ, | ||
213 | }, | ||
214 | { | ||
215 | .start = CH_UART_TX, | ||
216 | .end = CH_UART_TX, | ||
217 | .flags = IORESOURCE_DMA, | ||
218 | }, | ||
219 | { | ||
220 | .start = CH_UART_RX, | ||
221 | .end = CH_UART_RX, | ||
222 | .flags = IORESOURCE_DMA, | ||
223 | }, | ||
224 | }; | ||
225 | |||
226 | unsigned short bfin_uart0_peripherals[] = { | ||
227 | P_UART0_TX, P_UART0_RX, 0 | ||
228 | }; | ||
229 | |||
230 | static struct platform_device bfin_uart0_device = { | ||
231 | .name = "bfin-uart", | ||
232 | .id = 0, | ||
233 | .num_resources = ARRAY_SIZE(bfin_uart0_resources), | ||
234 | .resource = bfin_uart0_resources, | ||
235 | .dev = { | ||
236 | /* Passed to driver */ | ||
237 | .platform_data = &bfin_uart0_peripherals, | ||
238 | }, | ||
239 | }; | ||
240 | #endif | ||
241 | #endif | ||
242 | |||
243 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | ||
244 | |||
245 | #ifdef CONFIG_MTD_PARTITIONS | ||
246 | const char *part_probes[] = { "cmdlinepart", NULL }; | ||
247 | |||
248 | static struct mtd_partition bfin_plat_nand_partitions[] = { | ||
249 | { | ||
250 | .name = "params(nand)", | ||
251 | .size = 32 * 1024 * 1024, | ||
252 | .offset = 0, | ||
253 | }, { | ||
254 | .name = "userfs(nand)", | ||
255 | .size = MTDPART_SIZ_FULL, | ||
256 | .offset = MTDPART_OFS_APPEND, | ||
257 | }, | ||
258 | }; | ||
259 | #endif | ||
260 | |||
261 | #define BFIN_NAND_PLAT_CLE 2 | ||
262 | #define BFIN_NAND_PLAT_ALE 3 | ||
263 | |||
264 | static void bfin_plat_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, | ||
265 | unsigned int ctrl) | ||
266 | { | ||
267 | struct nand_chip *this = mtd->priv; | ||
268 | |||
269 | if (cmd == NAND_CMD_NONE) | ||
270 | return; | ||
271 | |||
272 | if (ctrl & NAND_CLE) | ||
273 | writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_CLE)); | ||
274 | else | ||
275 | writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_ALE)); | ||
276 | } | ||
277 | |||
278 | #define BFIN_NAND_PLAT_READY GPIO_PF10 | ||
279 | static int bfin_plat_nand_dev_ready(struct mtd_info *mtd) | ||
280 | { | ||
281 | return gpio_get_value(BFIN_NAND_PLAT_READY); | ||
282 | } | ||
283 | |||
284 | static struct platform_nand_data bfin_plat_nand_data = { | ||
285 | .chip = { | ||
286 | .chip_delay = 30, | ||
287 | #ifdef CONFIG_MTD_PARTITIONS | ||
288 | .part_probe_types = part_probes, | ||
289 | .partitions = bfin_plat_nand_partitions, | ||
290 | .nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions), | ||
291 | #endif | ||
292 | }, | ||
293 | .ctrl = { | ||
294 | .cmd_ctrl = bfin_plat_nand_cmd_ctrl, | ||
295 | .dev_ready = bfin_plat_nand_dev_ready, | ||
296 | }, | ||
297 | }; | ||
298 | |||
299 | #define MAX(x, y) (x > y ? x : y) | ||
300 | static struct resource bfin_plat_nand_resources = { | ||
301 | .start = 0x24000000, | ||
302 | .end = 0x24000000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), | ||
303 | .flags = IORESOURCE_IO, | ||
304 | }; | ||
305 | |||
306 | static struct platform_device bfin_async_nand_device = { | ||
307 | .name = "gen_nand", | ||
308 | .id = -1, | ||
309 | .num_resources = 1, | ||
310 | .resource = &bfin_plat_nand_resources, | ||
311 | .dev = { | ||
312 | .platform_data = &bfin_plat_nand_data, | ||
313 | }, | ||
314 | }; | ||
315 | |||
316 | static void bfin_plat_nand_init(void) | ||
317 | { | ||
318 | gpio_request(BFIN_NAND_PLAT_READY, "bfin_nand_plat"); | ||
319 | } | ||
320 | #else | ||
321 | static void bfin_plat_nand_init(void) | ||
322 | { | ||
323 | } | ||
324 | #endif | ||
325 | |||
326 | #if defined(CONFIG_MTD_DATAFLASH) || defined(CONFIG_MTD_DATAFLASH_MODULE) | ||
327 | static struct mtd_partition bfin_spi_dataflash_partitions[] = { | ||
328 | { | ||
329 | .name = "bootloader", | ||
330 | .size = 0x4200, | ||
331 | .offset = 0, | ||
332 | .mask_flags = MTD_CAP_ROM}, | ||
333 | { | ||
334 | .name = "u-boot", | ||
335 | .size = 0x42000, | ||
336 | .offset = MTDPART_OFS_APPEND, | ||
337 | }, | ||
338 | { | ||
339 | .name = "u-boot(params)", | ||
340 | .size = 0x4200, | ||
341 | .offset = MTDPART_OFS_APPEND, | ||
342 | }, | ||
343 | { | ||
344 | .name = "kernel", | ||
345 | .size = 0x294000, | ||
346 | .offset = MTDPART_OFS_APPEND, | ||
347 | }, | ||
348 | { | ||
349 | .name = "params", | ||
350 | .size = 0x42000, | ||
351 | .offset = MTDPART_OFS_APPEND, | ||
352 | }, | ||
353 | { | ||
354 | .name = "rootfs", | ||
355 | .size = MTDPART_SIZ_FULL, | ||
356 | .offset = MTDPART_OFS_APPEND, | ||
357 | } | ||
358 | }; | ||
359 | |||
360 | static struct flash_platform_data bfin_spi_dataflash_data = { | ||
361 | .name = "SPI Dataflash", | ||
362 | .parts = bfin_spi_dataflash_partitions, | ||
363 | .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions), | ||
364 | }; | ||
365 | |||
366 | /* DataFlash chip */ | ||
367 | static struct bfin5xx_spi_chip data_flash_chip_info = { | ||
368 | .enable_dma = 0, /* use dma transfer with this chip */ | ||
369 | .bits_per_word = 8, | ||
370 | }; | ||
371 | #endif | ||
372 | |||
373 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
374 | static struct bfin5xx_spi_chip spidev_chip_info = { | ||
375 | .enable_dma = 0, | ||
376 | .bits_per_word = 8, | ||
377 | }; | ||
378 | #endif | ||
379 | |||
380 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
381 | /* SPI (0) */ | ||
382 | static struct resource bfin_spi0_resource[] = { | ||
383 | [0] = { | ||
384 | .start = SPI0_REGBASE, | ||
385 | .end = SPI0_REGBASE + 0xFF, | ||
386 | .flags = IORESOURCE_MEM, | ||
387 | }, | ||
388 | [1] = { | ||
389 | .start = CH_SPI, | ||
390 | .end = CH_SPI, | ||
391 | .flags = IORESOURCE_DMA, | ||
392 | }, | ||
393 | [2] = { | ||
394 | .start = IRQ_SPI, | ||
395 | .end = IRQ_SPI, | ||
396 | .flags = IORESOURCE_IRQ, | ||
397 | }, | ||
398 | }; | ||
399 | |||
400 | /* SPI controller data */ | ||
401 | static struct bfin5xx_spi_master bfin_spi0_info = { | ||
402 | .num_chipselect = 8, | ||
403 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
404 | .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, | ||
405 | }; | ||
406 | |||
407 | static struct platform_device bfin_spi0_device = { | ||
408 | .name = "bfin-spi", | ||
409 | .id = 0, /* Bus number */ | ||
410 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
411 | .resource = bfin_spi0_resource, | ||
412 | .dev = { | ||
413 | .platform_data = &bfin_spi0_info, /* Passed to driver */ | ||
414 | }, | ||
415 | }; | ||
416 | #endif | ||
417 | |||
418 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | ||
419 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
420 | { | ||
421 | .modalias = "spidev", | ||
422 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
423 | .bus_num = 0, | ||
424 | .chip_select = 3, | ||
425 | .controller_data = &spidev_chip_info, | ||
426 | }, | ||
427 | #endif | ||
428 | #if defined(CONFIG_MTD_DATAFLASH) || defined(CONFIG_MTD_DATAFLASH_MODULE) | ||
429 | { /* DataFlash chip */ | ||
430 | .modalias = "mtd_dataflash", | ||
431 | .max_speed_hz = 33250000, /* max spi clock (SCK) speed in HZ */ | ||
432 | .bus_num = 0, /* Framework bus number */ | ||
433 | .chip_select = 2, /* Framework chip select */ | ||
434 | .platform_data = &bfin_spi_dataflash_data, | ||
435 | .controller_data = &data_flash_chip_info, | ||
436 | .mode = SPI_MODE_3, | ||
437 | }, | ||
438 | #endif | ||
439 | }; | ||
440 | |||
441 | static struct resource bfin_gpios_resources = { | ||
442 | .start = 31, | ||
443 | /* .end = MAX_BLACKFIN_GPIOS - 1, */ | ||
444 | .end = 32, | ||
445 | .flags = IORESOURCE_IRQ, | ||
446 | }; | ||
447 | |||
448 | static struct platform_device bfin_gpios_device = { | ||
449 | .name = "simple-gpio", | ||
450 | .id = -1, | ||
451 | .num_resources = 1, | ||
452 | .resource = &bfin_gpios_resources, | ||
453 | }; | ||
454 | |||
455 | static const unsigned int cclk_vlev_datasheet[] = { | ||
456 | VRPAIR(VLEV_085, 250000000), | ||
457 | VRPAIR(VLEV_090, 300000000), | ||
458 | VRPAIR(VLEV_095, 313000000), | ||
459 | VRPAIR(VLEV_100, 350000000), | ||
460 | VRPAIR(VLEV_105, 400000000), | ||
461 | VRPAIR(VLEV_110, 444000000), | ||
462 | VRPAIR(VLEV_115, 450000000), | ||
463 | VRPAIR(VLEV_120, 475000000), | ||
464 | VRPAIR(VLEV_125, 500000000), | ||
465 | VRPAIR(VLEV_130, 600000000), | ||
466 | }; | ||
467 | |||
468 | static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = { | ||
469 | .tuple_tab = cclk_vlev_datasheet, | ||
470 | .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), | ||
471 | .vr_settling_time = 25 /* us */ , | ||
472 | }; | ||
473 | |||
474 | static struct platform_device bfin_dpmc = { | ||
475 | .name = "bfin dpmc", | ||
476 | .dev = { | ||
477 | .platform_data = &bfin_dmpc_vreg_data, | ||
478 | }, | ||
479 | }; | ||
480 | |||
481 | static struct platform_device *acvilon_devices[] __initdata = { | ||
482 | &bfin_dpmc, | ||
483 | |||
484 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
485 | &bfin_spi0_device, | ||
486 | #endif | ||
487 | |||
488 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
489 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
490 | &bfin_uart0_device, | ||
491 | #endif | ||
492 | #endif | ||
493 | |||
494 | &bfin_gpios_device, | ||
495 | |||
496 | #if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE) | ||
497 | &smsc911x_device, | ||
498 | #endif | ||
499 | |||
500 | &bfin_i2c_pca_device, | ||
501 | |||
502 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | ||
503 | &bfin_async_nand_device, | ||
504 | #endif | ||
505 | |||
506 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) | ||
507 | &mtd_ram_device, | ||
508 | #endif | ||
509 | |||
510 | }; | ||
511 | |||
512 | static int __init acvilon_init(void) | ||
513 | { | ||
514 | int ret; | ||
515 | |||
516 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
517 | |||
518 | bfin_plat_nand_init(); | ||
519 | ret = | ||
520 | platform_add_devices(acvilon_devices, ARRAY_SIZE(acvilon_devices)); | ||
521 | if (ret < 0) | ||
522 | return ret; | ||
523 | |||
524 | i2c_register_board_info(0, acvilon_i2c_devs, | ||
525 | ARRAY_SIZE(acvilon_i2c_devs)); | ||
526 | |||
527 | bfin_write_FIO0_FLAG_C(1 << 14); | ||
528 | msleep(5); | ||
529 | bfin_write_FIO0_FLAG_S(1 << 14); | ||
530 | |||
531 | spi_register_board_info(bfin_spi_board_info, | ||
532 | ARRAY_SIZE(bfin_spi_board_info)); | ||
533 | return 0; | ||
534 | } | ||
535 | |||
536 | arch_initcall(acvilon_init); | ||
537 | |||
538 | static struct platform_device *acvilon_early_devices[] __initdata = { | ||
539 | #if defined(CONFIG_SERIAL_BFIN_CONSOLE) || defined(CONFIG_EARLY_PRINTK) | ||
540 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
541 | &bfin_uart0_device, | ||
542 | #endif | ||
543 | #endif | ||
544 | }; | ||
545 | |||
546 | void __init native_machine_early_platform_add_devices(void) | ||
547 | { | ||
548 | printk(KERN_INFO "register early platform devices\n"); | ||
549 | early_platform_add_devices(acvilon_early_devices, | ||
550 | ARRAY_SIZE(acvilon_early_devices)); | ||
551 | } | ||
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index 9e2d8cfba546..ffd3e6a80d1a 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -49,7 +49,7 @@ static struct isp1760_platform_data isp1760_priv = { | |||
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct platform_device bfin_isp1760_device = { | 51 | static struct platform_device bfin_isp1760_device = { |
52 | .name = "isp1760-hcd", | 52 | .name = "isp1760", |
53 | .id = 0, | 53 | .id = 0, |
54 | .dev = { | 54 | .dev = { |
55 | .platform_data = &isp1760_priv, | 55 | .platform_data = &isp1760_priv, |
@@ -159,28 +159,6 @@ static struct platform_device smc91x_device = { | |||
159 | }; | 159 | }; |
160 | #endif | 160 | #endif |
161 | 161 | ||
162 | #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) | ||
163 | static struct resource ax88180_resources[] = { | ||
164 | [0] = { | ||
165 | .start = 0x2c000000, | ||
166 | .end = 0x2c000000 + 0x8000, | ||
167 | .flags = IORESOURCE_MEM, | ||
168 | }, | ||
169 | [1] = { | ||
170 | .start = IRQ_PF10, | ||
171 | .end = IRQ_PF10, | ||
172 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL), | ||
173 | }, | ||
174 | }; | ||
175 | |||
176 | static struct platform_device ax88180_device = { | ||
177 | .name = "ax88180", | ||
178 | .id = -1, | ||
179 | .num_resources = ARRAY_SIZE(ax88180_resources), | ||
180 | .resource = ax88180_resources, | ||
181 | }; | ||
182 | #endif | ||
183 | |||
184 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 162 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
185 | static struct resource bfin_uart_resources[] = { | 163 | static struct resource bfin_uart_resources[] = { |
186 | { | 164 | { |
@@ -421,10 +399,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
421 | &smc91x_device, | 399 | &smc91x_device, |
422 | #endif | 400 | #endif |
423 | 401 | ||
424 | #if defined(CONFIG_AX88180) || defined(CONFIG_AX88180_MODULE) | ||
425 | &ax88180_device, | ||
426 | #endif | ||
427 | |||
428 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 402 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
429 | &net2272_bfin_device, | 403 | &net2272_bfin_device, |
430 | #endif | 404 | #endif |
diff --git a/arch/blackfin/mach-bf561/coreb.c b/arch/blackfin/mach-bf561/coreb.c index 1e60a92dd602..deb2271d09a3 100644 --- a/arch/blackfin/mach-bf561/coreb.c +++ b/arch/blackfin/mach-bf561/coreb.c | |||
@@ -22,8 +22,8 @@ | |||
22 | #define CMD_COREB_STOP 3 | 22 | #define CMD_COREB_STOP 3 |
23 | #define CMD_COREB_RESET 4 | 23 | #define CMD_COREB_RESET 4 |
24 | 24 | ||
25 | static int | 25 | static long |
26 | coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) | 26 | coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg) |
27 | { | 27 | { |
28 | int ret = 0; | 28 | int ret = 0; |
29 | 29 | ||
@@ -49,8 +49,8 @@ coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned l | |||
49 | } | 49 | } |
50 | 50 | ||
51 | static const struct file_operations coreb_fops = { | 51 | static const struct file_operations coreb_fops = { |
52 | .owner = THIS_MODULE, | 52 | .owner = THIS_MODULE, |
53 | .ioctl = coreb_ioctl, | 53 | .unlocked_ioctl = coreb_ioctl, |
54 | }; | 54 | }; |
55 | 55 | ||
56 | static struct miscdevice coreb_dev = { | 56 | static struct miscdevice coreb_dev = { |
diff --git a/arch/blackfin/mach-bf561/include/mach/defBF561.h b/arch/blackfin/mach-bf561/include/mach/defBF561.h index a31e509553fb..4c8e36b7fb33 100644 --- a/arch/blackfin/mach-bf561/include/mach/defBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/defBF561.h | |||
@@ -884,65 +884,11 @@ | |||
884 | /* System MMR Register Bits */ | 884 | /* System MMR Register Bits */ |
885 | /******************************************************************************* */ | 885 | /******************************************************************************* */ |
886 | 886 | ||
887 | /* ********************* PLL AND RESET MASKS ************************ */ | ||
888 | |||
889 | /* PLL_CTL Masks */ | ||
890 | #define PLL_CLKIN 0x00000000 /* Pass CLKIN to PLL */ | ||
891 | #define PLL_CLKIN_DIV2 0x00000001 /* Pass CLKIN/2 to PLL */ | ||
892 | #define PLL_OFF 0x00000002 /* Shut off PLL clocks */ | ||
893 | #define STOPCK_OFF 0x00000008 /* Core clock off */ | ||
894 | #define PDWN 0x00000020 /* Put the PLL in a Deep Sleep state */ | ||
895 | #define BYPASS 0x00000100 /* Bypass the PLL */ | ||
896 | |||
897 | /* CHIPID Masks */ | 887 | /* CHIPID Masks */ |
898 | #define CHIPID_VERSION 0xF0000000 | 888 | #define CHIPID_VERSION 0xF0000000 |
899 | #define CHIPID_FAMILY 0x0FFFF000 | 889 | #define CHIPID_FAMILY 0x0FFFF000 |
900 | #define CHIPID_MANUFACTURE 0x00000FFE | 890 | #define CHIPID_MANUFACTURE 0x00000FFE |
901 | 891 | ||
902 | /* VR_CTL Masks */ | ||
903 | #define FREQ 0x0003 /* Switching Oscillator Frequency For Regulator */ | ||
904 | #define HIBERNATE 0x0000 /* Powerdown/Bypass On-Board Regulation */ | ||
905 | #define FREQ_333 0x0001 /* Switching Frequency Is 333 kHz */ | ||
906 | #define FREQ_667 0x0002 /* Switching Frequency Is 667 kHz */ | ||
907 | #define FREQ_1000 0x0003 /* Switching Frequency Is 1 MHz */ | ||
908 | |||
909 | #define GAIN 0x000C /* Voltage Level Gain */ | ||
910 | #define GAIN_5 0x0000 /* GAIN = 5*/ | ||
911 | #define GAIN_10 0x0004 /* GAIN = 1*/ | ||
912 | #define GAIN_20 0x0008 /* GAIN = 2*/ | ||
913 | #define GAIN_50 0x000C /* GAIN = 5*/ | ||
914 | |||
915 | #define VLEV 0x00F0 /* Internal Voltage Level */ | ||
916 | #define VLEV_085 0x0060 /* VLEV = 0.85 V (-5% - +10% Accuracy) */ | ||
917 | #define VLEV_090 0x0070 /* VLEV = 0.90 V (-5% - +10% Accuracy) */ | ||
918 | #define VLEV_095 0x0080 /* VLEV = 0.95 V (-5% - +10% Accuracy) */ | ||
919 | #define VLEV_100 0x0090 /* VLEV = 1.00 V (-5% - +10% Accuracy) */ | ||
920 | #define VLEV_105 0x00A0 /* VLEV = 1.05 V (-5% - +10% Accuracy) */ | ||
921 | #define VLEV_110 0x00B0 /* VLEV = 1.10 V (-5% - +10% Accuracy) */ | ||
922 | #define VLEV_115 0x00C0 /* VLEV = 1.15 V (-5% - +10% Accuracy) */ | ||
923 | #define VLEV_120 0x00D0 /* VLEV = 1.20 V (-5% - +10% Accuracy) */ | ||
924 | #define VLEV_125 0x00E0 /* VLEV = 1.25 V (-5% - +10% Accuracy) */ | ||
925 | #define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ | ||
926 | |||
927 | #define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ | ||
928 | #define SCKELOW 0x8000 /* Do Not Drive SCKE High During Reset After Hibernate */ | ||
929 | |||
930 | /* PLL_DIV Masks */ | ||
931 | #define SCLK_DIV(x) (x) /* SCLK = VCO / x */ | ||
932 | |||
933 | #define CSEL 0x30 /* Core Select */ | ||
934 | #define SSEL 0xf /* System Select */ | ||
935 | #define CCLK_DIV1 0x00000000 /* CCLK = VCO / 1 */ | ||
936 | #define CCLK_DIV2 0x00000010 /* CCLK = VCO / 2 */ | ||
937 | #define CCLK_DIV4 0x00000020 /* CCLK = VCO / 4 */ | ||
938 | #define CCLK_DIV8 0x00000030 /* CCLK = VCO / 8 */ | ||
939 | |||
940 | /* PLL_STAT Masks */ | ||
941 | #define ACTIVE_PLLENABLED 0x0001 /* Processor In Active Mode With PLL Enabled */ | ||
942 | #define FULL_ON 0x0002 /* Processor In Full On Mode */ | ||
943 | #define ACTIVE_PLLDISABLED 0x0004 /* Processor In Active Mode With PLL Disabled */ | ||
944 | #define PLL_LOCKED 0x0020 /* PLL_LOCKCNT Has Been Reached */ | ||
945 | |||
946 | /* SICA_SYSCR Masks */ | 892 | /* SICA_SYSCR Masks */ |
947 | #define COREB_SRAM_INIT 0x0020 | 893 | #define COREB_SRAM_INIT 0x0020 |
948 | 894 | ||
@@ -1150,53 +1096,6 @@ | |||
1150 | 1096 | ||
1151 | /* ********** DMA CONTROLLER MASKS *********************8 */ | 1097 | /* ********** DMA CONTROLLER MASKS *********************8 */ |
1152 | 1098 | ||
1153 | /* DMAx_CONFIG, MDMA_yy_CONFIG, IMDMA_yy_CONFIG Masks */ | ||
1154 | #define DMAEN 0x00000001 /* Channel Enable */ | ||
1155 | #define WNR 0x00000002 /* Channel Direction (W/R*) */ | ||
1156 | #define WDSIZE_8 0x00000000 /* Word Size 8 bits */ | ||
1157 | #define WDSIZE_16 0x00000004 /* Word Size 16 bits */ | ||
1158 | #define WDSIZE_32 0x00000008 /* Word Size 32 bits */ | ||
1159 | #define DMA2D 0x00000010 /* 2D/1D* Mode */ | ||
1160 | #define RESTART 0x00000020 /* Restart */ | ||
1161 | #define DI_SEL 0x00000040 /* Data Interrupt Select */ | ||
1162 | #define DI_EN 0x00000080 /* Data Interrupt Enable */ | ||
1163 | #define NDSIZE_0 0x0000 /* Next Descriptor Size = 0 (Stop/Autobuffer) */ | ||
1164 | #define NDSIZE_1 0x0100 /* Next Descriptor Size = 1 */ | ||
1165 | #define NDSIZE_2 0x0200 /* Next Descriptor Size = 2 */ | ||
1166 | #define NDSIZE_3 0x0300 /* Next Descriptor Size = 3 */ | ||
1167 | #define NDSIZE_4 0x0400 /* Next Descriptor Size = 4 */ | ||
1168 | #define NDSIZE_5 0x0500 /* Next Descriptor Size = 5 */ | ||
1169 | #define NDSIZE_6 0x0600 /* Next Descriptor Size = 6 */ | ||
1170 | #define NDSIZE_7 0x0700 /* Next Descriptor Size = 7 */ | ||
1171 | #define NDSIZE_8 0x0800 /* Next Descriptor Size = 8 */ | ||
1172 | #define NDSIZE_9 0x0900 /* Next Descriptor Size = 9 */ | ||
1173 | #define NDSIZE 0x00000900 /* Next Descriptor Size */ | ||
1174 | #define DMAFLOW 0x00007000 /* Flow Control */ | ||
1175 | #define DMAFLOW_STOP 0x0000 /* Stop Mode */ | ||
1176 | #define DMAFLOW_AUTO 0x1000 /* Autobuffer Mode */ | ||
1177 | #define DMAFLOW_ARRAY 0x4000 /* Descriptor Array Mode */ | ||
1178 | #define DMAFLOW_SMALL 0x6000 /* Small Model Descriptor List Mode */ | ||
1179 | #define DMAFLOW_LARGE 0x7000 /* Large Model Descriptor List Mode */ | ||
1180 | |||
1181 | #define DMAEN_P 0 /* Channel Enable */ | ||
1182 | #define WNR_P 1 /* Channel Direction (W/R*) */ | ||
1183 | #define DMA2D_P 4 /* 2D/1D* Mode */ | ||
1184 | #define RESTART_P 5 /* Restart */ | ||
1185 | #define DI_SEL_P 6 /* Data Interrupt Select */ | ||
1186 | #define DI_EN_P 7 /* Data Interrupt Enable */ | ||
1187 | |||
1188 | /* DMAx_IRQ_STATUS, MDMA_yy_IRQ_STATUS, IMDMA_yy_IRQ_STATUS Masks */ | ||
1189 | |||
1190 | #define DMA_DONE 0x00000001 /* DMA Done Indicator */ | ||
1191 | #define DMA_ERR 0x00000002 /* DMA Error Indicator */ | ||
1192 | #define DFETCH 0x00000004 /* Descriptor Fetch Indicator */ | ||
1193 | #define DMA_RUN 0x00000008 /* DMA Running Indicator */ | ||
1194 | |||
1195 | #define DMA_DONE_P 0 /* DMA Done Indicator */ | ||
1196 | #define DMA_ERR_P 1 /* DMA Error Indicator */ | ||
1197 | #define DFETCH_P 2 /* Descriptor Fetch Indicator */ | ||
1198 | #define DMA_RUN_P 3 /* DMA Running Indicator */ | ||
1199 | |||
1200 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP, IMDMA_yy_PERIPHERAL_MAP Masks */ | 1099 | /* DMAx_PERIPHERAL_MAP, MDMA_yy_PERIPHERAL_MAP, IMDMA_yy_PERIPHERAL_MAP Masks */ |
1201 | 1100 | ||
1202 | #define CTYPE 0x00000040 /* DMA Channel Type Indicator */ | 1101 | #define CTYPE 0x00000040 /* DMA Channel Type Indicator */ |
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 510f57641495..0192532e96a2 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
@@ -52,8 +52,6 @@ int __init setup_profiling_timer(unsigned int multiplier) /* not supported */ | |||
52 | 52 | ||
53 | void __cpuinit platform_secondary_init(unsigned int cpu) | 53 | void __cpuinit platform_secondary_init(unsigned int cpu) |
54 | { | 54 | { |
55 | local_irq_disable(); | ||
56 | |||
57 | /* Clone setup for peripheral interrupt sources from CoreA. */ | 55 | /* Clone setup for peripheral interrupt sources from CoreA. */ |
58 | bfin_write_SICB_IMASK0(bfin_read_SICA_IMASK0()); | 56 | bfin_write_SICB_IMASK0(bfin_read_SICA_IMASK0()); |
59 | bfin_write_SICB_IMASK1(bfin_read_SICA_IMASK1()); | 57 | bfin_write_SICB_IMASK1(bfin_read_SICA_IMASK1()); |
@@ -70,11 +68,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu) | |||
70 | bfin_write_SICB_IAR7(bfin_read_SICA_IAR7()); | 68 | bfin_write_SICB_IAR7(bfin_read_SICA_IAR7()); |
71 | SSYNC(); | 69 | SSYNC(); |
72 | 70 | ||
73 | local_irq_enable(); | ||
74 | |||
75 | /* Calibrate loops per jiffy value. */ | ||
76 | calibrate_delay(); | ||
77 | |||
78 | /* Store CPU-private information to the cpu_data array. */ | 71 | /* Store CPU-private information to the cpu_data array. */ |
79 | bfin_setup_cpudata(cpu); | 72 | bfin_setup_cpudata(cpu); |
80 | 73 | ||
@@ -108,9 +101,13 @@ int __cpuinit platform_boot_secondary(unsigned int cpu, struct task_struct *idle | |||
108 | barrier(); | 101 | barrier(); |
109 | } | 102 | } |
110 | 103 | ||
111 | spin_unlock(&boot_lock); | 104 | if (cpu_isset(cpu, cpu_callin_map)) { |
112 | 105 | cpu_set(cpu, cpu_online_map); | |
113 | return cpu_isset(cpu, cpu_callin_map) ? 0 : -ENOSYS; | 106 | /* release the lock and let coreb run */ |
107 | spin_unlock(&boot_lock); | ||
108 | return 0; | ||
109 | } else | ||
110 | panic("CPU%u: processor failed to boot\n", cpu); | ||
114 | } | 111 | } |
115 | 112 | ||
116 | void __init platform_request_ipi(irq_handler_t handler) | 113 | void __init platform_request_ipi(irq_handler_t handler) |
diff --git a/arch/blackfin/mach-common/clocks-init.c b/arch/blackfin/mach-common/clocks-init.c index ef6870e9eea6..d5cfe611b778 100644 --- a/arch/blackfin/mach-common/clocks-init.c +++ b/arch/blackfin/mach-common/clocks-init.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <asm/dma.h> | 13 | #include <asm/dma.h> |
14 | #include <asm/clocks.h> | 14 | #include <asm/clocks.h> |
15 | #include <asm/mem_init.h> | 15 | #include <asm/mem_init.h> |
16 | #include <asm/dpmc.h> | ||
16 | 17 | ||
17 | #define SDGCTL_WIDTH (1 << 31) /* SDRAM external data path width */ | 18 | #define SDGCTL_WIDTH (1 << 31) /* SDRAM external data path width */ |
18 | #define PLL_CTL_VAL \ | 19 | #define PLL_CTL_VAL \ |
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index 01506504e6d0..777582897253 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/fs.h> | 13 | #include <linux/fs.h> |
14 | #include <asm/blackfin.h> | 14 | #include <asm/blackfin.h> |
15 | #include <asm/time.h> | 15 | #include <asm/time.h> |
16 | 16 | #include <asm/dpmc.h> | |
17 | 17 | ||
18 | /* this is the table of CCLK frequencies, in Hz */ | 18 | /* this is the table of CCLK frequencies, in Hz */ |
19 | /* .index is the entry in the auxillary dpm_state_table[] */ | 19 | /* .index is the entry in the auxillary dpm_state_table[] */ |
@@ -138,7 +138,8 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) | |||
138 | dpm_state_table[index].tscale); | 138 | dpm_state_table[index].tscale); |
139 | } | 139 | } |
140 | 140 | ||
141 | policy->cpuinfo.transition_latency = (bfin_read_PLL_LOCKCNT() / (sclk / 1000000)) * 1000; | 141 | policy->cpuinfo.transition_latency = 50000; /* 50us assumed */ |
142 | |||
142 | /*Now ,only support one cpu */ | 143 | /*Now ,only support one cpu */ |
143 | policy->cur = cclk; | 144 | policy->cur = cclk; |
144 | cpufreq_frequency_table_get_attr(bfin_freq_table, policy->cpu); | 145 | cpufreq_frequency_table_get_attr(bfin_freq_table, policy->cpu); |
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S index 8009a512fb11..b03716896051 100644 --- a/arch/blackfin/mach-common/dpmc_modes.S +++ b/arch/blackfin/mach-common/dpmc_modes.S | |||
@@ -404,6 +404,21 @@ ENTRY(_do_hibernate) | |||
404 | PM_SYS_PUSH(EBIU_FCTL) | 404 | PM_SYS_PUSH(EBIU_FCTL) |
405 | #endif | 405 | #endif |
406 | 406 | ||
407 | #ifdef PORTCIO_FER | ||
408 | PM_SYS_PUSH16(PORTCIO_DIR) | ||
409 | PM_SYS_PUSH16(PORTCIO_INEN) | ||
410 | PM_SYS_PUSH16(PORTCIO) | ||
411 | PM_SYS_PUSH16(PORTCIO_FER) | ||
412 | PM_SYS_PUSH16(PORTDIO_DIR) | ||
413 | PM_SYS_PUSH16(PORTDIO_INEN) | ||
414 | PM_SYS_PUSH16(PORTDIO) | ||
415 | PM_SYS_PUSH16(PORTDIO_FER) | ||
416 | PM_SYS_PUSH16(PORTEIO_DIR) | ||
417 | PM_SYS_PUSH16(PORTEIO_INEN) | ||
418 | PM_SYS_PUSH16(PORTEIO) | ||
419 | PM_SYS_PUSH16(PORTEIO_FER) | ||
420 | #endif | ||
421 | |||
407 | PM_SYS_PUSH16(SYSCR) | 422 | PM_SYS_PUSH16(SYSCR) |
408 | 423 | ||
409 | /* Save Core MMRs */ | 424 | /* Save Core MMRs */ |
@@ -716,6 +731,21 @@ ENTRY(_do_hibernate) | |||
716 | P0.L = lo(PLL_CTL); | 731 | P0.L = lo(PLL_CTL); |
717 | PM_SYS_POP16(SYSCR) | 732 | PM_SYS_POP16(SYSCR) |
718 | 733 | ||
734 | #ifdef PORTCIO_FER | ||
735 | PM_SYS_POP16(PORTEIO_FER) | ||
736 | PM_SYS_POP16(PORTEIO) | ||
737 | PM_SYS_POP16(PORTEIO_INEN) | ||
738 | PM_SYS_POP16(PORTEIO_DIR) | ||
739 | PM_SYS_POP16(PORTDIO_FER) | ||
740 | PM_SYS_POP16(PORTDIO) | ||
741 | PM_SYS_POP16(PORTDIO_INEN) | ||
742 | PM_SYS_POP16(PORTDIO_DIR) | ||
743 | PM_SYS_POP16(PORTCIO_FER) | ||
744 | PM_SYS_POP16(PORTCIO) | ||
745 | PM_SYS_POP16(PORTCIO_INEN) | ||
746 | PM_SYS_POP16(PORTCIO_DIR) | ||
747 | #endif | ||
748 | |||
719 | #ifdef EBIU_FCTL | 749 | #ifdef EBIU_FCTL |
720 | PM_SYS_POP(EBIU_FCTL) | 750 | PM_SYS_POP(EBIU_FCTL) |
721 | PM_SYS_POP(EBIU_MODE) | 751 | PM_SYS_POP(EBIU_MODE) |
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index f3f8bb46b517..b0ed0b487ff2 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -713,6 +713,8 @@ ENTRY(_system_call) | |||
713 | cc = BITTST(r7, TIF_RESTORE_SIGMASK); | 713 | cc = BITTST(r7, TIF_RESTORE_SIGMASK); |
714 | if cc jump .Lsyscall_do_signals; | 714 | if cc jump .Lsyscall_do_signals; |
715 | cc = BITTST(r7, TIF_SIGPENDING); | 715 | cc = BITTST(r7, TIF_SIGPENDING); |
716 | if cc jump .Lsyscall_do_signals; | ||
717 | cc = BITTST(r7, TIF_NOTIFY_RESUME); | ||
716 | if !cc jump .Lsyscall_really_exit; | 718 | if !cc jump .Lsyscall_really_exit; |
717 | .Lsyscall_do_signals: | 719 | .Lsyscall_do_signals: |
718 | /* Reenable interrupts. */ | 720 | /* Reenable interrupts. */ |
@@ -721,7 +723,7 @@ ENTRY(_system_call) | |||
721 | 723 | ||
722 | r0 = sp; | 724 | r0 = sp; |
723 | SP += -12; | 725 | SP += -12; |
724 | call _do_signal; | 726 | call _do_notify_resume; |
725 | SP += 12; | 727 | SP += 12; |
726 | 728 | ||
727 | .Lsyscall_really_exit: | 729 | .Lsyscall_really_exit: |
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 660ea1bec54c..1873b2c1fede 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -25,11 +25,20 @@ | |||
25 | #include <asm/blackfin.h> | 25 | #include <asm/blackfin.h> |
26 | #include <asm/gpio.h> | 26 | #include <asm/gpio.h> |
27 | #include <asm/irq_handler.h> | 27 | #include <asm/irq_handler.h> |
28 | #include <asm/dpmc.h> | ||
29 | #include <asm/bfin5xx_spi.h> | ||
30 | #include <asm/bfin_sport.h> | ||
28 | 31 | ||
29 | #define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1)) | 32 | #define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1)) |
30 | 33 | ||
31 | #ifdef BF537_FAMILY | 34 | #ifdef BF537_FAMILY |
32 | # define BF537_GENERIC_ERROR_INT_DEMUX | 35 | # define BF537_GENERIC_ERROR_INT_DEMUX |
36 | # define SPI_ERR_MASK (BIT_STAT_TXCOL | BIT_STAT_RBSY | BIT_STAT_MODF | BIT_STAT_TXE) /* SPI_STAT */ | ||
37 | # define SPORT_ERR_MASK (ROVF | RUVF | TOVF | TUVF) /* SPORT_STAT */ | ||
38 | # define PPI_ERR_MASK (0xFFFF & ~FLD) /* PPI_STATUS */ | ||
39 | # define EMAC_ERR_MASK (PHYINT | MMCINT | RXFSINT | TXFSINT | WAKEDET | RXDMAERR | TXDMAERR | STMDONE) /* EMAC_SYSTAT */ | ||
40 | # define UART_ERR_MASK (0x6) /* UART_IIR */ | ||
41 | # define CAN_ERR_MASK (EWTIF | EWRIF | EPIF | BOIF | WUIF | UIAIF | AAIF | RMLIF | UCEIF | EXTIF | ADIF) /* CAN_GIF */ | ||
33 | #else | 42 | #else |
34 | # undef BF537_GENERIC_ERROR_INT_DEMUX | 43 | # undef BF537_GENERIC_ERROR_INT_DEMUX |
35 | #endif | 44 | #endif |
@@ -324,11 +333,9 @@ static void bfin_demux_error_irq(unsigned int int_err_irq, | |||
324 | irq = IRQ_CAN_ERROR; | 333 | irq = IRQ_CAN_ERROR; |
325 | else if (bfin_read_SPI_STAT() & SPI_ERR_MASK) | 334 | else if (bfin_read_SPI_STAT() & SPI_ERR_MASK) |
326 | irq = IRQ_SPI_ERROR; | 335 | irq = IRQ_SPI_ERROR; |
327 | else if ((bfin_read_UART0_IIR() & UART_ERR_MASK_STAT1) && | 336 | else if ((bfin_read_UART0_IIR() & UART_ERR_MASK) == UART_ERR_MASK) |
328 | (bfin_read_UART0_IIR() & UART_ERR_MASK_STAT0)) | ||
329 | irq = IRQ_UART0_ERROR; | 337 | irq = IRQ_UART0_ERROR; |
330 | else if ((bfin_read_UART1_IIR() & UART_ERR_MASK_STAT1) && | 338 | else if ((bfin_read_UART1_IIR() & UART_ERR_MASK) == UART_ERR_MASK) |
331 | (bfin_read_UART1_IIR() & UART_ERR_MASK_STAT0)) | ||
332 | irq = IRQ_UART1_ERROR; | 339 | irq = IRQ_UART1_ERROR; |
333 | 340 | ||
334 | if (irq) { | 341 | if (irq) { |
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index d92b168c8328..369e687582b7 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
@@ -336,13 +336,6 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
336 | 336 | ||
337 | ret = platform_boot_secondary(cpu, idle); | 337 | ret = platform_boot_secondary(cpu, idle); |
338 | 338 | ||
339 | if (ret) { | ||
340 | cpu_clear(cpu, cpu_present_map); | ||
341 | printk(KERN_CRIT "CPU%u: processor failed to boot (%d)\n", cpu, ret); | ||
342 | free_task(idle); | ||
343 | } else | ||
344 | cpu_set(cpu, cpu_online_map); | ||
345 | |||
346 | secondary_stack = NULL; | 339 | secondary_stack = NULL; |
347 | 340 | ||
348 | return ret; | 341 | return ret; |
@@ -418,9 +411,16 @@ void __cpuinit secondary_start_kernel(void) | |||
418 | 411 | ||
419 | setup_secondary(cpu); | 412 | setup_secondary(cpu); |
420 | 413 | ||
414 | platform_secondary_init(cpu); | ||
415 | |||
421 | local_irq_enable(); | 416 | local_irq_enable(); |
422 | 417 | ||
423 | platform_secondary_init(cpu); | 418 | /* |
419 | * Calibrate loops per jiffy value. | ||
420 | * IRQs need to be enabled here - D-cache can be invalidated | ||
421 | * in timer irq handler, so core B can read correct jiffies. | ||
422 | */ | ||
423 | calibrate_delay(); | ||
424 | 424 | ||
425 | cpu_idle(); | 425 | cpu_idle(); |
426 | } | 426 | } |
diff --git a/arch/cris/include/asm/elf.h b/arch/cris/include/asm/elf.h index 0f51b10b9f4f..8a3d8e2b33c1 100644 --- a/arch/cris/include/asm/elf.h +++ b/arch/cris/include/asm/elf.h | |||
@@ -64,8 +64,6 @@ typedef unsigned long elf_fpregset_t; | |||
64 | #define EF_CRIS_VARIANT_COMMON_V10_V32 0x00000004 | 64 | #define EF_CRIS_VARIANT_COMMON_V10_V32 0x00000004 |
65 | /* End of excerpt from {binutils}/include/elf/cris.h. */ | 65 | /* End of excerpt from {binutils}/include/elf/cris.h. */ |
66 | 66 | ||
67 | #define USE_ELF_CORE_DUMP | ||
68 | |||
69 | #define ELF_EXEC_PAGESIZE 8192 | 67 | #define ELF_EXEC_PAGESIZE 8192 |
70 | 68 | ||
71 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 69 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/frv/include/asm/elf.h b/arch/frv/include/asm/elf.h index 7bbf6e47f8c8..c3819804a74b 100644 --- a/arch/frv/include/asm/elf.h +++ b/arch/frv/include/asm/elf.h | |||
@@ -115,7 +115,6 @@ do { \ | |||
115 | __kernel_frame0_ptr->gr29 = 0; \ | 115 | __kernel_frame0_ptr->gr29 = 0; \ |
116 | } while(0) | 116 | } while(0) |
117 | 117 | ||
118 | #define USE_ELF_CORE_DUMP | ||
119 | #define CORE_DUMP_USE_REGSET | 118 | #define CORE_DUMP_USE_REGSET |
120 | #define ELF_FDPIC_CORE_EFLAGS EF_FRV_FDPIC | 119 | #define ELF_FDPIC_CORE_EFLAGS EF_FRV_FDPIC |
121 | #define ELF_EXEC_PAGESIZE 16384 | 120 | #define ELF_EXEC_PAGESIZE 16384 |
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 9420648352b8..53cc669e6d59 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
@@ -10,6 +10,10 @@ config H8300 | |||
10 | default y | 10 | default y |
11 | select HAVE_IDE | 11 | select HAVE_IDE |
12 | 12 | ||
13 | config SYMBOL_PREFIX | ||
14 | string | ||
15 | default "_" | ||
16 | |||
13 | config MMU | 17 | config MMU |
14 | bool | 18 | bool |
15 | default n | 19 | default n |
diff --git a/arch/h8300/include/asm/elf.h b/arch/h8300/include/asm/elf.h index 94e2284c8816..c24fa250d653 100644 --- a/arch/h8300/include/asm/elf.h +++ b/arch/h8300/include/asm/elf.h | |||
@@ -34,7 +34,6 @@ typedef unsigned long elf_fpregset_t; | |||
34 | 34 | ||
35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 | 35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 |
36 | 36 | ||
37 | #define USE_ELF_CORE_DUMP | ||
38 | #define ELF_EXEC_PAGESIZE 4096 | 37 | #define ELF_EXEC_PAGESIZE 4096 |
39 | 38 | ||
40 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 39 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/h8300/include/asm/module.h b/arch/h8300/include/asm/module.h index de23231f3196..8e46724b7c09 100644 --- a/arch/h8300/include/asm/module.h +++ b/arch/h8300/include/asm/module.h | |||
@@ -8,6 +8,4 @@ struct mod_arch_specific { }; | |||
8 | #define Elf_Sym Elf32_Sym | 8 | #define Elf_Sym Elf32_Sym |
9 | #define Elf_Ehdr Elf32_Ehdr | 9 | #define Elf_Ehdr Elf32_Ehdr |
10 | 10 | ||
11 | #define MODULE_SYMBOL_PREFIX "_" | ||
12 | |||
13 | #endif /* _ASM_H8/300_MODULE_H */ | 11 | #endif /* _ASM_H8/300_MODULE_H */ |
diff --git a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S index b9e24907e6ea..03d356d96e5d 100644 --- a/arch/h8300/kernel/vmlinux.lds.S +++ b/arch/h8300/kernel/vmlinux.lds.S | |||
@@ -1,4 +1,3 @@ | |||
1 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ | ||
2 | #include <asm-generic/vmlinux.lds.h> | 1 | #include <asm-generic/vmlinux.lds.h> |
3 | #include <asm/page.h> | 2 | #include <asm/page.h> |
4 | 3 | ||
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index f332e3fe4237..e14c492a8a93 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c | |||
@@ -677,12 +677,19 @@ sba_alloc_range(struct ioc *ioc, struct device *dev, size_t size) | |||
677 | spin_unlock_irqrestore(&ioc->saved_lock, flags); | 677 | spin_unlock_irqrestore(&ioc->saved_lock, flags); |
678 | 678 | ||
679 | pide = sba_search_bitmap(ioc, dev, pages_needed, 0); | 679 | pide = sba_search_bitmap(ioc, dev, pages_needed, 0); |
680 | if (unlikely(pide >= (ioc->res_size << 3))) | 680 | if (unlikely(pide >= (ioc->res_size << 3))) { |
681 | panic(__FILE__ ": I/O MMU @ %p is out of mapping resources\n", | 681 | printk(KERN_WARNING "%s: I/O MMU @ %p is" |
682 | ioc->ioc_hpa); | 682 | "out of mapping resources, %u %u %lx\n", |
683 | __func__, ioc->ioc_hpa, ioc->res_size, | ||
684 | pages_needed, dma_get_seg_boundary(dev)); | ||
685 | return -1; | ||
686 | } | ||
683 | #else | 687 | #else |
684 | panic(__FILE__ ": I/O MMU @ %p is out of mapping resources\n", | 688 | printk(KERN_WARNING "%s: I/O MMU @ %p is" |
685 | ioc->ioc_hpa); | 689 | "out of mapping resources, %u %u %lx\n", |
690 | __func__, ioc->ioc_hpa, ioc->res_size, | ||
691 | pages_needed, dma_get_seg_boundary(dev)); | ||
692 | return -1; | ||
686 | #endif | 693 | #endif |
687 | } | 694 | } |
688 | } | 695 | } |
@@ -965,6 +972,8 @@ static dma_addr_t sba_map_page(struct device *dev, struct page *page, | |||
965 | #endif | 972 | #endif |
966 | 973 | ||
967 | pide = sba_alloc_range(ioc, dev, size); | 974 | pide = sba_alloc_range(ioc, dev, size); |
975 | if (pide < 0) | ||
976 | return 0; | ||
968 | 977 | ||
969 | iovp = (dma_addr_t) pide << iovp_shift; | 978 | iovp = (dma_addr_t) pide << iovp_shift; |
970 | 979 | ||
@@ -1320,6 +1329,7 @@ sba_coalesce_chunks(struct ioc *ioc, struct device *dev, | |||
1320 | unsigned long dma_offset, dma_len; /* start/len of DMA stream */ | 1329 | unsigned long dma_offset, dma_len; /* start/len of DMA stream */ |
1321 | int n_mappings = 0; | 1330 | int n_mappings = 0; |
1322 | unsigned int max_seg_size = dma_get_max_seg_size(dev); | 1331 | unsigned int max_seg_size = dma_get_max_seg_size(dev); |
1332 | int idx; | ||
1323 | 1333 | ||
1324 | while (nents > 0) { | 1334 | while (nents > 0) { |
1325 | unsigned long vaddr = (unsigned long) sba_sg_address(startsg); | 1335 | unsigned long vaddr = (unsigned long) sba_sg_address(startsg); |
@@ -1418,16 +1428,22 @@ sba_coalesce_chunks(struct ioc *ioc, struct device *dev, | |||
1418 | vcontig_sg->dma_length = vcontig_len; | 1428 | vcontig_sg->dma_length = vcontig_len; |
1419 | dma_len = (dma_len + dma_offset + ~iovp_mask) & iovp_mask; | 1429 | dma_len = (dma_len + dma_offset + ~iovp_mask) & iovp_mask; |
1420 | ASSERT(dma_len <= DMA_CHUNK_SIZE); | 1430 | ASSERT(dma_len <= DMA_CHUNK_SIZE); |
1421 | dma_sg->dma_address = (dma_addr_t) (PIDE_FLAG | 1431 | idx = sba_alloc_range(ioc, dev, dma_len); |
1422 | | (sba_alloc_range(ioc, dev, dma_len) << iovp_shift) | 1432 | if (idx < 0) { |
1423 | | dma_offset); | 1433 | dma_sg->dma_length = 0; |
1434 | return -1; | ||
1435 | } | ||
1436 | dma_sg->dma_address = (dma_addr_t)(PIDE_FLAG | (idx << iovp_shift) | ||
1437 | | dma_offset); | ||
1424 | n_mappings++; | 1438 | n_mappings++; |
1425 | } | 1439 | } |
1426 | 1440 | ||
1427 | return n_mappings; | 1441 | return n_mappings; |
1428 | } | 1442 | } |
1429 | 1443 | ||
1430 | 1444 | static void sba_unmap_sg_attrs(struct device *dev, struct scatterlist *sglist, | |
1445 | int nents, enum dma_data_direction dir, | ||
1446 | struct dma_attrs *attrs); | ||
1431 | /** | 1447 | /** |
1432 | * sba_map_sg - map Scatter/Gather list | 1448 | * sba_map_sg - map Scatter/Gather list |
1433 | * @dev: instance of PCI owned by the driver that's asking. | 1449 | * @dev: instance of PCI owned by the driver that's asking. |
@@ -1493,6 +1509,10 @@ static int sba_map_sg_attrs(struct device *dev, struct scatterlist *sglist, | |||
1493 | ** Access to the virtual address is what forces a two pass algorithm. | 1509 | ** Access to the virtual address is what forces a two pass algorithm. |
1494 | */ | 1510 | */ |
1495 | coalesced = sba_coalesce_chunks(ioc, dev, sglist, nents); | 1511 | coalesced = sba_coalesce_chunks(ioc, dev, sglist, nents); |
1512 | if (coalesced < 0) { | ||
1513 | sba_unmap_sg_attrs(dev, sglist, nents, dir, attrs); | ||
1514 | return 0; | ||
1515 | } | ||
1496 | 1516 | ||
1497 | /* | 1517 | /* |
1498 | ** Program the I/O Pdir | 1518 | ** Program the I/O Pdir |
diff --git a/arch/ia64/ia32/elfcore32.h b/arch/ia64/ia32/elfcore32.h index 9a3abf58cea3..657725742617 100644 --- a/arch/ia64/ia32/elfcore32.h +++ b/arch/ia64/ia32/elfcore32.h | |||
@@ -11,8 +11,6 @@ | |||
11 | #include <asm/intrinsics.h> | 11 | #include <asm/intrinsics.h> |
12 | #include <asm/uaccess.h> | 12 | #include <asm/uaccess.h> |
13 | 13 | ||
14 | #define USE_ELF_CORE_DUMP 1 | ||
15 | |||
16 | /* Override elfcore.h */ | 14 | /* Override elfcore.h */ |
17 | #define _LINUX_ELFCORE_H 1 | 15 | #define _LINUX_ELFCORE_H 1 |
18 | typedef unsigned int elf_greg_t; | 16 | typedef unsigned int elf_greg_t; |
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h index 8d3c79cd81e7..7d09a09cdaad 100644 --- a/arch/ia64/include/asm/dma-mapping.h +++ b/arch/ia64/include/asm/dma-mapping.h | |||
@@ -73,7 +73,7 @@ static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) | |||
73 | if (!dev->dma_mask) | 73 | if (!dev->dma_mask) |
74 | return 0; | 74 | return 0; |
75 | 75 | ||
76 | return addr + size <= *dev->dma_mask; | 76 | return addr + size - 1 <= *dev->dma_mask; |
77 | } | 77 | } |
78 | 78 | ||
79 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) | 79 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) |
diff --git a/arch/ia64/include/asm/elf.h b/arch/ia64/include/asm/elf.h index 86eddee029cb..e14108b19c09 100644 --- a/arch/ia64/include/asm/elf.h +++ b/arch/ia64/include/asm/elf.h | |||
@@ -25,7 +25,6 @@ | |||
25 | #define ELF_DATA ELFDATA2LSB | 25 | #define ELF_DATA ELFDATA2LSB |
26 | #define ELF_ARCH EM_IA_64 | 26 | #define ELF_ARCH EM_IA_64 |
27 | 27 | ||
28 | #define USE_ELF_CORE_DUMP | ||
29 | #define CORE_DUMP_USE_REGSET | 28 | #define CORE_DUMP_USE_REGSET |
30 | 29 | ||
31 | /* Least-significant four bits of ELF header's e_flags are OS-specific. The bits are | 30 | /* Least-significant four bits of ELF header's e_flags are OS-specific. The bits are |
diff --git a/arch/ia64/include/asm/hw_irq.h b/arch/ia64/include/asm/hw_irq.h index 91619b31dbf5..bf2e37493e04 100644 --- a/arch/ia64/include/asm/hw_irq.h +++ b/arch/ia64/include/asm/hw_irq.h | |||
@@ -59,7 +59,13 @@ typedef u16 ia64_vector; | |||
59 | extern int ia64_first_device_vector; | 59 | extern int ia64_first_device_vector; |
60 | extern int ia64_last_device_vector; | 60 | extern int ia64_last_device_vector; |
61 | 61 | ||
62 | #if defined(CONFIG_SMP) && (defined(CONFIG_IA64_GENERIC) || defined (CONFIG_IA64_DIG)) | ||
63 | /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */ | ||
64 | #define IA64_IRQ_MOVE_VECTOR 0x30 /* "move IRQ" IPI */ | ||
65 | #define IA64_DEF_FIRST_DEVICE_VECTOR 0x31 | ||
66 | #else | ||
62 | #define IA64_DEF_FIRST_DEVICE_VECTOR 0x30 | 67 | #define IA64_DEF_FIRST_DEVICE_VECTOR 0x30 |
68 | #endif | ||
63 | #define IA64_DEF_LAST_DEVICE_VECTOR 0xe7 | 69 | #define IA64_DEF_LAST_DEVICE_VECTOR 0xe7 |
64 | #define IA64_FIRST_DEVICE_VECTOR ia64_first_device_vector | 70 | #define IA64_FIRST_DEVICE_VECTOR ia64_first_device_vector |
65 | #define IA64_LAST_DEVICE_VECTOR ia64_last_device_vector | 71 | #define IA64_LAST_DEVICE_VECTOR ia64_last_device_vector |
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h index 0d9d16e2d949..cc8335eb3110 100644 --- a/arch/ia64/include/asm/io.h +++ b/arch/ia64/include/asm/io.h | |||
@@ -424,6 +424,8 @@ __writeq (unsigned long val, volatile void __iomem *addr) | |||
424 | extern void __iomem * ioremap(unsigned long offset, unsigned long size); | 424 | extern void __iomem * ioremap(unsigned long offset, unsigned long size); |
425 | extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); | 425 | extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); |
426 | extern void iounmap (volatile void __iomem *addr); | 426 | extern void iounmap (volatile void __iomem *addr); |
427 | extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size); | ||
428 | extern void early_iounmap (volatile void __iomem *addr, unsigned long size); | ||
427 | 429 | ||
428 | /* | 430 | /* |
429 | * String version of IO memory access ops: | 431 | * String version of IO memory access ops: |
diff --git a/arch/ia64/include/asm/mca.h b/arch/ia64/include/asm/mca.h index c171cdf0a789..43f96ab18fa0 100644 --- a/arch/ia64/include/asm/mca.h +++ b/arch/ia64/include/asm/mca.h | |||
@@ -106,6 +106,11 @@ struct ia64_sal_os_state { | |||
106 | unsigned long os_status; /* OS status to SAL, enum below */ | 106 | unsigned long os_status; /* OS status to SAL, enum below */ |
107 | unsigned long context; /* 0 if return to same context | 107 | unsigned long context; /* 0 if return to same context |
108 | 1 if return to new context */ | 108 | 1 if return to new context */ |
109 | |||
110 | /* I-resources */ | ||
111 | unsigned long iip; | ||
112 | unsigned long ipsr; | ||
113 | unsigned long ifs; | ||
109 | }; | 114 | }; |
110 | 115 | ||
111 | enum { | 116 | enum { |
diff --git a/arch/ia64/include/asm/rwsem.h b/arch/ia64/include/asm/rwsem.h index fbee74b15782..e8762688e8e3 100644 --- a/arch/ia64/include/asm/rwsem.h +++ b/arch/ia64/include/asm/rwsem.h | |||
@@ -47,7 +47,7 @@ struct rw_semaphore { | |||
47 | #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) | 47 | #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) |
48 | 48 | ||
49 | #define __RWSEM_INITIALIZER(name) \ | 49 | #define __RWSEM_INITIALIZER(name) \ |
50 | { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ | 50 | { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ |
51 | LIST_HEAD_INIT((name).wait_list) } | 51 | LIST_HEAD_INIT((name).wait_list) } |
52 | 52 | ||
53 | #define DECLARE_RWSEM(name) \ | 53 | #define DECLARE_RWSEM(name) \ |
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index 70e4bad23432..d4093a173a3e 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -260,7 +260,6 @@ void __setup_vector_irq(int cpu) | |||
260 | } | 260 | } |
261 | 261 | ||
262 | #if defined(CONFIG_SMP) && (defined(CONFIG_IA64_GENERIC) || defined(CONFIG_IA64_DIG)) | 262 | #if defined(CONFIG_SMP) && (defined(CONFIG_IA64_GENERIC) || defined(CONFIG_IA64_DIG)) |
263 | #define IA64_IRQ_MOVE_VECTOR IA64_DEF_FIRST_DEVICE_VECTOR | ||
264 | 263 | ||
265 | static enum vector_domain_type { | 264 | static enum vector_domain_type { |
266 | VECTOR_DOMAIN_NONE, | 265 | VECTOR_DOMAIN_NONE, |
@@ -659,11 +658,8 @@ init_IRQ (void) | |||
659 | register_percpu_irq(IA64_SPURIOUS_INT_VECTOR, NULL); | 658 | register_percpu_irq(IA64_SPURIOUS_INT_VECTOR, NULL); |
660 | #ifdef CONFIG_SMP | 659 | #ifdef CONFIG_SMP |
661 | #if defined(CONFIG_IA64_GENERIC) || defined(CONFIG_IA64_DIG) | 660 | #if defined(CONFIG_IA64_GENERIC) || defined(CONFIG_IA64_DIG) |
662 | if (vector_domain_type != VECTOR_DOMAIN_NONE) { | 661 | if (vector_domain_type != VECTOR_DOMAIN_NONE) |
663 | BUG_ON(IA64_FIRST_DEVICE_VECTOR != IA64_IRQ_MOVE_VECTOR); | ||
664 | IA64_FIRST_DEVICE_VECTOR++; | ||
665 | register_percpu_irq(IA64_IRQ_MOVE_VECTOR, &irq_move_irqaction); | 662 | register_percpu_irq(IA64_IRQ_MOVE_VECTOR, &irq_move_irqaction); |
666 | } | ||
667 | #endif | 663 | #endif |
668 | #endif | 664 | #endif |
669 | #ifdef CONFIG_PERFMON | 665 | #ifdef CONFIG_PERFMON |
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 496ac7a99488..32f2639e9b0a 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -888,9 +888,10 @@ ia64_mca_modify_comm(const struct task_struct *previous_current) | |||
888 | } | 888 | } |
889 | 889 | ||
890 | static void | 890 | static void |
891 | finish_pt_regs(struct pt_regs *regs, const pal_min_state_area_t *ms, | 891 | finish_pt_regs(struct pt_regs *regs, struct ia64_sal_os_state *sos, |
892 | unsigned long *nat) | 892 | unsigned long *nat) |
893 | { | 893 | { |
894 | const pal_min_state_area_t *ms = sos->pal_min_state; | ||
894 | const u64 *bank; | 895 | const u64 *bank; |
895 | 896 | ||
896 | /* If ipsr.ic then use pmsa_{iip,ipsr,ifs}, else use | 897 | /* If ipsr.ic then use pmsa_{iip,ipsr,ifs}, else use |
@@ -904,6 +905,10 @@ finish_pt_regs(struct pt_regs *regs, const pal_min_state_area_t *ms, | |||
904 | regs->cr_iip = ms->pmsa_xip; | 905 | regs->cr_iip = ms->pmsa_xip; |
905 | regs->cr_ipsr = ms->pmsa_xpsr; | 906 | regs->cr_ipsr = ms->pmsa_xpsr; |
906 | regs->cr_ifs = ms->pmsa_xfs; | 907 | regs->cr_ifs = ms->pmsa_xfs; |
908 | |||
909 | sos->iip = ms->pmsa_iip; | ||
910 | sos->ipsr = ms->pmsa_ipsr; | ||
911 | sos->ifs = ms->pmsa_ifs; | ||
907 | } | 912 | } |
908 | regs->pr = ms->pmsa_pr; | 913 | regs->pr = ms->pmsa_pr; |
909 | regs->b0 = ms->pmsa_br0; | 914 | regs->b0 = ms->pmsa_br0; |
@@ -1079,7 +1084,7 @@ ia64_mca_modify_original_stack(struct pt_regs *regs, | |||
1079 | memcpy(old_regs, regs, sizeof(*regs)); | 1084 | memcpy(old_regs, regs, sizeof(*regs)); |
1080 | old_regs->loadrs = loadrs; | 1085 | old_regs->loadrs = loadrs; |
1081 | old_unat = old_regs->ar_unat; | 1086 | old_unat = old_regs->ar_unat; |
1082 | finish_pt_regs(old_regs, ms, &old_unat); | 1087 | finish_pt_regs(old_regs, sos, &old_unat); |
1083 | 1088 | ||
1084 | /* Next stack a struct switch_stack. mca_asm.S built a partial | 1089 | /* Next stack a struct switch_stack. mca_asm.S built a partial |
1085 | * switch_stack, copy it and fill in the blanks using pt_regs and | 1090 | * switch_stack, copy it and fill in the blanks using pt_regs and |
@@ -1150,7 +1155,7 @@ no_mod: | |||
1150 | mprintk(KERN_INFO "cpu %d, %s %s, original stack not modified\n", | 1155 | mprintk(KERN_INFO "cpu %d, %s %s, original stack not modified\n", |
1151 | smp_processor_id(), type, msg); | 1156 | smp_processor_id(), type, msg); |
1152 | old_unat = regs->ar_unat; | 1157 | old_unat = regs->ar_unat; |
1153 | finish_pt_regs(regs, ms, &old_unat); | 1158 | finish_pt_regs(regs, sos, &old_unat); |
1154 | return previous_current; | 1159 | return previous_current; |
1155 | } | 1160 | } |
1156 | 1161 | ||
diff --git a/arch/ia64/mm/ioremap.c b/arch/ia64/mm/ioremap.c index 2a140627dfd6..3dccdd8eb275 100644 --- a/arch/ia64/mm/ioremap.c +++ b/arch/ia64/mm/ioremap.c | |||
@@ -22,6 +22,12 @@ __ioremap (unsigned long phys_addr) | |||
22 | } | 22 | } |
23 | 23 | ||
24 | void __iomem * | 24 | void __iomem * |
25 | early_ioremap (unsigned long phys_addr, unsigned long size) | ||
26 | { | ||
27 | return __ioremap(phys_addr); | ||
28 | } | ||
29 | |||
30 | void __iomem * | ||
25 | ioremap (unsigned long phys_addr, unsigned long size) | 31 | ioremap (unsigned long phys_addr, unsigned long size) |
26 | { | 32 | { |
27 | void __iomem *addr; | 33 | void __iomem *addr; |
@@ -102,6 +108,11 @@ ioremap_nocache (unsigned long phys_addr, unsigned long size) | |||
102 | EXPORT_SYMBOL(ioremap_nocache); | 108 | EXPORT_SYMBOL(ioremap_nocache); |
103 | 109 | ||
104 | void | 110 | void |
111 | early_iounmap (volatile void __iomem *addr, unsigned long size) | ||
112 | { | ||
113 | } | ||
114 | |||
115 | void | ||
105 | iounmap (volatile void __iomem *addr) | 116 | iounmap (volatile void __iomem *addr) |
106 | { | 117 | { |
107 | if (REGION_NUMBER(addr) == RGN_GATE) | 118 | if (REGION_NUMBER(addr) == RGN_GATE) |
diff --git a/arch/ia64/sn/pci/tioca_provider.c b/arch/ia64/sn/pci/tioca_provider.c index 35b2a27d2e77..efb454534e52 100644 --- a/arch/ia64/sn/pci/tioca_provider.c +++ b/arch/ia64/sn/pci/tioca_provider.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
10 | #include <linux/interrupt.h> | 10 | #include <linux/interrupt.h> |
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <linux/bitmap.h> | ||
12 | #include <asm/sn/sn_sal.h> | 13 | #include <asm/sn/sn_sal.h> |
13 | #include <asm/sn/addrs.h> | 14 | #include <asm/sn/addrs.h> |
14 | #include <asm/sn/io.h> | 15 | #include <asm/sn/io.h> |
@@ -369,7 +370,7 @@ tioca_dma_d48(struct pci_dev *pdev, u64 paddr) | |||
369 | static dma_addr_t | 370 | static dma_addr_t |
370 | tioca_dma_mapped(struct pci_dev *pdev, unsigned long paddr, size_t req_size) | 371 | tioca_dma_mapped(struct pci_dev *pdev, unsigned long paddr, size_t req_size) |
371 | { | 372 | { |
372 | int i, ps, ps_shift, entry, entries, mapsize, last_entry; | 373 | int ps, ps_shift, entry, entries, mapsize; |
373 | u64 xio_addr, end_xio_addr; | 374 | u64 xio_addr, end_xio_addr; |
374 | struct tioca_common *tioca_common; | 375 | struct tioca_common *tioca_common; |
375 | struct tioca_kernel *tioca_kern; | 376 | struct tioca_kernel *tioca_kern; |
@@ -410,23 +411,13 @@ tioca_dma_mapped(struct pci_dev *pdev, unsigned long paddr, size_t req_size) | |||
410 | map = tioca_kern->ca_pcigart_pagemap; | 411 | map = tioca_kern->ca_pcigart_pagemap; |
411 | mapsize = tioca_kern->ca_pcigart_entries; | 412 | mapsize = tioca_kern->ca_pcigart_entries; |
412 | 413 | ||
413 | entry = find_first_zero_bit(map, mapsize); | 414 | entry = bitmap_find_next_zero_area(map, mapsize, 0, entries, 0); |
414 | while (entry < mapsize) { | 415 | if (entry >= mapsize) { |
415 | last_entry = find_next_bit(map, mapsize, entry); | ||
416 | |||
417 | if (last_entry - entry >= entries) | ||
418 | break; | ||
419 | |||
420 | entry = find_next_zero_bit(map, mapsize, last_entry); | ||
421 | } | ||
422 | |||
423 | if (entry > mapsize) { | ||
424 | kfree(ca_dmamap); | 416 | kfree(ca_dmamap); |
425 | goto map_return; | 417 | goto map_return; |
426 | } | 418 | } |
427 | 419 | ||
428 | for (i = 0; i < entries; i++) | 420 | bitmap_set(map, entry, entries); |
429 | set_bit(entry + i, map); | ||
430 | 421 | ||
431 | bus_addr = tioca_kern->ca_pciap_base + (entry * ps); | 422 | bus_addr = tioca_kern->ca_pciap_base + (entry * ps); |
432 | 423 | ||
diff --git a/arch/m32r/include/asm/elf.h b/arch/m32r/include/asm/elf.h index 0cc34c94bf2b..2f85412ef730 100644 --- a/arch/m32r/include/asm/elf.h +++ b/arch/m32r/include/asm/elf.h | |||
@@ -102,7 +102,6 @@ typedef elf_fpreg_t elf_fpregset_t; | |||
102 | */ | 102 | */ |
103 | #define ELF_PLAT_INIT(_r, load_addr) (_r)->r0 = 0 | 103 | #define ELF_PLAT_INIT(_r, load_addr) (_r)->r0 = 0 |
104 | 104 | ||
105 | #define USE_ELF_CORE_DUMP | ||
106 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 105 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
107 | 106 | ||
108 | /* | 107 | /* |
diff --git a/arch/m68k/include/asm/elf.h b/arch/m68k/include/asm/elf.h index 0b0f49eb876b..01c193d91412 100644 --- a/arch/m68k/include/asm/elf.h +++ b/arch/m68k/include/asm/elf.h | |||
@@ -59,7 +59,6 @@ typedef struct user_m68kfp_struct elf_fpregset_t; | |||
59 | is actually used on ASV. */ | 59 | is actually used on ASV. */ |
60 | #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 | 60 | #define ELF_PLAT_INIT(_r, load_addr) _r->a1 = 0 |
61 | 61 | ||
62 | #define USE_ELF_CORE_DUMP | ||
63 | #ifndef CONFIG_SUN3 | 62 | #ifndef CONFIG_SUN3 |
64 | #define ELF_EXEC_PAGESIZE 4096 | 63 | #define ELF_EXEC_PAGESIZE 4096 |
65 | #else | 64 | #else |
diff --git a/arch/microblaze/include/asm/elf.h b/arch/microblaze/include/asm/elf.h index f92fc0dda006..7d4acf2b278e 100644 --- a/arch/microblaze/include/asm/elf.h +++ b/arch/microblaze/include/asm/elf.h | |||
@@ -77,7 +77,6 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | |||
77 | #define ELF_DATA ELFDATA2MSB | 77 | #define ELF_DATA ELFDATA2MSB |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #define USE_ELF_CORE_DUMP | ||
81 | #define ELF_EXEC_PAGESIZE 4096 | 80 | #define ELF_EXEC_PAGESIZE 4096 |
82 | 81 | ||
83 | 82 | ||
diff --git a/arch/mips/include/asm/elf.h b/arch/mips/include/asm/elf.h index 7990694cda22..7a6a35dbe529 100644 --- a/arch/mips/include/asm/elf.h +++ b/arch/mips/include/asm/elf.h | |||
@@ -326,7 +326,6 @@ extern int dump_task_fpu(struct task_struct *, elf_fpregset_t *); | |||
326 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) \ | 326 | #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) \ |
327 | dump_task_fpu(tsk, elf_fpregs) | 327 | dump_task_fpu(tsk, elf_fpregs) |
328 | 328 | ||
329 | #define USE_ELF_CORE_DUMP | ||
330 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 329 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
331 | 330 | ||
332 | /* This yields a mask that user programs can use to figure out what | 331 | /* This yields a mask that user programs can use to figure out what |
diff --git a/arch/mn10300/include/asm/elf.h b/arch/mn10300/include/asm/elf.h index 75a70aa9fd6f..e5fa97cd9a14 100644 --- a/arch/mn10300/include/asm/elf.h +++ b/arch/mn10300/include/asm/elf.h | |||
@@ -77,7 +77,6 @@ do { \ | |||
77 | _ur->a1 = 0; _ur->a0 = 0; _ur->d1 = 0; _ur->d0 = 0; \ | 77 | _ur->a1 = 0; _ur->a0 = 0; _ur->d1 = 0; _ur->d0 = 0; \ |
78 | } while (0) | 78 | } while (0) |
79 | 79 | ||
80 | #define USE_ELF_CORE_DUMP | ||
81 | #define CORE_DUMP_USE_REGSET | 80 | #define CORE_DUMP_USE_REGSET |
82 | #define ELF_EXEC_PAGESIZE 4096 | 81 | #define ELF_EXEC_PAGESIZE 4096 |
83 | 82 | ||
diff --git a/arch/parisc/include/asm/bug.h b/arch/parisc/include/asm/bug.h index 8cfc553fc837..75e46c557a16 100644 --- a/arch/parisc/include/asm/bug.h +++ b/arch/parisc/include/asm/bug.h | |||
@@ -32,14 +32,14 @@ | |||
32 | "\t.popsection" \ | 32 | "\t.popsection" \ |
33 | : : "i" (__FILE__), "i" (__LINE__), \ | 33 | : : "i" (__FILE__), "i" (__LINE__), \ |
34 | "i" (0), "i" (sizeof(struct bug_entry)) ); \ | 34 | "i" (0), "i" (sizeof(struct bug_entry)) ); \ |
35 | for(;;) ; \ | 35 | unreachable(); \ |
36 | } while(0) | 36 | } while(0) |
37 | 37 | ||
38 | #else | 38 | #else |
39 | #define BUG() \ | 39 | #define BUG() \ |
40 | do { \ | 40 | do { \ |
41 | asm volatile(PARISC_BUG_BREAK_ASM : : ); \ | 41 | asm volatile(PARISC_BUG_BREAK_ASM : : ); \ |
42 | for(;;) ; \ | 42 | unreachable(); \ |
43 | } while(0) | 43 | } while(0) |
44 | #endif | 44 | #endif |
45 | 45 | ||
diff --git a/arch/parisc/include/asm/elf.h b/arch/parisc/include/asm/elf.h index 9c802eb4be84..19f6cb1a4a1c 100644 --- a/arch/parisc/include/asm/elf.h +++ b/arch/parisc/include/asm/elf.h | |||
@@ -328,7 +328,6 @@ struct pt_regs; /* forward declaration... */ | |||
328 | such function. */ | 328 | such function. */ |
329 | #define ELF_PLAT_INIT(_r, load_addr) _r->gr[23] = 0 | 329 | #define ELF_PLAT_INIT(_r, load_addr) _r->gr[23] = 0 |
330 | 330 | ||
331 | #define USE_ELF_CORE_DUMP | ||
332 | #define ELF_EXEC_PAGESIZE 4096 | 331 | #define ELF_EXEC_PAGESIZE 4096 |
333 | 332 | ||
334 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 333 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/parisc/include/asm/ftrace.h b/arch/parisc/include/asm/ftrace.h index 2fa05dd6aeee..72c0fafaa039 100644 --- a/arch/parisc/include/asm/ftrace.h +++ b/arch/parisc/include/asm/ftrace.h | |||
@@ -20,6 +20,20 @@ struct ftrace_ret_stack { | |||
20 | * Defined in entry.S | 20 | * Defined in entry.S |
21 | */ | 21 | */ |
22 | extern void return_to_handler(void); | 22 | extern void return_to_handler(void); |
23 | |||
24 | |||
25 | extern unsigned long return_address(unsigned int); | ||
26 | |||
27 | #define HAVE_ARCH_CALLER_ADDR | ||
28 | |||
29 | #define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0)) | ||
30 | #define CALLER_ADDR1 return_address(1) | ||
31 | #define CALLER_ADDR2 return_address(2) | ||
32 | #define CALLER_ADDR3 return_address(3) | ||
33 | #define CALLER_ADDR4 return_address(4) | ||
34 | #define CALLER_ADDR5 return_address(5) | ||
35 | #define CALLER_ADDR6 return_address(6) | ||
36 | |||
23 | #endif /* __ASSEMBLY__ */ | 37 | #endif /* __ASSEMBLY__ */ |
24 | 38 | ||
25 | #endif /* _ASM_PARISC_FTRACE_H */ | 39 | #endif /* _ASM_PARISC_FTRACE_H */ |
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c index fcd3c707bf12..ec787b411e9a 100644 --- a/arch/parisc/kernel/asm-offsets.c +++ b/arch/parisc/kernel/asm-offsets.c | |||
@@ -244,9 +244,6 @@ int main(void) | |||
244 | DEFINE(THREAD_SZ, sizeof(struct thread_info)); | 244 | DEFINE(THREAD_SZ, sizeof(struct thread_info)); |
245 | DEFINE(THREAD_SZ_ALGN, align(sizeof(struct thread_info), 64)); | 245 | DEFINE(THREAD_SZ_ALGN, align(sizeof(struct thread_info), 64)); |
246 | BLANK(); | 246 | BLANK(); |
247 | DEFINE(IRQSTAT_SIRQ_PEND, offsetof(irq_cpustat_t, __softirq_pending)); | ||
248 | DEFINE(IRQSTAT_SZ, sizeof(irq_cpustat_t)); | ||
249 | BLANK(); | ||
250 | DEFINE(ICACHE_BASE, offsetof(struct pdc_cache_info, ic_base)); | 247 | DEFINE(ICACHE_BASE, offsetof(struct pdc_cache_info, ic_base)); |
251 | DEFINE(ICACHE_STRIDE, offsetof(struct pdc_cache_info, ic_stride)); | 248 | DEFINE(ICACHE_STRIDE, offsetof(struct pdc_cache_info, ic_stride)); |
252 | DEFINE(ICACHE_COUNT, offsetof(struct pdc_cache_info, ic_count)); | 249 | DEFINE(ICACHE_COUNT, offsetof(struct pdc_cache_info, ic_count)); |
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index f47465e8d040..efbcee5d2220 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c | |||
@@ -145,7 +145,7 @@ static int cpu_set_affinity_irq(unsigned int irq, const struct cpumask *dest) | |||
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | static struct irq_chip cpu_interrupt_type = { | 147 | static struct irq_chip cpu_interrupt_type = { |
148 | .typename = "CPU", | 148 | .name = "CPU", |
149 | .startup = cpu_startup_irq, | 149 | .startup = cpu_startup_irq, |
150 | .shutdown = cpu_disable_irq, | 150 | .shutdown = cpu_disable_irq, |
151 | .enable = cpu_enable_irq, | 151 | .enable = cpu_enable_irq, |
@@ -192,7 +192,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
192 | seq_printf(p, "%10u ", kstat_irqs(i)); | 192 | seq_printf(p, "%10u ", kstat_irqs(i)); |
193 | #endif | 193 | #endif |
194 | 194 | ||
195 | seq_printf(p, " %14s", irq_desc[i].chip->typename); | 195 | seq_printf(p, " %14s", irq_desc[i].chip->name); |
196 | #ifndef PARISC_IRQ_CR16_COUNTS | 196 | #ifndef PARISC_IRQ_CR16_COUNTS |
197 | seq_printf(p, " %s", action->name); | 197 | seq_printf(p, " %s", action->name); |
198 | 198 | ||
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index e8467e4aa8d1..fb37ac52e46c 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/stddef.h> | 26 | #include <linux/stddef.h> |
27 | #include <linux/compat.h> | 27 | #include <linux/compat.h> |
28 | #include <linux/elf.h> | 28 | #include <linux/elf.h> |
29 | #include <linux/tracehook.h> | ||
30 | #include <asm/ucontext.h> | 29 | #include <asm/ucontext.h> |
31 | #include <asm/rt_sigframe.h> | 30 | #include <asm/rt_sigframe.h> |
32 | #include <asm/uaccess.h> | 31 | #include <asm/uaccess.h> |
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 1fd0f0cec037..3f2fce8ce6b6 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c | |||
@@ -60,8 +60,6 @@ static int smp_debug_lvl = 0; | |||
60 | #define smp_debug(lvl, ...) do { } while(0) | 60 | #define smp_debug(lvl, ...) do { } while(0) |
61 | #endif /* DEBUG_SMP */ | 61 | #endif /* DEBUG_SMP */ |
62 | 62 | ||
63 | DEFINE_SPINLOCK(smp_lock); | ||
64 | |||
65 | volatile struct task_struct *smp_init_current_idle_task; | 63 | volatile struct task_struct *smp_init_current_idle_task; |
66 | 64 | ||
67 | /* track which CPU is booting */ | 65 | /* track which CPU is booting */ |
@@ -69,7 +67,7 @@ static volatile int cpu_now_booting __cpuinitdata; | |||
69 | 67 | ||
70 | static int parisc_max_cpus __cpuinitdata = 1; | 68 | static int parisc_max_cpus __cpuinitdata = 1; |
71 | 69 | ||
72 | DEFINE_PER_CPU(spinlock_t, ipi_lock) = SPIN_LOCK_UNLOCKED; | 70 | static DEFINE_PER_CPU(spinlock_t, ipi_lock); |
73 | 71 | ||
74 | enum ipi_message_type { | 72 | enum ipi_message_type { |
75 | IPI_NOP=0, | 73 | IPI_NOP=0, |
@@ -438,6 +436,11 @@ void __init smp_prepare_boot_cpu(void) | |||
438 | */ | 436 | */ |
439 | void __init smp_prepare_cpus(unsigned int max_cpus) | 437 | void __init smp_prepare_cpus(unsigned int max_cpus) |
440 | { | 438 | { |
439 | int cpu; | ||
440 | |||
441 | for_each_possible_cpu(cpu) | ||
442 | spin_lock_init(&per_cpu(ipi_lock, cpu)); | ||
443 | |||
441 | init_cpu_present(cpumask_of(0)); | 444 | init_cpu_present(cpumask_of(0)); |
442 | 445 | ||
443 | parisc_max_cpus = max_cpus; | 446 | parisc_max_cpus = max_cpus; |
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index 76d23ec8dfaa..9779ece2b070 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -26,13 +26,7 @@ | |||
26 | #include <linux/shm.h> | 26 | #include <linux/shm.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <linux/uio.h> | 28 | #include <linux/uio.h> |
29 | #include <linux/nfs_fs.h> | ||
30 | #include <linux/ncp_fs.h> | 29 | #include <linux/ncp_fs.h> |
31 | #include <linux/sunrpc/svc.h> | ||
32 | #include <linux/nfsd/nfsd.h> | ||
33 | #include <linux/nfsd/cache.h> | ||
34 | #include <linux/nfsd/xdr.h> | ||
35 | #include <linux/nfsd/syscall.h> | ||
36 | #include <linux/poll.h> | 30 | #include <linux/poll.h> |
37 | #include <linux/personality.h> | 31 | #include <linux/personality.h> |
38 | #include <linux/stat.h> | 32 | #include <linux/stat.h> |
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index a36799e85693..d58eac1a8288 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/kallsyms.h> | 15 | #include <linux/kallsyms.h> |
16 | #include <linux/sort.h> | ||
16 | 17 | ||
17 | #include <asm/uaccess.h> | 18 | #include <asm/uaccess.h> |
18 | #include <asm/assembly.h> | 19 | #include <asm/assembly.h> |
@@ -115,24 +116,18 @@ unwind_table_init(struct unwind_table *table, const char *name, | |||
115 | } | 116 | } |
116 | } | 117 | } |
117 | 118 | ||
119 | static int cmp_unwind_table_entry(const void *a, const void *b) | ||
120 | { | ||
121 | return ((const struct unwind_table_entry *)a)->region_start | ||
122 | - ((const struct unwind_table_entry *)b)->region_start; | ||
123 | } | ||
124 | |||
118 | static void | 125 | static void |
119 | unwind_table_sort(struct unwind_table_entry *start, | 126 | unwind_table_sort(struct unwind_table_entry *start, |
120 | struct unwind_table_entry *finish) | 127 | struct unwind_table_entry *finish) |
121 | { | 128 | { |
122 | struct unwind_table_entry el, *p, *q; | 129 | sort(start, finish - start, sizeof(struct unwind_table_entry), |
123 | 130 | cmp_unwind_table_entry, NULL); | |
124 | for (p = start + 1; p < finish; ++p) { | ||
125 | if (p[0].region_start < p[-1].region_start) { | ||
126 | el = *p; | ||
127 | q = p; | ||
128 | do { | ||
129 | q[0] = q[-1]; | ||
130 | --q; | ||
131 | } while (q > start && | ||
132 | el.region_start < q[-1].region_start); | ||
133 | *q = el; | ||
134 | } | ||
135 | } | ||
136 | } | 131 | } |
137 | 132 | ||
138 | struct unwind_table * | 133 | struct unwind_table * |
@@ -417,3 +412,30 @@ int unwind_to_user(struct unwind_frame_info *info) | |||
417 | 412 | ||
418 | return ret; | 413 | return ret; |
419 | } | 414 | } |
415 | |||
416 | unsigned long return_address(unsigned int level) | ||
417 | { | ||
418 | struct unwind_frame_info info; | ||
419 | struct pt_regs r; | ||
420 | unsigned long sp; | ||
421 | |||
422 | /* initialize unwind info */ | ||
423 | asm volatile ("copy %%r30, %0" : "=r"(sp)); | ||
424 | memset(&r, 0, sizeof(struct pt_regs)); | ||
425 | r.iaoq[0] = (unsigned long) current_text_addr(); | ||
426 | r.gr[2] = (unsigned long) __builtin_return_address(0); | ||
427 | r.gr[30] = sp; | ||
428 | unwind_frame_init(&info, current, &r); | ||
429 | |||
430 | /* unwind stack */ | ||
431 | ++level; | ||
432 | do { | ||
433 | if (unwind_once(&info) < 0 || info.ip == 0) | ||
434 | return 0; | ||
435 | if (!__kernel_text_address(info.ip)) { | ||
436 | return 0; | ||
437 | } | ||
438 | } while (info.ip && level--); | ||
439 | |||
440 | return info.ip; | ||
441 | } | ||
diff --git a/arch/powerpc/include/asm/async_tx.h b/arch/powerpc/include/asm/async_tx.h new file mode 100644 index 000000000000..8b2dc55d01ab --- /dev/null +++ b/arch/powerpc/include/asm/async_tx.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2008-2009 DENX Software Engineering. | ||
3 | * | ||
4 | * Author: Yuri Tikhonov <yur@emcraft.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the Free | ||
8 | * Software Foundation; either version 2 of the License, or (at your option) | ||
9 | * any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
14 | * more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along with | ||
17 | * this program; if not, write to the Free Software Foundation, Inc., 59 | ||
18 | * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
19 | * | ||
20 | * The full GNU General Public License is included in this distribution in the | ||
21 | * file called COPYING. | ||
22 | */ | ||
23 | #ifndef _ASM_POWERPC_ASYNC_TX_H_ | ||
24 | #define _ASM_POWERPC_ASYNC_TX_H_ | ||
25 | |||
26 | #if defined(CONFIG_440SPe) || defined(CONFIG_440SP) | ||
27 | extern struct dma_chan * | ||
28 | ppc440spe_async_tx_find_best_channel(enum dma_transaction_type cap, | ||
29 | struct page **dst_lst, int dst_cnt, struct page **src_lst, | ||
30 | int src_cnt, size_t src_sz); | ||
31 | |||
32 | #define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \ | ||
33 | src_cnt, src_sz) \ | ||
34 | ppc440spe_async_tx_find_best_channel(cap, dst_lst, dst_cnt, src_lst, \ | ||
35 | src_cnt, src_sz) | ||
36 | #else | ||
37 | |||
38 | #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \ | ||
39 | __async_tx_find_channel(dep, type) | ||
40 | |||
41 | struct dma_chan * | ||
42 | __async_tx_find_channel(struct async_submit_ctl *submit, | ||
43 | enum dma_transaction_type tx_type); | ||
44 | |||
45 | #endif | ||
46 | |||
47 | #endif | ||
diff --git a/arch/powerpc/include/asm/dcr-regs.h b/arch/powerpc/include/asm/dcr-regs.h index 828e3aa1f2fc..380274de429f 100644 --- a/arch/powerpc/include/asm/dcr-regs.h +++ b/arch/powerpc/include/asm/dcr-regs.h | |||
@@ -157,4 +157,27 @@ | |||
157 | #define L2C_SNP_SSR_32G 0x0000f000 | 157 | #define L2C_SNP_SSR_32G 0x0000f000 |
158 | #define L2C_SNP_ESR 0x00000800 | 158 | #define L2C_SNP_ESR 0x00000800 |
159 | 159 | ||
160 | /* | ||
161 | * DCR register offsets for 440SP/440SPe I2O/DMA controller. | ||
162 | * The base address is configured in the device tree. | ||
163 | */ | ||
164 | #define DCRN_I2O0_IBAL 0x006 | ||
165 | #define DCRN_I2O0_IBAH 0x007 | ||
166 | #define I2O_REG_ENABLE 0x00000001 /* Enable I2O/DMA access */ | ||
167 | |||
168 | /* 440SP/440SPe Software Reset DCR */ | ||
169 | #define DCRN_SDR0_SRST 0x0200 | ||
170 | #define DCRN_SDR0_SRST_I2ODMA (0x80000000 >> 15) /* Reset I2O/DMA */ | ||
171 | |||
172 | /* 440SP/440SPe Memory Queue DCR offsets */ | ||
173 | #define DCRN_MQ0_XORBA 0x04 | ||
174 | #define DCRN_MQ0_CF2H 0x06 | ||
175 | #define DCRN_MQ0_CFBHL 0x0f | ||
176 | #define DCRN_MQ0_BAUH 0x10 | ||
177 | |||
178 | /* HB/LL Paths Configuration Register */ | ||
179 | #define MQ0_CFBHL_TPLM 28 | ||
180 | #define MQ0_CFBHL_HBCL 23 | ||
181 | #define MQ0_CFBHL_POLY 15 | ||
182 | |||
160 | #endif /* __DCR_REGS_H__ */ | 183 | #endif /* __DCR_REGS_H__ */ |
diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index e281daebddca..80a973bb9e71 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h | |||
@@ -197,7 +197,7 @@ static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) | |||
197 | if (!dev->dma_mask) | 197 | if (!dev->dma_mask) |
198 | return 0; | 198 | return 0; |
199 | 199 | ||
200 | return addr + size <= *dev->dma_mask; | 200 | return addr + size - 1 <= *dev->dma_mask; |
201 | } | 201 | } |
202 | 202 | ||
203 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) | 203 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) |
diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h index 014a624f4c8e..17828ad411eb 100644 --- a/arch/powerpc/include/asm/elf.h +++ b/arch/powerpc/include/asm/elf.h | |||
@@ -170,7 +170,6 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[ELF_NVSRHALFREG]; | |||
170 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) | 170 | #define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) |
171 | #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC) | 171 | #define compat_elf_check_arch(x) ((x)->e_machine == EM_PPC) |
172 | 172 | ||
173 | #define USE_ELF_CORE_DUMP | ||
174 | #define CORE_DUMP_USE_REGSET | 173 | #define CORE_DUMP_USE_REGSET |
175 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 174 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
176 | 175 | ||
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h index 08454880a2c0..0192a4ee2bc2 100644 --- a/arch/powerpc/include/asm/module.h +++ b/arch/powerpc/include/asm/module.h | |||
@@ -87,5 +87,10 @@ struct exception_table_entry; | |||
87 | void sort_ex_table(struct exception_table_entry *start, | 87 | void sort_ex_table(struct exception_table_entry *start, |
88 | struct exception_table_entry *finish); | 88 | struct exception_table_entry *finish); |
89 | 89 | ||
90 | #ifdef CONFIG_MODVERSIONS | ||
91 | #define ARCH_RELOCATES_KCRCTAB | ||
92 | |||
93 | extern const unsigned long reloc_start[]; | ||
94 | #endif | ||
90 | #endif /* __KERNEL__ */ | 95 | #endif /* __KERNEL__ */ |
91 | #endif /* _ASM_POWERPC_MODULE_H */ | 96 | #endif /* _ASM_POWERPC_MODULE_H */ |
diff --git a/arch/powerpc/include/asm/ptrace.h b/arch/powerpc/include/asm/ptrace.h index 8c341490cfc5..cbd759e3cd78 100644 --- a/arch/powerpc/include/asm/ptrace.h +++ b/arch/powerpc/include/asm/ptrace.h | |||
@@ -140,6 +140,8 @@ extern void user_enable_single_step(struct task_struct *); | |||
140 | extern void user_enable_block_step(struct task_struct *); | 140 | extern void user_enable_block_step(struct task_struct *); |
141 | extern void user_disable_single_step(struct task_struct *); | 141 | extern void user_disable_single_step(struct task_struct *); |
142 | 142 | ||
143 | #define ARCH_HAS_USER_SINGLE_STEP_INFO | ||
144 | |||
143 | #endif /* __ASSEMBLY__ */ | 145 | #endif /* __ASSEMBLY__ */ |
144 | 146 | ||
145 | #endif /* __KERNEL__ */ | 147 | #endif /* __KERNEL__ */ |
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index fd51578e29dd..5547ae6e6b0b 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | #include <linux/string.h> | 31 | #include <linux/string.h> |
32 | #include <linux/dma-mapping.h> | 32 | #include <linux/dma-mapping.h> |
33 | #include <linux/bitops.h> | 33 | #include <linux/bitmap.h> |
34 | #include <linux/iommu-helper.h> | 34 | #include <linux/iommu-helper.h> |
35 | #include <linux/crash_dump.h> | 35 | #include <linux/crash_dump.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
@@ -251,7 +251,7 @@ static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, | |||
251 | } | 251 | } |
252 | 252 | ||
253 | ppc_md.tce_free(tbl, entry, npages); | 253 | ppc_md.tce_free(tbl, entry, npages); |
254 | iommu_area_free(tbl->it_map, free_entry, npages); | 254 | bitmap_clear(tbl->it_map, free_entry, npages); |
255 | } | 255 | } |
256 | 256 | ||
257 | static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, | 257 | static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, |
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 804f0f30f227..d069ff8a7e03 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -174,6 +174,15 @@ int die(const char *str, struct pt_regs *regs, long err) | |||
174 | return 0; | 174 | return 0; |
175 | } | 175 | } |
176 | 176 | ||
177 | void user_single_step_siginfo(struct task_struct *tsk, | ||
178 | struct pt_regs *regs, siginfo_t *info) | ||
179 | { | ||
180 | memset(info, 0, sizeof(*info)); | ||
181 | info->si_signo = SIGTRAP; | ||
182 | info->si_code = TRAP_TRACE; | ||
183 | info->si_addr = (void __user *)regs->nip; | ||
184 | } | ||
185 | |||
177 | void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) | 186 | void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) |
178 | { | 187 | { |
179 | siginfo_t info; | 188 | siginfo_t info; |
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 27735a7ac12b..dcd01c82e701 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -38,6 +38,9 @@ jiffies = jiffies_64 + 4; | |||
38 | #endif | 38 | #endif |
39 | SECTIONS | 39 | SECTIONS |
40 | { | 40 | { |
41 | . = 0; | ||
42 | reloc_start = .; | ||
43 | |||
41 | . = KERNELBASE; | 44 | . = KERNELBASE; |
42 | 45 | ||
43 | /* | 46 | /* |
diff --git a/arch/s390/include/asm/elf.h b/arch/s390/include/asm/elf.h index e885442c1dfe..354d42616c7e 100644 --- a/arch/s390/include/asm/elf.h +++ b/arch/s390/include/asm/elf.h | |||
@@ -155,7 +155,6 @@ extern unsigned int vdso_enabled; | |||
155 | } while (0) | 155 | } while (0) |
156 | 156 | ||
157 | #define CORE_DUMP_USE_REGSET | 157 | #define CORE_DUMP_USE_REGSET |
158 | #define USE_ELF_CORE_DUMP | ||
159 | #define ELF_EXEC_PAGESIZE 4096 | 158 | #define ELF_EXEC_PAGESIZE 4096 |
160 | 159 | ||
161 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 160 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/score/include/asm/elf.h b/arch/score/include/asm/elf.h index 43526d9fda93..f478ce94181f 100644 --- a/arch/score/include/asm/elf.h +++ b/arch/score/include/asm/elf.h | |||
@@ -61,7 +61,6 @@ struct task_struct; | |||
61 | struct pt_regs; | 61 | struct pt_regs; |
62 | 62 | ||
63 | #define CORE_DUMP_USE_REGSET | 63 | #define CORE_DUMP_USE_REGSET |
64 | #define USE_ELF_CORE_DUMP | ||
65 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 64 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
66 | 65 | ||
67 | /* This yields a mask that user programs can use to figure out what | 66 | /* This yields a mask that user programs can use to figure out what |
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug index 55907af1dc25..12fec72fec5f 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug | |||
@@ -19,50 +19,6 @@ config SH_STANDARD_BIOS | |||
19 | mask ROM and no flash (WindowsCE machines fall in this category). | 19 | mask ROM and no flash (WindowsCE machines fall in this category). |
20 | If unsure, say N. | 20 | If unsure, say N. |
21 | 21 | ||
22 | config EARLY_SCIF_CONSOLE | ||
23 | bool "Use early SCIF console" | ||
24 | help | ||
25 | This enables an early console using a fixed SCIF port. This can | ||
26 | be used by platforms that are either not running the SH | ||
27 | standard BIOS, or do not wish to use the BIOS callbacks for the | ||
28 | serial I/O. | ||
29 | |||
30 | config EARLY_SCIF_CONSOLE_PORT | ||
31 | hex | ||
32 | depends on EARLY_SCIF_CONSOLE | ||
33 | default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705 | ||
34 | default "0xa4430000" if CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721 | ||
35 | default "0xf8420000" if CPU_SUBTYPE_SH7619 | ||
36 | default "0xff804000" if CPU_SUBTYPE_MXG | ||
37 | default "0xffc30000" if CPU_SUBTYPE_SHX3 | ||
38 | default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \ | ||
39 | CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \ | ||
40 | CPU_SUBTYPE_SH7343 | ||
41 | default "0xfe4c0000" if CPU_SUBTYPE_SH7757 | ||
42 | default "0xffeb0000" if CPU_SUBTYPE_SH7785 | ||
43 | default "0xffeb0000" if CPU_SUBTYPE_SH7786 | ||
44 | default "0xfffe8000" if CPU_SUBTYPE_SH7203 | ||
45 | default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263 | ||
46 | default "0xffe80000" if CPU_SH4 | ||
47 | default "0xa4000150" if CPU_SH3 | ||
48 | default "0x00000000" | ||
49 | |||
50 | config EARLY_PRINTK | ||
51 | bool "Early printk support" | ||
52 | depends on SH_STANDARD_BIOS || EARLY_SCIF_CONSOLE | ||
53 | help | ||
54 | Say Y here to redirect kernel printk messages to the serial port | ||
55 | used by the SH-IPL bootloader, starting very early in the boot | ||
56 | process and ending when the kernel's serial console is initialised. | ||
57 | This option is only useful porting the kernel to a new machine, | ||
58 | when the kernel may crash or hang before the serial console is | ||
59 | initialised. If unsure, say N. | ||
60 | |||
61 | On devices that are running SH-IPL and want to keep the port | ||
62 | initialization consistent while not using the BIOS callbacks, | ||
63 | select both the EARLY_SCIF_CONSOLE and SH_STANDARD_BIOS, using | ||
64 | the kernel command line option to toggle back and forth. | ||
65 | |||
66 | config STACK_DEBUG | 22 | config STACK_DEBUG |
67 | bool "Check for stack overflows" | 23 | bool "Check for stack overflows" |
68 | depends on DEBUG_KERNEL && SUPERH32 | 24 | depends on DEBUG_KERNEL && SUPERH32 |
diff --git a/arch/sh/boards/mach-ap325rxa/setup.c b/arch/sh/boards/mach-ap325rxa/setup.c index cf9dc12dfeb1..1f5fa5c44f6d 100644 --- a/arch/sh/boards/mach-ap325rxa/setup.c +++ b/arch/sh/boards/mach-ap325rxa/setup.c | |||
@@ -316,20 +316,24 @@ static struct soc_camera_platform_info camera_info = { | |||
316 | .format_name = "UYVY", | 316 | .format_name = "UYVY", |
317 | .format_depth = 16, | 317 | .format_depth = 16, |
318 | .format = { | 318 | .format = { |
319 | .pixelformat = V4L2_PIX_FMT_UYVY, | 319 | .code = V4L2_MBUS_FMT_YUYV8_2X8_BE, |
320 | .colorspace = V4L2_COLORSPACE_SMPTE170M, | 320 | .colorspace = V4L2_COLORSPACE_SMPTE170M, |
321 | .field = V4L2_FIELD_NONE, | ||
321 | .width = 640, | 322 | .width = 640, |
322 | .height = 480, | 323 | .height = 480, |
323 | }, | 324 | }, |
324 | .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | | 325 | .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | |
325 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | 326 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8 | |
327 | SOCAM_DATA_ACTIVE_HIGH, | ||
326 | .set_capture = camera_set_capture, | 328 | .set_capture = camera_set_capture, |
327 | .link = { | 329 | }; |
328 | .bus_id = 0, | 330 | |
329 | .add_device = ap325rxa_camera_add, | 331 | struct soc_camera_link camera_link = { |
330 | .del_device = ap325rxa_camera_del, | 332 | .bus_id = 0, |
331 | .module_name = "soc_camera_platform", | 333 | .add_device = ap325rxa_camera_add, |
332 | }, | 334 | .del_device = ap325rxa_camera_del, |
335 | .module_name = "soc_camera_platform", | ||
336 | .priv = &camera_info, | ||
333 | }; | 337 | }; |
334 | 338 | ||
335 | static void dummy_release(struct device *dev) | 339 | static void dummy_release(struct device *dev) |
@@ -347,7 +351,7 @@ static struct platform_device camera_device = { | |||
347 | static int ap325rxa_camera_add(struct soc_camera_link *icl, | 351 | static int ap325rxa_camera_add(struct soc_camera_link *icl, |
348 | struct device *dev) | 352 | struct device *dev) |
349 | { | 353 | { |
350 | if (icl != &camera_info.link || camera_probe() <= 0) | 354 | if (icl != &camera_link || camera_probe() <= 0) |
351 | return -ENODEV; | 355 | return -ENODEV; |
352 | 356 | ||
353 | camera_info.dev = dev; | 357 | camera_info.dev = dev; |
@@ -357,7 +361,7 @@ static int ap325rxa_camera_add(struct soc_camera_link *icl, | |||
357 | 361 | ||
358 | static void ap325rxa_camera_del(struct soc_camera_link *icl) | 362 | static void ap325rxa_camera_del(struct soc_camera_link *icl) |
359 | { | 363 | { |
360 | if (icl != &camera_info.link) | 364 | if (icl != &camera_link) |
361 | return; | 365 | return; |
362 | 366 | ||
363 | platform_device_unregister(&camera_device); | 367 | platform_device_unregister(&camera_device); |
@@ -470,13 +474,15 @@ static struct ov772x_camera_info ov7725_info = { | |||
470 | .buswidth = SOCAM_DATAWIDTH_8, | 474 | .buswidth = SOCAM_DATAWIDTH_8, |
471 | .flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP, | 475 | .flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP, |
472 | .edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0), | 476 | .edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0), |
473 | .link = { | 477 | }; |
474 | .bus_id = 0, | 478 | |
475 | .power = ov7725_power, | 479 | static struct soc_camera_link ov7725_link = { |
476 | .board_info = &ap325rxa_i2c_camera[0], | 480 | .bus_id = 0, |
477 | .i2c_adapter_id = 0, | 481 | .power = ov7725_power, |
478 | .module_name = "ov772x", | 482 | .board_info = &ap325rxa_i2c_camera[0], |
479 | }, | 483 | .i2c_adapter_id = 0, |
484 | .module_name = "ov772x", | ||
485 | .priv = &ov7725_info, | ||
480 | }; | 486 | }; |
481 | 487 | ||
482 | static struct platform_device ap325rxa_camera[] = { | 488 | static struct platform_device ap325rxa_camera[] = { |
@@ -484,13 +490,13 @@ static struct platform_device ap325rxa_camera[] = { | |||
484 | .name = "soc-camera-pdrv", | 490 | .name = "soc-camera-pdrv", |
485 | .id = 0, | 491 | .id = 0, |
486 | .dev = { | 492 | .dev = { |
487 | .platform_data = &ov7725_info.link, | 493 | .platform_data = &ov7725_link, |
488 | }, | 494 | }, |
489 | }, { | 495 | }, { |
490 | .name = "soc-camera-pdrv", | 496 | .name = "soc-camera-pdrv", |
491 | .id = 1, | 497 | .id = 1, |
492 | .dev = { | 498 | .dev = { |
493 | .platform_data = &camera_info.link, | 499 | .platform_data = &camera_link, |
494 | }, | 500 | }, |
495 | }, | 501 | }, |
496 | }; | 502 | }; |
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 826e62326d51..194aaca22d47 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -19,11 +19,18 @@ | |||
19 | #include <linux/usb/r8a66597.h> | 19 | #include <linux/usb/r8a66597.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/i2c/tsc2007.h> | 21 | #include <linux/i2c/tsc2007.h> |
22 | #include <linux/spi/spi.h> | ||
23 | #include <linux/spi/sh_msiof.h> | ||
24 | #include <linux/spi/mmc_spi.h> | ||
25 | #include <linux/mmc/host.h> | ||
22 | #include <linux/input.h> | 26 | #include <linux/input.h> |
23 | #include <linux/input/sh_keysc.h> | 27 | #include <linux/input/sh_keysc.h> |
24 | #include <linux/mfd/sh_mobile_sdhi.h> | 28 | #include <linux/mfd/sh_mobile_sdhi.h> |
25 | #include <video/sh_mobile_lcdc.h> | 29 | #include <video/sh_mobile_lcdc.h> |
30 | #include <sound/sh_fsi.h> | ||
26 | #include <media/sh_mobile_ceu.h> | 31 | #include <media/sh_mobile_ceu.h> |
32 | #include <media/tw9910.h> | ||
33 | #include <media/mt9t112.h> | ||
27 | #include <asm/heartbeat.h> | 34 | #include <asm/heartbeat.h> |
28 | #include <asm/sh_eth.h> | 35 | #include <asm/sh_eth.h> |
29 | #include <asm/clock.h> | 36 | #include <asm/clock.h> |
@@ -338,6 +345,12 @@ static struct platform_device ceu1_device = { | |||
338 | }; | 345 | }; |
339 | 346 | ||
340 | /* I2C device */ | 347 | /* I2C device */ |
348 | static struct i2c_board_info i2c0_devices[] = { | ||
349 | { | ||
350 | I2C_BOARD_INFO("da7210", 0x1a), | ||
351 | }, | ||
352 | }; | ||
353 | |||
341 | static struct i2c_board_info i2c1_devices[] = { | 354 | static struct i2c_board_info i2c1_devices[] = { |
342 | { | 355 | { |
343 | I2C_BOARD_INFO("r2025sd", 0x32), | 356 | I2C_BOARD_INFO("r2025sd", 0x32), |
@@ -421,6 +434,7 @@ static struct i2c_board_info ts_i2c_clients = { | |||
421 | .irq = IRQ0, | 434 | .irq = IRQ0, |
422 | }; | 435 | }; |
423 | 436 | ||
437 | #ifdef CONFIG_MFD_SH_MOBILE_SDHI | ||
424 | /* SHDI0 */ | 438 | /* SHDI0 */ |
425 | static void sdhi0_set_pwr(struct platform_device *pdev, int state) | 439 | static void sdhi0_set_pwr(struct platform_device *pdev, int state) |
426 | { | 440 | { |
@@ -493,6 +507,248 @@ static struct platform_device sdhi1_device = { | |||
493 | }, | 507 | }, |
494 | }; | 508 | }; |
495 | 509 | ||
510 | #else | ||
511 | |||
512 | static int mmc_spi_get_ro(struct device *dev) | ||
513 | { | ||
514 | return gpio_get_value(GPIO_PTY6); | ||
515 | } | ||
516 | |||
517 | static int mmc_spi_get_cd(struct device *dev) | ||
518 | { | ||
519 | return !gpio_get_value(GPIO_PTY7); | ||
520 | } | ||
521 | |||
522 | static void mmc_spi_setpower(struct device *dev, unsigned int maskval) | ||
523 | { | ||
524 | gpio_set_value(GPIO_PTB6, maskval ? 1 : 0); | ||
525 | } | ||
526 | |||
527 | static struct mmc_spi_platform_data mmc_spi_info = { | ||
528 | .get_ro = mmc_spi_get_ro, | ||
529 | .get_cd = mmc_spi_get_cd, | ||
530 | .caps = MMC_CAP_NEEDS_POLL, | ||
531 | .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* 3.3V only */ | ||
532 | .setpower = mmc_spi_setpower, | ||
533 | }; | ||
534 | |||
535 | static struct spi_board_info spi_bus[] = { | ||
536 | { | ||
537 | .modalias = "mmc_spi", | ||
538 | .platform_data = &mmc_spi_info, | ||
539 | .max_speed_hz = 5000000, | ||
540 | .mode = SPI_MODE_0, | ||
541 | .controller_data = (void *) GPIO_PTM4, | ||
542 | }, | ||
543 | }; | ||
544 | |||
545 | static struct sh_msiof_spi_info msiof0_data = { | ||
546 | .num_chipselect = 1, | ||
547 | }; | ||
548 | |||
549 | static struct resource msiof0_resources[] = { | ||
550 | [0] = { | ||
551 | .name = "MSIOF0", | ||
552 | .start = 0xa4c40000, | ||
553 | .end = 0xa4c40063, | ||
554 | .flags = IORESOURCE_MEM, | ||
555 | }, | ||
556 | [1] = { | ||
557 | .start = 84, | ||
558 | .flags = IORESOURCE_IRQ, | ||
559 | }, | ||
560 | }; | ||
561 | |||
562 | static struct platform_device msiof0_device = { | ||
563 | .name = "spi_sh_msiof", | ||
564 | .id = 0, /* MSIOF0 */ | ||
565 | .dev = { | ||
566 | .platform_data = &msiof0_data, | ||
567 | }, | ||
568 | .num_resources = ARRAY_SIZE(msiof0_resources), | ||
569 | .resource = msiof0_resources, | ||
570 | .archdata = { | ||
571 | .hwblk_id = HWBLK_MSIOF0, | ||
572 | }, | ||
573 | }; | ||
574 | |||
575 | #endif | ||
576 | |||
577 | /* I2C Video/Camera */ | ||
578 | static struct i2c_board_info i2c_camera[] = { | ||
579 | { | ||
580 | I2C_BOARD_INFO("tw9910", 0x45), | ||
581 | }, | ||
582 | { | ||
583 | /* 1st camera */ | ||
584 | I2C_BOARD_INFO("mt9t112", 0x3c), | ||
585 | }, | ||
586 | { | ||
587 | /* 2nd camera */ | ||
588 | I2C_BOARD_INFO("mt9t112", 0x3c), | ||
589 | }, | ||
590 | }; | ||
591 | |||
592 | /* tw9910 */ | ||
593 | static int tw9910_power(struct device *dev, int mode) | ||
594 | { | ||
595 | int val = mode ? 0 : 1; | ||
596 | |||
597 | gpio_set_value(GPIO_PTU2, val); | ||
598 | if (mode) | ||
599 | mdelay(100); | ||
600 | |||
601 | return 0; | ||
602 | } | ||
603 | |||
604 | static struct tw9910_video_info tw9910_info = { | ||
605 | .buswidth = SOCAM_DATAWIDTH_8, | ||
606 | .mpout = TW9910_MPO_FIELD, | ||
607 | }; | ||
608 | |||
609 | static struct soc_camera_link tw9910_link = { | ||
610 | .i2c_adapter_id = 0, | ||
611 | .bus_id = 1, | ||
612 | .power = tw9910_power, | ||
613 | .board_info = &i2c_camera[0], | ||
614 | .module_name = "tw9910", | ||
615 | .priv = &tw9910_info, | ||
616 | }; | ||
617 | |||
618 | /* mt9t112 */ | ||
619 | static int mt9t112_power1(struct device *dev, int mode) | ||
620 | { | ||
621 | gpio_set_value(GPIO_PTA3, mode); | ||
622 | if (mode) | ||
623 | mdelay(100); | ||
624 | |||
625 | return 0; | ||
626 | } | ||
627 | |||
628 | static struct mt9t112_camera_info mt9t112_info1 = { | ||
629 | .flags = MT9T112_FLAG_PCLK_RISING_EDGE | MT9T112_FLAG_DATAWIDTH_8, | ||
630 | .divider = { 0x49, 0x6, 0, 6, 0, 9, 9, 6, 0 }, /* for 24MHz */ | ||
631 | }; | ||
632 | |||
633 | static struct soc_camera_link mt9t112_link1 = { | ||
634 | .i2c_adapter_id = 0, | ||
635 | .power = mt9t112_power1, | ||
636 | .bus_id = 0, | ||
637 | .board_info = &i2c_camera[1], | ||
638 | .module_name = "mt9t112", | ||
639 | .priv = &mt9t112_info1, | ||
640 | }; | ||
641 | |||
642 | static int mt9t112_power2(struct device *dev, int mode) | ||
643 | { | ||
644 | gpio_set_value(GPIO_PTA4, mode); | ||
645 | if (mode) | ||
646 | mdelay(100); | ||
647 | |||
648 | return 0; | ||
649 | } | ||
650 | |||
651 | static struct mt9t112_camera_info mt9t112_info2 = { | ||
652 | .flags = MT9T112_FLAG_PCLK_RISING_EDGE | MT9T112_FLAG_DATAWIDTH_8, | ||
653 | .divider = { 0x49, 0x6, 0, 6, 0, 9, 9, 6, 0 }, /* for 24MHz */ | ||
654 | }; | ||
655 | |||
656 | static struct soc_camera_link mt9t112_link2 = { | ||
657 | .i2c_adapter_id = 1, | ||
658 | .power = mt9t112_power2, | ||
659 | .bus_id = 1, | ||
660 | .board_info = &i2c_camera[2], | ||
661 | .module_name = "mt9t112", | ||
662 | .priv = &mt9t112_info2, | ||
663 | }; | ||
664 | |||
665 | static struct platform_device camera_devices[] = { | ||
666 | { | ||
667 | .name = "soc-camera-pdrv", | ||
668 | .id = 0, | ||
669 | .dev = { | ||
670 | .platform_data = &tw9910_link, | ||
671 | }, | ||
672 | }, | ||
673 | { | ||
674 | .name = "soc-camera-pdrv", | ||
675 | .id = 1, | ||
676 | .dev = { | ||
677 | .platform_data = &mt9t112_link1, | ||
678 | }, | ||
679 | }, | ||
680 | { | ||
681 | .name = "soc-camera-pdrv", | ||
682 | .id = 2, | ||
683 | .dev = { | ||
684 | .platform_data = &mt9t112_link2, | ||
685 | }, | ||
686 | }, | ||
687 | }; | ||
688 | |||
689 | /* FSI */ | ||
690 | /* | ||
691 | * FSI-B use external clock which came from da7210. | ||
692 | * So, we should change parent of fsi | ||
693 | */ | ||
694 | #define FCLKBCR 0xa415000c | ||
695 | static void fsimck_init(struct clk *clk) | ||
696 | { | ||
697 | u32 status = ctrl_inl(clk->enable_reg); | ||
698 | |||
699 | /* use external clock */ | ||
700 | status &= ~0x000000ff; | ||
701 | status |= 0x00000080; | ||
702 | |||
703 | ctrl_outl(status, clk->enable_reg); | ||
704 | } | ||
705 | |||
706 | static struct clk_ops fsimck_clk_ops = { | ||
707 | .init = fsimck_init, | ||
708 | }; | ||
709 | |||
710 | static struct clk fsimckb_clk = { | ||
711 | .name = "fsimckb_clk", | ||
712 | .id = -1, | ||
713 | .ops = &fsimck_clk_ops, | ||
714 | .enable_reg = (void __iomem *)FCLKBCR, | ||
715 | .rate = 0, /* unknown */ | ||
716 | }; | ||
717 | |||
718 | struct sh_fsi_platform_info fsi_info = { | ||
719 | .portb_flags = SH_FSI_BRS_INV | | ||
720 | SH_FSI_OUT_SLAVE_MODE | | ||
721 | SH_FSI_IN_SLAVE_MODE | | ||
722 | SH_FSI_OFMT(I2S) | | ||
723 | SH_FSI_IFMT(I2S), | ||
724 | }; | ||
725 | |||
726 | static struct resource fsi_resources[] = { | ||
727 | [0] = { | ||
728 | .name = "FSI", | ||
729 | .start = 0xFE3C0000, | ||
730 | .end = 0xFE3C021d, | ||
731 | .flags = IORESOURCE_MEM, | ||
732 | }, | ||
733 | [1] = { | ||
734 | .start = 108, | ||
735 | .flags = IORESOURCE_IRQ, | ||
736 | }, | ||
737 | }; | ||
738 | |||
739 | static struct platform_device fsi_device = { | ||
740 | .name = "sh_fsi", | ||
741 | .id = 0, | ||
742 | .num_resources = ARRAY_SIZE(fsi_resources), | ||
743 | .resource = fsi_resources, | ||
744 | .dev = { | ||
745 | .platform_data = &fsi_info, | ||
746 | }, | ||
747 | .archdata = { | ||
748 | .hwblk_id = HWBLK_SPU, /* FSI needs SPU hwblk */ | ||
749 | }, | ||
750 | }; | ||
751 | |||
496 | static struct platform_device *ecovec_devices[] __initdata = { | 752 | static struct platform_device *ecovec_devices[] __initdata = { |
497 | &heartbeat_device, | 753 | &heartbeat_device, |
498 | &nor_flash_device, | 754 | &nor_flash_device, |
@@ -503,8 +759,16 @@ static struct platform_device *ecovec_devices[] __initdata = { | |||
503 | &ceu0_device, | 759 | &ceu0_device, |
504 | &ceu1_device, | 760 | &ceu1_device, |
505 | &keysc_device, | 761 | &keysc_device, |
762 | #ifdef CONFIG_MFD_SH_MOBILE_SDHI | ||
506 | &sdhi0_device, | 763 | &sdhi0_device, |
507 | &sdhi1_device, | 764 | &sdhi1_device, |
765 | #else | ||
766 | &msiof0_device, | ||
767 | #endif | ||
768 | &camera_devices[0], | ||
769 | &camera_devices[1], | ||
770 | &camera_devices[2], | ||
771 | &fsi_device, | ||
508 | }; | 772 | }; |
509 | 773 | ||
510 | #define EEPROM_ADDR 0x50 | 774 | #define EEPROM_ADDR 0x50 |
@@ -560,6 +824,8 @@ extern char ecovec24_sdram_leave_end; | |||
560 | 824 | ||
561 | static int __init arch_setup(void) | 825 | static int __init arch_setup(void) |
562 | { | 826 | { |
827 | struct clk *clk; | ||
828 | |||
563 | /* register board specific self-refresh code */ | 829 | /* register board specific self-refresh code */ |
564 | sh_mobile_register_self_refresh(SUSP_SH_STANDBY | SUSP_SH_SF, | 830 | sh_mobile_register_self_refresh(SUSP_SH_STANDBY | SUSP_SH_SF, |
565 | &ecovec24_sdram_enter_start, | 831 | &ecovec24_sdram_enter_start, |
@@ -773,7 +1039,8 @@ static int __init arch_setup(void) | |||
773 | gpio_direction_input(GPIO_PTR5); | 1039 | gpio_direction_input(GPIO_PTR5); |
774 | gpio_direction_input(GPIO_PTR6); | 1040 | gpio_direction_input(GPIO_PTR6); |
775 | 1041 | ||
776 | /* enable SDHI0 (needs DS2.4 set to ON) */ | 1042 | #ifdef CONFIG_MFD_SH_MOBILE_SDHI |
1043 | /* enable SDHI0 on CN11 (needs DS2.4 set to ON) */ | ||
777 | gpio_request(GPIO_FN_SDHI0CD, NULL); | 1044 | gpio_request(GPIO_FN_SDHI0CD, NULL); |
778 | gpio_request(GPIO_FN_SDHI0WP, NULL); | 1045 | gpio_request(GPIO_FN_SDHI0WP, NULL); |
779 | gpio_request(GPIO_FN_SDHI0CMD, NULL); | 1046 | gpio_request(GPIO_FN_SDHI0CMD, NULL); |
@@ -785,7 +1052,7 @@ static int __init arch_setup(void) | |||
785 | gpio_request(GPIO_PTB6, NULL); | 1052 | gpio_request(GPIO_PTB6, NULL); |
786 | gpio_direction_output(GPIO_PTB6, 0); | 1053 | gpio_direction_output(GPIO_PTB6, 0); |
787 | 1054 | ||
788 | /* enable SDHI1 (needs DS2.6,7 set to ON,OFF) */ | 1055 | /* enable SDHI1 on CN12 (needs DS2.6,7 set to ON,OFF) */ |
789 | gpio_request(GPIO_FN_SDHI1CD, NULL); | 1056 | gpio_request(GPIO_FN_SDHI1CD, NULL); |
790 | gpio_request(GPIO_FN_SDHI1WP, NULL); | 1057 | gpio_request(GPIO_FN_SDHI1WP, NULL); |
791 | gpio_request(GPIO_FN_SDHI1CMD, NULL); | 1058 | gpio_request(GPIO_FN_SDHI1CMD, NULL); |
@@ -799,8 +1066,59 @@ static int __init arch_setup(void) | |||
799 | 1066 | ||
800 | /* I/O buffer drive ability is high for SDHI1 */ | 1067 | /* I/O buffer drive ability is high for SDHI1 */ |
801 | ctrl_outw((ctrl_inw(IODRIVEA) & ~0x3000) | 0x2000 , IODRIVEA); | 1068 | ctrl_outw((ctrl_inw(IODRIVEA) & ~0x3000) | 0x2000 , IODRIVEA); |
1069 | #else | ||
1070 | /* enable MSIOF0 on CN11 (needs DS2.4 set to OFF) */ | ||
1071 | gpio_request(GPIO_FN_MSIOF0_TXD, NULL); | ||
1072 | gpio_request(GPIO_FN_MSIOF0_RXD, NULL); | ||
1073 | gpio_request(GPIO_FN_MSIOF0_TSCK, NULL); | ||
1074 | gpio_request(GPIO_PTM4, NULL); /* software CS control of TSYNC pin */ | ||
1075 | gpio_direction_output(GPIO_PTM4, 1); /* active low CS */ | ||
1076 | gpio_request(GPIO_PTB6, NULL); /* 3.3V power control */ | ||
1077 | gpio_direction_output(GPIO_PTB6, 0); /* disable power by default */ | ||
1078 | gpio_request(GPIO_PTY6, NULL); /* write protect */ | ||
1079 | gpio_direction_input(GPIO_PTY6); | ||
1080 | gpio_request(GPIO_PTY7, NULL); /* card detect */ | ||
1081 | gpio_direction_input(GPIO_PTY7); | ||
1082 | |||
1083 | spi_register_board_info(spi_bus, ARRAY_SIZE(spi_bus)); | ||
1084 | #endif | ||
1085 | |||
1086 | /* enable Video */ | ||
1087 | gpio_request(GPIO_PTU2, NULL); | ||
1088 | gpio_direction_output(GPIO_PTU2, 1); | ||
1089 | |||
1090 | /* enable Camera */ | ||
1091 | gpio_request(GPIO_PTA3, NULL); | ||
1092 | gpio_request(GPIO_PTA4, NULL); | ||
1093 | gpio_direction_output(GPIO_PTA3, 0); | ||
1094 | gpio_direction_output(GPIO_PTA4, 0); | ||
1095 | |||
1096 | /* enable FSI */ | ||
1097 | gpio_request(GPIO_FN_FSIMCKB, NULL); | ||
1098 | gpio_request(GPIO_FN_FSIIBSD, NULL); | ||
1099 | gpio_request(GPIO_FN_FSIOBSD, NULL); | ||
1100 | gpio_request(GPIO_FN_FSIIBBCK, NULL); | ||
1101 | gpio_request(GPIO_FN_FSIIBLRCK, NULL); | ||
1102 | gpio_request(GPIO_FN_FSIOBBCK, NULL); | ||
1103 | gpio_request(GPIO_FN_FSIOBLRCK, NULL); | ||
1104 | gpio_request(GPIO_FN_CLKAUDIOBO, NULL); | ||
1105 | |||
1106 | /* change parent of FSI B */ | ||
1107 | clk = clk_get(NULL, "fsib_clk"); | ||
1108 | clk_register(&fsimckb_clk); | ||
1109 | clk_set_parent(clk, &fsimckb_clk); | ||
1110 | clk_set_rate(clk, 11000); | ||
1111 | clk_set_rate(&fsimckb_clk, 11000); | ||
1112 | clk_put(clk); | ||
1113 | |||
1114 | gpio_request(GPIO_PTU0, NULL); | ||
1115 | gpio_direction_output(GPIO_PTU0, 0); | ||
1116 | mdelay(20); | ||
802 | 1117 | ||
803 | /* enable I2C device */ | 1118 | /* enable I2C device */ |
1119 | i2c_register_board_info(0, i2c0_devices, | ||
1120 | ARRAY_SIZE(i2c0_devices)); | ||
1121 | |||
804 | i2c_register_board_info(1, i2c1_devices, | 1122 | i2c_register_board_info(1, i2c1_devices, |
805 | ARRAY_SIZE(i2c1_devices)); | 1123 | ARRAY_SIZE(i2c1_devices)); |
806 | 1124 | ||
diff --git a/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c b/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c index 8ccb1cc8b589..e9b970846c41 100644 --- a/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c +++ b/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c | |||
@@ -273,6 +273,12 @@ int kfr2r09_lcd_setup(void *board_data, void *sohandle, | |||
273 | return 0; | 273 | return 0; |
274 | } | 274 | } |
275 | 275 | ||
276 | void kfr2r09_lcd_start(void *board_data, void *sohandle, | ||
277 | struct sh_mobile_lcdc_sys_bus_ops *so) | ||
278 | { | ||
279 | write_memory_start(sohandle, so); | ||
280 | } | ||
281 | |||
276 | #define CTRL_CKSW 0x10 | 282 | #define CTRL_CKSW 0x10 |
277 | #define CTRL_C10 0x20 | 283 | #define CTRL_C10 0x20 |
278 | #define CTRL_CPSW 0x80 | 284 | #define CTRL_CPSW 0x80 |
diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index 87438d6603d6..5d7b5d92475e 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/input/sh_keysc.h> | 19 | #include <linux/input/sh_keysc.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/usb/r8a66597.h> | 21 | #include <linux/usb/r8a66597.h> |
22 | #include <media/rj54n1cb0c.h> | ||
22 | #include <media/soc_camera.h> | 23 | #include <media/soc_camera.h> |
23 | #include <media/sh_mobile_ceu.h> | 24 | #include <media/sh_mobile_ceu.h> |
24 | #include <video/sh_mobile_lcdc.h> | 25 | #include <video/sh_mobile_lcdc.h> |
@@ -149,6 +150,7 @@ static struct sh_mobile_lcdc_info kfr2r09_sh_lcdc_info = { | |||
149 | }, | 150 | }, |
150 | .board_cfg = { | 151 | .board_cfg = { |
151 | .setup_sys = kfr2r09_lcd_setup, | 152 | .setup_sys = kfr2r09_lcd_setup, |
153 | .start_transfer = kfr2r09_lcd_start, | ||
152 | .display_on = kfr2r09_lcd_on, | 154 | .display_on = kfr2r09_lcd_on, |
153 | .display_off = kfr2r09_lcd_off, | 155 | .display_off = kfr2r09_lcd_off, |
154 | }, | 156 | }, |
@@ -255,6 +257,9 @@ static struct i2c_board_info kfr2r09_i2c_camera = { | |||
255 | 257 | ||
256 | static struct clk *camera_clk; | 258 | static struct clk *camera_clk; |
257 | 259 | ||
260 | /* set VIO_CKO clock to 25MHz */ | ||
261 | #define CEU_MCLK_FREQ 25000000 | ||
262 | |||
258 | #define DRVCRB 0xA405018C | 263 | #define DRVCRB 0xA405018C |
259 | static int camera_power(struct device *dev, int mode) | 264 | static int camera_power(struct device *dev, int mode) |
260 | { | 265 | { |
@@ -267,8 +272,7 @@ static int camera_power(struct device *dev, int mode) | |||
267 | if (IS_ERR(camera_clk)) | 272 | if (IS_ERR(camera_clk)) |
268 | return PTR_ERR(camera_clk); | 273 | return PTR_ERR(camera_clk); |
269 | 274 | ||
270 | /* set VIO_CKO clock to 25MHz */ | 275 | rate = clk_round_rate(camera_clk, CEU_MCLK_FREQ); |
271 | rate = clk_round_rate(camera_clk, 25000000); | ||
272 | ret = clk_set_rate(camera_clk, rate); | 276 | ret = clk_set_rate(camera_clk, rate); |
273 | if (ret < 0) | 277 | if (ret < 0) |
274 | goto eclkrate; | 278 | goto eclkrate; |
@@ -318,11 +322,17 @@ eclkrate: | |||
318 | return ret; | 322 | return ret; |
319 | } | 323 | } |
320 | 324 | ||
325 | static struct rj54n1_pdata rj54n1_priv = { | ||
326 | .mclk_freq = CEU_MCLK_FREQ, | ||
327 | .ioctl_high = false, | ||
328 | }; | ||
329 | |||
321 | static struct soc_camera_link rj54n1_link = { | 330 | static struct soc_camera_link rj54n1_link = { |
322 | .power = camera_power, | 331 | .power = camera_power, |
323 | .board_info = &kfr2r09_i2c_camera, | 332 | .board_info = &kfr2r09_i2c_camera, |
324 | .i2c_adapter_id = 1, | 333 | .i2c_adapter_id = 1, |
325 | .module_name = "rj54n1cb0c", | 334 | .module_name = "rj54n1cb0c", |
335 | .priv = &rj54n1_priv, | ||
326 | }; | 336 | }; |
327 | 337 | ||
328 | static struct platform_device kfr2r09_camera = { | 338 | static struct platform_device kfr2r09_camera = { |
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 9099b6da9957..507c77be476d 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -432,23 +432,27 @@ static struct i2c_board_info migor_i2c_camera[] = { | |||
432 | 432 | ||
433 | static struct ov772x_camera_info ov7725_info = { | 433 | static struct ov772x_camera_info ov7725_info = { |
434 | .buswidth = SOCAM_DATAWIDTH_8, | 434 | .buswidth = SOCAM_DATAWIDTH_8, |
435 | .link = { | 435 | }; |
436 | .power = ov7725_power, | 436 | |
437 | .board_info = &migor_i2c_camera[0], | 437 | static struct soc_camera_link ov7725_link = { |
438 | .i2c_adapter_id = 0, | 438 | .power = ov7725_power, |
439 | .module_name = "ov772x", | 439 | .board_info = &migor_i2c_camera[0], |
440 | }, | 440 | .i2c_adapter_id = 0, |
441 | .module_name = "ov772x", | ||
442 | .priv = &ov7725_info, | ||
441 | }; | 443 | }; |
442 | 444 | ||
443 | static struct tw9910_video_info tw9910_info = { | 445 | static struct tw9910_video_info tw9910_info = { |
444 | .buswidth = SOCAM_DATAWIDTH_8, | 446 | .buswidth = SOCAM_DATAWIDTH_8, |
445 | .mpout = TW9910_MPO_FIELD, | 447 | .mpout = TW9910_MPO_FIELD, |
446 | .link = { | 448 | }; |
447 | .power = tw9910_power, | 449 | |
448 | .board_info = &migor_i2c_camera[1], | 450 | static struct soc_camera_link tw9910_link = { |
449 | .i2c_adapter_id = 0, | 451 | .power = tw9910_power, |
450 | .module_name = "tw9910", | 452 | .board_info = &migor_i2c_camera[1], |
451 | } | 453 | .i2c_adapter_id = 0, |
454 | .module_name = "tw9910", | ||
455 | .priv = &tw9910_info, | ||
452 | }; | 456 | }; |
453 | 457 | ||
454 | static struct platform_device migor_camera[] = { | 458 | static struct platform_device migor_camera[] = { |
@@ -456,13 +460,13 @@ static struct platform_device migor_camera[] = { | |||
456 | .name = "soc-camera-pdrv", | 460 | .name = "soc-camera-pdrv", |
457 | .id = 0, | 461 | .id = 0, |
458 | .dev = { | 462 | .dev = { |
459 | .platform_data = &ov7725_info.link, | 463 | .platform_data = &ov7725_link, |
460 | }, | 464 | }, |
461 | }, { | 465 | }, { |
462 | .name = "soc-camera-pdrv", | 466 | .name = "soc-camera-pdrv", |
463 | .id = 1, | 467 | .id = 1, |
464 | .dev = { | 468 | .dev = { |
465 | .platform_data = &tw9910_info.link, | 469 | .platform_data = &tw9910_link, |
466 | }, | 470 | }, |
467 | }, | 471 | }, |
468 | }; | 472 | }; |
diff --git a/arch/sh/boards/mach-se/7722/irq.c b/arch/sh/boards/mach-se/7722/irq.c index 4eb31acfafef..b221b6842b0d 100644 --- a/arch/sh/boards/mach-se/7722/irq.c +++ b/arch/sh/boards/mach-se/7722/irq.c | |||
@@ -57,15 +57,16 @@ static void se7722_irq_demux(unsigned int irq, struct irq_desc *desc) | |||
57 | */ | 57 | */ |
58 | void __init init_se7722_IRQ(void) | 58 | void __init init_se7722_IRQ(void) |
59 | { | 59 | { |
60 | int i; | 60 | int i, irq; |
61 | 61 | ||
62 | ctrl_outw(0, IRQ01_MASK); /* disable all irqs */ | 62 | ctrl_outw(0, IRQ01_MASK); /* disable all irqs */ |
63 | ctrl_outw(0x2000, 0xb03fffec); /* mrshpc irq enable */ | 63 | ctrl_outw(0x2000, 0xb03fffec); /* mrshpc irq enable */ |
64 | 64 | ||
65 | for (i = 0; i < SE7722_FPGA_IRQ_NR; i++) { | 65 | for (i = 0; i < SE7722_FPGA_IRQ_NR; i++) { |
66 | se7722_fpga_irq[i] = create_irq(); | 66 | irq = create_irq(); |
67 | if (se7722_fpga_irq[i] < 0) | 67 | if (irq < 0) |
68 | return; | 68 | return; |
69 | se7722_fpga_irq[i] = irq; | ||
69 | 70 | ||
70 | set_irq_chip_and_handler_name(se7722_fpga_irq[i], | 71 | set_irq_chip_and_handler_name(se7722_fpga_irq[i], |
71 | &se7722_irq_chip, | 72 | &se7722_irq_chip, |
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 4b0f0c0dc2b8..5d0f70b46c97 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -514,6 +514,13 @@ static struct platform_device *ms7724se_devices[] __initdata = { | |||
514 | &sdhi1_cn8_device, | 514 | &sdhi1_cn8_device, |
515 | }; | 515 | }; |
516 | 516 | ||
517 | /* I2C device */ | ||
518 | static struct i2c_board_info i2c0_devices[] = { | ||
519 | { | ||
520 | I2C_BOARD_INFO("ak4642", 0x12), | ||
521 | }, | ||
522 | }; | ||
523 | |||
517 | #define EEPROM_OP 0xBA206000 | 524 | #define EEPROM_OP 0xBA206000 |
518 | #define EEPROM_ADR 0xBA206004 | 525 | #define EEPROM_ADR 0xBA206004 |
519 | #define EEPROM_DATA 0xBA20600C | 526 | #define EEPROM_DATA 0xBA20600C |
@@ -575,6 +582,16 @@ extern char ms7724se_sdram_enter_end; | |||
575 | extern char ms7724se_sdram_leave_start; | 582 | extern char ms7724se_sdram_leave_start; |
576 | extern char ms7724se_sdram_leave_end; | 583 | extern char ms7724se_sdram_leave_end; |
577 | 584 | ||
585 | |||
586 | static int __init arch_setup(void) | ||
587 | { | ||
588 | /* enable I2C device */ | ||
589 | i2c_register_board_info(0, i2c0_devices, | ||
590 | ARRAY_SIZE(i2c0_devices)); | ||
591 | return 0; | ||
592 | } | ||
593 | arch_initcall(arch_setup); | ||
594 | |||
578 | static int __init devices_setup(void) | 595 | static int __init devices_setup(void) |
579 | { | 596 | { |
580 | u16 sw = ctrl_inw(SW4140); /* select camera, monitor */ | 597 | u16 sw = ctrl_inw(SW4140); /* select camera, monitor */ |
diff --git a/arch/sh/configs/ecovec24-romimage_defconfig b/arch/sh/configs/ecovec24-romimage_defconfig index 0774924623cc..46874704e4e7 100644 --- a/arch/sh/configs/ecovec24-romimage_defconfig +++ b/arch/sh/configs/ecovec24-romimage_defconfig | |||
@@ -203,7 +203,7 @@ CONFIG_MMU=y | |||
203 | CONFIG_PAGE_OFFSET=0x80000000 | 203 | CONFIG_PAGE_OFFSET=0x80000000 |
204 | CONFIG_FORCE_MAX_ZONEORDER=11 | 204 | CONFIG_FORCE_MAX_ZONEORDER=11 |
205 | CONFIG_MEMORY_START=0x08000000 | 205 | CONFIG_MEMORY_START=0x08000000 |
206 | CONFIG_MEMORY_SIZE=0x08000000 | 206 | CONFIG_MEMORY_SIZE=0x10000000 |
207 | CONFIG_29BIT=y | 207 | CONFIG_29BIT=y |
208 | # CONFIG_X2TLB is not set | 208 | # CONFIG_X2TLB is not set |
209 | CONFIG_VSYSCALL=y | 209 | CONFIG_VSYSCALL=y |
diff --git a/arch/sh/configs/ecovec24_defconfig b/arch/sh/configs/ecovec24_defconfig index ac6469718a2c..cad918437ca7 100644 --- a/arch/sh/configs/ecovec24_defconfig +++ b/arch/sh/configs/ecovec24_defconfig | |||
@@ -204,7 +204,7 @@ CONFIG_MMU=y | |||
204 | CONFIG_PAGE_OFFSET=0x80000000 | 204 | CONFIG_PAGE_OFFSET=0x80000000 |
205 | CONFIG_FORCE_MAX_ZONEORDER=11 | 205 | CONFIG_FORCE_MAX_ZONEORDER=11 |
206 | CONFIG_MEMORY_START=0x08000000 | 206 | CONFIG_MEMORY_START=0x08000000 |
207 | CONFIG_MEMORY_SIZE=0x08000000 | 207 | CONFIG_MEMORY_SIZE=0x10000000 |
208 | CONFIG_29BIT=y | 208 | CONFIG_29BIT=y |
209 | # CONFIG_X2TLB is not set | 209 | # CONFIG_X2TLB is not set |
210 | CONFIG_VSYSCALL=y | 210 | CONFIG_VSYSCALL=y |
diff --git a/arch/sh/configs/rts7751r2d1_defconfig b/arch/sh/configs/rts7751r2d1_defconfig index f521e82cc19e..6f1126b3e487 100644 --- a/arch/sh/configs/rts7751r2d1_defconfig +++ b/arch/sh/configs/rts7751r2d1_defconfig | |||
@@ -324,7 +324,7 @@ CONFIG_ENTRY_OFFSET=0x00001000 | |||
324 | # CONFIG_UBC_WAKEUP is not set | 324 | # CONFIG_UBC_WAKEUP is not set |
325 | CONFIG_CMDLINE_OVERWRITE=y | 325 | CONFIG_CMDLINE_OVERWRITE=y |
326 | # CONFIG_CMDLINE_EXTEND is not set | 326 | # CONFIG_CMDLINE_EXTEND is not set |
327 | CONFIG_CMDLINE="console=tty0 console=ttySC0,115200 root=/dev/sda1 earlyprintk=serial" | 327 | CONFIG_CMDLINE="console=tty0 console=ttySC1,115200 root=/dev/sda1" |
328 | 328 | ||
329 | # | 329 | # |
330 | # Bus options | 330 | # Bus options |
diff --git a/arch/sh/configs/rts7751r2dplus_defconfig b/arch/sh/configs/rts7751r2dplus_defconfig index a156cd1e0617..9215bbb13d6f 100644 --- a/arch/sh/configs/rts7751r2dplus_defconfig +++ b/arch/sh/configs/rts7751r2dplus_defconfig | |||
@@ -324,7 +324,7 @@ CONFIG_ENTRY_OFFSET=0x00001000 | |||
324 | # CONFIG_UBC_WAKEUP is not set | 324 | # CONFIG_UBC_WAKEUP is not set |
325 | CONFIG_CMDLINE_OVERWRITE=y | 325 | CONFIG_CMDLINE_OVERWRITE=y |
326 | # CONFIG_CMDLINE_EXTEND is not set | 326 | # CONFIG_CMDLINE_EXTEND is not set |
327 | CONFIG_CMDLINE="console=tty0 console=ttySC0,115200 root=/dev/sda1 earlyprintk=serial" | 327 | CONFIG_CMDLINE="console=tty0 console=ttySC1,115200 root=/dev/sda1" |
328 | 328 | ||
329 | # | 329 | # |
330 | # Bus options | 330 | # Bus options |
diff --git a/arch/sh/include/asm/elf.h b/arch/sh/include/asm/elf.h index ccb1d93bb043..ac04255022b6 100644 --- a/arch/sh/include/asm/elf.h +++ b/arch/sh/include/asm/elf.h | |||
@@ -114,7 +114,6 @@ typedef struct user_fpu_struct elf_fpregset_t; | |||
114 | */ | 114 | */ |
115 | #define CORE_DUMP_USE_REGSET | 115 | #define CORE_DUMP_USE_REGSET |
116 | 116 | ||
117 | #define USE_ELF_CORE_DUMP | ||
118 | #define ELF_FDPIC_CORE_EFLAGS EF_SH_FDPIC | 117 | #define ELF_FDPIC_CORE_EFLAGS EF_SH_FDPIC |
119 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 118 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
120 | 119 | ||
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index 512cd3e9d0ca..026dd659a640 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h | |||
@@ -233,11 +233,17 @@ unsigned long long poke_real_address_q(unsigned long long addr, | |||
233 | * doesn't exist, so everything must go through page tables. | 233 | * doesn't exist, so everything must go through page tables. |
234 | */ | 234 | */ |
235 | #ifdef CONFIG_MMU | 235 | #ifdef CONFIG_MMU |
236 | void __iomem *__ioremap(unsigned long offset, unsigned long size, | 236 | void __iomem *__ioremap_caller(unsigned long offset, unsigned long size, |
237 | unsigned long flags); | 237 | unsigned long flags, void *caller); |
238 | void __iounmap(void __iomem *addr); | 238 | void __iounmap(void __iomem *addr); |
239 | 239 | ||
240 | static inline void __iomem * | 240 | static inline void __iomem * |
241 | __ioremap(unsigned long offset, unsigned long size, unsigned long flags) | ||
242 | { | ||
243 | return __ioremap_caller(offset, size, flags, __builtin_return_address(0)); | ||
244 | } | ||
245 | |||
246 | static inline void __iomem * | ||
241 | __ioremap_mode(unsigned long offset, unsigned long size, unsigned long flags) | 247 | __ioremap_mode(unsigned long offset, unsigned long size, unsigned long flags) |
242 | { | 248 | { |
243 | #if defined(CONFIG_SUPERH32) && !defined(CONFIG_PMB_FIXED) && !defined(CONFIG_PMB) | 249 | #if defined(CONFIG_SUPERH32) && !defined(CONFIG_PMB_FIXED) && !defined(CONFIG_PMB) |
@@ -271,6 +277,7 @@ __ioremap_mode(unsigned long offset, unsigned long size, unsigned long flags) | |||
271 | return __ioremap(offset, size, flags); | 277 | return __ioremap(offset, size, flags); |
272 | } | 278 | } |
273 | #else | 279 | #else |
280 | #define __ioremap(offset, size, flags) ((void __iomem *)(offset)) | ||
274 | #define __ioremap_mode(offset, size, flags) ((void __iomem *)(offset)) | 281 | #define __ioremap_mode(offset, size, flags) ((void __iomem *)(offset)) |
275 | #define __iounmap(addr) do { } while (0) | 282 | #define __iounmap(addr) do { } while (0) |
276 | #endif /* CONFIG_MMU */ | 283 | #endif /* CONFIG_MMU */ |
diff --git a/arch/sh/include/asm/pgtable_32.h b/arch/sh/include/asm/pgtable_32.h index b35435516203..5003ee86f67b 100644 --- a/arch/sh/include/asm/pgtable_32.h +++ b/arch/sh/include/asm/pgtable_32.h | |||
@@ -344,7 +344,8 @@ static inline void set_pte(pte_t *ptep, pte_t pte) | |||
344 | #define pte_special(pte) ((pte).pte_low & _PAGE_SPECIAL) | 344 | #define pte_special(pte) ((pte).pte_low & _PAGE_SPECIAL) |
345 | 345 | ||
346 | #ifdef CONFIG_X2TLB | 346 | #ifdef CONFIG_X2TLB |
347 | #define pte_write(pte) ((pte).pte_high & _PAGE_EXT_USER_WRITE) | 347 | #define pte_write(pte) \ |
348 | ((pte).pte_high & (_PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE)) | ||
348 | #else | 349 | #else |
349 | #define pte_write(pte) ((pte).pte_low & _PAGE_RW) | 350 | #define pte_write(pte) ((pte).pte_low & _PAGE_RW) |
350 | #endif | 351 | #endif |
@@ -358,7 +359,7 @@ static inline pte_t pte_##fn(pte_t pte) { pte.pte_##h op; return pte; } | |||
358 | * individually toggled (and user permissions are entirely decoupled from | 359 | * individually toggled (and user permissions are entirely decoupled from |
359 | * kernel permissions), we attempt to couple them a bit more sanely here. | 360 | * kernel permissions), we attempt to couple them a bit more sanely here. |
360 | */ | 361 | */ |
361 | PTE_BIT_FUNC(high, wrprotect, &= ~_PAGE_EXT_USER_WRITE); | 362 | PTE_BIT_FUNC(high, wrprotect, &= ~(_PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE)); |
362 | PTE_BIT_FUNC(high, mkwrite, |= _PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE); | 363 | PTE_BIT_FUNC(high, mkwrite, |= _PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE); |
363 | PTE_BIT_FUNC(high, mkhuge, |= _PAGE_SZHUGE); | 364 | PTE_BIT_FUNC(high, mkhuge, |= _PAGE_SZHUGE); |
364 | #else | 365 | #else |
diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h index f3fd1b9eb6b1..f18c4f9baf27 100644 --- a/arch/sh/include/asm/unistd_32.h +++ b/arch/sh/include/asm/unistd_32.h | |||
@@ -345,8 +345,9 @@ | |||
345 | #define __NR_pwritev 334 | 345 | #define __NR_pwritev 334 |
346 | #define __NR_rt_tgsigqueueinfo 335 | 346 | #define __NR_rt_tgsigqueueinfo 335 |
347 | #define __NR_perf_event_open 336 | 347 | #define __NR_perf_event_open 336 |
348 | #define __NR_recvmmsg 337 | ||
348 | 349 | ||
349 | #define NR_syscalls 337 | 350 | #define NR_syscalls 338 |
350 | 351 | ||
351 | #ifdef __KERNEL__ | 352 | #ifdef __KERNEL__ |
352 | 353 | ||
diff --git a/arch/sh/include/asm/unistd_64.h b/arch/sh/include/asm/unistd_64.h index 343ce8f073ea..3e7645d11130 100644 --- a/arch/sh/include/asm/unistd_64.h +++ b/arch/sh/include/asm/unistd_64.h | |||
@@ -385,10 +385,11 @@ | |||
385 | #define __NR_pwritev 362 | 385 | #define __NR_pwritev 362 |
386 | #define __NR_rt_tgsigqueueinfo 363 | 386 | #define __NR_rt_tgsigqueueinfo 363 |
387 | #define __NR_perf_event_open 364 | 387 | #define __NR_perf_event_open 364 |
388 | #define __NR_recvmmsg 365 | ||
388 | 389 | ||
389 | #ifdef __KERNEL__ | 390 | #ifdef __KERNEL__ |
390 | 391 | ||
391 | #define NR_syscalls 365 | 392 | #define NR_syscalls 366 |
392 | 393 | ||
393 | #define __ARCH_WANT_IPC_PARSE_VERSION | 394 | #define __ARCH_WANT_IPC_PARSE_VERSION |
394 | #define __ARCH_WANT_OLD_READDIR | 395 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h b/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h index 174374e19547..484ef42c2fb5 100644 --- a/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h +++ b/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h | |||
@@ -8,6 +8,8 @@ void kfr2r09_lcd_on(void *board_data); | |||
8 | void kfr2r09_lcd_off(void *board_data); | 8 | void kfr2r09_lcd_off(void *board_data); |
9 | int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, | 9 | int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, |
10 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); | 10 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); |
11 | void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, | ||
12 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); | ||
11 | #else | 13 | #else |
12 | static inline void kfr2r09_lcd_on(void *board_data) {} | 14 | static inline void kfr2r09_lcd_on(void *board_data) {} |
13 | static inline void kfr2r09_lcd_off(void *board_data) {} | 15 | static inline void kfr2r09_lcd_off(void *board_data) {} |
@@ -16,6 +18,10 @@ static inline int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, | |||
16 | { | 18 | { |
17 | return -ENODEV; | 19 | return -ENODEV; |
18 | } | 20 | } |
21 | static inline void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, | ||
22 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops) | ||
23 | { | ||
24 | } | ||
19 | #endif | 25 | #endif |
20 | 26 | ||
21 | #endif /* __ASM_SH_KFR2R09_H */ | 27 | #endif /* __ASM_SH_KFR2R09_H */ |
diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 0471a3eb25ed..0d587da1ef12 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile | |||
@@ -22,11 +22,10 @@ obj-y := debugtraps.o dma-nommu.o dumpstack.o \ | |||
22 | obj-y += cpu/ | 22 | obj-y += cpu/ |
23 | obj-$(CONFIG_VSYSCALL) += vsyscall/ | 23 | obj-$(CONFIG_VSYSCALL) += vsyscall/ |
24 | obj-$(CONFIG_SMP) += smp.o | 24 | obj-$(CONFIG_SMP) += smp.o |
25 | obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o | 25 | obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o early_printk.o |
26 | obj-$(CONFIG_KGDB) += kgdb.o | 26 | obj-$(CONFIG_KGDB) += kgdb.o |
27 | obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o | 27 | obj-$(CONFIG_SH_CPU_FREQ) += cpufreq.o |
28 | obj-$(CONFIG_MODULES) += sh_ksyms_$(BITS).o module.o | 28 | obj-$(CONFIG_MODULES) += sh_ksyms_$(BITS).o module.o |
29 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | ||
30 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | 29 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o |
31 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 30 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
32 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 31 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c index c1508a90fc6a..9282d965a1b6 100644 --- a/arch/sh/kernel/cpu/irq/ipr.c +++ b/arch/sh/kernel/cpu/irq/ipr.c | |||
@@ -17,16 +17,17 @@ | |||
17 | * for more details. | 17 | * for more details. |
18 | */ | 18 | */ |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/interrupt.h> | ||
21 | #include <linux/io.h> | ||
20 | #include <linux/irq.h> | 22 | #include <linux/irq.h> |
23 | #include <linux/kernel.h> | ||
21 | #include <linux/module.h> | 24 | #include <linux/module.h> |
22 | #include <linux/io.h> | ||
23 | #include <linux/interrupt.h> | ||
24 | #include <linux/topology.h> | 25 | #include <linux/topology.h> |
25 | 26 | ||
26 | static inline struct ipr_desc *get_ipr_desc(unsigned int irq) | 27 | static inline struct ipr_desc *get_ipr_desc(unsigned int irq) |
27 | { | 28 | { |
28 | struct irq_chip *chip = get_irq_chip(irq); | 29 | struct irq_chip *chip = get_irq_chip(irq); |
29 | return (void *)((char *)chip - offsetof(struct ipr_desc, chip)); | 30 | return container_of(chip, struct ipr_desc, chip); |
30 | } | 31 | } |
31 | 32 | ||
32 | static void disable_ipr_irq(unsigned int irq) | 33 | static void disable_ipr_irq(unsigned int irq) |
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index 8555c05e8667..114c7cee7184 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
@@ -59,32 +59,48 @@ static struct intc_prio_reg prio_registers[] __initdata = { | |||
59 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | 59 | static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, |
60 | NULL, prio_registers, NULL); | 60 | NULL, prio_registers, NULL); |
61 | 61 | ||
62 | static struct plat_sci_port sci_platform_data[] = { | 62 | static struct plat_sci_port scif0_platform_data = { |
63 | { | 63 | .mapbase = 0xf8400000, |
64 | .mapbase = 0xf8400000, | 64 | .flags = UPF_BOOT_AUTOCONF, |
65 | .flags = UPF_BOOT_AUTOCONF, | 65 | .type = PORT_SCIF, |
66 | .type = PORT_SCIF, | 66 | .irqs = { 88, 88, 88, 88 }, |
67 | .irqs = { 88, 88, 88, 88 }, | 67 | }; |
68 | }, { | 68 | |
69 | .mapbase = 0xf8410000, | 69 | static struct platform_device scif0_device = { |
70 | .flags = UPF_BOOT_AUTOCONF, | 70 | .name = "sh-sci", |
71 | .type = PORT_SCIF, | 71 | .id = 0, |
72 | .irqs = { 92, 92, 92, 92 }, | 72 | .dev = { |
73 | }, { | 73 | .platform_data = &scif0_platform_data, |
74 | .mapbase = 0xf8420000, | 74 | }, |
75 | .flags = UPF_BOOT_AUTOCONF, | 75 | }; |
76 | .type = PORT_SCIF, | 76 | |
77 | .irqs = { 96, 96, 96, 96 }, | 77 | static struct plat_sci_port scif1_platform_data = { |
78 | }, { | 78 | .mapbase = 0xf8410000, |
79 | .flags = 0, | 79 | .flags = UPF_BOOT_AUTOCONF, |
80 | } | 80 | .type = PORT_SCIF, |
81 | }; | 81 | .irqs = { 92, 92, 92, 92 }, |
82 | 82 | }; | |
83 | static struct platform_device sci_device = { | 83 | |
84 | static struct platform_device scif1_device = { | ||
85 | .name = "sh-sci", | ||
86 | .id = 1, | ||
87 | .dev = { | ||
88 | .platform_data = &scif1_platform_data, | ||
89 | }, | ||
90 | }; | ||
91 | |||
92 | static struct plat_sci_port scif2_platform_data = { | ||
93 | .mapbase = 0xf8420000, | ||
94 | .flags = UPF_BOOT_AUTOCONF, | ||
95 | .type = PORT_SCIF, | ||
96 | .irqs = { 96, 96, 96, 96 }, | ||
97 | }; | ||
98 | |||
99 | static struct platform_device scif2_device = { | ||
84 | .name = "sh-sci", | 100 | .name = "sh-sci", |
85 | .id = -1, | 101 | .id = 2, |
86 | .dev = { | 102 | .dev = { |
87 | .platform_data = sci_platform_data, | 103 | .platform_data = &scif2_platform_data, |
88 | }, | 104 | }, |
89 | }; | 105 | }; |
90 | 106 | ||
@@ -176,7 +192,9 @@ static struct platform_device cmt1_device = { | |||
176 | }; | 192 | }; |
177 | 193 | ||
178 | static struct platform_device *sh7619_devices[] __initdata = { | 194 | static struct platform_device *sh7619_devices[] __initdata = { |
179 | &sci_device, | 195 | &scif0_device, |
196 | &scif1_device, | ||
197 | &scif2_device, | ||
180 | ð_device, | 198 | ð_device, |
181 | &cmt0_device, | 199 | &cmt0_device, |
182 | &cmt1_device, | 200 | &cmt1_device, |
@@ -195,6 +213,9 @@ void __init plat_irq_setup(void) | |||
195 | } | 213 | } |
196 | 214 | ||
197 | static struct platform_device *sh7619_early_devices[] __initdata = { | 215 | static struct platform_device *sh7619_early_devices[] __initdata = { |
216 | &scif0_device, | ||
217 | &scif1_device, | ||
218 | &scif2_device, | ||
198 | &cmt0_device, | 219 | &cmt0_device, |
199 | &cmt1_device, | 220 | &cmt1_device, |
200 | }; | 221 | }; |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c index b67376445315..8f669dc9b0da 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c +++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c | |||
@@ -207,27 +207,23 @@ static struct platform_device mtu2_2_device = { | |||
207 | .num_resources = ARRAY_SIZE(mtu2_2_resources), | 207 | .num_resources = ARRAY_SIZE(mtu2_2_resources), |
208 | }; | 208 | }; |
209 | 209 | ||
210 | static struct plat_sci_port sci_platform_data[] = { | 210 | static struct plat_sci_port scif0_platform_data = { |
211 | { | 211 | .mapbase = 0xff804000, |
212 | .mapbase = 0xff804000, | 212 | .flags = UPF_BOOT_AUTOCONF, |
213 | .flags = UPF_BOOT_AUTOCONF, | 213 | .type = PORT_SCIF, |
214 | .type = PORT_SCIF, | 214 | .irqs = { 220, 220, 220, 220 }, |
215 | .irqs = { 220, 220, 220, 220 }, | ||
216 | }, { | ||
217 | .flags = 0, | ||
218 | } | ||
219 | }; | 215 | }; |
220 | 216 | ||
221 | static struct platform_device sci_device = { | 217 | static struct platform_device scif0_device = { |
222 | .name = "sh-sci", | 218 | .name = "sh-sci", |
223 | .id = -1, | 219 | .id = 0, |
224 | .dev = { | 220 | .dev = { |
225 | .platform_data = sci_platform_data, | 221 | .platform_data = &scif0_platform_data, |
226 | }, | 222 | }, |
227 | }; | 223 | }; |
228 | 224 | ||
229 | static struct platform_device *mxg_devices[] __initdata = { | 225 | static struct platform_device *mxg_devices[] __initdata = { |
230 | &sci_device, | 226 | &scif0_device, |
231 | &mtu2_0_device, | 227 | &mtu2_0_device, |
232 | &mtu2_1_device, | 228 | &mtu2_1_device, |
233 | &mtu2_2_device, | 229 | &mtu2_2_device, |
@@ -246,6 +242,7 @@ void __init plat_irq_setup(void) | |||
246 | } | 242 | } |
247 | 243 | ||
248 | static struct platform_device *mxg_early_devices[] __initdata = { | 244 | static struct platform_device *mxg_early_devices[] __initdata = { |
245 | &scif0_device, | ||
249 | &mtu2_0_device, | 246 | &mtu2_0_device, |
250 | &mtu2_1_device, | 247 | &mtu2_1_device, |
251 | &mtu2_2_device, | 248 | &mtu2_2_device, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c index fbde5b75deb9..4ccfeb59eb1a 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c | |||
@@ -177,57 +177,123 @@ static struct intc_mask_reg mask_registers[] __initdata = { | |||
177 | static DECLARE_INTC_DESC(intc_desc, "sh7201", vectors, groups, | 177 | static DECLARE_INTC_DESC(intc_desc, "sh7201", vectors, groups, |
178 | mask_registers, prio_registers, NULL); | 178 | mask_registers, prio_registers, NULL); |
179 | 179 | ||
180 | static struct plat_sci_port sci_platform_data[] = { | 180 | static struct plat_sci_port scif0_platform_data = { |
181 | { | 181 | .mapbase = 0xfffe8000, |
182 | .mapbase = 0xfffe8000, | 182 | .flags = UPF_BOOT_AUTOCONF, |
183 | .flags = UPF_BOOT_AUTOCONF, | 183 | .type = PORT_SCIF, |
184 | .type = PORT_SCIF, | 184 | .irqs = { 180, 180, 180, 180 } |
185 | .irqs = { 180, 180, 180, 180 } | 185 | }; |
186 | }, { | 186 | |
187 | .mapbase = 0xfffe8800, | 187 | static struct platform_device scif0_device = { |
188 | .flags = UPF_BOOT_AUTOCONF, | ||
189 | .type = PORT_SCIF, | ||
190 | .irqs = { 184, 184, 184, 184 } | ||
191 | }, { | ||
192 | .mapbase = 0xfffe9000, | ||
193 | .flags = UPF_BOOT_AUTOCONF, | ||
194 | .type = PORT_SCIF, | ||
195 | .irqs = { 188, 188, 188, 188 } | ||
196 | }, { | ||
197 | .mapbase = 0xfffe9800, | ||
198 | .flags = UPF_BOOT_AUTOCONF, | ||
199 | .type = PORT_SCIF, | ||
200 | .irqs = { 192, 192, 192, 192 } | ||
201 | }, { | ||
202 | .mapbase = 0xfffea000, | ||
203 | .flags = UPF_BOOT_AUTOCONF, | ||
204 | .type = PORT_SCIF, | ||
205 | .irqs = { 196, 196, 196, 196 } | ||
206 | }, { | ||
207 | .mapbase = 0xfffea800, | ||
208 | .flags = UPF_BOOT_AUTOCONF, | ||
209 | .type = PORT_SCIF, | ||
210 | .irqs = { 200, 200, 200, 200 } | ||
211 | }, { | ||
212 | .mapbase = 0xfffeb000, | ||
213 | .flags = UPF_BOOT_AUTOCONF, | ||
214 | .type = PORT_SCIF, | ||
215 | .irqs = { 204, 204, 204, 204 } | ||
216 | }, { | ||
217 | .mapbase = 0xfffeb800, | ||
218 | .flags = UPF_BOOT_AUTOCONF, | ||
219 | .type = PORT_SCIF, | ||
220 | .irqs = { 208, 208, 208, 208 } | ||
221 | }, { | ||
222 | .flags = 0, | ||
223 | } | ||
224 | }; | ||
225 | |||
226 | static struct platform_device sci_device = { | ||
227 | .name = "sh-sci", | 188 | .name = "sh-sci", |
228 | .id = -1, | 189 | .id = 0, |
190 | .dev = { | ||
191 | .platform_data = &scif0_platform_data, | ||
192 | }, | ||
193 | }; | ||
194 | |||
195 | static struct plat_sci_port scif1_platform_data = { | ||
196 | .mapbase = 0xfffe8800, | ||
197 | .flags = UPF_BOOT_AUTOCONF, | ||
198 | .type = PORT_SCIF, | ||
199 | .irqs = { 184, 184, 184, 184 } | ||
200 | }; | ||
201 | |||
202 | static struct platform_device scif1_device = { | ||
203 | .name = "sh-sci", | ||
204 | .id = 1, | ||
205 | .dev = { | ||
206 | .platform_data = &scif1_platform_data, | ||
207 | }, | ||
208 | }; | ||
209 | |||
210 | static struct plat_sci_port scif2_platform_data = { | ||
211 | .mapbase = 0xfffe9000, | ||
212 | .flags = UPF_BOOT_AUTOCONF, | ||
213 | .type = PORT_SCIF, | ||
214 | .irqs = { 188, 188, 188, 188 } | ||
215 | }; | ||
216 | |||
217 | static struct platform_device scif2_device = { | ||
218 | .name = "sh-sci", | ||
219 | .id = 2, | ||
220 | .dev = { | ||
221 | .platform_data = &scif2_platform_data, | ||
222 | }, | ||
223 | }; | ||
224 | |||
225 | static struct plat_sci_port scif3_platform_data = { | ||
226 | .mapbase = 0xfffe9800, | ||
227 | .flags = UPF_BOOT_AUTOCONF, | ||
228 | .type = PORT_SCIF, | ||
229 | .irqs = { 192, 192, 192, 192 } | ||
230 | }; | ||
231 | |||
232 | static struct platform_device scif3_device = { | ||
233 | .name = "sh-sci", | ||
234 | .id = 3, | ||
235 | .dev = { | ||
236 | .platform_data = &scif3_platform_data, | ||
237 | }, | ||
238 | }; | ||
239 | |||
240 | static struct plat_sci_port scif4_platform_data = { | ||
241 | .mapbase = 0xfffea000, | ||
242 | .flags = UPF_BOOT_AUTOCONF, | ||
243 | .type = PORT_SCIF, | ||
244 | .irqs = { 196, 196, 196, 196 } | ||
245 | }; | ||
246 | |||
247 | static struct platform_device scif4_device = { | ||
248 | .name = "sh-sci", | ||
249 | .id = 4, | ||
250 | .dev = { | ||
251 | .platform_data = &scif4_platform_data, | ||
252 | }, | ||
253 | }; | ||
254 | |||
255 | static struct plat_sci_port scif5_platform_data = { | ||
256 | .mapbase = 0xfffea800, | ||
257 | .flags = UPF_BOOT_AUTOCONF, | ||
258 | .type = PORT_SCIF, | ||
259 | .irqs = { 200, 200, 200, 200 } | ||
260 | }; | ||
261 | |||
262 | static struct platform_device scif5_device = { | ||
263 | .name = "sh-sci", | ||
264 | .id = 5, | ||
265 | .dev = { | ||
266 | .platform_data = &scif5_platform_data, | ||
267 | }, | ||
268 | }; | ||
269 | |||
270 | static struct plat_sci_port scif6_platform_data = { | ||
271 | .mapbase = 0xfffeb000, | ||
272 | .flags = UPF_BOOT_AUTOCONF, | ||
273 | .type = PORT_SCIF, | ||
274 | .irqs = { 204, 204, 204, 204 } | ||
275 | }; | ||
276 | |||
277 | static struct platform_device scif6_device = { | ||
278 | .name = "sh-sci", | ||
279 | .id = 6, | ||
280 | .dev = { | ||
281 | .platform_data = &scif6_platform_data, | ||
282 | }, | ||
283 | }; | ||
284 | |||
285 | static struct plat_sci_port scif7_platform_data = { | ||
286 | .mapbase = 0xfffeb800, | ||
287 | .flags = UPF_BOOT_AUTOCONF, | ||
288 | .type = PORT_SCIF, | ||
289 | .irqs = { 208, 208, 208, 208 } | ||
290 | }; | ||
291 | |||
292 | static struct platform_device scif7_device = { | ||
293 | .name = "sh-sci", | ||
294 | .id = 7, | ||
229 | .dev = { | 295 | .dev = { |
230 | .platform_data = sci_platform_data, | 296 | .platform_data = &scif7_platform_data, |
231 | }, | 297 | }, |
232 | }; | 298 | }; |
233 | 299 | ||
@@ -345,7 +411,14 @@ static struct platform_device mtu2_2_device = { | |||
345 | }; | 411 | }; |
346 | 412 | ||
347 | static struct platform_device *sh7201_devices[] __initdata = { | 413 | static struct platform_device *sh7201_devices[] __initdata = { |
348 | &sci_device, | 414 | &scif0_device, |
415 | &scif1_device, | ||
416 | &scif2_device, | ||
417 | &scif3_device, | ||
418 | &scif4_device, | ||
419 | &scif5_device, | ||
420 | &scif6_device, | ||
421 | &scif7_device, | ||
349 | &rtc_device, | 422 | &rtc_device, |
350 | &mtu2_0_device, | 423 | &mtu2_0_device, |
351 | &mtu2_1_device, | 424 | &mtu2_1_device, |
@@ -365,6 +438,14 @@ void __init plat_irq_setup(void) | |||
365 | } | 438 | } |
366 | 439 | ||
367 | static struct platform_device *sh7201_early_devices[] __initdata = { | 440 | static struct platform_device *sh7201_early_devices[] __initdata = { |
441 | &scif0_device, | ||
442 | &scif1_device, | ||
443 | &scif2_device, | ||
444 | &scif3_device, | ||
445 | &scif4_device, | ||
446 | &scif5_device, | ||
447 | &scif6_device, | ||
448 | &scif7_device, | ||
368 | &mtu2_0_device, | 449 | &mtu2_0_device, |
369 | &mtu2_1_device, | 450 | &mtu2_1_device, |
370 | &mtu2_2_device, | 451 | &mtu2_2_device, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c index d3fd536c9a84..3136966cc9b3 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7203.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7203.c | |||
@@ -173,37 +173,63 @@ static struct intc_mask_reg mask_registers[] __initdata = { | |||
173 | static DECLARE_INTC_DESC(intc_desc, "sh7203", vectors, groups, | 173 | static DECLARE_INTC_DESC(intc_desc, "sh7203", vectors, groups, |
174 | mask_registers, prio_registers, NULL); | 174 | mask_registers, prio_registers, NULL); |
175 | 175 | ||
176 | static struct plat_sci_port sci_platform_data[] = { | 176 | static struct plat_sci_port scif0_platform_data = { |
177 | { | 177 | .mapbase = 0xfffe8000, |
178 | .mapbase = 0xfffe8000, | 178 | .flags = UPF_BOOT_AUTOCONF, |
179 | .flags = UPF_BOOT_AUTOCONF, | 179 | .type = PORT_SCIF, |
180 | .type = PORT_SCIF, | 180 | .irqs = { 192, 192, 192, 192 }, |
181 | .irqs = { 192, 192, 192, 192 }, | ||
182 | }, { | ||
183 | .mapbase = 0xfffe8800, | ||
184 | .flags = UPF_BOOT_AUTOCONF, | ||
185 | .type = PORT_SCIF, | ||
186 | .irqs = { 196, 196, 196, 196 }, | ||
187 | }, { | ||
188 | .mapbase = 0xfffe9000, | ||
189 | .flags = UPF_BOOT_AUTOCONF, | ||
190 | .type = PORT_SCIF, | ||
191 | .irqs = { 200, 200, 200, 200 }, | ||
192 | }, { | ||
193 | .mapbase = 0xfffe9800, | ||
194 | .flags = UPF_BOOT_AUTOCONF, | ||
195 | .type = PORT_SCIF, | ||
196 | .irqs = { 204, 204, 204, 204 }, | ||
197 | }, { | ||
198 | .flags = 0, | ||
199 | } | ||
200 | }; | 181 | }; |
201 | 182 | ||
202 | static struct platform_device sci_device = { | 183 | static struct platform_device scif0_device = { |
203 | .name = "sh-sci", | 184 | .name = "sh-sci", |
204 | .id = -1, | 185 | .id = 0, |
186 | .dev = { | ||
187 | .platform_data = &scif0_platform_data, | ||
188 | }, | ||
189 | }; | ||
190 | |||
191 | static struct plat_sci_port scif1_platform_data = { | ||
192 | .mapbase = 0xfffe8800, | ||
193 | .flags = UPF_BOOT_AUTOCONF, | ||
194 | .type = PORT_SCIF, | ||
195 | .irqs = { 196, 196, 196, 196 }, | ||
196 | }; | ||
197 | |||
198 | static struct platform_device scif1_device = { | ||
199 | .name = "sh-sci", | ||
200 | .id = 1, | ||
201 | .dev = { | ||
202 | .platform_data = &scif1_platform_data, | ||
203 | }, | ||
204 | }; | ||
205 | |||
206 | static struct plat_sci_port scif2_platform_data = { | ||
207 | .mapbase = 0xfffe9000, | ||
208 | .flags = UPF_BOOT_AUTOCONF, | ||
209 | .type = PORT_SCIF, | ||
210 | .irqs = { 200, 200, 200, 200 }, | ||
211 | }; | ||
212 | |||
213 | static struct platform_device scif2_device = { | ||
214 | .name = "sh-sci", | ||
215 | .id = 2, | ||
216 | .dev = { | ||
217 | .platform_data = &scif2_platform_data, | ||
218 | }, | ||
219 | }; | ||
220 | |||
221 | static struct plat_sci_port scif3_platform_data = { | ||
222 | .mapbase = 0xfffe9800, | ||
223 | .flags = UPF_BOOT_AUTOCONF, | ||
224 | .type = PORT_SCIF, | ||
225 | .irqs = { 204, 204, 204, 204 }, | ||
226 | }; | ||
227 | |||
228 | static struct platform_device scif3_device = { | ||
229 | .name = "sh-sci", | ||
230 | .id = 3, | ||
205 | .dev = { | 231 | .dev = { |
206 | .platform_data = sci_platform_data, | 232 | .platform_data = &scif3_platform_data, |
207 | }, | 233 | }, |
208 | }; | 234 | }; |
209 | 235 | ||
@@ -354,7 +380,10 @@ static struct platform_device rtc_device = { | |||
354 | }; | 380 | }; |
355 | 381 | ||
356 | static struct platform_device *sh7203_devices[] __initdata = { | 382 | static struct platform_device *sh7203_devices[] __initdata = { |
357 | &sci_device, | 383 | &scif0_device, |
384 | &scif1_device, | ||
385 | &scif2_device, | ||
386 | &scif3_device, | ||
358 | &cmt0_device, | 387 | &cmt0_device, |
359 | &cmt1_device, | 388 | &cmt1_device, |
360 | &mtu2_0_device, | 389 | &mtu2_0_device, |
@@ -375,6 +404,10 @@ void __init plat_irq_setup(void) | |||
375 | } | 404 | } |
376 | 405 | ||
377 | static struct platform_device *sh7203_early_devices[] __initdata = { | 406 | static struct platform_device *sh7203_early_devices[] __initdata = { |
407 | &scif0_device, | ||
408 | &scif1_device, | ||
409 | &scif2_device, | ||
410 | &scif3_device, | ||
378 | &cmt0_device, | 411 | &cmt0_device, |
379 | &cmt1_device, | 412 | &cmt1_device, |
380 | &mtu2_0_device, | 413 | &mtu2_0_device, |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c index a9ccc5e8d9e9..064873585a8b 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7206.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7206.c | |||
@@ -133,37 +133,63 @@ static struct intc_mask_reg mask_registers[] __initdata = { | |||
133 | static DECLARE_INTC_DESC(intc_desc, "sh7206", vectors, groups, | 133 | static DECLARE_INTC_DESC(intc_desc, "sh7206", vectors, groups, |
134 | mask_registers, prio_registers, NULL); | 134 | mask_registers, prio_registers, NULL); |
135 | 135 | ||
136 | static struct plat_sci_port sci_platform_data[] = { | 136 | static struct plat_sci_port scif0_platform_data = { |
137 | { | 137 | .mapbase = 0xfffe8000, |
138 | .mapbase = 0xfffe8000, | 138 | .flags = UPF_BOOT_AUTOCONF, |
139 | .flags = UPF_BOOT_AUTOCONF, | 139 | .type = PORT_SCIF, |
140 | .type = PORT_SCIF, | 140 | .irqs = { 240, 240, 240, 240 }, |
141 | .irqs = { 240, 240, 240, 240 }, | ||
142 | }, { | ||
143 | .mapbase = 0xfffe8800, | ||
144 | .flags = UPF_BOOT_AUTOCONF, | ||
145 | .type = PORT_SCIF, | ||
146 | .irqs = { 244, 244, 244, 244 }, | ||
147 | }, { | ||
148 | .mapbase = 0xfffe9000, | ||
149 | .flags = UPF_BOOT_AUTOCONF, | ||
150 | .type = PORT_SCIF, | ||
151 | .irqs = { 248, 248, 248, 248 }, | ||
152 | }, { | ||
153 | .mapbase = 0xfffe9800, | ||
154 | .flags = UPF_BOOT_AUTOCONF, | ||
155 | .type = PORT_SCIF, | ||
156 | .irqs = { 252, 252, 252, 252 }, | ||
157 | }, { | ||
158 | .flags = 0, | ||
159 | } | ||
160 | }; | 141 | }; |
161 | 142 | ||
162 | static struct platform_device sci_device = { | 143 | static struct platform_device scif0_device = { |
163 | .name = "sh-sci", | 144 | .name = "sh-sci", |
164 | .id = -1, | 145 | .id = 0, |
146 | .dev = { | ||
147 | .platform_data = &scif0_platform_data, | ||
148 | }, | ||
149 | }; | ||
150 | |||
151 | static struct plat_sci_port scif1_platform_data = { | ||
152 | .mapbase = 0xfffe8800, | ||
153 | .flags = UPF_BOOT_AUTOCONF, | ||
154 | .type = PORT_SCIF, | ||
155 | .irqs = { 244, 244, 244, 244 }, | ||
156 | }; | ||
157 | |||
158 | static struct platform_device scif1_device = { | ||
159 | .name = "sh-sci", | ||
160 | .id = 1, | ||
161 | .dev = { | ||
162 | .platform_data = &scif1_platform_data, | ||
163 | }, | ||
164 | }; | ||
165 | |||
166 | static struct plat_sci_port scif2_platform_data = { | ||
167 | .mapbase = 0xfffe9000, | ||
168 | .flags = UPF_BOOT_AUTOCONF, | ||
169 | .type = PORT_SCIF, | ||
170 | .irqs = { 248, 248, 248, 248 }, | ||
171 | }; | ||
172 | |||
173 | static struct platform_device scif2_device = { | ||
174 | .name = "sh-sci", | ||
175 | .id = 2, | ||
176 | .dev = { | ||
177 | .platform_data = &scif2_platform_data, | ||
178 | }, | ||
179 | }; | ||
180 | |||
181 | static struct plat_sci_port scif3_platform_data = { | ||
182 | .mapbase = 0xfffe9800, | ||
183 | .flags = UPF_BOOT_AUTOCONF, | ||
184 | .type = PORT_SCIF, | ||
185 | .irqs = { 252, 252, 252, 252 }, | ||
186 | }; | ||
187 | |||
188 | static struct platform_device scif3_device = { | ||
189 | .name = "sh-sci", | ||
190 | .id = 3, | ||
165 | .dev = { | 191 | .dev = { |
166 | .platform_data = sci_platform_data, | 192 | .platform_data = &scif3_platform_data, |
167 | }, | 193 | }, |
168 | }; | 194 | }; |
169 | 195 | ||
@@ -325,7 +351,10 @@ static struct platform_device mtu2_2_device = { | |||
325 | }; | 351 | }; |
326 | 352 | ||
327 | static struct platform_device *sh7206_devices[] __initdata = { | 353 | static struct platform_device *sh7206_devices[] __initdata = { |
328 | &sci_device, | 354 | &scif0_device, |
355 | &scif1_device, | ||
356 | &scif2_device, | ||
357 | &scif3_device, | ||
329 | &cmt0_device, | 358 | &cmt0_device, |
330 | &cmt1_device, | 359 | &cmt1_device, |
331 | &mtu2_0_device, | 360 | &mtu2_0_device, |
@@ -346,6 +375,10 @@ void __init plat_irq_setup(void) | |||
346 | } | 375 | } |
347 | 376 | ||
348 | static struct platform_device *sh7206_early_devices[] __initdata = { | 377 | static struct platform_device *sh7206_early_devices[] __initdata = { |
378 | &scif0_device, | ||
379 | &scif1_device, | ||
380 | &scif2_device, | ||
381 | &scif3_device, | ||
349 | &cmt0_device, | 382 | &cmt0_device, |
350 | &cmt1_device, | 383 | &cmt1_device, |
351 | &mtu2_0_device, | 384 | &mtu2_0_device, |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7705.c b/arch/sh/kernel/cpu/sh3/setup-sh7705.c index c23105983878..7b892d60e3a0 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7705.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7705.c | |||
@@ -67,27 +67,33 @@ static struct intc_prio_reg prio_registers[] __initdata = { | |||
67 | static DECLARE_INTC_DESC(intc_desc, "sh7705", vectors, NULL, | 67 | static DECLARE_INTC_DESC(intc_desc, "sh7705", vectors, NULL, |
68 | NULL, prio_registers, NULL); | 68 | NULL, prio_registers, NULL); |
69 | 69 | ||
70 | static struct plat_sci_port sci_platform_data[] = { | 70 | static struct plat_sci_port scif0_platform_data = { |
71 | { | 71 | .mapbase = 0xa4410000, |
72 | .mapbase = 0xa4410000, | 72 | .flags = UPF_BOOT_AUTOCONF, |
73 | .flags = UPF_BOOT_AUTOCONF, | 73 | .type = PORT_SCIF, |
74 | .type = PORT_SCIF, | 74 | .irqs = { 56, 56, 56 }, |
75 | .irqs = { 56, 56, 56 }, | 75 | }; |
76 | }, { | 76 | |
77 | .mapbase = 0xa4400000, | 77 | static struct platform_device scif0_device = { |
78 | .flags = UPF_BOOT_AUTOCONF, | ||
79 | .type = PORT_SCIF, | ||
80 | .irqs = { 52, 52, 52 }, | ||
81 | }, { | ||
82 | .flags = 0, | ||
83 | } | ||
84 | }; | ||
85 | |||
86 | static struct platform_device sci_device = { | ||
87 | .name = "sh-sci", | 78 | .name = "sh-sci", |
88 | .id = -1, | 79 | .id = 0, |
80 | .dev = { | ||
81 | .platform_data = &scif0_platform_data, | ||
82 | }, | ||
83 | }; | ||
84 | |||
85 | static struct plat_sci_port scif1_platform_data = { | ||
86 | .mapbase = 0xa4400000, | ||
87 | .flags = UPF_BOOT_AUTOCONF, | ||
88 | .type = PORT_SCIF, | ||
89 | .irqs = { 52, 52, 52 }, | ||
90 | }; | ||
91 | |||
92 | static struct platform_device scif1_device = { | ||
93 | .name = "sh-sci", | ||
94 | .id = 1, | ||
89 | .dev = { | 95 | .dev = { |
90 | .platform_data = sci_platform_data, | 96 | .platform_data = &scif1_platform_data, |
91 | }, | 97 | }, |
92 | }; | 98 | }; |
93 | 99 | ||
@@ -210,10 +216,11 @@ static struct platform_device tmu2_device = { | |||
210 | }; | 216 | }; |
211 | 217 | ||
212 | static struct platform_device *sh7705_devices[] __initdata = { | 218 | static struct platform_device *sh7705_devices[] __initdata = { |
219 | &scif0_device, | ||
220 | &scif1_device, | ||
213 | &tmu0_device, | 221 | &tmu0_device, |
214 | &tmu1_device, | 222 | &tmu1_device, |
215 | &tmu2_device, | 223 | &tmu2_device, |
216 | &sci_device, | ||
217 | &rtc_device, | 224 | &rtc_device, |
218 | }; | 225 | }; |
219 | 226 | ||
@@ -225,6 +232,8 @@ static int __init sh7705_devices_setup(void) | |||
225 | arch_initcall(sh7705_devices_setup); | 232 | arch_initcall(sh7705_devices_setup); |
226 | 233 | ||
227 | static struct platform_device *sh7705_early_devices[] __initdata = { | 234 | static struct platform_device *sh7705_early_devices[] __initdata = { |
235 | &scif0_device, | ||
236 | &scif1_device, | ||
228 | &tmu0_device, | 237 | &tmu0_device, |
229 | &tmu1_device, | 238 | &tmu1_device, |
230 | &tmu2_device, | 239 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh770x.c b/arch/sh/kernel/cpu/sh3/setup-sh770x.c index 347ab35d0697..bc0c4f68c7c7 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh770x.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh770x.c | |||
@@ -106,44 +106,55 @@ static struct platform_device rtc_device = { | |||
106 | .resource = rtc_resources, | 106 | .resource = rtc_resources, |
107 | }; | 107 | }; |
108 | 108 | ||
109 | static struct plat_sci_port sci_platform_data[] = { | 109 | static struct plat_sci_port scif0_platform_data = { |
110 | { | 110 | .mapbase = 0xfffffe80, |
111 | .mapbase = 0xfffffe80, | 111 | .flags = UPF_BOOT_AUTOCONF, |
112 | .flags = UPF_BOOT_AUTOCONF, | 112 | .type = PORT_SCI, |
113 | .type = PORT_SCI, | 113 | .irqs = { 23, 23, 23, 0 }, |
114 | .irqs = { 23, 23, 23, 0 }, | 114 | }; |
115 | |||
116 | static struct platform_device scif0_device = { | ||
117 | .name = "sh-sci", | ||
118 | .id = 0, | ||
119 | .dev = { | ||
120 | .platform_data = &scif0_platform_data, | ||
115 | }, | 121 | }, |
122 | }; | ||
116 | #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \ | 123 | #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \ |
117 | defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | 124 | defined(CONFIG_CPU_SUBTYPE_SH7707) || \ |
118 | defined(CONFIG_CPU_SUBTYPE_SH7709) | 125 | defined(CONFIG_CPU_SUBTYPE_SH7709) |
119 | { | 126 | static struct plat_sci_port scif1_platform_data = { |
120 | .mapbase = 0xa4000150, | 127 | .mapbase = 0xa4000150, |
121 | .flags = UPF_BOOT_AUTOCONF, | 128 | .flags = UPF_BOOT_AUTOCONF, |
122 | .type = PORT_SCIF, | 129 | .type = PORT_SCIF, |
123 | .irqs = { 56, 56, 56, 56 }, | 130 | .irqs = { 56, 56, 56, 56 }, |
131 | }; | ||
132 | |||
133 | static struct platform_device scif1_device = { | ||
134 | .name = "sh-sci", | ||
135 | .id = 1, | ||
136 | .dev = { | ||
137 | .platform_data = &scif1_platform_data, | ||
124 | }, | 138 | }, |
139 | }; | ||
125 | #endif | 140 | #endif |
126 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | 141 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ |
127 | defined(CONFIG_CPU_SUBTYPE_SH7709) | 142 | defined(CONFIG_CPU_SUBTYPE_SH7709) |
128 | { | 143 | static struct plat_sci_port scif2_platform_data = { |
129 | .mapbase = 0xa4000140, | 144 | .mapbase = 0xa4000140, |
130 | .flags = UPF_BOOT_AUTOCONF, | 145 | .flags = UPF_BOOT_AUTOCONF, |
131 | .type = PORT_IRDA, | 146 | .type = PORT_IRDA, |
132 | .irqs = { 52, 52, 52, 52 }, | 147 | .irqs = { 52, 52, 52, 52 }, |
133 | }, | ||
134 | #endif | ||
135 | { | ||
136 | .flags = 0, | ||
137 | } | ||
138 | }; | 148 | }; |
139 | 149 | ||
140 | static struct platform_device sci_device = { | 150 | static struct platform_device scif2_device = { |
141 | .name = "sh-sci", | 151 | .name = "sh-sci", |
142 | .id = -1, | 152 | .id = 2, |
143 | .dev = { | 153 | .dev = { |
144 | .platform_data = sci_platform_data, | 154 | .platform_data = &scif2_platform_data, |
145 | }, | 155 | }, |
146 | }; | 156 | }; |
157 | #endif | ||
147 | 158 | ||
148 | static struct sh_timer_config tmu0_platform_data = { | 159 | static struct sh_timer_config tmu0_platform_data = { |
149 | .name = "TMU0", | 160 | .name = "TMU0", |
@@ -238,10 +249,19 @@ static struct platform_device tmu2_device = { | |||
238 | }; | 249 | }; |
239 | 250 | ||
240 | static struct platform_device *sh770x_devices[] __initdata = { | 251 | static struct platform_device *sh770x_devices[] __initdata = { |
252 | &scif0_device, | ||
253 | #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \ | ||
254 | defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | ||
255 | defined(CONFIG_CPU_SUBTYPE_SH7709) | ||
256 | &scif1_device, | ||
257 | #endif | ||
258 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | ||
259 | defined(CONFIG_CPU_SUBTYPE_SH7709) | ||
260 | &scif2_device, | ||
261 | #endif | ||
241 | &tmu0_device, | 262 | &tmu0_device, |
242 | &tmu1_device, | 263 | &tmu1_device, |
243 | &tmu2_device, | 264 | &tmu2_device, |
244 | &sci_device, | ||
245 | &rtc_device, | 265 | &rtc_device, |
246 | }; | 266 | }; |
247 | 267 | ||
@@ -253,6 +273,16 @@ static int __init sh770x_devices_setup(void) | |||
253 | arch_initcall(sh770x_devices_setup); | 273 | arch_initcall(sh770x_devices_setup); |
254 | 274 | ||
255 | static struct platform_device *sh770x_early_devices[] __initdata = { | 275 | static struct platform_device *sh770x_early_devices[] __initdata = { |
276 | &scif0_device, | ||
277 | #if defined(CONFIG_CPU_SUBTYPE_SH7706) || \ | ||
278 | defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | ||
279 | defined(CONFIG_CPU_SUBTYPE_SH7709) | ||
280 | &scif1_device, | ||
281 | #endif | ||
282 | #if defined(CONFIG_CPU_SUBTYPE_SH7707) || \ | ||
283 | defined(CONFIG_CPU_SUBTYPE_SH7709) | ||
284 | &scif2_device, | ||
285 | #endif | ||
256 | &tmu0_device, | 286 | &tmu0_device, |
257 | &tmu1_device, | 287 | &tmu1_device, |
258 | &tmu2_device, | 288 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7710.c b/arch/sh/kernel/cpu/sh3/setup-sh7710.c index 717e90ae1097..0845a3ad006d 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7710.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7710.c | |||
@@ -96,28 +96,33 @@ static struct platform_device rtc_device = { | |||
96 | }, | 96 | }, |
97 | }; | 97 | }; |
98 | 98 | ||
99 | static struct plat_sci_port sci_platform_data[] = { | 99 | static struct plat_sci_port scif0_platform_data = { |
100 | { | 100 | .mapbase = 0xa4400000, |
101 | .mapbase = 0xa4400000, | 101 | .flags = UPF_BOOT_AUTOCONF, |
102 | .flags = UPF_BOOT_AUTOCONF, | 102 | .type = PORT_SCIF, |
103 | .type = PORT_SCIF, | 103 | .irqs = { 52, 52, 52, 52 }, |
104 | .irqs = { 52, 52, 52, 52 }, | 104 | }; |
105 | }, { | 105 | |
106 | .mapbase = 0xa4410000, | 106 | static struct platform_device scif0_device = { |
107 | .flags = UPF_BOOT_AUTOCONF, | ||
108 | .type = PORT_SCIF, | ||
109 | .irqs = { 56, 56, 56, 56 }, | ||
110 | }, { | ||
111 | |||
112 | .flags = 0, | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | static struct platform_device sci_device = { | ||
117 | .name = "sh-sci", | 107 | .name = "sh-sci", |
118 | .id = -1, | 108 | .id = 0, |
109 | .dev = { | ||
110 | .platform_data = &scif0_platform_data, | ||
111 | }, | ||
112 | }; | ||
113 | |||
114 | static struct plat_sci_port scif1_platform_data = { | ||
115 | .mapbase = 0xa4410000, | ||
116 | .flags = UPF_BOOT_AUTOCONF, | ||
117 | .type = PORT_SCIF, | ||
118 | .irqs = { 56, 56, 56, 56 }, | ||
119 | }; | ||
120 | |||
121 | static struct platform_device scif1_device = { | ||
122 | .name = "sh-sci", | ||
123 | .id = 1, | ||
119 | .dev = { | 124 | .dev = { |
120 | .platform_data = sci_platform_data, | 125 | .platform_data = &scif1_platform_data, |
121 | }, | 126 | }, |
122 | }; | 127 | }; |
123 | 128 | ||
@@ -214,10 +219,11 @@ static struct platform_device tmu2_device = { | |||
214 | }; | 219 | }; |
215 | 220 | ||
216 | static struct platform_device *sh7710_devices[] __initdata = { | 221 | static struct platform_device *sh7710_devices[] __initdata = { |
222 | &scif0_device, | ||
223 | &scif1_device, | ||
217 | &tmu0_device, | 224 | &tmu0_device, |
218 | &tmu1_device, | 225 | &tmu1_device, |
219 | &tmu2_device, | 226 | &tmu2_device, |
220 | &sci_device, | ||
221 | &rtc_device, | 227 | &rtc_device, |
222 | }; | 228 | }; |
223 | 229 | ||
@@ -229,6 +235,8 @@ static int __init sh7710_devices_setup(void) | |||
229 | arch_initcall(sh7710_devices_setup); | 235 | arch_initcall(sh7710_devices_setup); |
230 | 236 | ||
231 | static struct platform_device *sh7710_early_devices[] __initdata = { | 237 | static struct platform_device *sh7710_early_devices[] __initdata = { |
238 | &scif0_device, | ||
239 | &scif1_device, | ||
232 | &tmu0_device, | 240 | &tmu0_device, |
233 | &tmu1_device, | 241 | &tmu1_device, |
234 | &tmu2_device, | 242 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7720.c b/arch/sh/kernel/cpu/sh3/setup-sh7720.c index 74d8baaf8e96..a718a6231091 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7720.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7720.c | |||
@@ -48,28 +48,33 @@ static struct platform_device rtc_device = { | |||
48 | }, | 48 | }, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct plat_sci_port sci_platform_data[] = { | 51 | static struct plat_sci_port scif0_platform_data = { |
52 | { | 52 | .mapbase = 0xa4430000, |
53 | .mapbase = 0xa4430000, | 53 | .flags = UPF_BOOT_AUTOCONF, |
54 | .flags = UPF_BOOT_AUTOCONF, | 54 | .type = PORT_SCIF, |
55 | .type = PORT_SCIF, | 55 | .irqs = { 80, 80, 80, 80 }, |
56 | .irqs = { 80, 80, 80, 80 }, | 56 | }; |
57 | }, { | 57 | |
58 | .mapbase = 0xa4438000, | 58 | static struct platform_device scif0_device = { |
59 | .flags = UPF_BOOT_AUTOCONF, | ||
60 | .type = PORT_SCIF, | ||
61 | .irqs = { 81, 81, 81, 81 }, | ||
62 | }, { | ||
63 | |||
64 | .flags = 0, | ||
65 | } | ||
66 | }; | ||
67 | |||
68 | static struct platform_device sci_device = { | ||
69 | .name = "sh-sci", | 59 | .name = "sh-sci", |
70 | .id = -1, | 60 | .id = 0, |
61 | .dev = { | ||
62 | .platform_data = &scif0_platform_data, | ||
63 | }, | ||
64 | }; | ||
65 | |||
66 | static struct plat_sci_port scif1_platform_data = { | ||
67 | .mapbase = 0xa4438000, | ||
68 | .flags = UPF_BOOT_AUTOCONF, | ||
69 | .type = PORT_SCIF, | ||
70 | .irqs = { 81, 81, 81, 81 }, | ||
71 | }; | ||
72 | |||
73 | static struct platform_device scif1_device = { | ||
74 | .name = "sh-sci", | ||
75 | .id = 1, | ||
71 | .dev = { | 76 | .dev = { |
72 | .platform_data = sci_platform_data, | 77 | .platform_data = &scif1_platform_data, |
73 | }, | 78 | }, |
74 | }; | 79 | }; |
75 | 80 | ||
@@ -369,6 +374,8 @@ static struct platform_device tmu2_device = { | |||
369 | }; | 374 | }; |
370 | 375 | ||
371 | static struct platform_device *sh7720_devices[] __initdata = { | 376 | static struct platform_device *sh7720_devices[] __initdata = { |
377 | &scif0_device, | ||
378 | &scif1_device, | ||
372 | &cmt0_device, | 379 | &cmt0_device, |
373 | &cmt1_device, | 380 | &cmt1_device, |
374 | &cmt2_device, | 381 | &cmt2_device, |
@@ -378,7 +385,6 @@ static struct platform_device *sh7720_devices[] __initdata = { | |||
378 | &tmu1_device, | 385 | &tmu1_device, |
379 | &tmu2_device, | 386 | &tmu2_device, |
380 | &rtc_device, | 387 | &rtc_device, |
381 | &sci_device, | ||
382 | &usb_ohci_device, | 388 | &usb_ohci_device, |
383 | &usbf_device, | 389 | &usbf_device, |
384 | }; | 390 | }; |
@@ -391,6 +397,8 @@ static int __init sh7720_devices_setup(void) | |||
391 | arch_initcall(sh7720_devices_setup); | 397 | arch_initcall(sh7720_devices_setup); |
392 | 398 | ||
393 | static struct platform_device *sh7720_early_devices[] __initdata = { | 399 | static struct platform_device *sh7720_early_devices[] __initdata = { |
400 | &scif0_device, | ||
401 | &scif1_device, | ||
394 | &cmt0_device, | 402 | &cmt0_device, |
395 | &cmt1_device, | 403 | &cmt1_device, |
396 | &cmt2_device, | 404 | &cmt2_device, |
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh4-202.c b/arch/sh/kernel/cpu/sh4/setup-sh4-202.c index de4827df19aa..4b733715cdb5 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh4-202.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh4-202.c | |||
@@ -15,22 +15,18 @@ | |||
15 | #include <linux/sh_timer.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | static struct plat_sci_port sci_platform_data[] = { | 18 | static struct plat_sci_port scif0_platform_data = { |
19 | { | 19 | .mapbase = 0xffe80000, |
20 | .mapbase = 0xffe80000, | 20 | .flags = UPF_BOOT_AUTOCONF, |
21 | .flags = UPF_BOOT_AUTOCONF, | 21 | .type = PORT_SCIF, |
22 | .type = PORT_SCIF, | 22 | .irqs = { 40, 41, 43, 42 }, |
23 | .irqs = { 40, 41, 43, 42 }, | ||
24 | }, { | ||
25 | .flags = 0, | ||
26 | } | ||
27 | }; | 23 | }; |
28 | 24 | ||
29 | static struct platform_device sci_device = { | 25 | static struct platform_device scif0_device = { |
30 | .name = "sh-sci", | 26 | .name = "sh-sci", |
31 | .id = -1, | 27 | .id = 0, |
32 | .dev = { | 28 | .dev = { |
33 | .platform_data = sci_platform_data, | 29 | .platform_data = &scif0_platform_data, |
34 | }, | 30 | }, |
35 | }; | 31 | }; |
36 | 32 | ||
@@ -127,7 +123,7 @@ static struct platform_device tmu2_device = { | |||
127 | }; | 123 | }; |
128 | 124 | ||
129 | static struct platform_device *sh4202_devices[] __initdata = { | 125 | static struct platform_device *sh4202_devices[] __initdata = { |
130 | &sci_device, | 126 | &scif0_device, |
131 | &tmu0_device, | 127 | &tmu0_device, |
132 | &tmu1_device, | 128 | &tmu1_device, |
133 | &tmu2_device, | 129 | &tmu2_device, |
@@ -141,6 +137,7 @@ static int __init sh4202_devices_setup(void) | |||
141 | arch_initcall(sh4202_devices_setup); | 137 | arch_initcall(sh4202_devices_setup); |
142 | 138 | ||
143 | static struct platform_device *sh4202_early_devices[] __initdata = { | 139 | static struct platform_device *sh4202_early_devices[] __initdata = { |
140 | &scif0_device, | ||
144 | &tmu0_device, | 141 | &tmu0_device, |
145 | &tmu1_device, | 142 | &tmu1_device, |
146 | &tmu2_device, | 143 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7750.c b/arch/sh/kernel/cpu/sh4/setup-sh7750.c index 1b8b122e8f3d..b2a9df1af64c 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh7750.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh7750.c | |||
@@ -35,29 +35,33 @@ static struct platform_device rtc_device = { | |||
35 | .resource = rtc_resources, | 35 | .resource = rtc_resources, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static struct plat_sci_port sci_platform_data[] = { | 38 | static struct plat_sci_port scif0_platform_data = { |
39 | { | 39 | .mapbase = 0xffe00000, |
40 | #ifndef CONFIG_SH_RTS7751R2D | 40 | .flags = UPF_BOOT_AUTOCONF, |
41 | .mapbase = 0xffe00000, | 41 | .type = PORT_SCI, |
42 | .flags = UPF_BOOT_AUTOCONF, | 42 | .irqs = { 23, 23, 23, 0 }, |
43 | .type = PORT_SCI, | ||
44 | .irqs = { 23, 23, 23, 0 }, | ||
45 | }, { | ||
46 | #endif | ||
47 | .mapbase = 0xffe80000, | ||
48 | .flags = UPF_BOOT_AUTOCONF, | ||
49 | .type = PORT_SCIF, | ||
50 | .irqs = { 40, 40, 40, 40 }, | ||
51 | }, { | ||
52 | .flags = 0, | ||
53 | } | ||
54 | }; | 43 | }; |
55 | 44 | ||
56 | static struct platform_device sci_device = { | 45 | static struct platform_device scif0_device = { |
57 | .name = "sh-sci", | 46 | .name = "sh-sci", |
58 | .id = -1, | 47 | .id = 0, |
48 | .dev = { | ||
49 | .platform_data = &scif0_platform_data, | ||
50 | }, | ||
51 | }; | ||
52 | |||
53 | static struct plat_sci_port scif1_platform_data = { | ||
54 | .mapbase = 0xffe80000, | ||
55 | .flags = UPF_BOOT_AUTOCONF, | ||
56 | .type = PORT_SCIF, | ||
57 | .irqs = { 40, 40, 40, 40 }, | ||
58 | }; | ||
59 | |||
60 | static struct platform_device scif1_device = { | ||
61 | .name = "sh-sci", | ||
62 | .id = 1, | ||
59 | .dev = { | 63 | .dev = { |
60 | .platform_data = sci_platform_data, | 64 | .platform_data = &scif1_platform_data, |
61 | }, | 65 | }, |
62 | }; | 66 | }; |
63 | 67 | ||
@@ -221,8 +225,9 @@ static struct platform_device tmu4_device = { | |||
221 | #endif | 225 | #endif |
222 | 226 | ||
223 | static struct platform_device *sh7750_devices[] __initdata = { | 227 | static struct platform_device *sh7750_devices[] __initdata = { |
228 | &scif0_device, | ||
229 | &scif1_device, | ||
224 | &rtc_device, | 230 | &rtc_device, |
225 | &sci_device, | ||
226 | &tmu0_device, | 231 | &tmu0_device, |
227 | &tmu1_device, | 232 | &tmu1_device, |
228 | &tmu2_device, | 233 | &tmu2_device, |
@@ -242,6 +247,8 @@ static int __init sh7750_devices_setup(void) | |||
242 | arch_initcall(sh7750_devices_setup); | 247 | arch_initcall(sh7750_devices_setup); |
243 | 248 | ||
244 | static struct platform_device *sh7750_early_devices[] __initdata = { | 249 | static struct platform_device *sh7750_early_devices[] __initdata = { |
250 | &scif0_device, | ||
251 | &scif1_device, | ||
245 | &tmu0_device, | 252 | &tmu0_device, |
246 | &tmu1_device, | 253 | &tmu1_device, |
247 | &tmu2_device, | 254 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7760.c b/arch/sh/kernel/cpu/sh4/setup-sh7760.c index 7fbb7be9284c..5b74cc0b43da 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh7760.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh7760.c | |||
@@ -126,37 +126,63 @@ static struct intc_vect vectors_irq[] __initdata = { | |||
126 | static DECLARE_INTC_DESC(intc_desc_irq, "sh7760-irq", vectors_irq, groups, | 126 | static DECLARE_INTC_DESC(intc_desc_irq, "sh7760-irq", vectors_irq, groups, |
127 | mask_registers, prio_registers, NULL); | 127 | mask_registers, prio_registers, NULL); |
128 | 128 | ||
129 | static struct plat_sci_port sci_platform_data[] = { | 129 | static struct plat_sci_port scif0_platform_data = { |
130 | { | 130 | .mapbase = 0xfe600000, |
131 | .mapbase = 0xfe600000, | 131 | .flags = UPF_BOOT_AUTOCONF, |
132 | .flags = UPF_BOOT_AUTOCONF, | 132 | .type = PORT_SCIF, |
133 | .type = PORT_SCIF, | 133 | .irqs = { 52, 53, 55, 54 }, |
134 | .irqs = { 52, 53, 55, 54 }, | 134 | }; |
135 | }, { | 135 | |
136 | .mapbase = 0xfe610000, | 136 | static struct platform_device scif0_device = { |
137 | .flags = UPF_BOOT_AUTOCONF, | 137 | .name = "sh-sci", |
138 | .type = PORT_SCIF, | 138 | .id = 0, |
139 | .irqs = { 72, 73, 75, 74 }, | 139 | .dev = { |
140 | }, { | 140 | .platform_data = &scif0_platform_data, |
141 | .mapbase = 0xfe620000, | 141 | }, |
142 | .flags = UPF_BOOT_AUTOCONF, | 142 | }; |
143 | .type = PORT_SCIF, | 143 | |
144 | .irqs = { 76, 77, 79, 78 }, | 144 | static struct plat_sci_port scif1_platform_data = { |
145 | }, { | 145 | .mapbase = 0xfe610000, |
146 | .mapbase = 0xfe480000, | 146 | .flags = UPF_BOOT_AUTOCONF, |
147 | .flags = UPF_BOOT_AUTOCONF, | 147 | .type = PORT_SCIF, |
148 | .type = PORT_SCI, | 148 | .irqs = { 72, 73, 75, 74 }, |
149 | .irqs = { 80, 81, 82, 0 }, | 149 | }; |
150 | }, { | 150 | |
151 | .flags = 0, | 151 | static struct platform_device scif1_device = { |
152 | } | 152 | .name = "sh-sci", |
153 | .id = 1, | ||
154 | .dev = { | ||
155 | .platform_data = &scif1_platform_data, | ||
156 | }, | ||
157 | }; | ||
158 | |||
159 | static struct plat_sci_port scif2_platform_data = { | ||
160 | .mapbase = 0xfe620000, | ||
161 | .flags = UPF_BOOT_AUTOCONF, | ||
162 | .type = PORT_SCIF, | ||
163 | .irqs = { 76, 77, 79, 78 }, | ||
164 | }; | ||
165 | |||
166 | static struct platform_device scif2_device = { | ||
167 | .name = "sh-sci", | ||
168 | .id = 2, | ||
169 | .dev = { | ||
170 | .platform_data = &scif2_platform_data, | ||
171 | }, | ||
172 | }; | ||
173 | |||
174 | static struct plat_sci_port scif3_platform_data = { | ||
175 | .mapbase = 0xfe480000, | ||
176 | .flags = UPF_BOOT_AUTOCONF, | ||
177 | .type = PORT_SCI, | ||
178 | .irqs = { 80, 81, 82, 0 }, | ||
153 | }; | 179 | }; |
154 | 180 | ||
155 | static struct platform_device sci_device = { | 181 | static struct platform_device scif3_device = { |
156 | .name = "sh-sci", | 182 | .name = "sh-sci", |
157 | .id = -1, | 183 | .id = 3, |
158 | .dev = { | 184 | .dev = { |
159 | .platform_data = sci_platform_data, | 185 | .platform_data = &scif3_platform_data, |
160 | }, | 186 | }, |
161 | }; | 187 | }; |
162 | 188 | ||
@@ -254,7 +280,10 @@ static struct platform_device tmu2_device = { | |||
254 | 280 | ||
255 | 281 | ||
256 | static struct platform_device *sh7760_devices[] __initdata = { | 282 | static struct platform_device *sh7760_devices[] __initdata = { |
257 | &sci_device, | 283 | &scif0_device, |
284 | &scif1_device, | ||
285 | &scif2_device, | ||
286 | &scif3_device, | ||
258 | &tmu0_device, | 287 | &tmu0_device, |
259 | &tmu1_device, | 288 | &tmu1_device, |
260 | &tmu2_device, | 289 | &tmu2_device, |
@@ -268,6 +297,10 @@ static int __init sh7760_devices_setup(void) | |||
268 | arch_initcall(sh7760_devices_setup); | 297 | arch_initcall(sh7760_devices_setup); |
269 | 298 | ||
270 | static struct platform_device *sh7760_early_devices[] __initdata = { | 299 | static struct platform_device *sh7760_early_devices[] __initdata = { |
300 | &scif0_device, | ||
301 | &scif1_device, | ||
302 | &scif2_device, | ||
303 | &scif3_device, | ||
271 | &tmu0_device, | 304 | &tmu0_device, |
272 | &tmu1_device, | 305 | &tmu1_device, |
273 | &tmu2_device, | 306 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c index ac4d5672ec1a..45eb1bfd42c9 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c | |||
@@ -15,6 +15,71 @@ | |||
15 | #include <linux/sh_timer.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <asm/clock.h> | 16 | #include <asm/clock.h> |
17 | 17 | ||
18 | /* Serial */ | ||
19 | static struct plat_sci_port scif0_platform_data = { | ||
20 | .mapbase = 0xffe00000, | ||
21 | .flags = UPF_BOOT_AUTOCONF, | ||
22 | .type = PORT_SCIF, | ||
23 | .irqs = { 80, 80, 80, 80 }, | ||
24 | .clk = "scif0", | ||
25 | }; | ||
26 | |||
27 | static struct platform_device scif0_device = { | ||
28 | .name = "sh-sci", | ||
29 | .id = 0, | ||
30 | .dev = { | ||
31 | .platform_data = &scif0_platform_data, | ||
32 | }, | ||
33 | }; | ||
34 | |||
35 | static struct plat_sci_port scif1_platform_data = { | ||
36 | .mapbase = 0xffe10000, | ||
37 | .flags = UPF_BOOT_AUTOCONF, | ||
38 | .type = PORT_SCIF, | ||
39 | .irqs = { 81, 81, 81, 81 }, | ||
40 | .clk = "scif1", | ||
41 | }; | ||
42 | |||
43 | static struct platform_device scif1_device = { | ||
44 | .name = "sh-sci", | ||
45 | .id = 1, | ||
46 | .dev = { | ||
47 | .platform_data = &scif1_platform_data, | ||
48 | }, | ||
49 | }; | ||
50 | |||
51 | static struct plat_sci_port scif2_platform_data = { | ||
52 | .mapbase = 0xffe20000, | ||
53 | .flags = UPF_BOOT_AUTOCONF, | ||
54 | .type = PORT_SCIF, | ||
55 | .irqs = { 82, 82, 82, 82 }, | ||
56 | .clk = "scif2", | ||
57 | }; | ||
58 | |||
59 | static struct platform_device scif2_device = { | ||
60 | .name = "sh-sci", | ||
61 | .id = 2, | ||
62 | .dev = { | ||
63 | .platform_data = &scif2_platform_data, | ||
64 | }, | ||
65 | }; | ||
66 | |||
67 | static struct plat_sci_port scif3_platform_data = { | ||
68 | .mapbase = 0xffe30000, | ||
69 | .flags = UPF_BOOT_AUTOCONF, | ||
70 | .type = PORT_SCIF, | ||
71 | .irqs = { 83, 83, 83, 83 }, | ||
72 | .clk = "scif3", | ||
73 | }; | ||
74 | |||
75 | static struct platform_device scif3_device = { | ||
76 | .name = "sh-sci", | ||
77 | .id = 3, | ||
78 | .dev = { | ||
79 | .platform_data = &scif3_platform_data, | ||
80 | }, | ||
81 | }; | ||
82 | |||
18 | static struct resource iic0_resources[] = { | 83 | static struct resource iic0_resources[] = { |
19 | [0] = { | 84 | [0] = { |
20 | .name = "IIC0", | 85 | .name = "IIC0", |
@@ -265,52 +330,17 @@ static struct platform_device tmu2_device = { | |||
265 | .num_resources = ARRAY_SIZE(tmu2_resources), | 330 | .num_resources = ARRAY_SIZE(tmu2_resources), |
266 | }; | 331 | }; |
267 | 332 | ||
268 | static struct plat_sci_port sci_platform_data[] = { | ||
269 | { | ||
270 | .mapbase = 0xffe00000, | ||
271 | .flags = UPF_BOOT_AUTOCONF, | ||
272 | .type = PORT_SCIF, | ||
273 | .irqs = { 80, 80, 80, 80 }, | ||
274 | .clk = "scif0", | ||
275 | }, { | ||
276 | .mapbase = 0xffe10000, | ||
277 | .flags = UPF_BOOT_AUTOCONF, | ||
278 | .type = PORT_SCIF, | ||
279 | .irqs = { 81, 81, 81, 81 }, | ||
280 | .clk = "scif1", | ||
281 | }, { | ||
282 | .mapbase = 0xffe20000, | ||
283 | .flags = UPF_BOOT_AUTOCONF, | ||
284 | .type = PORT_SCIF, | ||
285 | .irqs = { 82, 82, 82, 82 }, | ||
286 | .clk = "scif2", | ||
287 | }, { | ||
288 | .mapbase = 0xffe30000, | ||
289 | .flags = UPF_BOOT_AUTOCONF, | ||
290 | .type = PORT_SCIF, | ||
291 | .irqs = { 83, 83, 83, 83 }, | ||
292 | .clk = "scif3", | ||
293 | }, { | ||
294 | .flags = 0, | ||
295 | } | ||
296 | }; | ||
297 | |||
298 | static struct platform_device sci_device = { | ||
299 | .name = "sh-sci", | ||
300 | .id = -1, | ||
301 | .dev = { | ||
302 | .platform_data = sci_platform_data, | ||
303 | }, | ||
304 | }; | ||
305 | |||
306 | static struct platform_device *sh7343_devices[] __initdata = { | 333 | static struct platform_device *sh7343_devices[] __initdata = { |
334 | &scif0_device, | ||
335 | &scif1_device, | ||
336 | &scif2_device, | ||
337 | &scif3_device, | ||
307 | &cmt_device, | 338 | &cmt_device, |
308 | &tmu0_device, | 339 | &tmu0_device, |
309 | &tmu1_device, | 340 | &tmu1_device, |
310 | &tmu2_device, | 341 | &tmu2_device, |
311 | &iic0_device, | 342 | &iic0_device, |
312 | &iic1_device, | 343 | &iic1_device, |
313 | &sci_device, | ||
314 | &vpu_device, | 344 | &vpu_device, |
315 | &veu_device, | 345 | &veu_device, |
316 | &jpu_device, | 346 | &jpu_device, |
@@ -328,6 +358,10 @@ static int __init sh7343_devices_setup(void) | |||
328 | arch_initcall(sh7343_devices_setup); | 358 | arch_initcall(sh7343_devices_setup); |
329 | 359 | ||
330 | static struct platform_device *sh7343_early_devices[] __initdata = { | 360 | static struct platform_device *sh7343_early_devices[] __initdata = { |
361 | &scif0_device, | ||
362 | &scif1_device, | ||
363 | &scif2_device, | ||
364 | &scif3_device, | ||
331 | &cmt_device, | 365 | &cmt_device, |
332 | &tmu0_device, | 366 | &tmu0_device, |
333 | &tmu1_device, | 367 | &tmu1_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 4a9010bf4fd3..c494c193e3b6 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -18,6 +18,22 @@ | |||
18 | #include <linux/usb/r8a66597.h> | 18 | #include <linux/usb/r8a66597.h> |
19 | #include <asm/clock.h> | 19 | #include <asm/clock.h> |
20 | 20 | ||
21 | static struct plat_sci_port scif0_platform_data = { | ||
22 | .mapbase = 0xffe00000, | ||
23 | .flags = UPF_BOOT_AUTOCONF, | ||
24 | .type = PORT_SCIF, | ||
25 | .irqs = { 80, 80, 80, 80 }, | ||
26 | .clk = "scif0", | ||
27 | }; | ||
28 | |||
29 | static struct platform_device scif0_device = { | ||
30 | .name = "sh-sci", | ||
31 | .id = 0, | ||
32 | .dev = { | ||
33 | .platform_data = &scif0_platform_data, | ||
34 | }, | ||
35 | }; | ||
36 | |||
21 | static struct resource iic_resources[] = { | 37 | static struct resource iic_resources[] = { |
22 | [0] = { | 38 | [0] = { |
23 | .name = "IIC", | 39 | .name = "IIC", |
@@ -276,33 +292,13 @@ static struct platform_device tmu2_device = { | |||
276 | .num_resources = ARRAY_SIZE(tmu2_resources), | 292 | .num_resources = ARRAY_SIZE(tmu2_resources), |
277 | }; | 293 | }; |
278 | 294 | ||
279 | static struct plat_sci_port sci_platform_data[] = { | ||
280 | { | ||
281 | .mapbase = 0xffe00000, | ||
282 | .flags = UPF_BOOT_AUTOCONF, | ||
283 | .type = PORT_SCIF, | ||
284 | .irqs = { 80, 80, 80, 80 }, | ||
285 | .clk = "scif0", | ||
286 | }, { | ||
287 | .flags = 0, | ||
288 | } | ||
289 | }; | ||
290 | |||
291 | static struct platform_device sci_device = { | ||
292 | .name = "sh-sci", | ||
293 | .id = -1, | ||
294 | .dev = { | ||
295 | .platform_data = sci_platform_data, | ||
296 | }, | ||
297 | }; | ||
298 | |||
299 | static struct platform_device *sh7366_devices[] __initdata = { | 295 | static struct platform_device *sh7366_devices[] __initdata = { |
296 | &scif0_device, | ||
300 | &cmt_device, | 297 | &cmt_device, |
301 | &tmu0_device, | 298 | &tmu0_device, |
302 | &tmu1_device, | 299 | &tmu1_device, |
303 | &tmu2_device, | 300 | &tmu2_device, |
304 | &iic_device, | 301 | &iic_device, |
305 | &sci_device, | ||
306 | &usb_host_device, | 302 | &usb_host_device, |
307 | &vpu_device, | 303 | &vpu_device, |
308 | &veu0_device, | 304 | &veu0_device, |
@@ -321,6 +317,7 @@ static int __init sh7366_devices_setup(void) | |||
321 | arch_initcall(sh7366_devices_setup); | 317 | arch_initcall(sh7366_devices_setup); |
322 | 318 | ||
323 | static struct platform_device *sh7366_early_devices[] __initdata = { | 319 | static struct platform_device *sh7366_early_devices[] __initdata = { |
320 | &scif0_device, | ||
324 | &cmt_device, | 321 | &cmt_device, |
325 | &tmu0_device, | 322 | &tmu0_device, |
326 | &tmu1_device, | 323 | &tmu1_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 5491b094cf05..b5335b5e309c 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -20,6 +20,55 @@ | |||
20 | #include <asm/dma-sh.h> | 20 | #include <asm/dma-sh.h> |
21 | #include <cpu/sh7722.h> | 21 | #include <cpu/sh7722.h> |
22 | 22 | ||
23 | /* Serial */ | ||
24 | static struct plat_sci_port scif0_platform_data = { | ||
25 | .mapbase = 0xffe00000, | ||
26 | .flags = UPF_BOOT_AUTOCONF, | ||
27 | .type = PORT_SCIF, | ||
28 | .irqs = { 80, 80, 80, 80 }, | ||
29 | .clk = "scif0", | ||
30 | }; | ||
31 | |||
32 | static struct platform_device scif0_device = { | ||
33 | .name = "sh-sci", | ||
34 | .id = 0, | ||
35 | .dev = { | ||
36 | .platform_data = &scif0_platform_data, | ||
37 | }, | ||
38 | }; | ||
39 | |||
40 | static struct plat_sci_port scif1_platform_data = { | ||
41 | .mapbase = 0xffe10000, | ||
42 | .flags = UPF_BOOT_AUTOCONF, | ||
43 | .type = PORT_SCIF, | ||
44 | .irqs = { 81, 81, 81, 81 }, | ||
45 | .clk = "scif1", | ||
46 | }; | ||
47 | |||
48 | static struct platform_device scif1_device = { | ||
49 | .name = "sh-sci", | ||
50 | .id = 1, | ||
51 | .dev = { | ||
52 | .platform_data = &scif1_platform_data, | ||
53 | }, | ||
54 | }; | ||
55 | |||
56 | static struct plat_sci_port scif2_platform_data = { | ||
57 | .mapbase = 0xffe20000, | ||
58 | .flags = UPF_BOOT_AUTOCONF, | ||
59 | .type = PORT_SCIF, | ||
60 | .irqs = { 82, 82, 82, 82 }, | ||
61 | .clk = "scif2", | ||
62 | }; | ||
63 | |||
64 | static struct platform_device scif2_device = { | ||
65 | .name = "sh-sci", | ||
66 | .id = 2, | ||
67 | .dev = { | ||
68 | .platform_data = &scif2_platform_data, | ||
69 | }, | ||
70 | }; | ||
71 | |||
23 | static struct resource rtc_resources[] = { | 72 | static struct resource rtc_resources[] = { |
24 | [0] = { | 73 | [0] = { |
25 | .start = 0xa465fec0, | 74 | .start = 0xa465fec0, |
@@ -339,41 +388,6 @@ static struct platform_device tmu2_device = { | |||
339 | }, | 388 | }, |
340 | }; | 389 | }; |
341 | 390 | ||
342 | static struct plat_sci_port sci_platform_data[] = { | ||
343 | { | ||
344 | .mapbase = 0xffe00000, | ||
345 | .flags = UPF_BOOT_AUTOCONF, | ||
346 | .type = PORT_SCIF, | ||
347 | .irqs = { 80, 80, 80, 80 }, | ||
348 | .clk = "scif0", | ||
349 | }, | ||
350 | { | ||
351 | .mapbase = 0xffe10000, | ||
352 | .flags = UPF_BOOT_AUTOCONF, | ||
353 | .type = PORT_SCIF, | ||
354 | .irqs = { 81, 81, 81, 81 }, | ||
355 | .clk = "scif1", | ||
356 | }, | ||
357 | { | ||
358 | .mapbase = 0xffe20000, | ||
359 | .flags = UPF_BOOT_AUTOCONF, | ||
360 | .type = PORT_SCIF, | ||
361 | .irqs = { 82, 82, 82, 82 }, | ||
362 | .clk = "scif2", | ||
363 | }, | ||
364 | { | ||
365 | .flags = 0, | ||
366 | } | ||
367 | }; | ||
368 | |||
369 | static struct platform_device sci_device = { | ||
370 | .name = "sh-sci", | ||
371 | .id = -1, | ||
372 | .dev = { | ||
373 | .platform_data = sci_platform_data, | ||
374 | }, | ||
375 | }; | ||
376 | |||
377 | static struct sh_dmae_pdata dma_platform_data = { | 391 | static struct sh_dmae_pdata dma_platform_data = { |
378 | .mode = 0, | 392 | .mode = 0, |
379 | }; | 393 | }; |
@@ -387,6 +401,9 @@ static struct platform_device dma_device = { | |||
387 | }; | 401 | }; |
388 | 402 | ||
389 | static struct platform_device *sh7722_devices[] __initdata = { | 403 | static struct platform_device *sh7722_devices[] __initdata = { |
404 | &scif0_device, | ||
405 | &scif1_device, | ||
406 | &scif2_device, | ||
390 | &cmt_device, | 407 | &cmt_device, |
391 | &tmu0_device, | 408 | &tmu0_device, |
392 | &tmu1_device, | 409 | &tmu1_device, |
@@ -394,7 +411,6 @@ static struct platform_device *sh7722_devices[] __initdata = { | |||
394 | &rtc_device, | 411 | &rtc_device, |
395 | &usbf_device, | 412 | &usbf_device, |
396 | &iic_device, | 413 | &iic_device, |
397 | &sci_device, | ||
398 | &vpu_device, | 414 | &vpu_device, |
399 | &veu_device, | 415 | &veu_device, |
400 | &jpu_device, | 416 | &jpu_device, |
@@ -413,6 +429,9 @@ static int __init sh7722_devices_setup(void) | |||
413 | arch_initcall(sh7722_devices_setup); | 429 | arch_initcall(sh7722_devices_setup); |
414 | 430 | ||
415 | static struct platform_device *sh7722_early_devices[] __initdata = { | 431 | static struct platform_device *sh7722_early_devices[] __initdata = { |
432 | &scif0_device, | ||
433 | &scif1_device, | ||
434 | &scif2_device, | ||
416 | &cmt_device, | 435 | &cmt_device, |
417 | &tmu0_device, | 436 | &tmu0_device, |
418 | &tmu1_device, | 437 | &tmu1_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index 4caa5a7ca86e..772b9265d0e4 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -20,6 +20,103 @@ | |||
20 | #include <asm/mmzone.h> | 20 | #include <asm/mmzone.h> |
21 | #include <cpu/sh7723.h> | 21 | #include <cpu/sh7723.h> |
22 | 22 | ||
23 | /* Serial */ | ||
24 | static struct plat_sci_port scif0_platform_data = { | ||
25 | .mapbase = 0xffe00000, | ||
26 | .flags = UPF_BOOT_AUTOCONF, | ||
27 | .type = PORT_SCIF, | ||
28 | .irqs = { 80, 80, 80, 80 }, | ||
29 | .clk = "scif0", | ||
30 | }; | ||
31 | |||
32 | static struct platform_device scif0_device = { | ||
33 | .name = "sh-sci", | ||
34 | .id = 0, | ||
35 | .dev = { | ||
36 | .platform_data = &scif0_platform_data, | ||
37 | }, | ||
38 | }; | ||
39 | |||
40 | static struct plat_sci_port scif1_platform_data = { | ||
41 | .mapbase = 0xffe10000, | ||
42 | .flags = UPF_BOOT_AUTOCONF, | ||
43 | .type = PORT_SCIF, | ||
44 | .irqs = { 81, 81, 81, 81 }, | ||
45 | .clk = "scif1", | ||
46 | }; | ||
47 | |||
48 | static struct platform_device scif1_device = { | ||
49 | .name = "sh-sci", | ||
50 | .id = 1, | ||
51 | .dev = { | ||
52 | .platform_data = &scif1_platform_data, | ||
53 | }, | ||
54 | }; | ||
55 | |||
56 | static struct plat_sci_port scif2_platform_data = { | ||
57 | .mapbase = 0xffe20000, | ||
58 | .flags = UPF_BOOT_AUTOCONF, | ||
59 | .type = PORT_SCIF, | ||
60 | .irqs = { 82, 82, 82, 82 }, | ||
61 | .clk = "scif2", | ||
62 | }; | ||
63 | |||
64 | static struct platform_device scif2_device = { | ||
65 | .name = "sh-sci", | ||
66 | .id = 2, | ||
67 | .dev = { | ||
68 | .platform_data = &scif2_platform_data, | ||
69 | }, | ||
70 | }; | ||
71 | |||
72 | static struct plat_sci_port scif3_platform_data = { | ||
73 | .mapbase = 0xa4e30000, | ||
74 | .flags = UPF_BOOT_AUTOCONF, | ||
75 | .type = PORT_SCIFA, | ||
76 | .irqs = { 56, 56, 56, 56 }, | ||
77 | .clk = "scif3", | ||
78 | }; | ||
79 | |||
80 | static struct platform_device scif3_device = { | ||
81 | .name = "sh-sci", | ||
82 | .id = 3, | ||
83 | .dev = { | ||
84 | .platform_data = &scif3_platform_data, | ||
85 | }, | ||
86 | }; | ||
87 | |||
88 | static struct plat_sci_port scif4_platform_data = { | ||
89 | .mapbase = 0xa4e40000, | ||
90 | .flags = UPF_BOOT_AUTOCONF, | ||
91 | .type = PORT_SCIFA, | ||
92 | .irqs = { 88, 88, 88, 88 }, | ||
93 | .clk = "scif4", | ||
94 | }; | ||
95 | |||
96 | static struct platform_device scif4_device = { | ||
97 | .name = "sh-sci", | ||
98 | .id = 4, | ||
99 | .dev = { | ||
100 | .platform_data = &scif4_platform_data, | ||
101 | }, | ||
102 | }; | ||
103 | |||
104 | static struct plat_sci_port scif5_platform_data = { | ||
105 | .mapbase = 0xa4e50000, | ||
106 | .flags = UPF_BOOT_AUTOCONF, | ||
107 | .type = PORT_SCIFA, | ||
108 | .irqs = { 109, 109, 109, 109 }, | ||
109 | .clk = "scif5", | ||
110 | }; | ||
111 | |||
112 | static struct platform_device scif5_device = { | ||
113 | .name = "sh-sci", | ||
114 | .id = 5, | ||
115 | .dev = { | ||
116 | .platform_data = &scif5_platform_data, | ||
117 | }, | ||
118 | }; | ||
119 | |||
23 | static struct uio_info vpu_platform_data = { | 120 | static struct uio_info vpu_platform_data = { |
24 | .name = "VPU5", | 121 | .name = "VPU5", |
25 | .version = "0", | 122 | .version = "0", |
@@ -348,56 +445,6 @@ static struct platform_device tmu5_device = { | |||
348 | }, | 445 | }, |
349 | }; | 446 | }; |
350 | 447 | ||
351 | static struct plat_sci_port sci_platform_data[] = { | ||
352 | { | ||
353 | .mapbase = 0xffe00000, | ||
354 | .flags = UPF_BOOT_AUTOCONF, | ||
355 | .type = PORT_SCIF, | ||
356 | .irqs = { 80, 80, 80, 80 }, | ||
357 | .clk = "scif0", | ||
358 | },{ | ||
359 | .mapbase = 0xffe10000, | ||
360 | .flags = UPF_BOOT_AUTOCONF, | ||
361 | .type = PORT_SCIF, | ||
362 | .irqs = { 81, 81, 81, 81 }, | ||
363 | .clk = "scif1", | ||
364 | },{ | ||
365 | .mapbase = 0xffe20000, | ||
366 | .flags = UPF_BOOT_AUTOCONF, | ||
367 | .type = PORT_SCIF, | ||
368 | .irqs = { 82, 82, 82, 82 }, | ||
369 | .clk = "scif2", | ||
370 | },{ | ||
371 | .mapbase = 0xa4e30000, | ||
372 | .flags = UPF_BOOT_AUTOCONF, | ||
373 | .type = PORT_SCIFA, | ||
374 | .irqs = { 56, 56, 56, 56 }, | ||
375 | .clk = "scif3", | ||
376 | },{ | ||
377 | .mapbase = 0xa4e40000, | ||
378 | .flags = UPF_BOOT_AUTOCONF, | ||
379 | .type = PORT_SCIFA, | ||
380 | .irqs = { 88, 88, 88, 88 }, | ||
381 | .clk = "scif4", | ||
382 | },{ | ||
383 | .mapbase = 0xa4e50000, | ||
384 | .flags = UPF_BOOT_AUTOCONF, | ||
385 | .type = PORT_SCIFA, | ||
386 | .irqs = { 109, 109, 109, 109 }, | ||
387 | .clk = "scif5", | ||
388 | }, { | ||
389 | .flags = 0, | ||
390 | } | ||
391 | }; | ||
392 | |||
393 | static struct platform_device sci_device = { | ||
394 | .name = "sh-sci", | ||
395 | .id = -1, | ||
396 | .dev = { | ||
397 | .platform_data = sci_platform_data, | ||
398 | }, | ||
399 | }; | ||
400 | |||
401 | static struct resource rtc_resources[] = { | 448 | static struct resource rtc_resources[] = { |
402 | [0] = { | 449 | [0] = { |
403 | .start = 0xa465fec0, | 450 | .start = 0xa465fec0, |
@@ -488,6 +535,12 @@ static struct platform_device iic_device = { | |||
488 | }; | 535 | }; |
489 | 536 | ||
490 | static struct platform_device *sh7723_devices[] __initdata = { | 537 | static struct platform_device *sh7723_devices[] __initdata = { |
538 | &scif0_device, | ||
539 | &scif1_device, | ||
540 | &scif2_device, | ||
541 | &scif3_device, | ||
542 | &scif4_device, | ||
543 | &scif5_device, | ||
491 | &cmt_device, | 544 | &cmt_device, |
492 | &tmu0_device, | 545 | &tmu0_device, |
493 | &tmu1_device, | 546 | &tmu1_device, |
@@ -495,7 +548,6 @@ static struct platform_device *sh7723_devices[] __initdata = { | |||
495 | &tmu3_device, | 548 | &tmu3_device, |
496 | &tmu4_device, | 549 | &tmu4_device, |
497 | &tmu5_device, | 550 | &tmu5_device, |
498 | &sci_device, | ||
499 | &rtc_device, | 551 | &rtc_device, |
500 | &iic_device, | 552 | &iic_device, |
501 | &sh7723_usb_host_device, | 553 | &sh7723_usb_host_device, |
@@ -516,6 +568,12 @@ static int __init sh7723_devices_setup(void) | |||
516 | arch_initcall(sh7723_devices_setup); | 568 | arch_initcall(sh7723_devices_setup); |
517 | 569 | ||
518 | static struct platform_device *sh7723_early_devices[] __initdata = { | 570 | static struct platform_device *sh7723_early_devices[] __initdata = { |
571 | &scif0_device, | ||
572 | &scif1_device, | ||
573 | &scif2_device, | ||
574 | &scif3_device, | ||
575 | &scif4_device, | ||
576 | &scif5_device, | ||
519 | &cmt_device, | 577 | &cmt_device, |
520 | &tmu0_device, | 578 | &tmu0_device, |
521 | &tmu1_device, | 579 | &tmu1_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index 845e89c936e7..a52f35117e82 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -27,53 +27,99 @@ | |||
27 | #include <cpu/sh7724.h> | 27 | #include <cpu/sh7724.h> |
28 | 28 | ||
29 | /* Serial */ | 29 | /* Serial */ |
30 | static struct plat_sci_port sci_platform_data[] = { | 30 | static struct plat_sci_port scif0_platform_data = { |
31 | { | 31 | .mapbase = 0xffe00000, |
32 | .mapbase = 0xffe00000, | 32 | .flags = UPF_BOOT_AUTOCONF, |
33 | .flags = UPF_BOOT_AUTOCONF, | 33 | .type = PORT_SCIF, |
34 | .type = PORT_SCIF, | 34 | .irqs = { 80, 80, 80, 80 }, |
35 | .irqs = { 80, 80, 80, 80 }, | 35 | .clk = "scif0", |
36 | .clk = "scif0", | 36 | }; |
37 | }, { | 37 | |
38 | .mapbase = 0xffe10000, | 38 | static struct platform_device scif0_device = { |
39 | .flags = UPF_BOOT_AUTOCONF, | ||
40 | .type = PORT_SCIF, | ||
41 | .irqs = { 81, 81, 81, 81 }, | ||
42 | .clk = "scif1", | ||
43 | }, { | ||
44 | .mapbase = 0xffe20000, | ||
45 | .flags = UPF_BOOT_AUTOCONF, | ||
46 | .type = PORT_SCIF, | ||
47 | .irqs = { 82, 82, 82, 82 }, | ||
48 | .clk = "scif2", | ||
49 | }, { | ||
50 | .mapbase = 0xa4e30000, | ||
51 | .flags = UPF_BOOT_AUTOCONF, | ||
52 | .type = PORT_SCIFA, | ||
53 | .irqs = { 56, 56, 56, 56 }, | ||
54 | .clk = "scif3", | ||
55 | }, { | ||
56 | .mapbase = 0xa4e40000, | ||
57 | .flags = UPF_BOOT_AUTOCONF, | ||
58 | .type = PORT_SCIFA, | ||
59 | .irqs = { 88, 88, 88, 88 }, | ||
60 | .clk = "scif4", | ||
61 | }, { | ||
62 | .mapbase = 0xa4e50000, | ||
63 | .flags = UPF_BOOT_AUTOCONF, | ||
64 | .type = PORT_SCIFA, | ||
65 | .irqs = { 109, 109, 109, 109 }, | ||
66 | .clk = "scif5", | ||
67 | }, { | ||
68 | .flags = 0, | ||
69 | } | ||
70 | }; | ||
71 | |||
72 | static struct platform_device sci_device = { | ||
73 | .name = "sh-sci", | 39 | .name = "sh-sci", |
74 | .id = -1, | 40 | .id = 0, |
41 | .dev = { | ||
42 | .platform_data = &scif0_platform_data, | ||
43 | }, | ||
44 | }; | ||
45 | |||
46 | static struct plat_sci_port scif1_platform_data = { | ||
47 | .mapbase = 0xffe10000, | ||
48 | .flags = UPF_BOOT_AUTOCONF, | ||
49 | .type = PORT_SCIF, | ||
50 | .irqs = { 81, 81, 81, 81 }, | ||
51 | .clk = "scif1", | ||
52 | }; | ||
53 | |||
54 | static struct platform_device scif1_device = { | ||
55 | .name = "sh-sci", | ||
56 | .id = 1, | ||
57 | .dev = { | ||
58 | .platform_data = &scif1_platform_data, | ||
59 | }, | ||
60 | }; | ||
61 | |||
62 | static struct plat_sci_port scif2_platform_data = { | ||
63 | .mapbase = 0xffe20000, | ||
64 | .flags = UPF_BOOT_AUTOCONF, | ||
65 | .type = PORT_SCIF, | ||
66 | .irqs = { 82, 82, 82, 82 }, | ||
67 | .clk = "scif2", | ||
68 | }; | ||
69 | |||
70 | static struct platform_device scif2_device = { | ||
71 | .name = "sh-sci", | ||
72 | .id = 2, | ||
73 | .dev = { | ||
74 | .platform_data = &scif2_platform_data, | ||
75 | }, | ||
76 | }; | ||
77 | |||
78 | static struct plat_sci_port scif3_platform_data = { | ||
79 | .mapbase = 0xa4e30000, | ||
80 | .flags = UPF_BOOT_AUTOCONF, | ||
81 | .type = PORT_SCIFA, | ||
82 | .irqs = { 56, 56, 56, 56 }, | ||
83 | .clk = "scif3", | ||
84 | }; | ||
85 | |||
86 | static struct platform_device scif3_device = { | ||
87 | .name = "sh-sci", | ||
88 | .id = 3, | ||
89 | .dev = { | ||
90 | .platform_data = &scif3_platform_data, | ||
91 | }, | ||
92 | }; | ||
93 | |||
94 | static struct plat_sci_port scif4_platform_data = { | ||
95 | .mapbase = 0xa4e40000, | ||
96 | .flags = UPF_BOOT_AUTOCONF, | ||
97 | .type = PORT_SCIFA, | ||
98 | .irqs = { 88, 88, 88, 88 }, | ||
99 | .clk = "scif4", | ||
100 | }; | ||
101 | |||
102 | static struct platform_device scif4_device = { | ||
103 | .name = "sh-sci", | ||
104 | .id = 4, | ||
105 | .dev = { | ||
106 | .platform_data = &scif4_platform_data, | ||
107 | }, | ||
108 | }; | ||
109 | |||
110 | static struct plat_sci_port scif5_platform_data = { | ||
111 | .mapbase = 0xa4e50000, | ||
112 | .flags = UPF_BOOT_AUTOCONF, | ||
113 | .type = PORT_SCIFA, | ||
114 | .irqs = { 109, 109, 109, 109 }, | ||
115 | .clk = "scif5", | ||
116 | }; | ||
117 | |||
118 | static struct platform_device scif5_device = { | ||
119 | .name = "sh-sci", | ||
120 | .id = 5, | ||
75 | .dev = { | 121 | .dev = { |
76 | .platform_data = sci_platform_data, | 122 | .platform_data = &scif5_platform_data, |
77 | }, | 123 | }, |
78 | }; | 124 | }; |
79 | 125 | ||
@@ -590,6 +636,12 @@ static struct platform_device spu1_device = { | |||
590 | }; | 636 | }; |
591 | 637 | ||
592 | static struct platform_device *sh7724_devices[] __initdata = { | 638 | static struct platform_device *sh7724_devices[] __initdata = { |
639 | &scif0_device, | ||
640 | &scif1_device, | ||
641 | &scif2_device, | ||
642 | &scif3_device, | ||
643 | &scif4_device, | ||
644 | &scif5_device, | ||
593 | &cmt_device, | 645 | &cmt_device, |
594 | &tmu0_device, | 646 | &tmu0_device, |
595 | &tmu1_device, | 647 | &tmu1_device, |
@@ -597,7 +649,6 @@ static struct platform_device *sh7724_devices[] __initdata = { | |||
597 | &tmu3_device, | 649 | &tmu3_device, |
598 | &tmu4_device, | 650 | &tmu4_device, |
599 | &tmu5_device, | 651 | &tmu5_device, |
600 | &sci_device, | ||
601 | &rtc_device, | 652 | &rtc_device, |
602 | &iic0_device, | 653 | &iic0_device, |
603 | &iic1_device, | 654 | &iic1_device, |
@@ -624,6 +675,12 @@ static int __init sh7724_devices_setup(void) | |||
624 | arch_initcall(sh7724_devices_setup); | 675 | arch_initcall(sh7724_devices_setup); |
625 | 676 | ||
626 | static struct platform_device *sh7724_early_devices[] __initdata = { | 677 | static struct platform_device *sh7724_early_devices[] __initdata = { |
678 | &scif0_device, | ||
679 | &scif1_device, | ||
680 | &scif2_device, | ||
681 | &scif3_device, | ||
682 | &scif4_device, | ||
683 | &scif5_device, | ||
627 | &cmt_device, | 684 | &cmt_device, |
628 | &tmu0_device, | 685 | &tmu0_device, |
629 | &tmu1_device, | 686 | &tmu1_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c index c470e15f2e03..37e32efbbaa7 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7757.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7757.c | |||
@@ -17,6 +17,51 @@ | |||
17 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
18 | #include <linux/sh_timer.h> | 18 | #include <linux/sh_timer.h> |
19 | 19 | ||
20 | static struct plat_sci_port scif2_platform_data = { | ||
21 | .mapbase = 0xfe4b0000, /* SCIF2 */ | ||
22 | .flags = UPF_BOOT_AUTOCONF, | ||
23 | .type = PORT_SCIF, | ||
24 | .irqs = { 40, 40, 40, 40 }, | ||
25 | }; | ||
26 | |||
27 | static struct platform_device scif2_device = { | ||
28 | .name = "sh-sci", | ||
29 | .id = 2, | ||
30 | .dev = { | ||
31 | .platform_data = &scif2_platform_data, | ||
32 | }, | ||
33 | }; | ||
34 | |||
35 | static struct plat_sci_port scif3_platform_data = { | ||
36 | .mapbase = 0xfe4c0000, /* SCIF3 */ | ||
37 | .flags = UPF_BOOT_AUTOCONF, | ||
38 | .type = PORT_SCIF, | ||
39 | .irqs = { 76, 76, 76, 76 }, | ||
40 | }; | ||
41 | |||
42 | static struct platform_device scif3_device = { | ||
43 | .name = "sh-sci", | ||
44 | .id = 3, | ||
45 | .dev = { | ||
46 | .platform_data = &scif3_platform_data, | ||
47 | }, | ||
48 | }; | ||
49 | |||
50 | static struct plat_sci_port scif4_platform_data = { | ||
51 | .mapbase = 0xfe4d0000, /* SCIF4 */ | ||
52 | .flags = UPF_BOOT_AUTOCONF, | ||
53 | .type = PORT_SCIF, | ||
54 | .irqs = { 104, 104, 104, 104 }, | ||
55 | }; | ||
56 | |||
57 | static struct platform_device scif4_device = { | ||
58 | .name = "sh-sci", | ||
59 | .id = 4, | ||
60 | .dev = { | ||
61 | .platform_data = &scif4_platform_data, | ||
62 | }, | ||
63 | }; | ||
64 | |||
20 | static struct sh_timer_config tmu0_platform_data = { | 65 | static struct sh_timer_config tmu0_platform_data = { |
21 | .name = "TMU0", | 66 | .name = "TMU0", |
22 | .channel_offset = 0x04, | 67 | .channel_offset = 0x04, |
@@ -79,39 +124,12 @@ static struct platform_device tmu1_device = { | |||
79 | .num_resources = ARRAY_SIZE(tmu1_resources), | 124 | .num_resources = ARRAY_SIZE(tmu1_resources), |
80 | }; | 125 | }; |
81 | 126 | ||
82 | static struct plat_sci_port sci_platform_data[] = { | ||
83 | { | ||
84 | .mapbase = 0xfe4b0000, /* SCIF2 */ | ||
85 | .flags = UPF_BOOT_AUTOCONF, | ||
86 | .type = PORT_SCIF, | ||
87 | .irqs = { 40, 40, 40, 40 }, | ||
88 | }, { | ||
89 | .mapbase = 0xfe4c0000, /* SCIF3 */ | ||
90 | .flags = UPF_BOOT_AUTOCONF, | ||
91 | .type = PORT_SCIF, | ||
92 | .irqs = { 76, 76, 76, 76 }, | ||
93 | }, { | ||
94 | .mapbase = 0xfe4d0000, /* SCIF4 */ | ||
95 | .flags = UPF_BOOT_AUTOCONF, | ||
96 | .type = PORT_SCIF, | ||
97 | .irqs = { 104, 104, 104, 104 }, | ||
98 | }, { | ||
99 | .flags = 0, | ||
100 | } | ||
101 | }; | ||
102 | |||
103 | static struct platform_device sci_device = { | ||
104 | .name = "sh-sci", | ||
105 | .id = -1, | ||
106 | .dev = { | ||
107 | .platform_data = sci_platform_data, | ||
108 | }, | ||
109 | }; | ||
110 | |||
111 | static struct platform_device *sh7757_devices[] __initdata = { | 127 | static struct platform_device *sh7757_devices[] __initdata = { |
128 | &scif2_device, | ||
129 | &scif3_device, | ||
130 | &scif4_device, | ||
112 | &tmu0_device, | 131 | &tmu0_device, |
113 | &tmu1_device, | 132 | &tmu1_device, |
114 | &sci_device, | ||
115 | }; | 133 | }; |
116 | 134 | ||
117 | static int __init sh7757_devices_setup(void) | 135 | static int __init sh7757_devices_setup(void) |
@@ -121,6 +139,20 @@ static int __init sh7757_devices_setup(void) | |||
121 | } | 139 | } |
122 | arch_initcall(sh7757_devices_setup); | 140 | arch_initcall(sh7757_devices_setup); |
123 | 141 | ||
142 | static struct platform_device *sh7757_early_devices[] __initdata = { | ||
143 | &scif2_device, | ||
144 | &scif3_device, | ||
145 | &scif4_device, | ||
146 | &tmu0_device, | ||
147 | &tmu1_device, | ||
148 | }; | ||
149 | |||
150 | void __init plat_early_device_setup(void) | ||
151 | { | ||
152 | early_platform_add_devices(sh7757_early_devices, | ||
153 | ARRAY_SIZE(sh7757_early_devices)); | ||
154 | } | ||
155 | |||
124 | enum { | 156 | enum { |
125 | UNUSED = 0, | 157 | UNUSED = 0, |
126 | 158 | ||
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c index 4659fff6b842..6aba26fec416 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7763.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7763.c | |||
@@ -16,6 +16,51 @@ | |||
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | #include <linux/serial_sci.h> | 17 | #include <linux/serial_sci.h> |
18 | 18 | ||
19 | static struct plat_sci_port scif0_platform_data = { | ||
20 | .mapbase = 0xffe00000, | ||
21 | .flags = UPF_BOOT_AUTOCONF, | ||
22 | .type = PORT_SCIF, | ||
23 | .irqs = { 40, 40, 40, 40 }, | ||
24 | }; | ||
25 | |||
26 | static struct platform_device scif0_device = { | ||
27 | .name = "sh-sci", | ||
28 | .id = 0, | ||
29 | .dev = { | ||
30 | .platform_data = &scif0_platform_data, | ||
31 | }, | ||
32 | }; | ||
33 | |||
34 | static struct plat_sci_port scif1_platform_data = { | ||
35 | .mapbase = 0xffe08000, | ||
36 | .flags = UPF_BOOT_AUTOCONF, | ||
37 | .type = PORT_SCIF, | ||
38 | .irqs = { 76, 76, 76, 76 }, | ||
39 | }; | ||
40 | |||
41 | static struct platform_device scif1_device = { | ||
42 | .name = "sh-sci", | ||
43 | .id = 1, | ||
44 | .dev = { | ||
45 | .platform_data = &scif1_platform_data, | ||
46 | }, | ||
47 | }; | ||
48 | |||
49 | static struct plat_sci_port scif2_platform_data = { | ||
50 | .mapbase = 0xffe10000, | ||
51 | .flags = UPF_BOOT_AUTOCONF, | ||
52 | .type = PORT_SCIF, | ||
53 | .irqs = { 104, 104, 104, 104 }, | ||
54 | }; | ||
55 | |||
56 | static struct platform_device scif2_device = { | ||
57 | .name = "sh-sci", | ||
58 | .id = 2, | ||
59 | .dev = { | ||
60 | .platform_data = &scif2_platform_data, | ||
61 | }, | ||
62 | }; | ||
63 | |||
19 | static struct resource rtc_resources[] = { | 64 | static struct resource rtc_resources[] = { |
20 | [0] = { | 65 | [0] = { |
21 | .start = 0xffe80000, | 66 | .start = 0xffe80000, |
@@ -36,35 +81,6 @@ static struct platform_device rtc_device = { | |||
36 | .resource = rtc_resources, | 81 | .resource = rtc_resources, |
37 | }; | 82 | }; |
38 | 83 | ||
39 | static struct plat_sci_port sci_platform_data[] = { | ||
40 | { | ||
41 | .mapbase = 0xffe00000, | ||
42 | .flags = UPF_BOOT_AUTOCONF, | ||
43 | .type = PORT_SCIF, | ||
44 | .irqs = { 40, 40, 40, 40 }, | ||
45 | }, { | ||
46 | .mapbase = 0xffe08000, | ||
47 | .flags = UPF_BOOT_AUTOCONF, | ||
48 | .type = PORT_SCIF, | ||
49 | .irqs = { 76, 76, 76, 76 }, | ||
50 | }, { | ||
51 | .mapbase = 0xffe10000, | ||
52 | .flags = UPF_BOOT_AUTOCONF, | ||
53 | .type = PORT_SCIF, | ||
54 | .irqs = { 104, 104, 104, 104 }, | ||
55 | }, { | ||
56 | .flags = 0, | ||
57 | } | ||
58 | }; | ||
59 | |||
60 | static struct platform_device sci_device = { | ||
61 | .name = "sh-sci", | ||
62 | .id = -1, | ||
63 | .dev = { | ||
64 | .platform_data = sci_platform_data, | ||
65 | }, | ||
66 | }; | ||
67 | |||
68 | static struct resource usb_ohci_resources[] = { | 84 | static struct resource usb_ohci_resources[] = { |
69 | [0] = { | 85 | [0] = { |
70 | .start = 0xffec8000, | 86 | .start = 0xffec8000, |
@@ -297,6 +313,9 @@ static struct platform_device tmu5_device = { | |||
297 | }; | 313 | }; |
298 | 314 | ||
299 | static struct platform_device *sh7763_devices[] __initdata = { | 315 | static struct platform_device *sh7763_devices[] __initdata = { |
316 | &scif0_device, | ||
317 | &scif1_device, | ||
318 | &scif2_device, | ||
300 | &tmu0_device, | 319 | &tmu0_device, |
301 | &tmu1_device, | 320 | &tmu1_device, |
302 | &tmu2_device, | 321 | &tmu2_device, |
@@ -304,7 +323,6 @@ static struct platform_device *sh7763_devices[] __initdata = { | |||
304 | &tmu4_device, | 323 | &tmu4_device, |
305 | &tmu5_device, | 324 | &tmu5_device, |
306 | &rtc_device, | 325 | &rtc_device, |
307 | &sci_device, | ||
308 | &usb_ohci_device, | 326 | &usb_ohci_device, |
309 | &usbf_device, | 327 | &usbf_device, |
310 | }; | 328 | }; |
@@ -317,6 +335,9 @@ static int __init sh7763_devices_setup(void) | |||
317 | arch_initcall(sh7763_devices_setup); | 335 | arch_initcall(sh7763_devices_setup); |
318 | 336 | ||
319 | static struct platform_device *sh7763_early_devices[] __initdata = { | 337 | static struct platform_device *sh7763_early_devices[] __initdata = { |
338 | &scif0_device, | ||
339 | &scif1_device, | ||
340 | &scif2_device, | ||
320 | &tmu0_device, | 341 | &tmu0_device, |
321 | &tmu1_device, | 342 | &tmu1_device, |
322 | &tmu2_device, | 343 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7770.c b/arch/sh/kernel/cpu/sh4a/setup-sh7770.c index eead08d89d32..c1643bc9590d 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7770.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7770.c | |||
@@ -14,67 +14,153 @@ | |||
14 | #include <linux/sh_timer.h> | 14 | #include <linux/sh_timer.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | 16 | ||
17 | static struct plat_sci_port sci_platform_data[] = { | 17 | static struct plat_sci_port scif0_platform_data = { |
18 | { | 18 | .mapbase = 0xff923000, |
19 | .mapbase = 0xff923000, | 19 | .flags = UPF_BOOT_AUTOCONF, |
20 | .flags = UPF_BOOT_AUTOCONF, | 20 | .type = PORT_SCIF, |
21 | .type = PORT_SCIF, | 21 | .irqs = { 61, 61, 61, 61 }, |
22 | .irqs = { 61, 61, 61, 61 }, | 22 | }; |
23 | }, { | 23 | |
24 | .mapbase = 0xff924000, | 24 | static struct platform_device scif0_device = { |
25 | .flags = UPF_BOOT_AUTOCONF, | 25 | .name = "sh-sci", |
26 | .type = PORT_SCIF, | 26 | .id = 0, |
27 | .irqs = { 62, 62, 62, 62 }, | 27 | .dev = { |
28 | }, { | 28 | .platform_data = &scif0_platform_data, |
29 | .mapbase = 0xff925000, | 29 | }, |
30 | .flags = UPF_BOOT_AUTOCONF, | 30 | }; |
31 | .type = PORT_SCIF, | 31 | |
32 | .irqs = { 63, 63, 63, 63 }, | 32 | static struct plat_sci_port scif1_platform_data = { |
33 | }, { | 33 | .mapbase = 0xff924000, |
34 | .mapbase = 0xff926000, | 34 | .flags = UPF_BOOT_AUTOCONF, |
35 | .flags = UPF_BOOT_AUTOCONF, | 35 | .type = PORT_SCIF, |
36 | .type = PORT_SCIF, | 36 | .irqs = { 62, 62, 62, 62 }, |
37 | .irqs = { 64, 64, 64, 64 }, | 37 | }; |
38 | }, { | 38 | |
39 | .mapbase = 0xff927000, | 39 | static struct platform_device scif1_device = { |
40 | .flags = UPF_BOOT_AUTOCONF, | 40 | .name = "sh-sci", |
41 | .type = PORT_SCIF, | 41 | .id = 1, |
42 | .irqs = { 65, 65, 65, 65 }, | 42 | .dev = { |
43 | }, { | 43 | .platform_data = &scif1_platform_data, |
44 | .mapbase = 0xff928000, | 44 | }, |
45 | .flags = UPF_BOOT_AUTOCONF, | 45 | }; |
46 | .type = PORT_SCIF, | 46 | |
47 | .irqs = { 66, 66, 66, 66 }, | 47 | static struct plat_sci_port scif2_platform_data = { |
48 | }, { | 48 | .mapbase = 0xff925000, |
49 | .mapbase = 0xff929000, | 49 | .flags = UPF_BOOT_AUTOCONF, |
50 | .flags = UPF_BOOT_AUTOCONF, | 50 | .type = PORT_SCIF, |
51 | .type = PORT_SCIF, | 51 | .irqs = { 63, 63, 63, 63 }, |
52 | .irqs = { 67, 67, 67, 67 }, | 52 | }; |
53 | }, { | 53 | |
54 | .mapbase = 0xff92a000, | 54 | static struct platform_device scif2_device = { |
55 | .flags = UPF_BOOT_AUTOCONF, | 55 | .name = "sh-sci", |
56 | .type = PORT_SCIF, | 56 | .id = 2, |
57 | .irqs = { 68, 68, 68, 68 }, | 57 | .dev = { |
58 | }, { | 58 | .platform_data = &scif2_platform_data, |
59 | .mapbase = 0xff92b000, | 59 | }, |
60 | .flags = UPF_BOOT_AUTOCONF, | 60 | }; |
61 | .type = PORT_SCIF, | 61 | |
62 | .irqs = { 69, 69, 69, 69 }, | 62 | static struct plat_sci_port scif3_platform_data = { |
63 | }, { | 63 | .mapbase = 0xff926000, |
64 | .mapbase = 0xff92c000, | 64 | .flags = UPF_BOOT_AUTOCONF, |
65 | .flags = UPF_BOOT_AUTOCONF, | 65 | .type = PORT_SCIF, |
66 | .type = PORT_SCIF, | 66 | .irqs = { 64, 64, 64, 64 }, |
67 | .irqs = { 70, 70, 70, 70 }, | 67 | }; |
68 | }, { | 68 | |
69 | .flags = 0, | 69 | static struct platform_device scif3_device = { |
70 | } | 70 | .name = "sh-sci", |
71 | .id = 3, | ||
72 | .dev = { | ||
73 | .platform_data = &scif3_platform_data, | ||
74 | }, | ||
75 | }; | ||
76 | |||
77 | static struct plat_sci_port scif4_platform_data = { | ||
78 | .mapbase = 0xff927000, | ||
79 | .flags = UPF_BOOT_AUTOCONF, | ||
80 | .type = PORT_SCIF, | ||
81 | .irqs = { 65, 65, 65, 65 }, | ||
82 | }; | ||
83 | |||
84 | static struct platform_device scif4_device = { | ||
85 | .name = "sh-sci", | ||
86 | .id = 4, | ||
87 | .dev = { | ||
88 | .platform_data = &scif4_platform_data, | ||
89 | }, | ||
90 | }; | ||
91 | |||
92 | static struct plat_sci_port scif5_platform_data = { | ||
93 | .mapbase = 0xff928000, | ||
94 | .flags = UPF_BOOT_AUTOCONF, | ||
95 | .type = PORT_SCIF, | ||
96 | .irqs = { 66, 66, 66, 66 }, | ||
97 | }; | ||
98 | |||
99 | static struct platform_device scif5_device = { | ||
100 | .name = "sh-sci", | ||
101 | .id = 5, | ||
102 | .dev = { | ||
103 | .platform_data = &scif5_platform_data, | ||
104 | }, | ||
105 | }; | ||
106 | |||
107 | static struct plat_sci_port scif6_platform_data = { | ||
108 | .mapbase = 0xff929000, | ||
109 | .flags = UPF_BOOT_AUTOCONF, | ||
110 | .type = PORT_SCIF, | ||
111 | .irqs = { 67, 67, 67, 67 }, | ||
112 | }; | ||
113 | |||
114 | static struct platform_device scif6_device = { | ||
115 | .name = "sh-sci", | ||
116 | .id = 6, | ||
117 | .dev = { | ||
118 | .platform_data = &scif6_platform_data, | ||
119 | }, | ||
120 | }; | ||
121 | |||
122 | static struct plat_sci_port scif7_platform_data = { | ||
123 | .mapbase = 0xff92a000, | ||
124 | .flags = UPF_BOOT_AUTOCONF, | ||
125 | .type = PORT_SCIF, | ||
126 | .irqs = { 68, 68, 68, 68 }, | ||
127 | }; | ||
128 | |||
129 | static struct platform_device scif7_device = { | ||
130 | .name = "sh-sci", | ||
131 | .id = 7, | ||
132 | .dev = { | ||
133 | .platform_data = &scif7_platform_data, | ||
134 | }, | ||
135 | }; | ||
136 | |||
137 | static struct plat_sci_port scif8_platform_data = { | ||
138 | .mapbase = 0xff92b000, | ||
139 | .flags = UPF_BOOT_AUTOCONF, | ||
140 | .type = PORT_SCIF, | ||
141 | .irqs = { 69, 69, 69, 69 }, | ||
142 | }; | ||
143 | |||
144 | static struct platform_device scif8_device = { | ||
145 | .name = "sh-sci", | ||
146 | .id = 8, | ||
147 | .dev = { | ||
148 | .platform_data = &scif8_platform_data, | ||
149 | }, | ||
150 | }; | ||
151 | |||
152 | static struct plat_sci_port scif9_platform_data = { | ||
153 | .mapbase = 0xff92c000, | ||
154 | .flags = UPF_BOOT_AUTOCONF, | ||
155 | .type = PORT_SCIF, | ||
156 | .irqs = { 70, 70, 70, 70 }, | ||
71 | }; | 157 | }; |
72 | 158 | ||
73 | static struct platform_device sci_device = { | 159 | static struct platform_device scif9_device = { |
74 | .name = "sh-sci", | 160 | .name = "sh-sci", |
75 | .id = -1, | 161 | .id = 9, |
76 | .dev = { | 162 | .dev = { |
77 | .platform_data = sci_platform_data, | 163 | .platform_data = &scif9_platform_data, |
78 | }, | 164 | }, |
79 | }; | 165 | }; |
80 | 166 | ||
@@ -351,6 +437,16 @@ static struct platform_device tmu8_device = { | |||
351 | }; | 437 | }; |
352 | 438 | ||
353 | static struct platform_device *sh7770_devices[] __initdata = { | 439 | static struct platform_device *sh7770_devices[] __initdata = { |
440 | &scif0_device, | ||
441 | &scif1_device, | ||
442 | &scif2_device, | ||
443 | &scif3_device, | ||
444 | &scif4_device, | ||
445 | &scif5_device, | ||
446 | &scif6_device, | ||
447 | &scif7_device, | ||
448 | &scif8_device, | ||
449 | &scif9_device, | ||
354 | &tmu0_device, | 450 | &tmu0_device, |
355 | &tmu1_device, | 451 | &tmu1_device, |
356 | &tmu2_device, | 452 | &tmu2_device, |
@@ -360,7 +456,6 @@ static struct platform_device *sh7770_devices[] __initdata = { | |||
360 | &tmu6_device, | 456 | &tmu6_device, |
361 | &tmu7_device, | 457 | &tmu7_device, |
362 | &tmu8_device, | 458 | &tmu8_device, |
363 | &sci_device, | ||
364 | }; | 459 | }; |
365 | 460 | ||
366 | static int __init sh7770_devices_setup(void) | 461 | static int __init sh7770_devices_setup(void) |
@@ -371,6 +466,16 @@ static int __init sh7770_devices_setup(void) | |||
371 | arch_initcall(sh7770_devices_setup); | 466 | arch_initcall(sh7770_devices_setup); |
372 | 467 | ||
373 | static struct platform_device *sh7770_early_devices[] __initdata = { | 468 | static struct platform_device *sh7770_early_devices[] __initdata = { |
469 | &scif0_device, | ||
470 | &scif1_device, | ||
471 | &scif2_device, | ||
472 | &scif3_device, | ||
473 | &scif4_device, | ||
474 | &scif5_device, | ||
475 | &scif6_device, | ||
476 | &scif7_device, | ||
477 | &scif8_device, | ||
478 | &scif9_device, | ||
374 | &tmu0_device, | 479 | &tmu0_device, |
375 | &tmu1_device, | 480 | &tmu1_device, |
376 | &tmu2_device, | 481 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c index 12ff56f19c5c..c310558490d5 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7780.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7780.c | |||
@@ -15,6 +15,36 @@ | |||
15 | #include <linux/sh_timer.h> | 15 | #include <linux/sh_timer.h> |
16 | #include <asm/dma-sh.h> | 16 | #include <asm/dma-sh.h> |
17 | 17 | ||
18 | static struct plat_sci_port scif0_platform_data = { | ||
19 | .mapbase = 0xffe00000, | ||
20 | .flags = UPF_BOOT_AUTOCONF, | ||
21 | .type = PORT_SCIF, | ||
22 | .irqs = { 40, 40, 40, 40 }, | ||
23 | }; | ||
24 | |||
25 | static struct platform_device scif0_device = { | ||
26 | .name = "sh-sci", | ||
27 | .id = 0, | ||
28 | .dev = { | ||
29 | .platform_data = &scif0_platform_data, | ||
30 | }, | ||
31 | }; | ||
32 | |||
33 | static struct plat_sci_port scif1_platform_data = { | ||
34 | .mapbase = 0xffe10000, | ||
35 | .flags = UPF_BOOT_AUTOCONF, | ||
36 | .type = PORT_SCIF, | ||
37 | .irqs = { 76, 76, 76, 76 }, | ||
38 | }; | ||
39 | |||
40 | static struct platform_device scif1_device = { | ||
41 | .name = "sh-sci", | ||
42 | .id = 1, | ||
43 | .dev = { | ||
44 | .platform_data = &scif1_platform_data, | ||
45 | }, | ||
46 | }; | ||
47 | |||
18 | static struct sh_timer_config tmu0_platform_data = { | 48 | static struct sh_timer_config tmu0_platform_data = { |
19 | .name = "TMU0", | 49 | .name = "TMU0", |
20 | .channel_offset = 0x04, | 50 | .channel_offset = 0x04, |
@@ -217,30 +247,6 @@ static struct platform_device rtc_device = { | |||
217 | .resource = rtc_resources, | 247 | .resource = rtc_resources, |
218 | }; | 248 | }; |
219 | 249 | ||
220 | static struct plat_sci_port sci_platform_data[] = { | ||
221 | { | ||
222 | .mapbase = 0xffe00000, | ||
223 | .flags = UPF_BOOT_AUTOCONF, | ||
224 | .type = PORT_SCIF, | ||
225 | .irqs = { 40, 40, 40, 40 }, | ||
226 | }, { | ||
227 | .mapbase = 0xffe10000, | ||
228 | .flags = UPF_BOOT_AUTOCONF, | ||
229 | .type = PORT_SCIF, | ||
230 | .irqs = { 76, 76, 76, 76 }, | ||
231 | }, { | ||
232 | .flags = 0, | ||
233 | } | ||
234 | }; | ||
235 | |||
236 | static struct platform_device sci_device = { | ||
237 | .name = "sh-sci", | ||
238 | .id = -1, | ||
239 | .dev = { | ||
240 | .platform_data = sci_platform_data, | ||
241 | }, | ||
242 | }; | ||
243 | |||
244 | static struct sh_dmae_pdata dma_platform_data = { | 250 | static struct sh_dmae_pdata dma_platform_data = { |
245 | .mode = (SHDMA_MIX_IRQ | SHDMA_DMAOR1), | 251 | .mode = (SHDMA_MIX_IRQ | SHDMA_DMAOR1), |
246 | }; | 252 | }; |
@@ -254,6 +260,8 @@ static struct platform_device dma_device = { | |||
254 | }; | 260 | }; |
255 | 261 | ||
256 | static struct platform_device *sh7780_devices[] __initdata = { | 262 | static struct platform_device *sh7780_devices[] __initdata = { |
263 | &scif0_device, | ||
264 | &scif1_device, | ||
257 | &tmu0_device, | 265 | &tmu0_device, |
258 | &tmu1_device, | 266 | &tmu1_device, |
259 | &tmu2_device, | 267 | &tmu2_device, |
@@ -261,7 +269,6 @@ static struct platform_device *sh7780_devices[] __initdata = { | |||
261 | &tmu4_device, | 269 | &tmu4_device, |
262 | &tmu5_device, | 270 | &tmu5_device, |
263 | &rtc_device, | 271 | &rtc_device, |
264 | &sci_device, | ||
265 | &dma_device, | 272 | &dma_device, |
266 | }; | 273 | }; |
267 | 274 | ||
@@ -271,8 +278,9 @@ static int __init sh7780_devices_setup(void) | |||
271 | ARRAY_SIZE(sh7780_devices)); | 278 | ARRAY_SIZE(sh7780_devices)); |
272 | } | 279 | } |
273 | arch_initcall(sh7780_devices_setup); | 280 | arch_initcall(sh7780_devices_setup); |
274 | |||
275 | static struct platform_device *sh7780_early_devices[] __initdata = { | 281 | static struct platform_device *sh7780_early_devices[] __initdata = { |
282 | &scif0_device, | ||
283 | &scif1_device, | ||
276 | &tmu0_device, | 284 | &tmu0_device, |
277 | &tmu1_device, | 285 | &tmu1_device, |
278 | &tmu2_device, | 286 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 7f6c718b6c36..ef26ebda6e8b 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c | |||
@@ -16,6 +16,102 @@ | |||
16 | #include <linux/sh_timer.h> | 16 | #include <linux/sh_timer.h> |
17 | #include <asm/mmzone.h> | 17 | #include <asm/mmzone.h> |
18 | 18 | ||
19 | static struct plat_sci_port scif0_platform_data = { | ||
20 | .mapbase = 0xffea0000, | ||
21 | .flags = UPF_BOOT_AUTOCONF, | ||
22 | .type = PORT_SCIF, | ||
23 | .irqs = { 40, 40, 40, 40 }, | ||
24 | .clk = "scif_fck", | ||
25 | }; | ||
26 | |||
27 | static struct platform_device scif0_device = { | ||
28 | .name = "sh-sci", | ||
29 | .id = 0, | ||
30 | .dev = { | ||
31 | .platform_data = &scif0_platform_data, | ||
32 | }, | ||
33 | }; | ||
34 | |||
35 | static struct plat_sci_port scif1_platform_data = { | ||
36 | .mapbase = 0xffeb0000, | ||
37 | .flags = UPF_BOOT_AUTOCONF, | ||
38 | .type = PORT_SCIF, | ||
39 | .irqs = { 44, 44, 44, 44 }, | ||
40 | .clk = "scif_fck", | ||
41 | }; | ||
42 | |||
43 | static struct platform_device scif1_device = { | ||
44 | .name = "sh-sci", | ||
45 | .id = 1, | ||
46 | .dev = { | ||
47 | .platform_data = &scif1_platform_data, | ||
48 | }, | ||
49 | }; | ||
50 | |||
51 | static struct plat_sci_port scif2_platform_data = { | ||
52 | .mapbase = 0xffec0000, | ||
53 | .flags = UPF_BOOT_AUTOCONF, | ||
54 | .type = PORT_SCIF, | ||
55 | .irqs = { 60, 60, 60, 60 }, | ||
56 | .clk = "scif_fck", | ||
57 | }; | ||
58 | |||
59 | static struct platform_device scif2_device = { | ||
60 | .name = "sh-sci", | ||
61 | .id = 2, | ||
62 | .dev = { | ||
63 | .platform_data = &scif2_platform_data, | ||
64 | }, | ||
65 | }; | ||
66 | |||
67 | static struct plat_sci_port scif3_platform_data = { | ||
68 | .mapbase = 0xffed0000, | ||
69 | .flags = UPF_BOOT_AUTOCONF, | ||
70 | .type = PORT_SCIF, | ||
71 | .irqs = { 61, 61, 61, 61 }, | ||
72 | .clk = "scif_fck", | ||
73 | }; | ||
74 | |||
75 | static struct platform_device scif3_device = { | ||
76 | .name = "sh-sci", | ||
77 | .id = 3, | ||
78 | .dev = { | ||
79 | .platform_data = &scif3_platform_data, | ||
80 | }, | ||
81 | }; | ||
82 | |||
83 | static struct plat_sci_port scif4_platform_data = { | ||
84 | .mapbase = 0xffee0000, | ||
85 | .flags = UPF_BOOT_AUTOCONF, | ||
86 | .type = PORT_SCIF, | ||
87 | .irqs = { 62, 62, 62, 62 }, | ||
88 | .clk = "scif_fck", | ||
89 | }; | ||
90 | |||
91 | static struct platform_device scif4_device = { | ||
92 | .name = "sh-sci", | ||
93 | .id = 4, | ||
94 | .dev = { | ||
95 | .platform_data = &scif4_platform_data, | ||
96 | }, | ||
97 | }; | ||
98 | |||
99 | static struct plat_sci_port scif5_platform_data = { | ||
100 | .mapbase = 0xffef0000, | ||
101 | .flags = UPF_BOOT_AUTOCONF, | ||
102 | .type = PORT_SCIF, | ||
103 | .irqs = { 63, 63, 63, 63 }, | ||
104 | .clk = "scif_fck", | ||
105 | }; | ||
106 | |||
107 | static struct platform_device scif5_device = { | ||
108 | .name = "sh-sci", | ||
109 | .id = 5, | ||
110 | .dev = { | ||
111 | .platform_data = &scif5_platform_data, | ||
112 | }, | ||
113 | }; | ||
114 | |||
19 | static struct sh_timer_config tmu0_platform_data = { | 115 | static struct sh_timer_config tmu0_platform_data = { |
20 | .name = "TMU0", | 116 | .name = "TMU0", |
21 | .channel_offset = 0x04, | 117 | .channel_offset = 0x04, |
@@ -198,64 +294,19 @@ static struct platform_device tmu5_device = { | |||
198 | .num_resources = ARRAY_SIZE(tmu5_resources), | 294 | .num_resources = ARRAY_SIZE(tmu5_resources), |
199 | }; | 295 | }; |
200 | 296 | ||
201 | static struct plat_sci_port sci_platform_data[] = { | ||
202 | { | ||
203 | .mapbase = 0xffea0000, | ||
204 | .flags = UPF_BOOT_AUTOCONF, | ||
205 | .type = PORT_SCIF, | ||
206 | .irqs = { 40, 40, 40, 40 }, | ||
207 | .clk = "scif_fck", | ||
208 | }, { | ||
209 | .mapbase = 0xffeb0000, | ||
210 | .flags = UPF_BOOT_AUTOCONF, | ||
211 | .type = PORT_SCIF, | ||
212 | .irqs = { 44, 44, 44, 44 }, | ||
213 | .clk = "scif_fck", | ||
214 | }, { | ||
215 | .mapbase = 0xffec0000, | ||
216 | .flags = UPF_BOOT_AUTOCONF, | ||
217 | .type = PORT_SCIF, | ||
218 | .irqs = { 60, 60, 60, 60 }, | ||
219 | .clk = "scif_fck", | ||
220 | }, { | ||
221 | .mapbase = 0xffed0000, | ||
222 | .flags = UPF_BOOT_AUTOCONF, | ||
223 | .type = PORT_SCIF, | ||
224 | .irqs = { 61, 61, 61, 61 }, | ||
225 | .clk = "scif_fck", | ||
226 | }, { | ||
227 | .mapbase = 0xffee0000, | ||
228 | .flags = UPF_BOOT_AUTOCONF, | ||
229 | .type = PORT_SCIF, | ||
230 | .irqs = { 62, 62, 62, 62 }, | ||
231 | .clk = "scif_fck", | ||
232 | }, { | ||
233 | .mapbase = 0xffef0000, | ||
234 | .flags = UPF_BOOT_AUTOCONF, | ||
235 | .type = PORT_SCIF, | ||
236 | .irqs = { 63, 63, 63, 63 }, | ||
237 | .clk = "scif_fck", | ||
238 | }, { | ||
239 | .flags = 0, | ||
240 | } | ||
241 | }; | ||
242 | |||
243 | static struct platform_device sci_device = { | ||
244 | .name = "sh-sci", | ||
245 | .id = -1, | ||
246 | .dev = { | ||
247 | .platform_data = sci_platform_data, | ||
248 | }, | ||
249 | }; | ||
250 | |||
251 | static struct platform_device *sh7785_devices[] __initdata = { | 297 | static struct platform_device *sh7785_devices[] __initdata = { |
298 | &scif0_device, | ||
299 | &scif1_device, | ||
300 | &scif2_device, | ||
301 | &scif3_device, | ||
302 | &scif4_device, | ||
303 | &scif5_device, | ||
252 | &tmu0_device, | 304 | &tmu0_device, |
253 | &tmu1_device, | 305 | &tmu1_device, |
254 | &tmu2_device, | 306 | &tmu2_device, |
255 | &tmu3_device, | 307 | &tmu3_device, |
256 | &tmu4_device, | 308 | &tmu4_device, |
257 | &tmu5_device, | 309 | &tmu5_device, |
258 | &sci_device, | ||
259 | }; | 310 | }; |
260 | 311 | ||
261 | static int __init sh7785_devices_setup(void) | 312 | static int __init sh7785_devices_setup(void) |
@@ -266,6 +317,12 @@ static int __init sh7785_devices_setup(void) | |||
266 | arch_initcall(sh7785_devices_setup); | 317 | arch_initcall(sh7785_devices_setup); |
267 | 318 | ||
268 | static struct platform_device *sh7785_early_devices[] __initdata = { | 319 | static struct platform_device *sh7785_early_devices[] __initdata = { |
320 | &scif0_device, | ||
321 | &scif1_device, | ||
322 | &scif2_device, | ||
323 | &scif3_device, | ||
324 | &scif4_device, | ||
325 | &scif5_device, | ||
269 | &tmu0_device, | 326 | &tmu0_device, |
270 | &tmu1_device, | 327 | &tmu1_device, |
271 | &tmu2_device, | 328 | &tmu2_device, |
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c index 0104a8ec5369..71673487ace0 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7786.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7786.c | |||
@@ -23,51 +23,96 @@ | |||
23 | #include <linux/sh_timer.h> | 23 | #include <linux/sh_timer.h> |
24 | #include <asm/mmzone.h> | 24 | #include <asm/mmzone.h> |
25 | 25 | ||
26 | static struct plat_sci_port sci_platform_data[] = { | 26 | static struct plat_sci_port scif0_platform_data = { |
27 | { | 27 | .mapbase = 0xffea0000, |
28 | .mapbase = 0xffea0000, | 28 | .flags = UPF_BOOT_AUTOCONF, |
29 | .flags = UPF_BOOT_AUTOCONF, | 29 | .type = PORT_SCIF, |
30 | .type = PORT_SCIF, | 30 | .irqs = { 40, 41, 43, 42 }, |
31 | .irqs = { 40, 41, 43, 42 }, | 31 | }; |
32 | |||
33 | static struct platform_device scif0_device = { | ||
34 | .name = "sh-sci", | ||
35 | .id = 0, | ||
36 | .dev = { | ||
37 | .platform_data = &scif0_platform_data, | ||
32 | }, | 38 | }, |
33 | /* | ||
34 | * The rest of these all have multiplexed IRQs | ||
35 | */ | ||
36 | { | ||
37 | .mapbase = 0xffeb0000, | ||
38 | .flags = UPF_BOOT_AUTOCONF, | ||
39 | .type = PORT_SCIF, | ||
40 | .irqs = { 44, 44, 44, 44 }, | ||
41 | }, { | ||
42 | .mapbase = 0xffec0000, | ||
43 | .flags = UPF_BOOT_AUTOCONF, | ||
44 | .type = PORT_SCIF, | ||
45 | .irqs = { 50, 50, 50, 50 }, | ||
46 | }, { | ||
47 | .mapbase = 0xffed0000, | ||
48 | .flags = UPF_BOOT_AUTOCONF, | ||
49 | .type = PORT_SCIF, | ||
50 | .irqs = { 51, 51, 51, 51 }, | ||
51 | }, { | ||
52 | .mapbase = 0xffee0000, | ||
53 | .flags = UPF_BOOT_AUTOCONF, | ||
54 | .type = PORT_SCIF, | ||
55 | .irqs = { 52, 52, 52, 52 }, | ||
56 | }, { | ||
57 | .mapbase = 0xffef0000, | ||
58 | .flags = UPF_BOOT_AUTOCONF, | ||
59 | .type = PORT_SCIF, | ||
60 | .irqs = { 53, 53, 53, 53 }, | ||
61 | }, { | ||
62 | .flags = 0, | ||
63 | } | ||
64 | }; | 39 | }; |
65 | 40 | ||
66 | static struct platform_device sci_device = { | 41 | /* |
42 | * The rest of these all have multiplexed IRQs | ||
43 | */ | ||
44 | static struct plat_sci_port scif1_platform_data = { | ||
45 | .mapbase = 0xffeb0000, | ||
46 | .flags = UPF_BOOT_AUTOCONF, | ||
47 | .type = PORT_SCIF, | ||
48 | .irqs = { 44, 44, 44, 44 }, | ||
49 | }; | ||
50 | |||
51 | static struct platform_device scif1_device = { | ||
67 | .name = "sh-sci", | 52 | .name = "sh-sci", |
68 | .id = -1, | 53 | .id = 1, |
54 | .dev = { | ||
55 | .platform_data = &scif1_platform_data, | ||
56 | }, | ||
57 | }; | ||
58 | |||
59 | static struct plat_sci_port scif2_platform_data = { | ||
60 | .mapbase = 0xffec0000, | ||
61 | .flags = UPF_BOOT_AUTOCONF, | ||
62 | .type = PORT_SCIF, | ||
63 | .irqs = { 50, 50, 50, 50 }, | ||
64 | }; | ||
65 | |||
66 | static struct platform_device scif2_device = { | ||
67 | .name = "sh-sci", | ||
68 | .id = 2, | ||
69 | .dev = { | ||
70 | .platform_data = &scif2_platform_data, | ||
71 | }, | ||
72 | }; | ||
73 | |||
74 | static struct plat_sci_port scif3_platform_data = { | ||
75 | .mapbase = 0xffed0000, | ||
76 | .flags = UPF_BOOT_AUTOCONF, | ||
77 | .type = PORT_SCIF, | ||
78 | .irqs = { 51, 51, 51, 51 }, | ||
79 | }; | ||
80 | |||
81 | static struct platform_device scif3_device = { | ||
82 | .name = "sh-sci", | ||
83 | .id = 3, | ||
84 | .dev = { | ||
85 | .platform_data = &scif3_platform_data, | ||
86 | }, | ||
87 | }; | ||
88 | |||
89 | static struct plat_sci_port scif4_platform_data = { | ||
90 | .mapbase = 0xffee0000, | ||
91 | .flags = UPF_BOOT_AUTOCONF, | ||
92 | .type = PORT_SCIF, | ||
93 | .irqs = { 52, 52, 52, 52 }, | ||
94 | }; | ||
95 | |||
96 | static struct platform_device scif4_device = { | ||
97 | .name = "sh-sci", | ||
98 | .id = 4, | ||
99 | .dev = { | ||
100 | .platform_data = &scif4_platform_data, | ||
101 | }, | ||
102 | }; | ||
103 | |||
104 | static struct plat_sci_port scif5_platform_data = { | ||
105 | .mapbase = 0xffef0000, | ||
106 | .flags = UPF_BOOT_AUTOCONF, | ||
107 | .type = PORT_SCIF, | ||
108 | .irqs = { 53, 53, 53, 53 }, | ||
109 | }; | ||
110 | |||
111 | static struct platform_device scif5_device = { | ||
112 | .name = "sh-sci", | ||
113 | .id = 5, | ||
69 | .dev = { | 114 | .dev = { |
70 | .platform_data = sci_platform_data, | 115 | .platform_data = &scif5_platform_data, |
71 | }, | 116 | }, |
72 | }; | 117 | }; |
73 | 118 | ||
@@ -459,6 +504,12 @@ static struct platform_device usb_ohci_device = { | |||
459 | }; | 504 | }; |
460 | 505 | ||
461 | static struct platform_device *sh7786_early_devices[] __initdata = { | 506 | static struct platform_device *sh7786_early_devices[] __initdata = { |
507 | &scif0_device, | ||
508 | &scif1_device, | ||
509 | &scif2_device, | ||
510 | &scif3_device, | ||
511 | &scif4_device, | ||
512 | &scif5_device, | ||
462 | &tmu0_device, | 513 | &tmu0_device, |
463 | &tmu1_device, | 514 | &tmu1_device, |
464 | &tmu2_device, | 515 | &tmu2_device, |
@@ -474,7 +525,6 @@ static struct platform_device *sh7786_early_devices[] __initdata = { | |||
474 | }; | 525 | }; |
475 | 526 | ||
476 | static struct platform_device *sh7786_devices[] __initdata = { | 527 | static struct platform_device *sh7786_devices[] __initdata = { |
477 | &sci_device, | ||
478 | &usb_ohci_device, | 528 | &usb_ohci_device, |
479 | }; | 529 | }; |
480 | 530 | ||
diff --git a/arch/sh/kernel/cpu/sh4a/setup-shx3.c b/arch/sh/kernel/cpu/sh4a/setup-shx3.c index c7ba9166e18a..780ba17a5599 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-shx3.c +++ b/arch/sh/kernel/cpu/sh4a/setup-shx3.c | |||
@@ -24,32 +24,48 @@ | |||
24 | * silicon in the first place, we just refuse to deal with the port at | 24 | * silicon in the first place, we just refuse to deal with the port at |
25 | * all rather than adding infrastructure to hack around it. | 25 | * all rather than adding infrastructure to hack around it. |
26 | */ | 26 | */ |
27 | static struct plat_sci_port sci_platform_data[] = { | 27 | static struct plat_sci_port scif0_platform_data = { |
28 | { | 28 | .mapbase = 0xffc30000, |
29 | .mapbase = 0xffc30000, | 29 | .flags = UPF_BOOT_AUTOCONF, |
30 | .flags = UPF_BOOT_AUTOCONF, | 30 | .type = PORT_SCIF, |
31 | .type = PORT_SCIF, | 31 | .irqs = { 40, 41, 43, 42 }, |
32 | .irqs = { 40, 41, 43, 42 }, | 32 | }; |
33 | }, { | 33 | |
34 | .mapbase = 0xffc40000, | 34 | static struct platform_device scif0_device = { |
35 | .flags = UPF_BOOT_AUTOCONF, | 35 | .name = "sh-sci", |
36 | .type = PORT_SCIF, | 36 | .id = 0, |
37 | .irqs = { 44, 45, 47, 46 }, | 37 | .dev = { |
38 | }, { | 38 | .platform_data = &scif0_platform_data, |
39 | .mapbase = 0xffc60000, | 39 | }, |
40 | .flags = UPF_BOOT_AUTOCONF, | 40 | }; |
41 | .type = PORT_SCIF, | 41 | |
42 | .irqs = { 52, 53, 55, 54 }, | 42 | static struct plat_sci_port scif1_platform_data = { |
43 | }, { | 43 | .mapbase = 0xffc40000, |
44 | .flags = 0, | 44 | .flags = UPF_BOOT_AUTOCONF, |
45 | } | 45 | .type = PORT_SCIF, |
46 | .irqs = { 44, 45, 47, 46 }, | ||
47 | }; | ||
48 | |||
49 | static struct platform_device scif1_device = { | ||
50 | .name = "sh-sci", | ||
51 | .id = 1, | ||
52 | .dev = { | ||
53 | .platform_data = &scif1_platform_data, | ||
54 | }, | ||
55 | }; | ||
56 | |||
57 | static struct plat_sci_port scif2_platform_data = { | ||
58 | .mapbase = 0xffc60000, | ||
59 | .flags = UPF_BOOT_AUTOCONF, | ||
60 | .type = PORT_SCIF, | ||
61 | .irqs = { 52, 53, 55, 54 }, | ||
46 | }; | 62 | }; |
47 | 63 | ||
48 | static struct platform_device sci_device = { | 64 | static struct platform_device scif2_device = { |
49 | .name = "sh-sci", | 65 | .name = "sh-sci", |
50 | .id = -1, | 66 | .id = 2, |
51 | .dev = { | 67 | .dev = { |
52 | .platform_data = sci_platform_data, | 68 | .platform_data = &scif2_platform_data, |
53 | }, | 69 | }, |
54 | }; | 70 | }; |
55 | 71 | ||
@@ -236,6 +252,9 @@ static struct platform_device tmu5_device = { | |||
236 | }; | 252 | }; |
237 | 253 | ||
238 | static struct platform_device *shx3_early_devices[] __initdata = { | 254 | static struct platform_device *shx3_early_devices[] __initdata = { |
255 | &scif0_device, | ||
256 | &scif1_device, | ||
257 | &scif2_device, | ||
239 | &tmu0_device, | 258 | &tmu0_device, |
240 | &tmu1_device, | 259 | &tmu1_device, |
241 | &tmu2_device, | 260 | &tmu2_device, |
@@ -244,21 +263,10 @@ static struct platform_device *shx3_early_devices[] __initdata = { | |||
244 | &tmu5_device, | 263 | &tmu5_device, |
245 | }; | 264 | }; |
246 | 265 | ||
247 | static struct platform_device *shx3_devices[] __initdata = { | ||
248 | &sci_device, | ||
249 | }; | ||
250 | |||
251 | static int __init shx3_devices_setup(void) | 266 | static int __init shx3_devices_setup(void) |
252 | { | 267 | { |
253 | int ret; | 268 | return platform_add_devices(shx3_early_devices, |
254 | |||
255 | ret = platform_add_devices(shx3_early_devices, | ||
256 | ARRAY_SIZE(shx3_early_devices)); | 269 | ARRAY_SIZE(shx3_early_devices)); |
257 | if (unlikely(ret != 0)) | ||
258 | return ret; | ||
259 | |||
260 | return platform_add_devices(shx3_devices, | ||
261 | ARRAY_SIZE(shx3_devices)); | ||
262 | } | 270 | } |
263 | arch_initcall(shx3_devices_setup); | 271 | arch_initcall(shx3_devices_setup); |
264 | 272 | ||
diff --git a/arch/sh/kernel/cpu/sh5/fpu.c b/arch/sh/kernel/cpu/sh5/fpu.c index dd4f51ffb50e..4648ccee6c4d 100644 --- a/arch/sh/kernel/cpu/sh5/fpu.c +++ b/arch/sh/kernel/cpu/sh5/fpu.c | |||
@@ -34,7 +34,7 @@ static union sh_fpu_union init_fpuregs = { | |||
34 | } | 34 | } |
35 | }; | 35 | }; |
36 | 36 | ||
37 | void save_fpu(struct task_struct *tsk, struct pt_regs *regs) | 37 | void save_fpu(struct task_struct *tsk) |
38 | { | 38 | { |
39 | asm volatile("fst.p %0, (0*8), fp0\n\t" | 39 | asm volatile("fst.p %0, (0*8), fp0\n\t" |
40 | "fst.p %0, (1*8), fp2\n\t" | 40 | "fst.p %0, (1*8), fp2\n\t" |
@@ -153,7 +153,7 @@ do_fpu_state_restore(unsigned long ex, struct pt_regs *regs) | |||
153 | enable_fpu(); | 153 | enable_fpu(); |
154 | if (last_task_used_math != NULL) | 154 | if (last_task_used_math != NULL) |
155 | /* Other processes fpu state, save away */ | 155 | /* Other processes fpu state, save away */ |
156 | save_fpu(last_task_used_math, regs); | 156 | save_fpu(last_task_used_math); |
157 | 157 | ||
158 | last_task_used_math = current; | 158 | last_task_used_math = current; |
159 | if (used_math()) { | 159 | if (used_math()) { |
diff --git a/arch/sh/kernel/cpu/sh5/setup-sh5.c b/arch/sh/kernel/cpu/sh5/setup-sh5.c index 6a0f82f70032..e7a3c1e4b604 100644 --- a/arch/sh/kernel/cpu/sh5/setup-sh5.c +++ b/arch/sh/kernel/cpu/sh5/setup-sh5.c | |||
@@ -16,22 +16,18 @@ | |||
16 | #include <linux/sh_timer.h> | 16 | #include <linux/sh_timer.h> |
17 | #include <asm/addrspace.h> | 17 | #include <asm/addrspace.h> |
18 | 18 | ||
19 | static struct plat_sci_port sci_platform_data[] = { | 19 | static struct plat_sci_port scif0_platform_data = { |
20 | { | 20 | .mapbase = PHYS_PERIPHERAL_BLOCK + 0x01030000, |
21 | .mapbase = PHYS_PERIPHERAL_BLOCK + 0x01030000, | 21 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, |
22 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, | 22 | .type = PORT_SCIF, |
23 | .type = PORT_SCIF, | 23 | .irqs = { 39, 40, 42, 0 }, |
24 | .irqs = { 39, 40, 42, 0 }, | ||
25 | }, { | ||
26 | .flags = 0, | ||
27 | } | ||
28 | }; | 24 | }; |
29 | 25 | ||
30 | static struct platform_device sci_device = { | 26 | static struct platform_device scif0_device = { |
31 | .name = "sh-sci", | 27 | .name = "sh-sci", |
32 | .id = -1, | 28 | .id = 0, |
33 | .dev = { | 29 | .dev = { |
34 | .platform_data = sci_platform_data, | 30 | .platform_data = &scif0_platform_data, |
35 | }, | 31 | }, |
36 | }; | 32 | }; |
37 | 33 | ||
@@ -164,13 +160,13 @@ static struct platform_device tmu2_device = { | |||
164 | }; | 160 | }; |
165 | 161 | ||
166 | static struct platform_device *sh5_early_devices[] __initdata = { | 162 | static struct platform_device *sh5_early_devices[] __initdata = { |
163 | &scif0_device, | ||
167 | &tmu0_device, | 164 | &tmu0_device, |
168 | &tmu1_device, | 165 | &tmu1_device, |
169 | &tmu2_device, | 166 | &tmu2_device, |
170 | }; | 167 | }; |
171 | 168 | ||
172 | static struct platform_device *sh5_devices[] __initdata = { | 169 | static struct platform_device *sh5_devices[] __initdata = { |
173 | &sci_device, | ||
174 | &rtc_device, | 170 | &rtc_device, |
175 | }; | 171 | }; |
176 | 172 | ||
diff --git a/arch/sh/kernel/early_printk.c b/arch/sh/kernel/early_printk.c index 81a46145ffa5..f8bb50c6e050 100644 --- a/arch/sh/kernel/early_printk.c +++ b/arch/sh/kernel/early_printk.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | 17 | ||
18 | #ifdef CONFIG_SH_STANDARD_BIOS | ||
19 | #include <asm/sh_bios.h> | 18 | #include <asm/sh_bios.h> |
20 | 19 | ||
21 | /* | 20 | /* |
@@ -57,149 +56,8 @@ static struct console bios_console = { | |||
57 | .flags = CON_PRINTBUFFER, | 56 | .flags = CON_PRINTBUFFER, |
58 | .index = -1, | 57 | .index = -1, |
59 | }; | 58 | }; |
60 | #endif | ||
61 | 59 | ||
62 | #ifdef CONFIG_EARLY_SCIF_CONSOLE | 60 | static struct console *early_console; |
63 | #include <linux/serial_core.h> | ||
64 | #include "../../../drivers/serial/sh-sci.h" | ||
65 | |||
66 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | ||
67 | defined(CONFIG_CPU_SUBTYPE_SH7721) | ||
68 | #define EPK_SCSMR_VALUE 0x000 | ||
69 | #define EPK_SCBRR_VALUE 0x00C | ||
70 | #define EPK_FIFO_SIZE 64 | ||
71 | #define EPK_FIFO_BITS (0x7f00 >> 8) | ||
72 | #else | ||
73 | #define EPK_FIFO_SIZE 16 | ||
74 | #define EPK_FIFO_BITS (0x1f00 >> 8) | ||
75 | #endif | ||
76 | |||
77 | static struct uart_port scif_port = { | ||
78 | .type = PORT_SCIF, | ||
79 | .mapbase = CONFIG_EARLY_SCIF_CONSOLE_PORT, | ||
80 | .membase = (char __iomem *)CONFIG_EARLY_SCIF_CONSOLE_PORT, | ||
81 | }; | ||
82 | |||
83 | static void scif_sercon_putc(int c) | ||
84 | { | ||
85 | while (((sci_in(&scif_port, SCFDR) & EPK_FIFO_BITS) >= EPK_FIFO_SIZE)) | ||
86 | ; | ||
87 | |||
88 | sci_in(&scif_port, SCxSR); | ||
89 | sci_out(&scif_port, SCxSR, 0xf3 & ~(0x20 | 0x40)); | ||
90 | sci_out(&scif_port, SCxTDR, c); | ||
91 | |||
92 | while ((sci_in(&scif_port, SCxSR) & 0x40) == 0) | ||
93 | ; | ||
94 | |||
95 | if (c == '\n') | ||
96 | scif_sercon_putc('\r'); | ||
97 | } | ||
98 | |||
99 | static void scif_sercon_write(struct console *con, const char *s, | ||
100 | unsigned count) | ||
101 | { | ||
102 | while (count-- > 0) | ||
103 | scif_sercon_putc(*s++); | ||
104 | } | ||
105 | |||
106 | static int __init scif_sercon_setup(struct console *con, char *options) | ||
107 | { | ||
108 | con->cflag = CREAD | HUPCL | CLOCAL | B115200 | CS8; | ||
109 | |||
110 | return 0; | ||
111 | } | ||
112 | |||
113 | static struct console scif_console = { | ||
114 | .name = "sercon", | ||
115 | .write = scif_sercon_write, | ||
116 | .setup = scif_sercon_setup, | ||
117 | .flags = CON_PRINTBUFFER, | ||
118 | .index = -1, | ||
119 | }; | ||
120 | |||
121 | #if !defined(CONFIG_SH_STANDARD_BIOS) | ||
122 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | ||
123 | defined(CONFIG_CPU_SUBTYPE_SH7721) | ||
124 | static void scif_sercon_init(char *s) | ||
125 | { | ||
126 | sci_out(&scif_port, SCSCR, 0x0000); /* clear TE and RE */ | ||
127 | sci_out(&scif_port, SCFCR, 0x4006); /* reset */ | ||
128 | sci_out(&scif_port, SCSCR, 0x0000); /* select internal clock */ | ||
129 | sci_out(&scif_port, SCSMR, EPK_SCSMR_VALUE); | ||
130 | sci_out(&scif_port, SCBRR, EPK_SCBRR_VALUE); | ||
131 | |||
132 | mdelay(1); /* wait 1-bit time */ | ||
133 | |||
134 | sci_out(&scif_port, SCFCR, 0x0030); /* TTRG=b'11 */ | ||
135 | sci_out(&scif_port, SCSCR, 0x0030); /* TE, RE */ | ||
136 | } | ||
137 | #elif defined(CONFIG_CPU_SH4) || defined(CONFIG_CPU_SH3) | ||
138 | #define DEFAULT_BAUD 115200 | ||
139 | /* | ||
140 | * Simple SCIF init, primarily aimed at SH7750 and other similar SH-4 | ||
141 | * devices that aren't using sh-ipl+g. | ||
142 | */ | ||
143 | static void scif_sercon_init(char *s) | ||
144 | { | ||
145 | struct uart_port *port = &scif_port; | ||
146 | unsigned baud = DEFAULT_BAUD; | ||
147 | unsigned int status; | ||
148 | char *e; | ||
149 | |||
150 | if (*s == ',') | ||
151 | ++s; | ||
152 | |||
153 | if (*s) { | ||
154 | /* ignore ioport/device name */ | ||
155 | s += strcspn(s, ","); | ||
156 | if (*s == ',') | ||
157 | s++; | ||
158 | } | ||
159 | |||
160 | if (*s) { | ||
161 | baud = simple_strtoul(s, &e, 0); | ||
162 | if (baud == 0 || s == e) | ||
163 | baud = DEFAULT_BAUD; | ||
164 | } | ||
165 | |||
166 | do { | ||
167 | status = sci_in(port, SCxSR); | ||
168 | } while (!(status & SCxSR_TEND(port))); | ||
169 | |||
170 | sci_out(port, SCSCR, 0); /* TE=0, RE=0 */ | ||
171 | sci_out(port, SCFCR, SCFCR_RFRST | SCFCR_TFRST); | ||
172 | sci_out(port, SCSMR, 0); | ||
173 | |||
174 | /* Set baud rate */ | ||
175 | sci_out(port, SCBRR, (CONFIG_SH_PCLK_FREQ + 16 * baud) / | ||
176 | (32 * baud) - 1); | ||
177 | udelay((1000000+(baud-1)) / baud); /* Wait one bit interval */ | ||
178 | |||
179 | sci_out(port, SCSPTR, 0); | ||
180 | sci_out(port, SCxSR, 0x60); | ||
181 | sci_out(port, SCLSR, 0); | ||
182 | |||
183 | sci_out(port, SCFCR, 0); | ||
184 | sci_out(port, SCSCR, 0x30); /* TE=1, RE=1 */ | ||
185 | } | ||
186 | #endif /* defined(CONFIG_CPU_SUBTYPE_SH7720) */ | ||
187 | #endif /* !defined(CONFIG_SH_STANDARD_BIOS) */ | ||
188 | #endif /* CONFIG_EARLY_SCIF_CONSOLE */ | ||
189 | |||
190 | /* | ||
191 | * Setup a default console, if more than one is compiled in, rely on the | ||
192 | * earlyprintk= parsing to give priority. | ||
193 | */ | ||
194 | static struct console *early_console = | ||
195 | #ifdef CONFIG_SH_STANDARD_BIOS | ||
196 | &bios_console | ||
197 | #elif defined(CONFIG_EARLY_SCIF_CONSOLE) | ||
198 | &scif_console | ||
199 | #else | ||
200 | NULL | ||
201 | #endif | ||
202 | ; | ||
203 | 61 | ||
204 | static int __init setup_early_printk(char *buf) | 62 | static int __init setup_early_printk(char *buf) |
205 | { | 63 | { |
@@ -211,21 +69,8 @@ static int __init setup_early_printk(char *buf) | |||
211 | if (strstr(buf, "keep")) | 69 | if (strstr(buf, "keep")) |
212 | keep_early = 1; | 70 | keep_early = 1; |
213 | 71 | ||
214 | #ifdef CONFIG_SH_STANDARD_BIOS | ||
215 | if (!strncmp(buf, "bios", 4)) | 72 | if (!strncmp(buf, "bios", 4)) |
216 | early_console = &bios_console; | 73 | early_console = &bios_console; |
217 | #endif | ||
218 | #if defined(CONFIG_EARLY_SCIF_CONSOLE) | ||
219 | if (!strncmp(buf, "serial", 6)) { | ||
220 | early_console = &scif_console; | ||
221 | |||
222 | #if !defined(CONFIG_SH_STANDARD_BIOS) | ||
223 | #if defined(CONFIG_CPU_SH4) || defined(CONFIG_CPU_SH3) | ||
224 | scif_sercon_init(buf + 6); | ||
225 | #endif | ||
226 | #endif | ||
227 | } | ||
228 | #endif | ||
229 | 74 | ||
230 | if (likely(early_console)) { | 75 | if (likely(early_console)) { |
231 | if (keep_early) | 76 | if (keep_early) |
diff --git a/arch/sh/kernel/ftrace.c b/arch/sh/kernel/ftrace.c index b6f41c109beb..a48cdedc73b5 100644 --- a/arch/sh/kernel/ftrace.c +++ b/arch/sh/kernel/ftrace.c | |||
@@ -401,82 +401,10 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr) | |||
401 | #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ | 401 | #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ |
402 | 402 | ||
403 | #ifdef CONFIG_FTRACE_SYSCALLS | 403 | #ifdef CONFIG_FTRACE_SYSCALLS |
404 | |||
405 | extern unsigned long __start_syscalls_metadata[]; | ||
406 | extern unsigned long __stop_syscalls_metadata[]; | ||
407 | extern unsigned long *sys_call_table; | 404 | extern unsigned long *sys_call_table; |
408 | 405 | ||
409 | static struct syscall_metadata **syscalls_metadata; | 406 | unsigned long __init arch_syscall_addr(int nr) |
410 | |||
411 | static struct syscall_metadata *find_syscall_meta(unsigned long *syscall) | ||
412 | { | ||
413 | struct syscall_metadata *start; | ||
414 | struct syscall_metadata *stop; | ||
415 | char str[KSYM_SYMBOL_LEN]; | ||
416 | |||
417 | |||
418 | start = (struct syscall_metadata *)__start_syscalls_metadata; | ||
419 | stop = (struct syscall_metadata *)__stop_syscalls_metadata; | ||
420 | kallsyms_lookup((unsigned long) syscall, NULL, NULL, NULL, str); | ||
421 | |||
422 | for ( ; start < stop; start++) { | ||
423 | if (start->name && !strcmp(start->name, str)) | ||
424 | return start; | ||
425 | } | ||
426 | |||
427 | return NULL; | ||
428 | } | ||
429 | |||
430 | struct syscall_metadata *syscall_nr_to_meta(int nr) | ||
431 | { | ||
432 | if (!syscalls_metadata || nr >= FTRACE_SYSCALL_MAX || nr < 0) | ||
433 | return NULL; | ||
434 | |||
435 | return syscalls_metadata[nr]; | ||
436 | } | ||
437 | |||
438 | int syscall_name_to_nr(char *name) | ||
439 | { | ||
440 | int i; | ||
441 | |||
442 | if (!syscalls_metadata) | ||
443 | return -1; | ||
444 | for (i = 0; i < NR_syscalls; i++) | ||
445 | if (syscalls_metadata[i]) | ||
446 | if (!strcmp(syscalls_metadata[i]->name, name)) | ||
447 | return i; | ||
448 | return -1; | ||
449 | } | ||
450 | |||
451 | void set_syscall_enter_id(int num, int id) | ||
452 | { | ||
453 | syscalls_metadata[num]->enter_id = id; | ||
454 | } | ||
455 | |||
456 | void set_syscall_exit_id(int num, int id) | ||
457 | { | ||
458 | syscalls_metadata[num]->exit_id = id; | ||
459 | } | ||
460 | |||
461 | static int __init arch_init_ftrace_syscalls(void) | ||
462 | { | 407 | { |
463 | int i; | 408 | return (unsigned long)sys_call_table[nr]; |
464 | struct syscall_metadata *meta; | ||
465 | unsigned long **psys_syscall_table = &sys_call_table; | ||
466 | |||
467 | syscalls_metadata = kzalloc(sizeof(*syscalls_metadata) * | ||
468 | FTRACE_SYSCALL_MAX, GFP_KERNEL); | ||
469 | if (!syscalls_metadata) { | ||
470 | WARN_ON(1); | ||
471 | return -ENOMEM; | ||
472 | } | ||
473 | |||
474 | for (i = 0; i < FTRACE_SYSCALL_MAX; i++) { | ||
475 | meta = find_syscall_meta(psys_syscall_table[i]); | ||
476 | syscalls_metadata[i] = meta; | ||
477 | } | ||
478 | |||
479 | return 0; | ||
480 | } | 409 | } |
481 | arch_initcall(arch_init_ftrace_syscalls); | ||
482 | #endif /* CONFIG_FTRACE_SYSCALLS */ | 410 | #endif /* CONFIG_FTRACE_SYSCALLS */ |
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index 359b8a2f4d2e..31f80c61b031 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c | |||
@@ -404,7 +404,7 @@ int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) | |||
404 | if (fpvalid) { | 404 | if (fpvalid) { |
405 | if (current == last_task_used_math) { | 405 | if (current == last_task_used_math) { |
406 | enable_fpu(); | 406 | enable_fpu(); |
407 | save_fpu(tsk, regs); | 407 | save_fpu(tsk); |
408 | disable_fpu(); | 408 | disable_fpu(); |
409 | last_task_used_math = 0; | 409 | last_task_used_math = 0; |
410 | regs->sr |= SR_FD; | 410 | regs->sr |= SR_FD; |
@@ -431,7 +431,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
431 | #ifdef CONFIG_SH_FPU | 431 | #ifdef CONFIG_SH_FPU |
432 | if(last_task_used_math == current) { | 432 | if(last_task_used_math == current) { |
433 | enable_fpu(); | 433 | enable_fpu(); |
434 | save_fpu(current, regs); | 434 | save_fpu(current); |
435 | disable_fpu(); | 435 | disable_fpu(); |
436 | last_task_used_math = NULL; | 436 | last_task_used_math = NULL; |
437 | regs->sr |= SR_FD; | 437 | regs->sr |= SR_FD; |
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c index 952da83903da..873ebdc4f98e 100644 --- a/arch/sh/kernel/ptrace_64.c +++ b/arch/sh/kernel/ptrace_64.c | |||
@@ -82,7 +82,7 @@ get_fpu_long(struct task_struct *task, unsigned long addr) | |||
82 | 82 | ||
83 | if (last_task_used_math == task) { | 83 | if (last_task_used_math == task) { |
84 | enable_fpu(); | 84 | enable_fpu(); |
85 | save_fpu(task, regs); | 85 | save_fpu(task); |
86 | disable_fpu(); | 86 | disable_fpu(); |
87 | last_task_used_math = 0; | 87 | last_task_used_math = 0; |
88 | regs->sr |= SR_FD; | 88 | regs->sr |= SR_FD; |
@@ -118,7 +118,7 @@ put_fpu_long(struct task_struct *task, unsigned long addr, unsigned long data) | |||
118 | set_stopped_child_used_math(task); | 118 | set_stopped_child_used_math(task); |
119 | } else if (last_task_used_math == task) { | 119 | } else if (last_task_used_math == task) { |
120 | enable_fpu(); | 120 | enable_fpu(); |
121 | save_fpu(task, regs); | 121 | save_fpu(task); |
122 | disable_fpu(); | 122 | disable_fpu(); |
123 | last_task_used_math = 0; | 123 | last_task_used_math = 0; |
124 | regs->sr |= SR_FD; | 124 | regs->sr |= SR_FD; |
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 5a947a2567e4..8b0e69792cf4 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -423,6 +423,9 @@ void __init setup_arch(char **cmdline_p) | |||
423 | 423 | ||
424 | plat_early_device_setup(); | 424 | plat_early_device_setup(); |
425 | 425 | ||
426 | /* Let earlyprintk output early console messages */ | ||
427 | early_platform_driver_probe("earlyprintk", 1, 1); | ||
428 | |||
426 | sh_mv_setup(); | 429 | sh_mv_setup(); |
427 | 430 | ||
428 | /* | 431 | /* |
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c index feb3dddd3192..ce76dbdef294 100644 --- a/arch/sh/kernel/signal_64.c +++ b/arch/sh/kernel/signal_64.c | |||
@@ -314,7 +314,7 @@ setup_sigcontext_fpu(struct pt_regs *regs, struct sigcontext __user *sc) | |||
314 | 314 | ||
315 | if (current == last_task_used_math) { | 315 | if (current == last_task_used_math) { |
316 | enable_fpu(); | 316 | enable_fpu(); |
317 | save_fpu(current, regs); | 317 | save_fpu(current); |
318 | disable_fpu(); | 318 | disable_fpu(); |
319 | last_task_used_math = NULL; | 319 | last_task_used_math = NULL; |
320 | regs->sr |= SR_FD; | 320 | regs->sr |= SR_FD; |
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index 19fd11dd9871..4bd5a1146956 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
@@ -353,3 +353,4 @@ ENTRY(sys_call_table) | |||
353 | .long sys_pwritev | 353 | .long sys_pwritev |
354 | .long sys_rt_tgsigqueueinfo /* 335 */ | 354 | .long sys_rt_tgsigqueueinfo /* 335 */ |
355 | .long sys_perf_event_open | 355 | .long sys_perf_event_open |
356 | .long sys_recvmmsg | ||
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 3da5a125d884..86639beac3a2 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -452,12 +452,18 @@ int handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs, | |||
452 | rm = regs->regs[index]; | 452 | rm = regs->regs[index]; |
453 | 453 | ||
454 | /* shout about fixups */ | 454 | /* shout about fixups */ |
455 | if (!expected && printk_ratelimit()) | 455 | if (!expected) { |
456 | printk(KERN_NOTICE "Fixing up unaligned %s access " | 456 | if (user_mode(regs) && (se_usermode & 1) && printk_ratelimit()) |
457 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", | 457 | pr_notice("Fixing up unaligned userspace access " |
458 | user_mode(regs) ? "userspace" : "kernel", | 458 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", |
459 | current->comm, task_pid_nr(current), | 459 | current->comm, task_pid_nr(current), |
460 | (void *)regs->pc, instruction); | 460 | (void *)regs->pc, instruction); |
461 | else if (se_kernmode_warn && printk_ratelimit()) | ||
462 | pr_notice("Fixing up unaligned kernel access " | ||
463 | "in \"%s\" pid=%d pc=0x%p ins=0x%04hx\n", | ||
464 | current->comm, task_pid_nr(current), | ||
465 | (void *)regs->pc, instruction); | ||
466 | } | ||
461 | 467 | ||
462 | ret = -EFAULT; | 468 | ret = -EFAULT; |
463 | switch (instruction&0xF000) { | 469 | switch (instruction&0xF000) { |
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 75c0cbe2eda0..d86f5315a0c1 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c | |||
@@ -600,7 +600,7 @@ static int misaligned_fpu_load(struct pt_regs *regs, | |||
600 | indexed by register number. */ | 600 | indexed by register number. */ |
601 | if (last_task_used_math == current) { | 601 | if (last_task_used_math == current) { |
602 | enable_fpu(); | 602 | enable_fpu(); |
603 | save_fpu(current, regs); | 603 | save_fpu(current); |
604 | disable_fpu(); | 604 | disable_fpu(); |
605 | last_task_used_math = NULL; | 605 | last_task_used_math = NULL; |
606 | regs->sr |= SR_FD; | 606 | regs->sr |= SR_FD; |
@@ -673,7 +673,7 @@ static int misaligned_fpu_store(struct pt_regs *regs, | |||
673 | indexed by register number. */ | 673 | indexed by register number. */ |
674 | if (last_task_used_math == current) { | 674 | if (last_task_used_math == current) { |
675 | enable_fpu(); | 675 | enable_fpu(); |
676 | save_fpu(current, regs); | 676 | save_fpu(current); |
677 | disable_fpu(); | 677 | disable_fpu(); |
678 | last_task_used_math = NULL; | 678 | last_task_used_math = NULL; |
679 | regs->sr |= SR_FD; | 679 | regs->sr |= SR_FD; |
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c index f36a08bf3d5c..560ddb6bc8a7 100644 --- a/arch/sh/mm/cache-sh4.c +++ b/arch/sh/mm/cache-sh4.c | |||
@@ -256,8 +256,7 @@ static void sh4_flush_cache_page(void *args) | |||
256 | address = (unsigned long)vaddr; | 256 | address = (unsigned long)vaddr; |
257 | } | 257 | } |
258 | 258 | ||
259 | if (pages_do_alias(address, phys)) | 259 | flush_cache_one(CACHE_OC_ADDRESS_ARRAY | |
260 | flush_cache_one(CACHE_OC_ADDRESS_ARRAY | | ||
261 | (address & shm_align_mask), phys); | 260 | (address & shm_align_mask), phys); |
262 | 261 | ||
263 | if (vma->vm_flags & VM_EXEC) | 262 | if (vma->vm_flags & VM_EXEC) |
diff --git a/arch/sh/mm/ioremap_32.c b/arch/sh/mm/ioremap_32.c index a86eaa9d75a5..2141befb4f91 100644 --- a/arch/sh/mm/ioremap_32.c +++ b/arch/sh/mm/ioremap_32.c | |||
@@ -33,10 +33,10 @@ | |||
33 | * have to convert them into an offset in a page-aligned mapping, but the | 33 | * have to convert them into an offset in a page-aligned mapping, but the |
34 | * caller shouldn't need to know that small detail. | 34 | * caller shouldn't need to know that small detail. |
35 | */ | 35 | */ |
36 | void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | 36 | void __iomem *__ioremap_caller(unsigned long phys_addr, unsigned long size, |
37 | unsigned long flags) | 37 | unsigned long flags, void *caller) |
38 | { | 38 | { |
39 | struct vm_struct * area; | 39 | struct vm_struct *area; |
40 | unsigned long offset, last_addr, addr, orig_addr; | 40 | unsigned long offset, last_addr, addr, orig_addr; |
41 | pgprot_t pgprot; | 41 | pgprot_t pgprot; |
42 | 42 | ||
@@ -67,7 +67,7 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
67 | /* | 67 | /* |
68 | * Ok, go for it.. | 68 | * Ok, go for it.. |
69 | */ | 69 | */ |
70 | area = get_vm_area(size, VM_IOREMAP); | 70 | area = get_vm_area_caller(size, VM_IOREMAP, caller); |
71 | if (!area) | 71 | if (!area) |
72 | return NULL; | 72 | return NULL; |
73 | area->phys_addr = phys_addr; | 73 | area->phys_addr = phys_addr; |
@@ -103,7 +103,7 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, | |||
103 | 103 | ||
104 | return (void __iomem *)(offset + (char *)orig_addr); | 104 | return (void __iomem *)(offset + (char *)orig_addr); |
105 | } | 105 | } |
106 | EXPORT_SYMBOL(__ioremap); | 106 | EXPORT_SYMBOL(__ioremap_caller); |
107 | 107 | ||
108 | void __iounmap(void __iomem *addr) | 108 | void __iounmap(void __iomem *addr) |
109 | { | 109 | { |
diff --git a/arch/sh/mm/ioremap_64.c b/arch/sh/mm/ioremap_64.c index b16843d02b76..ef434657d428 100644 --- a/arch/sh/mm/ioremap_64.c +++ b/arch/sh/mm/ioremap_64.c | |||
@@ -258,15 +258,15 @@ static void shmedia_unmapioaddr(unsigned long vaddr) | |||
258 | pte_clear(&init_mm, vaddr, ptep); | 258 | pte_clear(&init_mm, vaddr, ptep); |
259 | } | 259 | } |
260 | 260 | ||
261 | void __iomem *__ioremap(unsigned long offset, unsigned long size, | 261 | void __iomem *__ioremap_caller(unsigned long offset, unsigned long size, |
262 | unsigned long flags) | 262 | unsigned long flags, void *caller) |
263 | { | 263 | { |
264 | char name[14]; | 264 | char name[14]; |
265 | 265 | ||
266 | sprintf(name, "phys_%08x", (u32)offset); | 266 | sprintf(name, "phys_%08x", (u32)offset); |
267 | return shmedia_alloc_io(offset, size, name, flags); | 267 | return shmedia_alloc_io(offset, size, name, flags); |
268 | } | 268 | } |
269 | EXPORT_SYMBOL(__ioremap); | 269 | EXPORT_SYMBOL(__ioremap_caller); |
270 | 270 | ||
271 | void __iounmap(void __iomem *virtual) | 271 | void __iounmap(void __iomem *virtual) |
272 | { | 272 | { |
diff --git a/arch/sh/mm/numa.c b/arch/sh/mm/numa.c index 6c524446c0f6..422e92721878 100644 --- a/arch/sh/mm/numa.c +++ b/arch/sh/mm/numa.c | |||
@@ -28,7 +28,7 @@ void __init setup_memory(void) | |||
28 | { | 28 | { |
29 | unsigned long free_pfn = PFN_UP(__pa(_end)); | 29 | unsigned long free_pfn = PFN_UP(__pa(_end)); |
30 | u64 base = min_low_pfn << PAGE_SHIFT; | 30 | u64 base = min_low_pfn << PAGE_SHIFT; |
31 | u64 size = (max_low_pfn << PAGE_SHIFT) - min_low_pfn; | 31 | u64 size = (max_low_pfn << PAGE_SHIFT) - base; |
32 | 32 | ||
33 | lmb_add(base, size); | 33 | lmb_add(base, size); |
34 | 34 | ||
@@ -38,6 +38,15 @@ void __init setup_memory(void) | |||
38 | (__MEMORY_START + CONFIG_ZERO_PAGE_OFFSET)); | 38 | (__MEMORY_START + CONFIG_ZERO_PAGE_OFFSET)); |
39 | 39 | ||
40 | /* | 40 | /* |
41 | * Reserve physical pages below CONFIG_ZERO_PAGE_OFFSET. | ||
42 | */ | ||
43 | if (CONFIG_ZERO_PAGE_OFFSET != 0) | ||
44 | lmb_reserve(__MEMORY_START, CONFIG_ZERO_PAGE_OFFSET); | ||
45 | |||
46 | lmb_analyze(); | ||
47 | lmb_dump_all(); | ||
48 | |||
49 | /* | ||
41 | * Node 0 sets up its pgdat at the first available pfn, | 50 | * Node 0 sets up its pgdat at the first available pfn, |
42 | * and bumps it up before setting up the bootmem allocator. | 51 | * and bumps it up before setting up the bootmem allocator. |
43 | */ | 52 | */ |
@@ -71,7 +80,7 @@ void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) | |||
71 | 80 | ||
72 | /* Node-local pgdat */ | 81 | /* Node-local pgdat */ |
73 | NODE_DATA(nid) = __va(lmb_alloc_base(sizeof(struct pglist_data), | 82 | NODE_DATA(nid) = __va(lmb_alloc_base(sizeof(struct pglist_data), |
74 | SMP_CACHE_BYTES, end_pfn)); | 83 | SMP_CACHE_BYTES, end)); |
75 | memset(NODE_DATA(nid), 0, sizeof(struct pglist_data)); | 84 | memset(NODE_DATA(nid), 0, sizeof(struct pglist_data)); |
76 | 85 | ||
77 | NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; | 86 | NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; |
@@ -81,7 +90,7 @@ void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) | |||
81 | /* Node-local bootmap */ | 90 | /* Node-local bootmap */ |
82 | bootmap_pages = bootmem_bootmap_pages(end_pfn - start_pfn); | 91 | bootmap_pages = bootmem_bootmap_pages(end_pfn - start_pfn); |
83 | bootmem_paddr = lmb_alloc_base(bootmap_pages << PAGE_SHIFT, | 92 | bootmem_paddr = lmb_alloc_base(bootmap_pages << PAGE_SHIFT, |
84 | PAGE_SIZE, end_pfn); | 93 | PAGE_SIZE, end); |
85 | init_bootmem_node(NODE_DATA(nid), bootmem_paddr >> PAGE_SHIFT, | 94 | init_bootmem_node(NODE_DATA(nid), bootmem_paddr >> PAGE_SHIFT, |
86 | start_pfn, end_pfn); | 95 | start_pfn, end_pfn); |
87 | 96 | ||
diff --git a/arch/sparc/include/asm/elf_32.h b/arch/sparc/include/asm/elf_32.h index 381a1b5256d6..4269ca6ad18a 100644 --- a/arch/sparc/include/asm/elf_32.h +++ b/arch/sparc/include/asm/elf_32.h | |||
@@ -104,8 +104,6 @@ typedef struct { | |||
104 | #define ELF_CLASS ELFCLASS32 | 104 | #define ELF_CLASS ELFCLASS32 |
105 | #define ELF_DATA ELFDATA2MSB | 105 | #define ELF_DATA ELFDATA2MSB |
106 | 106 | ||
107 | #define USE_ELF_CORE_DUMP | ||
108 | |||
109 | #define ELF_EXEC_PAGESIZE 4096 | 107 | #define ELF_EXEC_PAGESIZE 4096 |
110 | 108 | ||
111 | 109 | ||
diff --git a/arch/sparc/include/asm/elf_64.h b/arch/sparc/include/asm/elf_64.h index d42e393078c4..ff66bb88537b 100644 --- a/arch/sparc/include/asm/elf_64.h +++ b/arch/sparc/include/asm/elf_64.h | |||
@@ -152,7 +152,6 @@ typedef struct { | |||
152 | (x)->e_machine == EM_SPARC32PLUS) | 152 | (x)->e_machine == EM_SPARC32PLUS) |
153 | #define compat_start_thread start_thread32 | 153 | #define compat_start_thread start_thread32 |
154 | 154 | ||
155 | #define USE_ELF_CORE_DUMP | ||
156 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 155 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
157 | 156 | ||
158 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 157 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/sparc/kernel/iommu.c b/arch/sparc/kernel/iommu.c index 7690cc219ecc..5fad94950e76 100644 --- a/arch/sparc/kernel/iommu.c +++ b/arch/sparc/kernel/iommu.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/dma-mapping.h> | 11 | #include <linux/dma-mapping.h> |
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/iommu-helper.h> | 13 | #include <linux/iommu-helper.h> |
14 | #include <linux/bitmap.h> | ||
14 | 15 | ||
15 | #ifdef CONFIG_PCI | 16 | #ifdef CONFIG_PCI |
16 | #include <linux/pci.h> | 17 | #include <linux/pci.h> |
@@ -169,7 +170,7 @@ void iommu_range_free(struct iommu *iommu, dma_addr_t dma_addr, unsigned long np | |||
169 | 170 | ||
170 | entry = (dma_addr - iommu->page_table_map_base) >> IO_PAGE_SHIFT; | 171 | entry = (dma_addr - iommu->page_table_map_base) >> IO_PAGE_SHIFT; |
171 | 172 | ||
172 | iommu_area_free(arena->map, entry, npages); | 173 | bitmap_clear(arena->map, entry, npages); |
173 | } | 174 | } |
174 | 175 | ||
175 | int iommu_table_init(struct iommu *iommu, int tsbsize, | 176 | int iommu_table_init(struct iommu *iommu, int tsbsize, |
diff --git a/arch/sparc/kernel/ldc.c b/arch/sparc/kernel/ldc.c index e0ba898e30cf..df39a0f0d27a 100644 --- a/arch/sparc/kernel/ldc.c +++ b/arch/sparc/kernel/ldc.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/bitmap.h> | ||
17 | 18 | ||
18 | #include <asm/hypervisor.h> | 19 | #include <asm/hypervisor.h> |
19 | #include <asm/iommu.h> | 20 | #include <asm/iommu.h> |
@@ -1875,7 +1876,7 @@ EXPORT_SYMBOL(ldc_read); | |||
1875 | static long arena_alloc(struct ldc_iommu *iommu, unsigned long npages) | 1876 | static long arena_alloc(struct ldc_iommu *iommu, unsigned long npages) |
1876 | { | 1877 | { |
1877 | struct iommu_arena *arena = &iommu->arena; | 1878 | struct iommu_arena *arena = &iommu->arena; |
1878 | unsigned long n, i, start, end, limit; | 1879 | unsigned long n, start, end, limit; |
1879 | int pass; | 1880 | int pass; |
1880 | 1881 | ||
1881 | limit = arena->limit; | 1882 | limit = arena->limit; |
@@ -1883,7 +1884,7 @@ static long arena_alloc(struct ldc_iommu *iommu, unsigned long npages) | |||
1883 | pass = 0; | 1884 | pass = 0; |
1884 | 1885 | ||
1885 | again: | 1886 | again: |
1886 | n = find_next_zero_bit(arena->map, limit, start); | 1887 | n = bitmap_find_next_zero_area(arena->map, limit, start, npages, 0); |
1887 | end = n + npages; | 1888 | end = n + npages; |
1888 | if (unlikely(end >= limit)) { | 1889 | if (unlikely(end >= limit)) { |
1889 | if (likely(pass < 1)) { | 1890 | if (likely(pass < 1)) { |
@@ -1896,16 +1897,7 @@ again: | |||
1896 | return -1; | 1897 | return -1; |
1897 | } | 1898 | } |
1898 | } | 1899 | } |
1899 | 1900 | bitmap_set(arena->map, n, npages); | |
1900 | for (i = n; i < end; i++) { | ||
1901 | if (test_bit(i, arena->map)) { | ||
1902 | start = i + 1; | ||
1903 | goto again; | ||
1904 | } | ||
1905 | } | ||
1906 | |||
1907 | for (i = n; i < end; i++) | ||
1908 | __set_bit(i, arena->map); | ||
1909 | 1901 | ||
1910 | arena->hint = end; | 1902 | arena->hint = end; |
1911 | 1903 | ||
diff --git a/arch/sparc/kernel/pci.c b/arch/sparc/kernel/pci.c index b85374f7cf94..539e83f8e087 100644 --- a/arch/sparc/kernel/pci.c +++ b/arch/sparc/kernel/pci.c | |||
@@ -1064,7 +1064,6 @@ int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask) | |||
1064 | 1064 | ||
1065 | return (device_mask & dma_addr_mask) == dma_addr_mask; | 1065 | return (device_mask & dma_addr_mask) == dma_addr_mask; |
1066 | } | 1066 | } |
1067 | EXPORT_SYMBOL(pci_dma_supported); | ||
1068 | 1067 | ||
1069 | void pci_resource_to_user(const struct pci_dev *pdev, int bar, | 1068 | void pci_resource_to_user(const struct pci_dev *pdev, int bar, |
1070 | const struct resource *rp, resource_size_t *start, | 1069 | const struct resource *rp, resource_size_t *start, |
diff --git a/arch/sparc/kernel/sparc_ksyms_64.c b/arch/sparc/kernel/sparc_ksyms_64.c index 0f26066a08d9..372ad59c4cba 100644 --- a/arch/sparc/kernel/sparc_ksyms_64.c +++ b/arch/sparc/kernel/sparc_ksyms_64.c | |||
@@ -38,17 +38,5 @@ EXPORT_SYMBOL(sun4v_niagara_setperf); | |||
38 | EXPORT_SYMBOL(sun4v_niagara2_getperf); | 38 | EXPORT_SYMBOL(sun4v_niagara2_getperf); |
39 | EXPORT_SYMBOL(sun4v_niagara2_setperf); | 39 | EXPORT_SYMBOL(sun4v_niagara2_setperf); |
40 | 40 | ||
41 | #ifdef CONFIG_PCI | ||
42 | /* inline functions in asm/pci_64.h */ | ||
43 | EXPORT_SYMBOL(pci_alloc_consistent); | ||
44 | EXPORT_SYMBOL(pci_free_consistent); | ||
45 | EXPORT_SYMBOL(pci_map_single); | ||
46 | EXPORT_SYMBOL(pci_unmap_single); | ||
47 | EXPORT_SYMBOL(pci_map_sg); | ||
48 | EXPORT_SYMBOL(pci_unmap_sg); | ||
49 | EXPORT_SYMBOL(pci_dma_sync_single_for_cpu); | ||
50 | EXPORT_SYMBOL(pci_dma_sync_sg_for_cpu); | ||
51 | #endif | ||
52 | |||
53 | /* Exporting a symbol from /init/main.c */ | 41 | /* Exporting a symbol from /init/main.c */ |
54 | EXPORT_SYMBOL(saved_command_line); | 42 | EXPORT_SYMBOL(saved_command_line); |
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c index 2ffacd67c424..a89baf0d875a 100644 --- a/arch/sparc/mm/sun4c.c +++ b/arch/sparc/mm/sun4c.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
18 | #include <linux/seq_file.h> | 18 | #include <linux/seq_file.h> |
19 | #include <linux/scatterlist.h> | 19 | #include <linux/scatterlist.h> |
20 | #include <linux/bitmap.h> | ||
20 | 21 | ||
21 | #include <asm/sections.h> | 22 | #include <asm/sections.h> |
22 | #include <asm/page.h> | 23 | #include <asm/page.h> |
@@ -1021,20 +1022,12 @@ static char *sun4c_lockarea(char *vaddr, unsigned long size) | |||
1021 | npages = (((unsigned long)vaddr & ~PAGE_MASK) + | 1022 | npages = (((unsigned long)vaddr & ~PAGE_MASK) + |
1022 | size + (PAGE_SIZE-1)) >> PAGE_SHIFT; | 1023 | size + (PAGE_SIZE-1)) >> PAGE_SHIFT; |
1023 | 1024 | ||
1024 | scan = 0; | ||
1025 | local_irq_save(flags); | 1025 | local_irq_save(flags); |
1026 | for (;;) { | 1026 | base = bitmap_find_next_zero_area(sun4c_iobuffer_map, iobuffer_map_size, |
1027 | scan = find_next_zero_bit(sun4c_iobuffer_map, | 1027 | 0, npages, 0); |
1028 | iobuffer_map_size, scan); | 1028 | if (base >= iobuffer_map_size) |
1029 | if ((base = scan) + npages > iobuffer_map_size) goto abend; | 1029 | goto abend; |
1030 | for (;;) { | ||
1031 | if (scan >= base + npages) goto found; | ||
1032 | if (test_bit(scan, sun4c_iobuffer_map)) break; | ||
1033 | scan++; | ||
1034 | } | ||
1035 | } | ||
1036 | 1030 | ||
1037 | found: | ||
1038 | high = ((base + npages) << PAGE_SHIFT) + sun4c_iobuffer_start; | 1031 | high = ((base + npages) << PAGE_SHIFT) + sun4c_iobuffer_start; |
1039 | high = SUN4C_REAL_PGDIR_ALIGN(high); | 1032 | high = SUN4C_REAL_PGDIR_ALIGN(high); |
1040 | while (high > sun4c_iobuffer_high) { | 1033 | while (high > sun4c_iobuffer_high) { |
diff --git a/arch/um/sys-i386/asm/elf.h b/arch/um/sys-i386/asm/elf.h index d0da9d7c5371..770885472ed4 100644 --- a/arch/um/sys-i386/asm/elf.h +++ b/arch/um/sys-i386/asm/elf.h | |||
@@ -48,7 +48,6 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
48 | PT_REGS_EAX(regs) = 0; \ | 48 | PT_REGS_EAX(regs) = 0; \ |
49 | } while (0) | 49 | } while (0) |
50 | 50 | ||
51 | #define USE_ELF_CORE_DUMP | ||
52 | #define ELF_EXEC_PAGESIZE 4096 | 51 | #define ELF_EXEC_PAGESIZE 4096 |
53 | 52 | ||
54 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) | 53 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) |
diff --git a/arch/um/sys-ppc/asm/elf.h b/arch/um/sys-ppc/asm/elf.h index af9463cd8ce5..8aacaf56508d 100644 --- a/arch/um/sys-ppc/asm/elf.h +++ b/arch/um/sys-ppc/asm/elf.h | |||
@@ -17,8 +17,6 @@ extern long elf_aux_hwcap; | |||
17 | #define ELF_CLASS ELFCLASS32 | 17 | #define ELF_CLASS ELFCLASS32 |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #define USE_ELF_CORE_DUMP | ||
21 | |||
22 | #define R_386_NONE 0 | 20 | #define R_386_NONE 0 |
23 | #define R_386_32 1 | 21 | #define R_386_32 1 |
24 | #define R_386_PC32 2 | 22 | #define R_386_PC32 2 |
diff --git a/arch/um/sys-x86_64/asm/elf.h b/arch/um/sys-x86_64/asm/elf.h index 04b9e87c8dad..49655c83efd2 100644 --- a/arch/um/sys-x86_64/asm/elf.h +++ b/arch/um/sys-x86_64/asm/elf.h | |||
@@ -104,7 +104,6 @@ extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); | |||
104 | clear_thread_flag(TIF_IA32); | 104 | clear_thread_flag(TIF_IA32); |
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | #define USE_ELF_CORE_DUMP | ||
108 | #define ELF_EXEC_PAGESIZE 4096 | 107 | #define ELF_EXEC_PAGESIZE 4096 |
109 | 108 | ||
110 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) | 109 | #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) |
diff --git a/arch/x86/boot/compressed/relocs.c b/arch/x86/boot/compressed/relocs.c index bbeb0c3fbd90..89bbf4e4d05d 100644 --- a/arch/x86/boot/compressed/relocs.c +++ b/arch/x86/boot/compressed/relocs.c | |||
@@ -9,6 +9,9 @@ | |||
9 | #include <byteswap.h> | 9 | #include <byteswap.h> |
10 | #define USE_BSD | 10 | #define USE_BSD |
11 | #include <endian.h> | 11 | #include <endian.h> |
12 | #include <regex.h> | ||
13 | |||
14 | static void die(char *fmt, ...); | ||
12 | 15 | ||
13 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | 16 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
14 | static Elf32_Ehdr ehdr; | 17 | static Elf32_Ehdr ehdr; |
@@ -30,25 +33,47 @@ static struct section *secs; | |||
30 | * the address for which it has been compiled. Don't warn user about | 33 | * the address for which it has been compiled. Don't warn user about |
31 | * absolute relocations present w.r.t these symbols. | 34 | * absolute relocations present w.r.t these symbols. |
32 | */ | 35 | */ |
33 | static const char* safe_abs_relocs[] = { | 36 | static const char abs_sym_regex[] = |
34 | "xen_irq_disable_direct_reloc", | 37 | "^(xen_irq_disable_direct_reloc$|" |
35 | "xen_save_fl_direct_reloc", | 38 | "xen_save_fl_direct_reloc$|" |
36 | }; | 39 | "VDSO|" |
40 | "__crc_)"; | ||
41 | static regex_t abs_sym_regex_c; | ||
42 | static int is_abs_reloc(const char *sym_name) | ||
43 | { | ||
44 | return !regexec(&abs_sym_regex_c, sym_name, 0, NULL, 0); | ||
45 | } | ||
37 | 46 | ||
38 | static int is_safe_abs_reloc(const char* sym_name) | 47 | /* |
48 | * These symbols are known to be relative, even if the linker marks them | ||
49 | * as absolute (typically defined outside any section in the linker script.) | ||
50 | */ | ||
51 | static const char rel_sym_regex[] = | ||
52 | "^_end$"; | ||
53 | static regex_t rel_sym_regex_c; | ||
54 | static int is_rel_reloc(const char *sym_name) | ||
39 | { | 55 | { |
40 | int i; | 56 | return !regexec(&rel_sym_regex_c, sym_name, 0, NULL, 0); |
57 | } | ||
41 | 58 | ||
42 | for (i = 0; i < ARRAY_SIZE(safe_abs_relocs); i++) { | 59 | static void regex_init(void) |
43 | if (!strcmp(sym_name, safe_abs_relocs[i])) | 60 | { |
44 | /* Match found */ | 61 | char errbuf[128]; |
45 | return 1; | 62 | int err; |
46 | } | 63 | |
47 | if (strncmp(sym_name, "VDSO", 4) == 0) | 64 | err = regcomp(&abs_sym_regex_c, abs_sym_regex, |
48 | return 1; | 65 | REG_EXTENDED|REG_NOSUB); |
49 | if (strncmp(sym_name, "__crc_", 6) == 0) | 66 | if (err) { |
50 | return 1; | 67 | regerror(err, &abs_sym_regex_c, errbuf, sizeof errbuf); |
51 | return 0; | 68 | die("%s", errbuf); |
69 | } | ||
70 | |||
71 | err = regcomp(&rel_sym_regex_c, rel_sym_regex, | ||
72 | REG_EXTENDED|REG_NOSUB); | ||
73 | if (err) { | ||
74 | regerror(err, &rel_sym_regex_c, errbuf, sizeof errbuf); | ||
75 | die("%s", errbuf); | ||
76 | } | ||
52 | } | 77 | } |
53 | 78 | ||
54 | static void die(char *fmt, ...) | 79 | static void die(char *fmt, ...) |
@@ -131,7 +156,7 @@ static const char *rel_type(unsigned type) | |||
131 | #undef REL_TYPE | 156 | #undef REL_TYPE |
132 | }; | 157 | }; |
133 | const char *name = "unknown type rel type name"; | 158 | const char *name = "unknown type rel type name"; |
134 | if (type < ARRAY_SIZE(type_name)) { | 159 | if (type < ARRAY_SIZE(type_name) && type_name[type]) { |
135 | name = type_name[type]; | 160 | name = type_name[type]; |
136 | } | 161 | } |
137 | return name; | 162 | return name; |
@@ -448,7 +473,7 @@ static void print_absolute_relocs(void) | |||
448 | * Before warning check if this absolute symbol | 473 | * Before warning check if this absolute symbol |
449 | * relocation is harmless. | 474 | * relocation is harmless. |
450 | */ | 475 | */ |
451 | if (is_safe_abs_reloc(name)) | 476 | if (is_abs_reloc(name) || is_rel_reloc(name)) |
452 | continue; | 477 | continue; |
453 | 478 | ||
454 | if (!printed) { | 479 | if (!printed) { |
@@ -501,21 +526,26 @@ static void walk_relocs(void (*visit)(Elf32_Rel *rel, Elf32_Sym *sym)) | |||
501 | sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; | 526 | sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; |
502 | r_type = ELF32_R_TYPE(rel->r_info); | 527 | r_type = ELF32_R_TYPE(rel->r_info); |
503 | /* Don't visit relocations to absolute symbols */ | 528 | /* Don't visit relocations to absolute symbols */ |
504 | if (sym->st_shndx == SHN_ABS) { | 529 | if (sym->st_shndx == SHN_ABS && |
530 | !is_rel_reloc(sym_name(sym_strtab, sym))) { | ||
505 | continue; | 531 | continue; |
506 | } | 532 | } |
507 | if (r_type == R_386_NONE || r_type == R_386_PC32) { | 533 | switch (r_type) { |
534 | case R_386_NONE: | ||
535 | case R_386_PC32: | ||
508 | /* | 536 | /* |
509 | * NONE can be ignored and and PC relative | 537 | * NONE can be ignored and and PC relative |
510 | * relocations don't need to be adjusted. | 538 | * relocations don't need to be adjusted. |
511 | */ | 539 | */ |
512 | } | 540 | break; |
513 | else if (r_type == R_386_32) { | 541 | case R_386_32: |
514 | /* Visit relocations that need to be adjusted */ | 542 | /* Visit relocations that need to be adjusted */ |
515 | visit(rel, sym); | 543 | visit(rel, sym); |
516 | } | 544 | break; |
517 | else { | 545 | default: |
518 | die("Unsupported relocation type: %d\n", r_type); | 546 | die("Unsupported relocation type: %s (%d)\n", |
547 | rel_type(r_type), r_type); | ||
548 | break; | ||
519 | } | 549 | } |
520 | } | 550 | } |
521 | } | 551 | } |
@@ -571,16 +601,15 @@ static void emit_relocs(int as_text) | |||
571 | } | 601 | } |
572 | else { | 602 | else { |
573 | unsigned char buf[4]; | 603 | unsigned char buf[4]; |
574 | buf[0] = buf[1] = buf[2] = buf[3] = 0; | ||
575 | /* Print a stop */ | 604 | /* Print a stop */ |
576 | printf("%c%c%c%c", buf[0], buf[1], buf[2], buf[3]); | 605 | fwrite("\0\0\0\0", 4, 1, stdout); |
577 | /* Now print each relocation */ | 606 | /* Now print each relocation */ |
578 | for (i = 0; i < reloc_count; i++) { | 607 | for (i = 0; i < reloc_count; i++) { |
579 | buf[0] = (relocs[i] >> 0) & 0xff; | 608 | buf[0] = (relocs[i] >> 0) & 0xff; |
580 | buf[1] = (relocs[i] >> 8) & 0xff; | 609 | buf[1] = (relocs[i] >> 8) & 0xff; |
581 | buf[2] = (relocs[i] >> 16) & 0xff; | 610 | buf[2] = (relocs[i] >> 16) & 0xff; |
582 | buf[3] = (relocs[i] >> 24) & 0xff; | 611 | buf[3] = (relocs[i] >> 24) & 0xff; |
583 | printf("%c%c%c%c", buf[0], buf[1], buf[2], buf[3]); | 612 | fwrite(buf, 4, 1, stdout); |
584 | } | 613 | } |
585 | } | 614 | } |
586 | } | 615 | } |
@@ -598,6 +627,8 @@ int main(int argc, char **argv) | |||
598 | FILE *fp; | 627 | FILE *fp; |
599 | int i; | 628 | int i; |
600 | 629 | ||
630 | regex_init(); | ||
631 | |||
601 | show_absolute_syms = 0; | 632 | show_absolute_syms = 0; |
602 | show_absolute_relocs = 0; | 633 | show_absolute_relocs = 0; |
603 | as_text = 0; | 634 | as_text = 0; |
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index 0f6c02f3b7d4..ac91eed21061 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h | |||
@@ -67,7 +67,7 @@ static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) | |||
67 | if (!dev->dma_mask) | 67 | if (!dev->dma_mask) |
68 | return 0; | 68 | return 0; |
69 | 69 | ||
70 | return addr + size <= *dev->dma_mask; | 70 | return addr + size - 1 <= *dev->dma_mask; |
71 | } | 71 | } |
72 | 72 | ||
73 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) | 73 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) |
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index 8a024babe5e6..b4501ee223ad 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h | |||
@@ -239,7 +239,6 @@ extern int force_personality32; | |||
239 | #endif /* !CONFIG_X86_32 */ | 239 | #endif /* !CONFIG_X86_32 */ |
240 | 240 | ||
241 | #define CORE_DUMP_USE_REGSET | 241 | #define CORE_DUMP_USE_REGSET |
242 | #define USE_ELF_CORE_DUMP | ||
243 | #define ELF_EXEC_PAGESIZE 4096 | 242 | #define ELF_EXEC_PAGESIZE 4096 |
244 | 243 | ||
245 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical | 244 | /* This is the location that an ET_DYN program is loaded if exec'ed. Typical |
diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h index 3d11fd0f44c5..9d369f680321 100644 --- a/arch/x86/include/asm/ptrace.h +++ b/arch/x86/include/asm/ptrace.h | |||
@@ -292,6 +292,8 @@ extern void user_enable_block_step(struct task_struct *); | |||
292 | #define arch_has_block_step() (boot_cpu_data.x86 >= 6) | 292 | #define arch_has_block_step() (boot_cpu_data.x86 >= 6) |
293 | #endif | 293 | #endif |
294 | 294 | ||
295 | #define ARCH_HAS_USER_SINGLE_STEP_INFO | ||
296 | |||
295 | struct user_desc; | 297 | struct user_desc; |
296 | extern int do_get_thread_area(struct task_struct *p, int idx, | 298 | extern int do_get_thread_area(struct task_struct *p, int idx, |
297 | struct user_desc __user *info); | 299 | struct user_desc __user *info); |
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h index 87ffcb12a1b8..8085277e1b8b 100644 --- a/arch/x86/include/asm/swiotlb.h +++ b/arch/x86/include/asm/swiotlb.h | |||
@@ -5,13 +5,17 @@ | |||
5 | 5 | ||
6 | #ifdef CONFIG_SWIOTLB | 6 | #ifdef CONFIG_SWIOTLB |
7 | extern int swiotlb; | 7 | extern int swiotlb; |
8 | extern int pci_swiotlb_init(void); | 8 | extern int __init pci_swiotlb_detect(void); |
9 | extern void __init pci_swiotlb_init(void); | ||
9 | #else | 10 | #else |
10 | #define swiotlb 0 | 11 | #define swiotlb 0 |
11 | static inline int pci_swiotlb_init(void) | 12 | static inline int pci_swiotlb_detect(void) |
12 | { | 13 | { |
13 | return 0; | 14 | return 0; |
14 | } | 15 | } |
16 | static inline void pci_swiotlb_init(void) | ||
17 | { | ||
18 | } | ||
15 | #endif | 19 | #endif |
16 | 20 | ||
17 | static inline void dma_mark_clean(void *addr, size_t size) {} | 21 | static inline void dma_mark_clean(void *addr, size_t size) {} |
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h index 1bb6e395881c..8868b9420b0e 100644 --- a/arch/x86/include/asm/syscalls.h +++ b/arch/x86/include/asm/syscalls.h | |||
@@ -18,16 +18,24 @@ | |||
18 | /* Common in X86_32 and X86_64 */ | 18 | /* Common in X86_32 and X86_64 */ |
19 | /* kernel/ioport.c */ | 19 | /* kernel/ioport.c */ |
20 | asmlinkage long sys_ioperm(unsigned long, unsigned long, int); | 20 | asmlinkage long sys_ioperm(unsigned long, unsigned long, int); |
21 | long sys_iopl(unsigned int, struct pt_regs *); | ||
21 | 22 | ||
22 | /* kernel/process.c */ | 23 | /* kernel/process.c */ |
23 | int sys_fork(struct pt_regs *); | 24 | int sys_fork(struct pt_regs *); |
24 | int sys_vfork(struct pt_regs *); | 25 | int sys_vfork(struct pt_regs *); |
26 | long sys_execve(char __user *, char __user * __user *, | ||
27 | char __user * __user *, struct pt_regs *); | ||
28 | long sys_clone(unsigned long, unsigned long, void __user *, | ||
29 | void __user *, struct pt_regs *); | ||
25 | 30 | ||
26 | /* kernel/ldt.c */ | 31 | /* kernel/ldt.c */ |
27 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); | 32 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); |
28 | 33 | ||
29 | /* kernel/signal.c */ | 34 | /* kernel/signal.c */ |
30 | long sys_rt_sigreturn(struct pt_regs *); | 35 | long sys_rt_sigreturn(struct pt_regs *); |
36 | long sys_sigaltstack(const stack_t __user *, stack_t __user *, | ||
37 | struct pt_regs *); | ||
38 | |||
31 | 39 | ||
32 | /* kernel/tls.c */ | 40 | /* kernel/tls.c */ |
33 | asmlinkage int sys_set_thread_area(struct user_desc __user *); | 41 | asmlinkage int sys_set_thread_area(struct user_desc __user *); |
@@ -35,18 +43,11 @@ asmlinkage int sys_get_thread_area(struct user_desc __user *); | |||
35 | 43 | ||
36 | /* X86_32 only */ | 44 | /* X86_32 only */ |
37 | #ifdef CONFIG_X86_32 | 45 | #ifdef CONFIG_X86_32 |
38 | /* kernel/ioport.c */ | ||
39 | long sys_iopl(struct pt_regs *); | ||
40 | |||
41 | /* kernel/process_32.c */ | ||
42 | int sys_clone(struct pt_regs *); | ||
43 | int sys_execve(struct pt_regs *); | ||
44 | 46 | ||
45 | /* kernel/signal.c */ | 47 | /* kernel/signal.c */ |
46 | asmlinkage int sys_sigsuspend(int, int, old_sigset_t); | 48 | asmlinkage int sys_sigsuspend(int, int, old_sigset_t); |
47 | asmlinkage int sys_sigaction(int, const struct old_sigaction __user *, | 49 | asmlinkage int sys_sigaction(int, const struct old_sigaction __user *, |
48 | struct old_sigaction __user *); | 50 | struct old_sigaction __user *); |
49 | int sys_sigaltstack(struct pt_regs *); | ||
50 | unsigned long sys_sigreturn(struct pt_regs *); | 51 | unsigned long sys_sigreturn(struct pt_regs *); |
51 | 52 | ||
52 | /* kernel/sys_i386_32.c */ | 53 | /* kernel/sys_i386_32.c */ |
@@ -62,28 +63,15 @@ asmlinkage int sys_uname(struct old_utsname __user *); | |||
62 | asmlinkage int sys_olduname(struct oldold_utsname __user *); | 63 | asmlinkage int sys_olduname(struct oldold_utsname __user *); |
63 | 64 | ||
64 | /* kernel/vm86_32.c */ | 65 | /* kernel/vm86_32.c */ |
65 | int sys_vm86old(struct pt_regs *); | 66 | int sys_vm86old(struct vm86_struct __user *, struct pt_regs *); |
66 | int sys_vm86(struct pt_regs *); | 67 | int sys_vm86(unsigned long, unsigned long, struct pt_regs *); |
67 | 68 | ||
68 | #else /* CONFIG_X86_32 */ | 69 | #else /* CONFIG_X86_32 */ |
69 | 70 | ||
70 | /* X86_64 only */ | 71 | /* X86_64 only */ |
71 | /* kernel/ioport.c */ | ||
72 | asmlinkage long sys_iopl(unsigned int, struct pt_regs *); | ||
73 | |||
74 | /* kernel/process_64.c */ | 72 | /* kernel/process_64.c */ |
75 | asmlinkage long sys_clone(unsigned long, unsigned long, | ||
76 | void __user *, void __user *, | ||
77 | struct pt_regs *); | ||
78 | asmlinkage long sys_execve(char __user *, char __user * __user *, | ||
79 | char __user * __user *, | ||
80 | struct pt_regs *); | ||
81 | long sys_arch_prctl(int, unsigned long); | 73 | long sys_arch_prctl(int, unsigned long); |
82 | 74 | ||
83 | /* kernel/signal.c */ | ||
84 | asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *, | ||
85 | struct pt_regs *); | ||
86 | |||
87 | /* kernel/sys_x86_64.c */ | 75 | /* kernel/sys_x86_64.c */ |
88 | struct new_utsname; | 76 | struct new_utsname; |
89 | 77 | ||
diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h index 7ed17ff502b9..2751f3075d8b 100644 --- a/arch/x86/include/asm/uv/bios.h +++ b/arch/x86/include/asm/uv/bios.h | |||
@@ -76,15 +76,6 @@ union partition_info_u { | |||
76 | }; | 76 | }; |
77 | }; | 77 | }; |
78 | 78 | ||
79 | union uv_watchlist_u { | ||
80 | u64 val; | ||
81 | struct { | ||
82 | u64 blade : 16, | ||
83 | size : 32, | ||
84 | filler : 16; | ||
85 | }; | ||
86 | }; | ||
87 | |||
88 | enum uv_memprotect { | 79 | enum uv_memprotect { |
89 | UV_MEMPROT_RESTRICT_ACCESS, | 80 | UV_MEMPROT_RESTRICT_ACCESS, |
90 | UV_MEMPROT_ALLOW_AMO, | 81 | UV_MEMPROT_ALLOW_AMO, |
@@ -100,7 +91,7 @@ extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); | |||
100 | 91 | ||
101 | extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *); | 92 | extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *); |
102 | extern s64 uv_bios_freq_base(u64, u64 *); | 93 | extern s64 uv_bios_freq_base(u64, u64 *); |
103 | extern int uv_bios_mq_watchlist_alloc(int, unsigned long, unsigned int, | 94 | extern int uv_bios_mq_watchlist_alloc(unsigned long, unsigned int, |
104 | unsigned long *); | 95 | unsigned long *); |
105 | extern int uv_bios_mq_watchlist_free(int, int); | 96 | extern int uv_bios_mq_watchlist_free(int, int); |
106 | extern s64 uv_bios_change_memprotect(u64, u64, enum uv_memprotect); | 97 | extern s64 uv_bios_change_memprotect(u64, u64, enum uv_memprotect); |
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index d1414af98559..811bfabc80b7 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h | |||
@@ -172,6 +172,8 @@ DECLARE_PER_CPU(struct uv_hub_info_s, __uv_hub_info); | |||
172 | #define UV_LOCAL_MMR_SIZE (64UL * 1024 * 1024) | 172 | #define UV_LOCAL_MMR_SIZE (64UL * 1024 * 1024) |
173 | #define UV_GLOBAL_MMR32_SIZE (64UL * 1024 * 1024) | 173 | #define UV_GLOBAL_MMR32_SIZE (64UL * 1024 * 1024) |
174 | 174 | ||
175 | #define UV_GLOBAL_GRU_MMR_BASE 0x4000000 | ||
176 | |||
175 | #define UV_GLOBAL_MMR32_PNODE_SHIFT 15 | 177 | #define UV_GLOBAL_MMR32_PNODE_SHIFT 15 |
176 | #define UV_GLOBAL_MMR64_PNODE_SHIFT 26 | 178 | #define UV_GLOBAL_MMR64_PNODE_SHIFT 26 |
177 | 179 | ||
@@ -232,6 +234,26 @@ static inline unsigned long uv_gpa(void *v) | |||
232 | return uv_soc_phys_ram_to_gpa(__pa(v)); | 234 | return uv_soc_phys_ram_to_gpa(__pa(v)); |
233 | } | 235 | } |
234 | 236 | ||
237 | /* Top two bits indicate the requested address is in MMR space. */ | ||
238 | static inline int | ||
239 | uv_gpa_in_mmr_space(unsigned long gpa) | ||
240 | { | ||
241 | return (gpa >> 62) == 0x3UL; | ||
242 | } | ||
243 | |||
244 | /* UV global physical address --> socket phys RAM */ | ||
245 | static inline unsigned long uv_gpa_to_soc_phys_ram(unsigned long gpa) | ||
246 | { | ||
247 | unsigned long paddr = gpa & uv_hub_info->gpa_mask; | ||
248 | unsigned long remap_base = uv_hub_info->lowmem_remap_base; | ||
249 | unsigned long remap_top = uv_hub_info->lowmem_remap_top; | ||
250 | |||
251 | if (paddr >= remap_base && paddr < remap_base + remap_top) | ||
252 | paddr -= remap_base; | ||
253 | return paddr; | ||
254 | } | ||
255 | |||
256 | |||
235 | /* gnode -> pnode */ | 257 | /* gnode -> pnode */ |
236 | static inline unsigned long uv_gpa_to_gnode(unsigned long gpa) | 258 | static inline unsigned long uv_gpa_to_gnode(unsigned long gpa) |
237 | { | 259 | { |
@@ -308,6 +330,15 @@ static inline unsigned long uv_read_global_mmr64(int pnode, | |||
308 | } | 330 | } |
309 | 331 | ||
310 | /* | 332 | /* |
333 | * Global MMR space addresses when referenced by the GRU. (GRU does | ||
334 | * NOT use socket addressing). | ||
335 | */ | ||
336 | static inline unsigned long uv_global_gru_mmr_address(int pnode, unsigned long offset) | ||
337 | { | ||
338 | return UV_GLOBAL_GRU_MMR_BASE | offset | (pnode << uv_hub_info->m_val); | ||
339 | } | ||
340 | |||
341 | /* | ||
311 | * Access hub local MMRs. Faster than using global space but only local MMRs | 342 | * Access hub local MMRs. Faster than using global space but only local MMRs |
312 | * are accessible. | 343 | * are accessible. |
313 | */ | 344 | */ |
@@ -434,6 +465,14 @@ static inline void uv_set_cpu_scir_bits(int cpu, unsigned char value) | |||
434 | } | 465 | } |
435 | } | 466 | } |
436 | 467 | ||
468 | static unsigned long uv_hub_ipi_value(int apicid, int vector, int mode) | ||
469 | { | ||
470 | return (1UL << UVH_IPI_INT_SEND_SHFT) | | ||
471 | ((apicid) << UVH_IPI_INT_APIC_ID_SHFT) | | ||
472 | (mode << UVH_IPI_INT_DELIVERY_MODE_SHFT) | | ||
473 | (vector << UVH_IPI_INT_VECTOR_SHFT); | ||
474 | } | ||
475 | |||
437 | static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) | 476 | static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) |
438 | { | 477 | { |
439 | unsigned long val; | 478 | unsigned long val; |
@@ -442,10 +481,7 @@ static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) | |||
442 | if (vector == NMI_VECTOR) | 481 | if (vector == NMI_VECTOR) |
443 | dmode = dest_NMI; | 482 | dmode = dest_NMI; |
444 | 483 | ||
445 | val = (1UL << UVH_IPI_INT_SEND_SHFT) | | 484 | val = uv_hub_ipi_value(apicid, vector, dmode); |
446 | ((apicid) << UVH_IPI_INT_APIC_ID_SHFT) | | ||
447 | (dmode << UVH_IPI_INT_DELIVERY_MODE_SHFT) | | ||
448 | (vector << UVH_IPI_INT_VECTOR_SHFT); | ||
449 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); | 485 | uv_write_global_mmr64(pnode, UVH_IPI_INT, val); |
450 | } | 486 | } |
451 | 487 | ||
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c index b990b5cc9541..23824fef789c 100644 --- a/arch/x86/kernel/amd_iommu.c +++ b/arch/x86/kernel/amd_iommu.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/pci.h> | 20 | #include <linux/pci.h> |
21 | #include <linux/gfp.h> | 21 | #include <linux/gfp.h> |
22 | #include <linux/bitops.h> | 22 | #include <linux/bitmap.h> |
23 | #include <linux/debugfs.h> | 23 | #include <linux/debugfs.h> |
24 | #include <linux/scatterlist.h> | 24 | #include <linux/scatterlist.h> |
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
@@ -1162,7 +1162,7 @@ static void dma_ops_free_addresses(struct dma_ops_domain *dom, | |||
1162 | 1162 | ||
1163 | address = (address % APERTURE_RANGE_SIZE) >> PAGE_SHIFT; | 1163 | address = (address % APERTURE_RANGE_SIZE) >> PAGE_SHIFT; |
1164 | 1164 | ||
1165 | iommu_area_free(range->bitmap, address, pages); | 1165 | bitmap_clear(range->bitmap, address, pages); |
1166 | 1166 | ||
1167 | } | 1167 | } |
1168 | 1168 | ||
diff --git a/arch/x86/kernel/bios_uv.c b/arch/x86/kernel/bios_uv.c index 63a88e1f987d..b0206a211b09 100644 --- a/arch/x86/kernel/bios_uv.c +++ b/arch/x86/kernel/bios_uv.c | |||
@@ -101,21 +101,17 @@ s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, | |||
101 | } | 101 | } |
102 | 102 | ||
103 | int | 103 | int |
104 | uv_bios_mq_watchlist_alloc(int blade, unsigned long addr, unsigned int mq_size, | 104 | uv_bios_mq_watchlist_alloc(unsigned long addr, unsigned int mq_size, |
105 | unsigned long *intr_mmr_offset) | 105 | unsigned long *intr_mmr_offset) |
106 | { | 106 | { |
107 | union uv_watchlist_u size_blade; | ||
108 | u64 watchlist; | 107 | u64 watchlist; |
109 | s64 ret; | 108 | s64 ret; |
110 | 109 | ||
111 | size_blade.size = mq_size; | ||
112 | size_blade.blade = blade; | ||
113 | |||
114 | /* | 110 | /* |
115 | * bios returns watchlist number or negative error number. | 111 | * bios returns watchlist number or negative error number. |
116 | */ | 112 | */ |
117 | ret = (int)uv_bios_call_irqsave(UV_BIOS_WATCHLIST_ALLOC, addr, | 113 | ret = (int)uv_bios_call_irqsave(UV_BIOS_WATCHLIST_ALLOC, addr, |
118 | size_blade.val, (u64)intr_mmr_offset, | 114 | mq_size, (u64)intr_mmr_offset, |
119 | (u64)&watchlist, 0); | 115 | (u64)&watchlist, 0); |
120 | if (ret < BIOS_STATUS_SUCCESS) | 116 | if (ret < BIOS_STATUS_SUCCESS) |
121 | return ret; | 117 | return ret; |
diff --git a/arch/x86/kernel/cpu/mcheck/mce-inject.c b/arch/x86/kernel/cpu/mcheck/mce-inject.c index 472763d92098..73734baa50f2 100644 --- a/arch/x86/kernel/cpu/mcheck/mce-inject.c +++ b/arch/x86/kernel/cpu/mcheck/mce-inject.c | |||
@@ -74,7 +74,7 @@ static void raise_exception(struct mce *m, struct pt_regs *pregs) | |||
74 | m->finished = 0; | 74 | m->finished = 0; |
75 | } | 75 | } |
76 | 76 | ||
77 | static cpumask_t mce_inject_cpumask; | 77 | static cpumask_var_t mce_inject_cpumask; |
78 | 78 | ||
79 | static int mce_raise_notify(struct notifier_block *self, | 79 | static int mce_raise_notify(struct notifier_block *self, |
80 | unsigned long val, void *data) | 80 | unsigned long val, void *data) |
@@ -82,9 +82,9 @@ static int mce_raise_notify(struct notifier_block *self, | |||
82 | struct die_args *args = (struct die_args *)data; | 82 | struct die_args *args = (struct die_args *)data; |
83 | int cpu = smp_processor_id(); | 83 | int cpu = smp_processor_id(); |
84 | struct mce *m = &__get_cpu_var(injectm); | 84 | struct mce *m = &__get_cpu_var(injectm); |
85 | if (val != DIE_NMI_IPI || !cpu_isset(cpu, mce_inject_cpumask)) | 85 | if (val != DIE_NMI_IPI || !cpumask_test_cpu(cpu, mce_inject_cpumask)) |
86 | return NOTIFY_DONE; | 86 | return NOTIFY_DONE; |
87 | cpu_clear(cpu, mce_inject_cpumask); | 87 | cpumask_clear_cpu(cpu, mce_inject_cpumask); |
88 | if (m->inject_flags & MCJ_EXCEPTION) | 88 | if (m->inject_flags & MCJ_EXCEPTION) |
89 | raise_exception(m, args->regs); | 89 | raise_exception(m, args->regs); |
90 | else if (m->status) | 90 | else if (m->status) |
@@ -148,22 +148,22 @@ static void raise_mce(struct mce *m) | |||
148 | unsigned long start; | 148 | unsigned long start; |
149 | int cpu; | 149 | int cpu; |
150 | get_online_cpus(); | 150 | get_online_cpus(); |
151 | mce_inject_cpumask = cpu_online_map; | 151 | cpumask_copy(mce_inject_cpumask, cpu_online_mask); |
152 | cpu_clear(get_cpu(), mce_inject_cpumask); | 152 | cpumask_clear_cpu(get_cpu(), mce_inject_cpumask); |
153 | for_each_online_cpu(cpu) { | 153 | for_each_online_cpu(cpu) { |
154 | struct mce *mcpu = &per_cpu(injectm, cpu); | 154 | struct mce *mcpu = &per_cpu(injectm, cpu); |
155 | if (!mcpu->finished || | 155 | if (!mcpu->finished || |
156 | MCJ_CTX(mcpu->inject_flags) != MCJ_CTX_RANDOM) | 156 | MCJ_CTX(mcpu->inject_flags) != MCJ_CTX_RANDOM) |
157 | cpu_clear(cpu, mce_inject_cpumask); | 157 | cpumask_clear_cpu(cpu, mce_inject_cpumask); |
158 | } | 158 | } |
159 | if (!cpus_empty(mce_inject_cpumask)) | 159 | if (!cpumask_empty(mce_inject_cpumask)) |
160 | apic->send_IPI_mask(&mce_inject_cpumask, NMI_VECTOR); | 160 | apic->send_IPI_mask(mce_inject_cpumask, NMI_VECTOR); |
161 | start = jiffies; | 161 | start = jiffies; |
162 | while (!cpus_empty(mce_inject_cpumask)) { | 162 | while (!cpumask_empty(mce_inject_cpumask)) { |
163 | if (!time_before(jiffies, start + 2*HZ)) { | 163 | if (!time_before(jiffies, start + 2*HZ)) { |
164 | printk(KERN_ERR | 164 | printk(KERN_ERR |
165 | "Timeout waiting for mce inject NMI %lx\n", | 165 | "Timeout waiting for mce inject NMI %lx\n", |
166 | *cpus_addr(mce_inject_cpumask)); | 166 | *cpumask_bits(mce_inject_cpumask)); |
167 | break; | 167 | break; |
168 | } | 168 | } |
169 | cpu_relax(); | 169 | cpu_relax(); |
@@ -210,6 +210,8 @@ static ssize_t mce_write(struct file *filp, const char __user *ubuf, | |||
210 | 210 | ||
211 | static int inject_init(void) | 211 | static int inject_init(void) |
212 | { | 212 | { |
213 | if (!alloc_cpumask_var(&mce_inject_cpumask, GFP_KERNEL)) | ||
214 | return -ENOMEM; | ||
213 | printk(KERN_INFO "Machine check injector initialized\n"); | 215 | printk(KERN_INFO "Machine check injector initialized\n"); |
214 | mce_chrdev_ops.write = mce_write; | 216 | mce_chrdev_ops.write = mce_write; |
215 | register_die_notifier(&mce_raise_nb); | 217 | register_die_notifier(&mce_raise_nb); |
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 50b9c220e121..44a8e0dc6737 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -725,22 +725,61 @@ END(syscall_badsys) | |||
725 | /* | 725 | /* |
726 | * System calls that need a pt_regs pointer. | 726 | * System calls that need a pt_regs pointer. |
727 | */ | 727 | */ |
728 | #define PTREGSCALL(name) \ | 728 | #define PTREGSCALL0(name) \ |
729 | ALIGN; \ | 729 | ALIGN; \ |
730 | ptregs_##name: \ | 730 | ptregs_##name: \ |
731 | leal 4(%esp),%eax; \ | 731 | leal 4(%esp),%eax; \ |
732 | jmp sys_##name; | 732 | jmp sys_##name; |
733 | 733 | ||
734 | PTREGSCALL(iopl) | 734 | #define PTREGSCALL1(name) \ |
735 | PTREGSCALL(fork) | 735 | ALIGN; \ |
736 | PTREGSCALL(clone) | 736 | ptregs_##name: \ |
737 | PTREGSCALL(vfork) | 737 | leal 4(%esp),%edx; \ |
738 | PTREGSCALL(execve) | 738 | movl (PT_EBX+4)(%esp),%eax; \ |
739 | PTREGSCALL(sigaltstack) | 739 | jmp sys_##name; |
740 | PTREGSCALL(sigreturn) | 740 | |
741 | PTREGSCALL(rt_sigreturn) | 741 | #define PTREGSCALL2(name) \ |
742 | PTREGSCALL(vm86) | 742 | ALIGN; \ |
743 | PTREGSCALL(vm86old) | 743 | ptregs_##name: \ |
744 | leal 4(%esp),%ecx; \ | ||
745 | movl (PT_ECX+4)(%esp),%edx; \ | ||
746 | movl (PT_EBX+4)(%esp),%eax; \ | ||
747 | jmp sys_##name; | ||
748 | |||
749 | #define PTREGSCALL3(name) \ | ||
750 | ALIGN; \ | ||
751 | ptregs_##name: \ | ||
752 | leal 4(%esp),%eax; \ | ||
753 | pushl %eax; \ | ||
754 | movl PT_EDX(%eax),%ecx; \ | ||
755 | movl PT_ECX(%eax),%edx; \ | ||
756 | movl PT_EBX(%eax),%eax; \ | ||
757 | call sys_##name; \ | ||
758 | addl $4,%esp; \ | ||
759 | ret | ||
760 | |||
761 | PTREGSCALL1(iopl) | ||
762 | PTREGSCALL0(fork) | ||
763 | PTREGSCALL0(vfork) | ||
764 | PTREGSCALL3(execve) | ||
765 | PTREGSCALL2(sigaltstack) | ||
766 | PTREGSCALL0(sigreturn) | ||
767 | PTREGSCALL0(rt_sigreturn) | ||
768 | PTREGSCALL2(vm86) | ||
769 | PTREGSCALL1(vm86old) | ||
770 | |||
771 | /* Clone is an oddball. The 4th arg is in %edi */ | ||
772 | ALIGN; | ||
773 | ptregs_clone: | ||
774 | leal 4(%esp),%eax | ||
775 | pushl %eax | ||
776 | pushl PT_EDI(%eax) | ||
777 | movl PT_EDX(%eax),%ecx | ||
778 | movl PT_ECX(%eax),%edx | ||
779 | movl PT_EBX(%eax),%eax | ||
780 | call sys_clone | ||
781 | addl $8,%esp | ||
782 | ret | ||
744 | 783 | ||
745 | .macro FIXUP_ESPFIX_STACK | 784 | .macro FIXUP_ESPFIX_STACK |
746 | /* | 785 | /* |
@@ -1008,12 +1047,8 @@ END(spurious_interrupt_bug) | |||
1008 | ENTRY(kernel_thread_helper) | 1047 | ENTRY(kernel_thread_helper) |
1009 | pushl $0 # fake return address for unwinder | 1048 | pushl $0 # fake return address for unwinder |
1010 | CFI_STARTPROC | 1049 | CFI_STARTPROC |
1011 | movl %edx,%eax | 1050 | movl %edi,%eax |
1012 | push %edx | 1051 | call *%esi |
1013 | CFI_ADJUST_CFA_OFFSET 4 | ||
1014 | call *%ebx | ||
1015 | push %eax | ||
1016 | CFI_ADJUST_CFA_OFFSET 4 | ||
1017 | call do_exit | 1052 | call do_exit |
1018 | ud2 # padding for call trace | 1053 | ud2 # padding for call trace |
1019 | CFI_ENDPROC | 1054 | CFI_ENDPROC |
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 673f693fb451..0697ff139837 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -1166,63 +1166,20 @@ bad_gs: | |||
1166 | jmp 2b | 1166 | jmp 2b |
1167 | .previous | 1167 | .previous |
1168 | 1168 | ||
1169 | /* | 1169 | ENTRY(kernel_thread_helper) |
1170 | * Create a kernel thread. | ||
1171 | * | ||
1172 | * C extern interface: | ||
1173 | * extern long kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) | ||
1174 | * | ||
1175 | * asm input arguments: | ||
1176 | * rdi: fn, rsi: arg, rdx: flags | ||
1177 | */ | ||
1178 | ENTRY(kernel_thread) | ||
1179 | CFI_STARTPROC | ||
1180 | FAKE_STACK_FRAME $child_rip | ||
1181 | SAVE_ALL | ||
1182 | |||
1183 | # rdi: flags, rsi: usp, rdx: will be &pt_regs | ||
1184 | movq %rdx,%rdi | ||
1185 | orq kernel_thread_flags(%rip),%rdi | ||
1186 | movq $-1, %rsi | ||
1187 | movq %rsp, %rdx | ||
1188 | |||
1189 | xorl %r8d,%r8d | ||
1190 | xorl %r9d,%r9d | ||
1191 | |||
1192 | # clone now | ||
1193 | call do_fork | ||
1194 | movq %rax,RAX(%rsp) | ||
1195 | xorl %edi,%edi | ||
1196 | |||
1197 | /* | ||
1198 | * It isn't worth to check for reschedule here, | ||
1199 | * so internally to the x86_64 port you can rely on kernel_thread() | ||
1200 | * not to reschedule the child before returning, this avoids the need | ||
1201 | * of hacks for example to fork off the per-CPU idle tasks. | ||
1202 | * [Hopefully no generic code relies on the reschedule -AK] | ||
1203 | */ | ||
1204 | RESTORE_ALL | ||
1205 | UNFAKE_STACK_FRAME | ||
1206 | ret | ||
1207 | CFI_ENDPROC | ||
1208 | END(kernel_thread) | ||
1209 | |||
1210 | ENTRY(child_rip) | ||
1211 | pushq $0 # fake return address | 1170 | pushq $0 # fake return address |
1212 | CFI_STARTPROC | 1171 | CFI_STARTPROC |
1213 | /* | 1172 | /* |
1214 | * Here we are in the child and the registers are set as they were | 1173 | * Here we are in the child and the registers are set as they were |
1215 | * at kernel_thread() invocation in the parent. | 1174 | * at kernel_thread() invocation in the parent. |
1216 | */ | 1175 | */ |
1217 | movq %rdi, %rax | 1176 | call *%rsi |
1218 | movq %rsi, %rdi | ||
1219 | call *%rax | ||
1220 | # exit | 1177 | # exit |
1221 | mov %eax, %edi | 1178 | mov %eax, %edi |
1222 | call do_exit | 1179 | call do_exit |
1223 | ud2 # padding for call trace | 1180 | ud2 # padding for call trace |
1224 | CFI_ENDPROC | 1181 | CFI_ENDPROC |
1225 | END(child_rip) | 1182 | END(kernel_thread_helper) |
1226 | 1183 | ||
1227 | /* | 1184 | /* |
1228 | * execve(). This function needs to use IRET, not SYSRET, to set up all state properly. | 1185 | * execve(). This function needs to use IRET, not SYSRET, to set up all state properly. |
diff --git a/arch/x86/kernel/ioport.c b/arch/x86/kernel/ioport.c index 99c4d308f16b..8eec0ec59af2 100644 --- a/arch/x86/kernel/ioport.c +++ b/arch/x86/kernel/ioport.c | |||
@@ -103,9 +103,10 @@ asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on) | |||
103 | * on system-call entry - see also fork() and the signal handling | 103 | * on system-call entry - see also fork() and the signal handling |
104 | * code. | 104 | * code. |
105 | */ | 105 | */ |
106 | static int do_iopl(unsigned int level, struct pt_regs *regs) | 106 | long sys_iopl(unsigned int level, struct pt_regs *regs) |
107 | { | 107 | { |
108 | unsigned int old = (regs->flags >> 12) & 3; | 108 | unsigned int old = (regs->flags >> 12) & 3; |
109 | struct thread_struct *t = ¤t->thread; | ||
109 | 110 | ||
110 | if (level > 3) | 111 | if (level > 3) |
111 | return -EINVAL; | 112 | return -EINVAL; |
@@ -115,29 +116,8 @@ static int do_iopl(unsigned int level, struct pt_regs *regs) | |||
115 | return -EPERM; | 116 | return -EPERM; |
116 | } | 117 | } |
117 | regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12); | 118 | regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12); |
118 | |||
119 | return 0; | ||
120 | } | ||
121 | |||
122 | #ifdef CONFIG_X86_32 | ||
123 | long sys_iopl(struct pt_regs *regs) | ||
124 | { | ||
125 | unsigned int level = regs->bx; | ||
126 | struct thread_struct *t = ¤t->thread; | ||
127 | int rc; | ||
128 | |||
129 | rc = do_iopl(level, regs); | ||
130 | if (rc < 0) | ||
131 | goto out; | ||
132 | |||
133 | t->iopl = level << 12; | 119 | t->iopl = level << 12; |
134 | set_iopl_mask(t->iopl); | 120 | set_iopl_mask(t->iopl); |
135 | out: | 121 | |
136 | return rc; | 122 | return 0; |
137 | } | ||
138 | #else | ||
139 | asmlinkage long sys_iopl(unsigned int level, struct pt_regs *regs) | ||
140 | { | ||
141 | return do_iopl(level, regs); | ||
142 | } | 123 | } |
143 | #endif | ||
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index 553449951b84..572b07eee3f4 100644 --- a/arch/x86/kernel/msr.c +++ b/arch/x86/kernel/msr.c | |||
@@ -172,11 +172,10 @@ static long msr_ioctl(struct file *file, unsigned int ioc, unsigned long arg) | |||
172 | 172 | ||
173 | static int msr_open(struct inode *inode, struct file *file) | 173 | static int msr_open(struct inode *inode, struct file *file) |
174 | { | 174 | { |
175 | unsigned int cpu = iminor(file->f_path.dentry->d_inode); | 175 | unsigned int cpu; |
176 | struct cpuinfo_x86 *c = &cpu_data(cpu); | 176 | struct cpuinfo_x86 *c; |
177 | 177 | ||
178 | cpu = iminor(file->f_path.dentry->d_inode); | 178 | cpu = iminor(file->f_path.dentry->d_inode); |
179 | |||
180 | if (cpu >= nr_cpu_ids || !cpu_online(cpu)) | 179 | if (cpu >= nr_cpu_ids || !cpu_online(cpu)) |
181 | return -ENXIO; /* No such CPU */ | 180 | return -ENXIO; /* No such CPU */ |
182 | 181 | ||
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c index c563e4c8ff39..2bbde6078143 100644 --- a/arch/x86/kernel/pci-calgary_64.c +++ b/arch/x86/kernel/pci-calgary_64.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/string.h> | 31 | #include <linux/string.h> |
32 | #include <linux/crash_dump.h> | 32 | #include <linux/crash_dump.h> |
33 | #include <linux/dma-mapping.h> | 33 | #include <linux/dma-mapping.h> |
34 | #include <linux/bitops.h> | 34 | #include <linux/bitmap.h> |
35 | #include <linux/pci_ids.h> | 35 | #include <linux/pci_ids.h> |
36 | #include <linux/pci.h> | 36 | #include <linux/pci.h> |
37 | #include <linux/delay.h> | 37 | #include <linux/delay.h> |
@@ -212,7 +212,7 @@ static void iommu_range_reserve(struct iommu_table *tbl, | |||
212 | 212 | ||
213 | spin_lock_irqsave(&tbl->it_lock, flags); | 213 | spin_lock_irqsave(&tbl->it_lock, flags); |
214 | 214 | ||
215 | iommu_area_reserve(tbl->it_map, index, npages); | 215 | bitmap_set(tbl->it_map, index, npages); |
216 | 216 | ||
217 | spin_unlock_irqrestore(&tbl->it_lock, flags); | 217 | spin_unlock_irqrestore(&tbl->it_lock, flags); |
218 | } | 218 | } |
@@ -303,7 +303,7 @@ static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, | |||
303 | 303 | ||
304 | spin_lock_irqsave(&tbl->it_lock, flags); | 304 | spin_lock_irqsave(&tbl->it_lock, flags); |
305 | 305 | ||
306 | iommu_area_free(tbl->it_map, entry, npages); | 306 | bitmap_clear(tbl->it_map, entry, npages); |
307 | 307 | ||
308 | spin_unlock_irqrestore(&tbl->it_lock, flags); | 308 | spin_unlock_irqrestore(&tbl->it_lock, flags); |
309 | } | 309 | } |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index fcc2f2bfa39c..75e14e21f61a 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -120,15 +120,12 @@ static void __init dma32_free_bootmem(void) | |||
120 | 120 | ||
121 | void __init pci_iommu_alloc(void) | 121 | void __init pci_iommu_alloc(void) |
122 | { | 122 | { |
123 | int use_swiotlb; | ||
124 | |||
125 | use_swiotlb = pci_swiotlb_init(); | ||
126 | #ifdef CONFIG_X86_64 | 123 | #ifdef CONFIG_X86_64 |
127 | /* free the range so iommu could get some range less than 4G */ | 124 | /* free the range so iommu could get some range less than 4G */ |
128 | dma32_free_bootmem(); | 125 | dma32_free_bootmem(); |
129 | #endif | 126 | #endif |
130 | if (use_swiotlb) | 127 | if (pci_swiotlb_detect()) |
131 | return; | 128 | goto out; |
132 | 129 | ||
133 | gart_iommu_hole_init(); | 130 | gart_iommu_hole_init(); |
134 | 131 | ||
@@ -138,6 +135,8 @@ void __init pci_iommu_alloc(void) | |||
138 | 135 | ||
139 | /* needs to be called after gart_iommu_hole_init */ | 136 | /* needs to be called after gart_iommu_hole_init */ |
140 | amd_iommu_detect(); | 137 | amd_iommu_detect(); |
138 | out: | ||
139 | pci_swiotlb_init(); | ||
141 | } | 140 | } |
142 | 141 | ||
143 | void *dma_generic_alloc_coherent(struct device *dev, size_t size, | 142 | void *dma_generic_alloc_coherent(struct device *dev, size_t size, |
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index 56c0e730d3fe..34de53b46f87 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/topology.h> | 24 | #include <linux/topology.h> |
25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
26 | #include <linux/bitops.h> | 26 | #include <linux/bitmap.h> |
27 | #include <linux/kdebug.h> | 27 | #include <linux/kdebug.h> |
28 | #include <linux/scatterlist.h> | 28 | #include <linux/scatterlist.h> |
29 | #include <linux/iommu-helper.h> | 29 | #include <linux/iommu-helper.h> |
@@ -126,7 +126,7 @@ static void free_iommu(unsigned long offset, int size) | |||
126 | unsigned long flags; | 126 | unsigned long flags; |
127 | 127 | ||
128 | spin_lock_irqsave(&iommu_bitmap_lock, flags); | 128 | spin_lock_irqsave(&iommu_bitmap_lock, flags); |
129 | iommu_area_free(iommu_gart_bitmap, offset, size); | 129 | bitmap_clear(iommu_gart_bitmap, offset, size); |
130 | if (offset >= next_bit) | 130 | if (offset >= next_bit) |
131 | next_bit = offset + size; | 131 | next_bit = offset + size; |
132 | spin_unlock_irqrestore(&iommu_bitmap_lock, flags); | 132 | spin_unlock_irqrestore(&iommu_bitmap_lock, flags); |
@@ -792,7 +792,7 @@ int __init gart_iommu_init(void) | |||
792 | * Out of IOMMU space handling. | 792 | * Out of IOMMU space handling. |
793 | * Reserve some invalid pages at the beginning of the GART. | 793 | * Reserve some invalid pages at the beginning of the GART. |
794 | */ | 794 | */ |
795 | iommu_area_reserve(iommu_gart_bitmap, 0, EMERGENCY_PAGES); | 795 | bitmap_set(iommu_gart_bitmap, 0, EMERGENCY_PAGES); |
796 | 796 | ||
797 | pr_info("PCI-DMA: Reserving %luMB of IOMMU area in the AGP aperture\n", | 797 | pr_info("PCI-DMA: Reserving %luMB of IOMMU area in the AGP aperture\n", |
798 | iommu_size >> 20); | 798 | iommu_size >> 20); |
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c index e3c0a66b9e77..7d2829dde20e 100644 --- a/arch/x86/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb.c | |||
@@ -43,12 +43,12 @@ static struct dma_map_ops swiotlb_dma_ops = { | |||
43 | }; | 43 | }; |
44 | 44 | ||
45 | /* | 45 | /* |
46 | * pci_swiotlb_init - initialize swiotlb if necessary | 46 | * pci_swiotlb_detect - set swiotlb to 1 if necessary |
47 | * | 47 | * |
48 | * This returns non-zero if we are forced to use swiotlb (by the boot | 48 | * This returns non-zero if we are forced to use swiotlb (by the boot |
49 | * option). | 49 | * option). |
50 | */ | 50 | */ |
51 | int __init pci_swiotlb_init(void) | 51 | int __init pci_swiotlb_detect(void) |
52 | { | 52 | { |
53 | int use_swiotlb = swiotlb | swiotlb_force; | 53 | int use_swiotlb = swiotlb | swiotlb_force; |
54 | 54 | ||
@@ -60,10 +60,13 @@ int __init pci_swiotlb_init(void) | |||
60 | if (swiotlb_force) | 60 | if (swiotlb_force) |
61 | swiotlb = 1; | 61 | swiotlb = 1; |
62 | 62 | ||
63 | return use_swiotlb; | ||
64 | } | ||
65 | |||
66 | void __init pci_swiotlb_init(void) | ||
67 | { | ||
63 | if (swiotlb) { | 68 | if (swiotlb) { |
64 | swiotlb_init(0); | 69 | swiotlb_init(0); |
65 | dma_ops = &swiotlb_dma_ops; | 70 | dma_ops = &swiotlb_dma_ops; |
66 | } | 71 | } |
67 | |||
68 | return use_swiotlb; | ||
69 | } | 72 | } |
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 7a7bd4e3ec49..98c2cdeb599e 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c | |||
@@ -255,6 +255,76 @@ int sys_vfork(struct pt_regs *regs) | |||
255 | NULL, NULL); | 255 | NULL, NULL); |
256 | } | 256 | } |
257 | 257 | ||
258 | long | ||
259 | sys_clone(unsigned long clone_flags, unsigned long newsp, | ||
260 | void __user *parent_tid, void __user *child_tid, struct pt_regs *regs) | ||
261 | { | ||
262 | if (!newsp) | ||
263 | newsp = regs->sp; | ||
264 | return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); | ||
265 | } | ||
266 | |||
267 | /* | ||
268 | * This gets run with %si containing the | ||
269 | * function to call, and %di containing | ||
270 | * the "args". | ||
271 | */ | ||
272 | extern void kernel_thread_helper(void); | ||
273 | |||
274 | /* | ||
275 | * Create a kernel thread | ||
276 | */ | ||
277 | int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) | ||
278 | { | ||
279 | struct pt_regs regs; | ||
280 | |||
281 | memset(®s, 0, sizeof(regs)); | ||
282 | |||
283 | regs.si = (unsigned long) fn; | ||
284 | regs.di = (unsigned long) arg; | ||
285 | |||
286 | #ifdef CONFIG_X86_32 | ||
287 | regs.ds = __USER_DS; | ||
288 | regs.es = __USER_DS; | ||
289 | regs.fs = __KERNEL_PERCPU; | ||
290 | regs.gs = __KERNEL_STACK_CANARY; | ||
291 | #endif | ||
292 | |||
293 | regs.orig_ax = -1; | ||
294 | regs.ip = (unsigned long) kernel_thread_helper; | ||
295 | regs.cs = __KERNEL_CS | get_kernel_rpl(); | ||
296 | regs.flags = X86_EFLAGS_IF | 0x2; | ||
297 | |||
298 | /* Ok, create the new process.. */ | ||
299 | return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, ®s, 0, NULL, NULL); | ||
300 | } | ||
301 | EXPORT_SYMBOL(kernel_thread); | ||
302 | |||
303 | /* | ||
304 | * sys_execve() executes a new program. | ||
305 | */ | ||
306 | long sys_execve(char __user *name, char __user * __user *argv, | ||
307 | char __user * __user *envp, struct pt_regs *regs) | ||
308 | { | ||
309 | long error; | ||
310 | char *filename; | ||
311 | |||
312 | filename = getname(name); | ||
313 | error = PTR_ERR(filename); | ||
314 | if (IS_ERR(filename)) | ||
315 | return error; | ||
316 | error = do_execve(filename, argv, envp, regs); | ||
317 | |||
318 | #ifdef CONFIG_X86_32 | ||
319 | if (error == 0) { | ||
320 | /* Make sure we don't return using sysenter.. */ | ||
321 | set_thread_flag(TIF_IRET); | ||
322 | } | ||
323 | #endif | ||
324 | |||
325 | putname(filename); | ||
326 | return error; | ||
327 | } | ||
258 | 328 | ||
259 | /* | 329 | /* |
260 | * Idle related variables and functions | 330 | * Idle related variables and functions |
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 120b88797a75..9c517b5858f0 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c | |||
@@ -180,39 +180,6 @@ void show_regs(struct pt_regs *regs) | |||
180 | show_trace(NULL, regs, ®s->sp, regs->bp); | 180 | show_trace(NULL, regs, ®s->sp, regs->bp); |
181 | } | 181 | } |
182 | 182 | ||
183 | /* | ||
184 | * This gets run with %bx containing the | ||
185 | * function to call, and %dx containing | ||
186 | * the "args". | ||
187 | */ | ||
188 | extern void kernel_thread_helper(void); | ||
189 | |||
190 | /* | ||
191 | * Create a kernel thread | ||
192 | */ | ||
193 | int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) | ||
194 | { | ||
195 | struct pt_regs regs; | ||
196 | |||
197 | memset(®s, 0, sizeof(regs)); | ||
198 | |||
199 | regs.bx = (unsigned long) fn; | ||
200 | regs.dx = (unsigned long) arg; | ||
201 | |||
202 | regs.ds = __USER_DS; | ||
203 | regs.es = __USER_DS; | ||
204 | regs.fs = __KERNEL_PERCPU; | ||
205 | regs.gs = __KERNEL_STACK_CANARY; | ||
206 | regs.orig_ax = -1; | ||
207 | regs.ip = (unsigned long) kernel_thread_helper; | ||
208 | regs.cs = __KERNEL_CS | get_kernel_rpl(); | ||
209 | regs.flags = X86_EFLAGS_IF | X86_EFLAGS_SF | X86_EFLAGS_PF | 0x2; | ||
210 | |||
211 | /* Ok, create the new process.. */ | ||
212 | return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, ®s, 0, NULL, NULL); | ||
213 | } | ||
214 | EXPORT_SYMBOL(kernel_thread); | ||
215 | |||
216 | void release_thread(struct task_struct *dead_task) | 183 | void release_thread(struct task_struct *dead_task) |
217 | { | 184 | { |
218 | BUG_ON(dead_task->mm); | 185 | BUG_ON(dead_task->mm); |
@@ -424,46 +391,6 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p) | |||
424 | return prev_p; | 391 | return prev_p; |
425 | } | 392 | } |
426 | 393 | ||
427 | int sys_clone(struct pt_regs *regs) | ||
428 | { | ||
429 | unsigned long clone_flags; | ||
430 | unsigned long newsp; | ||
431 | int __user *parent_tidptr, *child_tidptr; | ||
432 | |||
433 | clone_flags = regs->bx; | ||
434 | newsp = regs->cx; | ||
435 | parent_tidptr = (int __user *)regs->dx; | ||
436 | child_tidptr = (int __user *)regs->di; | ||
437 | if (!newsp) | ||
438 | newsp = regs->sp; | ||
439 | return do_fork(clone_flags, newsp, regs, 0, parent_tidptr, child_tidptr); | ||
440 | } | ||
441 | |||
442 | /* | ||
443 | * sys_execve() executes a new program. | ||
444 | */ | ||
445 | int sys_execve(struct pt_regs *regs) | ||
446 | { | ||
447 | int error; | ||
448 | char *filename; | ||
449 | |||
450 | filename = getname((char __user *) regs->bx); | ||
451 | error = PTR_ERR(filename); | ||
452 | if (IS_ERR(filename)) | ||
453 | goto out; | ||
454 | error = do_execve(filename, | ||
455 | (char __user * __user *) regs->cx, | ||
456 | (char __user * __user *) regs->dx, | ||
457 | regs); | ||
458 | if (error == 0) { | ||
459 | /* Make sure we don't return using sysenter.. */ | ||
460 | set_thread_flag(TIF_IRET); | ||
461 | } | ||
462 | putname(filename); | ||
463 | out: | ||
464 | return error; | ||
465 | } | ||
466 | |||
467 | #define top_esp (THREAD_SIZE - sizeof(unsigned long)) | 394 | #define top_esp (THREAD_SIZE - sizeof(unsigned long)) |
468 | #define top_ebp (THREAD_SIZE - 2*sizeof(unsigned long)) | 395 | #define top_ebp (THREAD_SIZE - 2*sizeof(unsigned long)) |
469 | 396 | ||
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index e5ab0cd0ef36..52fbd0c60198 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -57,8 +57,6 @@ asmlinkage extern void ret_from_fork(void); | |||
57 | DEFINE_PER_CPU(unsigned long, old_rsp); | 57 | DEFINE_PER_CPU(unsigned long, old_rsp); |
58 | static DEFINE_PER_CPU(unsigned char, is_idle); | 58 | static DEFINE_PER_CPU(unsigned char, is_idle); |
59 | 59 | ||
60 | unsigned long kernel_thread_flags = CLONE_VM | CLONE_UNTRACED; | ||
61 | |||
62 | static ATOMIC_NOTIFIER_HEAD(idle_notifier); | 60 | static ATOMIC_NOTIFIER_HEAD(idle_notifier); |
63 | 61 | ||
64 | void idle_notifier_register(struct notifier_block *n) | 62 | void idle_notifier_register(struct notifier_block *n) |
@@ -273,8 +271,9 @@ int copy_thread(unsigned long clone_flags, unsigned long sp, | |||
273 | *childregs = *regs; | 271 | *childregs = *regs; |
274 | 272 | ||
275 | childregs->ax = 0; | 273 | childregs->ax = 0; |
276 | childregs->sp = sp; | 274 | if (user_mode(regs)) |
277 | if (sp == ~0UL) | 275 | childregs->sp = sp; |
276 | else | ||
278 | childregs->sp = (unsigned long)childregs; | 277 | childregs->sp = (unsigned long)childregs; |
279 | 278 | ||
280 | p->thread.sp = (unsigned long) childregs; | 279 | p->thread.sp = (unsigned long) childregs; |
@@ -508,25 +507,6 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p) | |||
508 | return prev_p; | 507 | return prev_p; |
509 | } | 508 | } |
510 | 509 | ||
511 | /* | ||
512 | * sys_execve() executes a new program. | ||
513 | */ | ||
514 | asmlinkage | ||
515 | long sys_execve(char __user *name, char __user * __user *argv, | ||
516 | char __user * __user *envp, struct pt_regs *regs) | ||
517 | { | ||
518 | long error; | ||
519 | char *filename; | ||
520 | |||
521 | filename = getname(name); | ||
522 | error = PTR_ERR(filename); | ||
523 | if (IS_ERR(filename)) | ||
524 | return error; | ||
525 | error = do_execve(filename, argv, envp, regs); | ||
526 | putname(filename); | ||
527 | return error; | ||
528 | } | ||
529 | |||
530 | void set_personality_64bit(void) | 510 | void set_personality_64bit(void) |
531 | { | 511 | { |
532 | /* inherit personality from parent */ | 512 | /* inherit personality from parent */ |
@@ -541,15 +521,6 @@ void set_personality_64bit(void) | |||
541 | current->personality &= ~READ_IMPLIES_EXEC; | 521 | current->personality &= ~READ_IMPLIES_EXEC; |
542 | } | 522 | } |
543 | 523 | ||
544 | asmlinkage long | ||
545 | sys_clone(unsigned long clone_flags, unsigned long newsp, | ||
546 | void __user *parent_tid, void __user *child_tid, struct pt_regs *regs) | ||
547 | { | ||
548 | if (!newsp) | ||
549 | newsp = regs->sp; | ||
550 | return do_fork(clone_flags, newsp, regs, 0, parent_tid, child_tid); | ||
551 | } | ||
552 | |||
553 | unsigned long get_wchan(struct task_struct *p) | 524 | unsigned long get_wchan(struct task_struct *p) |
554 | { | 525 | { |
555 | unsigned long stack; | 526 | unsigned long stack; |
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 7079ddaf0731..2779321046bd 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -1676,21 +1676,33 @@ const struct user_regset_view *task_user_regset_view(struct task_struct *task) | |||
1676 | #endif | 1676 | #endif |
1677 | } | 1677 | } |
1678 | 1678 | ||
1679 | void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, | 1679 | static void fill_sigtrap_info(struct task_struct *tsk, |
1680 | int error_code, int si_code) | 1680 | struct pt_regs *regs, |
1681 | int error_code, int si_code, | ||
1682 | struct siginfo *info) | ||
1681 | { | 1683 | { |
1682 | struct siginfo info; | ||
1683 | |||
1684 | tsk->thread.trap_no = 1; | 1684 | tsk->thread.trap_no = 1; |
1685 | tsk->thread.error_code = error_code; | 1685 | tsk->thread.error_code = error_code; |
1686 | 1686 | ||
1687 | memset(&info, 0, sizeof(info)); | 1687 | memset(info, 0, sizeof(*info)); |
1688 | info.si_signo = SIGTRAP; | 1688 | info->si_signo = SIGTRAP; |
1689 | info.si_code = si_code; | 1689 | info->si_code = si_code; |
1690 | info->si_addr = user_mode_vm(regs) ? (void __user *)regs->ip : NULL; | ||
1691 | } | ||
1690 | 1692 | ||
1691 | /* User-mode ip? */ | 1693 | void user_single_step_siginfo(struct task_struct *tsk, |
1692 | info.si_addr = user_mode_vm(regs) ? (void __user *) regs->ip : NULL; | 1694 | struct pt_regs *regs, |
1695 | struct siginfo *info) | ||
1696 | { | ||
1697 | fill_sigtrap_info(tsk, regs, 0, TRAP_BRKPT, info); | ||
1698 | } | ||
1693 | 1699 | ||
1700 | void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, | ||
1701 | int error_code, int si_code) | ||
1702 | { | ||
1703 | struct siginfo info; | ||
1704 | |||
1705 | fill_sigtrap_info(tsk, regs, error_code, si_code, &info); | ||
1694 | /* Send us the fake SIGTRAP */ | 1706 | /* Send us the fake SIGTRAP */ |
1695 | force_sig_info(SIGTRAP, &info, tsk); | 1707 | force_sig_info(SIGTRAP, &info, tsk); |
1696 | } | 1708 | } |
@@ -1755,29 +1767,22 @@ asmregparm long syscall_trace_enter(struct pt_regs *regs) | |||
1755 | 1767 | ||
1756 | asmregparm void syscall_trace_leave(struct pt_regs *regs) | 1768 | asmregparm void syscall_trace_leave(struct pt_regs *regs) |
1757 | { | 1769 | { |
1770 | bool step; | ||
1771 | |||
1758 | if (unlikely(current->audit_context)) | 1772 | if (unlikely(current->audit_context)) |
1759 | audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax); | 1773 | audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax); |
1760 | 1774 | ||
1761 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) | 1775 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) |
1762 | trace_sys_exit(regs, regs->ax); | 1776 | trace_sys_exit(regs, regs->ax); |
1763 | 1777 | ||
1764 | if (test_thread_flag(TIF_SYSCALL_TRACE)) | ||
1765 | tracehook_report_syscall_exit(regs, 0); | ||
1766 | |||
1767 | /* | 1778 | /* |
1768 | * If TIF_SYSCALL_EMU is set, we only get here because of | 1779 | * If TIF_SYSCALL_EMU is set, we only get here because of |
1769 | * TIF_SINGLESTEP (i.e. this is PTRACE_SYSEMU_SINGLESTEP). | 1780 | * TIF_SINGLESTEP (i.e. this is PTRACE_SYSEMU_SINGLESTEP). |
1770 | * We already reported this syscall instruction in | 1781 | * We already reported this syscall instruction in |
1771 | * syscall_trace_enter(), so don't do any more now. | 1782 | * syscall_trace_enter(). |
1772 | */ | ||
1773 | if (unlikely(test_thread_flag(TIF_SYSCALL_EMU))) | ||
1774 | return; | ||
1775 | |||
1776 | /* | ||
1777 | * If we are single-stepping, synthesize a trap to follow the | ||
1778 | * system call instruction. | ||
1779 | */ | 1783 | */ |
1780 | if (test_thread_flag(TIF_SINGLESTEP) && | 1784 | step = unlikely(test_thread_flag(TIF_SINGLESTEP)) && |
1781 | tracehook_consider_fatal_signal(current, SIGTRAP)) | 1785 | !test_thread_flag(TIF_SYSCALL_EMU); |
1782 | send_sigtrap(current, regs, 0, TRAP_BRKPT); | 1786 | if (step || test_thread_flag(TIF_SYSCALL_TRACE)) |
1787 | tracehook_report_syscall_exit(regs, step); | ||
1783 | } | 1788 | } |
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 74fe6d86dc5d..4fd173cd8e57 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c | |||
@@ -545,22 +545,12 @@ sys_sigaction(int sig, const struct old_sigaction __user *act, | |||
545 | } | 545 | } |
546 | #endif /* CONFIG_X86_32 */ | 546 | #endif /* CONFIG_X86_32 */ |
547 | 547 | ||
548 | #ifdef CONFIG_X86_32 | 548 | long |
549 | int sys_sigaltstack(struct pt_regs *regs) | ||
550 | { | ||
551 | const stack_t __user *uss = (const stack_t __user *)regs->bx; | ||
552 | stack_t __user *uoss = (stack_t __user *)regs->cx; | ||
553 | |||
554 | return do_sigaltstack(uss, uoss, regs->sp); | ||
555 | } | ||
556 | #else /* !CONFIG_X86_32 */ | ||
557 | asmlinkage long | ||
558 | sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, | 549 | sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, |
559 | struct pt_regs *regs) | 550 | struct pt_regs *regs) |
560 | { | 551 | { |
561 | return do_sigaltstack(uss, uoss, regs->sp); | 552 | return do_sigaltstack(uss, uoss, regs->sp); |
562 | } | 553 | } |
563 | #endif /* CONFIG_X86_32 */ | ||
564 | 554 | ||
565 | /* | 555 | /* |
566 | * Do a signal return; undo the signal stack. | 556 | * Do a signal return; undo the signal stack. |
diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c index 9c4e62539058..5ffb5622f793 100644 --- a/arch/x86/kernel/vm86_32.c +++ b/arch/x86/kernel/vm86_32.c | |||
@@ -197,9 +197,8 @@ out: | |||
197 | static int do_vm86_irq_handling(int subfunction, int irqnumber); | 197 | static int do_vm86_irq_handling(int subfunction, int irqnumber); |
198 | static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk); | 198 | static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk); |
199 | 199 | ||
200 | int sys_vm86old(struct pt_regs *regs) | 200 | int sys_vm86old(struct vm86_struct __user *v86, struct pt_regs *regs) |
201 | { | 201 | { |
202 | struct vm86_struct __user *v86 = (struct vm86_struct __user *)regs->bx; | ||
203 | struct kernel_vm86_struct info; /* declare this _on top_, | 202 | struct kernel_vm86_struct info; /* declare this _on top_, |
204 | * this avoids wasting of stack space. | 203 | * this avoids wasting of stack space. |
205 | * This remains on the stack until we | 204 | * This remains on the stack until we |
@@ -227,7 +226,7 @@ out: | |||
227 | } | 226 | } |
228 | 227 | ||
229 | 228 | ||
230 | int sys_vm86(struct pt_regs *regs) | 229 | int sys_vm86(unsigned long cmd, unsigned long arg, struct pt_regs *regs) |
231 | { | 230 | { |
232 | struct kernel_vm86_struct info; /* declare this _on top_, | 231 | struct kernel_vm86_struct info; /* declare this _on top_, |
233 | * this avoids wasting of stack space. | 232 | * this avoids wasting of stack space. |
@@ -239,12 +238,12 @@ int sys_vm86(struct pt_regs *regs) | |||
239 | struct vm86plus_struct __user *v86; | 238 | struct vm86plus_struct __user *v86; |
240 | 239 | ||
241 | tsk = current; | 240 | tsk = current; |
242 | switch (regs->bx) { | 241 | switch (cmd) { |
243 | case VM86_REQUEST_IRQ: | 242 | case VM86_REQUEST_IRQ: |
244 | case VM86_FREE_IRQ: | 243 | case VM86_FREE_IRQ: |
245 | case VM86_GET_IRQ_BITS: | 244 | case VM86_GET_IRQ_BITS: |
246 | case VM86_GET_AND_RESET_IRQ: | 245 | case VM86_GET_AND_RESET_IRQ: |
247 | ret = do_vm86_irq_handling(regs->bx, (int)regs->cx); | 246 | ret = do_vm86_irq_handling(cmd, (int)arg); |
248 | goto out; | 247 | goto out; |
249 | case VM86_PLUS_INSTALL_CHECK: | 248 | case VM86_PLUS_INSTALL_CHECK: |
250 | /* | 249 | /* |
@@ -261,7 +260,7 @@ int sys_vm86(struct pt_regs *regs) | |||
261 | ret = -EPERM; | 260 | ret = -EPERM; |
262 | if (tsk->thread.saved_sp0) | 261 | if (tsk->thread.saved_sp0) |
263 | goto out; | 262 | goto out; |
264 | v86 = (struct vm86plus_struct __user *)regs->cx; | 263 | v86 = (struct vm86plus_struct __user *)arg; |
265 | tmp = copy_vm86_regs_from_user(&info.regs, &v86->regs, | 264 | tmp = copy_vm86_regs_from_user(&info.regs, &v86->regs, |
266 | offsetof(struct kernel_vm86_struct, regs32) - | 265 | offsetof(struct kernel_vm86_struct, regs32) - |
267 | sizeof(info.regs)); | 266 | sizeof(info.regs)); |
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index f3f2104408d9..f92a0da608cb 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -319,9 +319,7 @@ SECTIONS | |||
319 | __brk_limit = .; | 319 | __brk_limit = .; |
320 | } | 320 | } |
321 | 321 | ||
322 | .end : AT(ADDR(.end) - LOAD_OFFSET) { | 322 | _end = .; |
323 | _end = .; | ||
324 | } | ||
325 | 323 | ||
326 | STABS_DEBUG | 324 | STABS_DEBUG |
327 | DWARF_DEBUG | 325 | DWARF_DEBUG |
diff --git a/arch/x86/kernel/x8664_ksyms_64.c b/arch/x86/kernel/x8664_ksyms_64.c index a1029769b6f2..619f7f88b8cc 100644 --- a/arch/x86/kernel/x8664_ksyms_64.c +++ b/arch/x86/kernel/x8664_ksyms_64.c | |||
@@ -17,8 +17,6 @@ | |||
17 | EXPORT_SYMBOL(mcount); | 17 | EXPORT_SYMBOL(mcount); |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | EXPORT_SYMBOL(kernel_thread); | ||
21 | |||
22 | EXPORT_SYMBOL(__get_user_1); | 20 | EXPORT_SYMBOL(__get_user_1); |
23 | EXPORT_SYMBOL(__get_user_2); | 21 | EXPORT_SYMBOL(__get_user_2); |
24 | EXPORT_SYMBOL(__get_user_4); | 22 | EXPORT_SYMBOL(__get_user_4); |
@@ -56,4 +54,6 @@ EXPORT_SYMBOL(__memcpy); | |||
56 | 54 | ||
57 | EXPORT_SYMBOL(empty_zero_page); | 55 | EXPORT_SYMBOL(empty_zero_page); |
58 | EXPORT_SYMBOL(init_level4_pgt); | 56 | EXPORT_SYMBOL(init_level4_pgt); |
59 | EXPORT_SYMBOL(load_gs_index); | 57 | #ifndef CONFIG_PARAVIRT |
58 | EXPORT_SYMBOL(native_load_gs_index); | ||
59 | #endif | ||
diff --git a/arch/x86/tools/gen-insn-attr-x86.awk b/arch/x86/tools/gen-insn-attr-x86.awk index e34e92a28eb6..7a6850683c34 100644 --- a/arch/x86/tools/gen-insn-attr-x86.awk +++ b/arch/x86/tools/gen-insn-attr-x86.awk | |||
@@ -226,12 +226,12 @@ function add_flags(old,new) { | |||
226 | } | 226 | } |
227 | 227 | ||
228 | # convert operands to flags. | 228 | # convert operands to flags. |
229 | function convert_operands(opnd, i,imm,mod) | 229 | function convert_operands(count,opnd, i,j,imm,mod) |
230 | { | 230 | { |
231 | imm = null | 231 | imm = null |
232 | mod = null | 232 | mod = null |
233 | for (i in opnd) { | 233 | for (j = 1; j <= count; j++) { |
234 | i = opnd[i] | 234 | i = opnd[j] |
235 | if (match(i, imm_expr) == 1) { | 235 | if (match(i, imm_expr) == 1) { |
236 | if (!imm_flag[i]) | 236 | if (!imm_flag[i]) |
237 | semantic_error("Unknown imm opnd: " i) | 237 | semantic_error("Unknown imm opnd: " i) |
@@ -282,8 +282,8 @@ function convert_operands(opnd, i,imm,mod) | |||
282 | # parse one opcode | 282 | # parse one opcode |
283 | if (match($i, opnd_expr)) { | 283 | if (match($i, opnd_expr)) { |
284 | opnd = $i | 284 | opnd = $i |
285 | split($(i++), opnds, ",") | 285 | count = split($(i++), opnds, ",") |
286 | flags = convert_operands(opnds) | 286 | flags = convert_operands(count, opnds) |
287 | } | 287 | } |
288 | if (match($i, ext_expr)) | 288 | if (match($i, ext_expr)) |
289 | ext = $(i++) | 289 | ext = $(i++) |
diff --git a/arch/xtensa/include/asm/elf.h b/arch/xtensa/include/asm/elf.h index c3f53e755ca5..5eb6d695e987 100644 --- a/arch/xtensa/include/asm/elf.h +++ b/arch/xtensa/include/asm/elf.h | |||
@@ -123,7 +123,6 @@ extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *); | |||
123 | #define ELF_CLASS ELFCLASS32 | 123 | #define ELF_CLASS ELFCLASS32 |
124 | #define ELF_ARCH EM_XTENSA | 124 | #define ELF_ARCH EM_XTENSA |
125 | 125 | ||
126 | #define USE_ELF_CORE_DUMP | ||
127 | #define ELF_EXEC_PAGESIZE PAGE_SIZE | 126 | #define ELF_EXEC_PAGESIZE PAGE_SIZE |
128 | 127 | ||
129 | /* | 128 | /* |