Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 1 | menu "mpc8xx CPU" |
Christophe Leroy | b3510fb | 2018-03-16 17:20:41 +0100 | [diff] [blame] | 2 | depends on MPC8xx |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 3 | |
| 4 | config SYS_CPU |
| 5 | default "mpc8xx" |
| 6 | |
| 7 | choice |
| 8 | prompt "Target select" |
| 9 | optional |
| 10 | |
Christophe Leroy | 3598295 | 2017-07-07 10:16:42 +0200 | [diff] [blame] | 11 | config TARGET_MCR3000 |
| 12 | bool "Support MCR3000 board from CSSI" |
| 13 | |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 14 | endchoice |
| 15 | |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 16 | choice |
| 17 | prompt "CPU select" |
| 18 | default MPC866 |
| 19 | |
| 20 | config MPC866 |
| 21 | bool "MPC866" |
| 22 | |
| 23 | config MPC885 |
| 24 | bool "MPC885" |
| 25 | |
| 26 | endchoice |
| 27 | |
| 28 | config 8xx_GCLK_FREQ |
| 29 | int "CPU GCLK Frequency" |
| 30 | |
Christophe Leroy | ba4dafb | 2017-07-06 10:33:09 +0200 | [diff] [blame] | 31 | comment "Specific commands" |
| 32 | |
| 33 | config CMD_IMMAP |
| 34 | bool "Enable various commands to dump IMMR information" |
| 35 | help |
| 36 | This enables various commands such as: |
| 37 | |
| 38 | siuinfo - print System Interface Unit (SIU) registers |
| 39 | memcinfo - print Memory Controller registers |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 40 | |
| 41 | comment "Configuration Registers" |
| 42 | |
| 43 | config SYS_SIUMCR |
| 44 | hex "SIUMCR register" |
| 45 | help |
| 46 | SIU Module Configuration (11-6) |
| 47 | |
| 48 | config SYS_SYPCR |
| 49 | hex "SYPCR register" |
| 50 | help |
| 51 | System Protection Control (11-9) |
| 52 | |
| 53 | config SYS_TBSCR |
| 54 | hex "TBSCR register" |
| 55 | help |
| 56 | Time Base Status and Control (11-26) |
| 57 | |
| 58 | config SYS_PISCR |
| 59 | hex "PISCR register" |
| 60 | help |
| 61 | Periodic Interrupt Status and Control (11-31) |
| 62 | |
| 63 | config SYS_PLPRCR_BOOL |
| 64 | bool "Customise PLPRCR" |
| 65 | |
| 66 | config SYS_PLPRCR |
| 67 | hex "PLPRCR register" |
| 68 | depends on SYS_PLPRCR_BOOL |
| 69 | help |
| 70 | PLL, Low-Power, and Reset Control Register (15-30) |
| 71 | |
| 72 | config SYS_SCCR |
| 73 | hex "SCCR register" |
| 74 | help |
| 75 | System Clock and reset Control Register (15-27) |
| 76 | |
| 77 | config SYS_SCCR_MASK |
| 78 | hex "MASK for setting SCCR register" |
| 79 | |
| 80 | config SYS_DER |
| 81 | hex "DER register" |
| 82 | help |
| 83 | Debug Event Register (37-47) |
| 84 | |
| 85 | comment "Memory mapping" |
| 86 | |
| 87 | config SYS_BR0_PRELIM |
| 88 | hex "Preliminary value for BR0" |
| 89 | |
| 90 | config SYS_OR0_PRELIM |
| 91 | hex "Preliminary value for OR0" |
| 92 | |
| 93 | config SYS_BR1_PRELIM_BOOL |
| 94 | bool "Define Bank 1" |
| 95 | |
| 96 | config SYS_BR1_PRELIM |
| 97 | hex "Preliminary value for BR1" |
| 98 | depends on SYS_BR1_PRELIM_BOOL |
| 99 | |
| 100 | config SYS_OR1_PRELIM |
| 101 | hex "Preliminary value for OR1" |
| 102 | depends on SYS_BR1_PRELIM_BOOL |
| 103 | |
| 104 | config SYS_BR2_PRELIM_BOOL |
| 105 | bool "Define Bank 2" |
| 106 | |
| 107 | config SYS_BR2_PRELIM |
| 108 | hex "Preliminary value for BR2" |
| 109 | depends on SYS_BR2_PRELIM_BOOL |
| 110 | |
| 111 | config SYS_OR2_PRELIM |
| 112 | hex "Preliminary value for OR2" |
| 113 | depends on SYS_BR2_PRELIM_BOOL |
| 114 | |
| 115 | config SYS_BR3_PRELIM_BOOL |
| 116 | bool "Define Bank 3" |
| 117 | |
| 118 | config SYS_BR3_PRELIM |
| 119 | hex "Preliminary value for BR3" |
| 120 | depends on SYS_BR3_PRELIM_BOOL |
| 121 | |
| 122 | config SYS_OR3_PRELIM |
| 123 | hex "Preliminary value for OR3" |
| 124 | depends on SYS_BR3_PRELIM_BOOL |
| 125 | |
| 126 | config SYS_BR4_PRELIM_BOOL |
| 127 | bool "Define Bank 4" |
| 128 | |
| 129 | config SYS_BR4_PRELIM |
| 130 | hex "Preliminary value for BR4" |
| 131 | depends on SYS_BR4_PRELIM_BOOL |
| 132 | |
| 133 | config SYS_OR4_PRELIM |
| 134 | hex "Preliminary value for OR4" |
| 135 | depends on SYS_BR4_PRELIM_BOOL |
| 136 | |
| 137 | config SYS_BR5_PRELIM_BOOL |
| 138 | bool "Define Bank 5" |
| 139 | |
| 140 | config SYS_BR5_PRELIM |
| 141 | hex "Preliminary value for BR5" |
| 142 | depends on SYS_BR5_PRELIM_BOOL |
| 143 | |
| 144 | config SYS_OR5_PRELIM |
| 145 | hex "Preliminary value for OR5" |
| 146 | depends on SYS_BR5_PRELIM_BOOL |
| 147 | |
| 148 | config SYS_BR6_PRELIM_BOOL |
| 149 | bool "Define Bank 6" |
| 150 | |
| 151 | config SYS_BR6_PRELIM |
| 152 | hex "Preliminary value for BR6" |
| 153 | depends on SYS_BR6_PRELIM_BOOL |
| 154 | |
| 155 | config SYS_OR6_PRELIM |
| 156 | hex "Preliminary value for OR6" |
| 157 | depends on SYS_BR6_PRELIM_BOOL |
| 158 | |
| 159 | config SYS_BR7_PRELIM_BOOL |
| 160 | bool "Define Bank 7" |
| 161 | |
| 162 | config SYS_BR7_PRELIM |
| 163 | hex "Preliminary value for BR7" |
| 164 | depends on SYS_BR7_PRELIM_BOOL |
| 165 | |
| 166 | config SYS_OR7_PRELIM |
| 167 | hex "Preliminary value for OR7" |
| 168 | depends on SYS_BR7_PRELIM_BOOL |
| 169 | |
| 170 | config SYS_IMMR |
| 171 | hex "Value for IMMR" |
| 172 | |
Christophe Leroy | 3598295 | 2017-07-07 10:16:42 +0200 | [diff] [blame] | 173 | source "board/cssi/MCR3000/Kconfig" |
| 174 | |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 175 | endmenu |