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" |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 22 | select SYS_CACHE_SHIFT_4 |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 23 | |
| 24 | config MPC885 |
| 25 | bool "MPC885" |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 26 | select SYS_CACHE_SHIFT_4 |
Christophe Leroy | 23da373 | 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 | ba4dafb | 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 | 23da373 | 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 | |
Christophe Leroy | 5fb0b63 | 2023-01-30 09:11:03 +0100 | [diff] [blame] | 87 | source "board/cssi/mcr3000/Kconfig" |
Christophe Leroy | 3598295 | 2017-07-07 10:16:42 +0200 | [diff] [blame] | 88 | |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 89 | endmenu |