Michael Hennerich | 5900314 | 2007-10-21 16:54:27 +0800 | [diff] [blame^] | 1 | if (BF52x) |
| 2 | |
| 3 | menu "BF527 Specific Configuration" |
| 4 | |
| 5 | comment "Alternative Multiplexing Scheme" |
| 6 | |
| 7 | choice |
| 8 | prompt "SPORT0" |
| 9 | default BF527_SPORT0_PORTG |
| 10 | help |
| 11 | Select PORT used for SPORT0. See Hardware Reference Manual |
| 12 | |
| 13 | config BF527_SPORT0_PORTF |
| 14 | bool "PORT F" |
| 15 | help |
| 16 | PORT F |
| 17 | |
| 18 | config BF527_SPORT0_PORTG |
| 19 | bool "PORT G" |
| 20 | help |
| 21 | PORT G |
| 22 | endchoice |
| 23 | |
| 24 | choice |
| 25 | prompt "SPORT0 TSCLK Location" |
| 26 | depends on BF527_SPORT0_PORTG |
| 27 | default BF527_SPORT0_TSCLK_PG10 |
| 28 | help |
| 29 | Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual |
| 30 | |
| 31 | config BF527_SPORT0_TSCLK_PG10 |
| 32 | bool "PORT PG10" |
| 33 | help |
| 34 | PORT PG10 |
| 35 | |
| 36 | config BF527_SPORT0_TSCLK_PG14 |
| 37 | bool "PORT PG14" |
| 38 | help |
| 39 | PORT PG14 |
| 40 | endchoice |
| 41 | |
| 42 | choice |
| 43 | prompt "UART1" |
| 44 | default BF527_UART1_PORTG |
| 45 | help |
| 46 | Select PORT used for UART1. See Hardware Reference Manual |
| 47 | |
| 48 | config BF527_UART1_PORTF |
| 49 | bool "PORT F" |
| 50 | help |
| 51 | PORT F |
| 52 | |
| 53 | config BF527_UART1_PORTG |
| 54 | bool "PORT G" |
| 55 | help |
| 56 | PORT G |
| 57 | endchoice |
| 58 | |
| 59 | choice |
| 60 | prompt "NAND (NFC) Data" |
| 61 | default BF527_NAND_D_PORTH |
| 62 | help |
| 63 | Select PORT used for NAND Data Bus. See Hardware Reference Manual |
| 64 | |
| 65 | config BF527_NAND_D_PORTF |
| 66 | bool "PORT F" |
| 67 | help |
| 68 | PORT F |
| 69 | |
| 70 | config BF527_NAND_D_PORTH |
| 71 | bool "PORT H" |
| 72 | help |
| 73 | PORT H |
| 74 | endchoice |
| 75 | |
| 76 | comment "Interrupt Priority Assignment" |
| 77 | menu "Priority" |
| 78 | |
| 79 | config IRQ_PLL_WAKEUP |
| 80 | int "IRQ_PLL_WAKEUP" |
| 81 | default 7 |
| 82 | config IRQ_DMA0_ERROR |
| 83 | int "IRQ_DMA0_ERROR" |
| 84 | default 7 |
| 85 | config IRQ_DMAR0_BLK |
| 86 | int "IRQ_DMAR0_BLK" |
| 87 | default 7 |
| 88 | config IRQ_DMAR1_BLK |
| 89 | int "IRQ_DMAR1_BLK" |
| 90 | default 7 |
| 91 | config IRQ_DMAR0_OVR |
| 92 | int "IRQ_DMAR0_OVR" |
| 93 | default 7 |
| 94 | config IRQ_DMAR1_OVR |
| 95 | int "IRQ_DMAR1_OVR" |
| 96 | default 7 |
| 97 | config IRQ_PPI_ERROR |
| 98 | int "IRQ_PPI_ERROR" |
| 99 | default 7 |
| 100 | config IRQ_MAC_ERROR |
| 101 | int "IRQ_MAC_ERROR" |
| 102 | default 7 |
| 103 | config IRQ_SPORT0_ERROR |
| 104 | int "IRQ_SPORT0_ERROR" |
| 105 | default 7 |
| 106 | config IRQ_SPORT1_ERROR |
| 107 | int "IRQ_SPORT1_ERROR" |
| 108 | default 7 |
| 109 | config IRQ_UART0_ERROR |
| 110 | int "IRQ_UART0_ERROR" |
| 111 | default 7 |
| 112 | config IRQ_UART1_ERROR |
| 113 | int "IRQ_UART1_ERROR" |
| 114 | default 7 |
| 115 | config IRQ_RTC |
| 116 | int "IRQ_RTC" |
| 117 | default 8 |
| 118 | config IRQ_PPI |
| 119 | int "IRQ_PPI" |
| 120 | default 8 |
| 121 | config IRQ_SPORT0_RX |
| 122 | int "IRQ_SPORT0_RX" |
| 123 | default 9 |
| 124 | config IRQ_SPORT0_TX |
| 125 | int "IRQ_SPORT0_TX" |
| 126 | default 9 |
| 127 | config IRQ_SPORT1_RX |
| 128 | int "IRQ_SPORT1_RX" |
| 129 | default 9 |
| 130 | config IRQ_SPORT1_TX |
| 131 | int "IRQ_SPORT1_TX" |
| 132 | default 9 |
| 133 | config IRQ_TWI |
| 134 | int "IRQ_TWI" |
| 135 | default 10 |
| 136 | config IRQ_SPI |
| 137 | int "IRQ_SPI" |
| 138 | default 10 |
| 139 | config IRQ_UART0_RX |
| 140 | int "IRQ_UART0_RX" |
| 141 | default 10 |
| 142 | config IRQ_UART0_TX |
| 143 | int "IRQ_UART0_TX" |
| 144 | default 10 |
| 145 | config IRQ_UART1_RX |
| 146 | int "IRQ_UART1_RX" |
| 147 | default 10 |
| 148 | config IRQ_UART1_TX |
| 149 | int "IRQ_UART1_TX" |
| 150 | default 10 |
| 151 | config IRQ_OPTSEC |
| 152 | int "IRQ_OPTSEC" |
| 153 | default 11 |
| 154 | config IRQ_CNT |
| 155 | int "IRQ_CNT" |
| 156 | default 11 |
| 157 | config IRQ_MAC_RX |
| 158 | int "IRQ_MAC_RX" |
| 159 | default 11 |
| 160 | config IRQ_PORTH_INTA |
| 161 | int "IRQ_PORTH_INTA" |
| 162 | default 11 |
| 163 | config IRQ_MAC_TX |
| 164 | int "IRQ_MAC_TX/NFC" |
| 165 | default 11 |
| 166 | config IRQ_PORTH_INTB |
| 167 | int "IRQ_PORTH_INTB" |
| 168 | default 11 |
| 169 | config IRQ_TMR0 |
| 170 | int "IRQ_TMR0" |
| 171 | default 12 |
| 172 | config IRQ_TMR1 |
| 173 | int "IRQ_TMR1" |
| 174 | default 12 |
| 175 | config IRQ_TMR2 |
| 176 | int "IRQ_TMR2" |
| 177 | default 12 |
| 178 | config IRQ_TMR3 |
| 179 | int "IRQ_TMR3" |
| 180 | default 12 |
| 181 | config IRQ_TMR4 |
| 182 | int "IRQ_TMR4" |
| 183 | default 12 |
| 184 | config IRQ_TMR5 |
| 185 | int "IRQ_TMR5" |
| 186 | default 12 |
| 187 | config IRQ_TMR6 |
| 188 | int "IRQ_TMR6" |
| 189 | default 12 |
| 190 | config IRQ_TMR7 |
| 191 | int "IRQ_TMR7" |
| 192 | default 12 |
| 193 | config IRQ_PORTG_INTA |
| 194 | int "IRQ_PORTG_INTA" |
| 195 | default 12 |
| 196 | config IRQ_PORTG_INTB |
| 197 | int "IRQ_PORTG_INTB" |
| 198 | default 12 |
| 199 | config IRQ_MEM_DMA0 |
| 200 | int "IRQ_MEM_DMA0" |
| 201 | default 13 |
| 202 | config IRQ_MEM_DMA1 |
| 203 | int "IRQ_MEM_DMA1" |
| 204 | default 13 |
| 205 | config IRQ_WATCH |
| 206 | int "IRQ_WATCH" |
| 207 | default 13 |
| 208 | config IRQ_PORTF_INTA |
| 209 | int "IRQ_PORTF_INTA" |
| 210 | default 13 |
| 211 | config IRQ_PORTF_INTB |
| 212 | int "IRQ_PORTF_INTB" |
| 213 | default 13 |
| 214 | config IRQ_SPI_ERROR |
| 215 | int "IRQ_SPI_ERROR" |
| 216 | default 7 |
| 217 | config IRQ_NFC_ERROR |
| 218 | int "IRQ_NFC_ERROR" |
| 219 | default 7 |
| 220 | config IRQ_HDMA_ERROR |
| 221 | int "IRQ_HDMA_ERROR" |
| 222 | default 7 |
| 223 | config IRQ_HDMA |
| 224 | int "IRQ_HDMA" |
| 225 | default 7 |
| 226 | config IRQ_USB_EINT |
| 227 | int "IRQ_USB_EINT" |
| 228 | default 10 |
| 229 | config IRQ_USB_INT0 |
| 230 | int "IRQ_USB_INT0" |
| 231 | default 10 |
| 232 | config IRQ_USB_INT1 |
| 233 | int "IRQ_USB_INT1" |
| 234 | default 10 |
| 235 | config IRQ_USB_INT2 |
| 236 | int "IRQ_USB_INT2" |
| 237 | default 10 |
| 238 | config IRQ_USB_DMA |
| 239 | int "IRQ_USB_DMA" |
| 240 | default 10 |
| 241 | |
| 242 | help |
| 243 | Enter the priority numbers between 7-13 ONLY. Others are Reserved. |
| 244 | This applies to all the above. It is not recommended to assign the |
| 245 | highest priority number 7 to UART or any other device. |
| 246 | |
| 247 | endmenu |
| 248 | |
| 249 | endmenu |
| 250 | |
| 251 | endif |