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