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 | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 14 | config TARGET_CMPC885 |
| 15 | bool "Support CMPC885 board from CSSI" |
| 16 | |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 17 | endchoice |
| 18 | |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 19 | choice |
| 20 | prompt "CPU select" |
| 21 | default MPC866 |
| 22 | |
| 23 | config MPC866 |
| 24 | bool "MPC866" |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 25 | select SYS_CACHE_SHIFT_4 |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 26 | |
| 27 | config MPC885 |
| 28 | bool "MPC885" |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 29 | select SYS_CACHE_SHIFT_4 |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 30 | |
| 31 | endchoice |
| 32 | |
Christophe Leroy | d8f34da | 2023-05-03 08:50:55 +0200 | [diff] [blame^] | 33 | choice |
| 34 | prompt "Microcode patch selection" |
| 35 | default NO_UCODE_PATCH |
| 36 | help |
| 37 | This allows loading of CPM microcode. |
| 38 | |
| 39 | Only one microcode can be loaded at a time. |
| 40 | |
| 41 | config NO_UCODE_PATCH |
| 42 | bool "None" |
| 43 | |
| 44 | config USB_SOF_UCODE_PATCH |
| 45 | bool "USB SOF patch" |
| 46 | depends on MPC885 |
| 47 | help |
| 48 | This microcode fixes CPM15 errata: |
| 49 | |
| 50 | When the USB controller is configured in Host mode, and the |
| 51 | SOF generation (SFTE=1 in USMOD register) is being used, |
| 52 | there may be false CRC error indication in other SCCs. |
| 53 | Although the data is received correctly, the CRC result |
| 54 | will be corrupted. |
| 55 | |
| 56 | endchoice |
| 57 | |
Christophe Leroy | ba4dafb | 2017-07-06 10:33:09 +0200 | [diff] [blame] | 58 | comment "Specific commands" |
| 59 | |
| 60 | config CMD_IMMAP |
| 61 | bool "Enable various commands to dump IMMR information" |
| 62 | help |
| 63 | This enables various commands such as: |
| 64 | |
| 65 | siuinfo - print System Interface Unit (SIU) registers |
| 66 | memcinfo - print Memory Controller registers |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 67 | |
| 68 | comment "Configuration Registers" |
| 69 | |
| 70 | config SYS_SIUMCR |
| 71 | hex "SIUMCR register" |
| 72 | help |
| 73 | SIU Module Configuration (11-6) |
| 74 | |
| 75 | config SYS_SYPCR |
Christophe Leroy | 0fe1a20 | 2023-04-03 10:27:39 +0200 | [diff] [blame] | 76 | hex "SYPCR register" if !WDT_MPC8xxx |
| 77 | default 0 |
Christophe Leroy | 23da373 | 2017-07-06 10:33:21 +0200 | [diff] [blame] | 78 | help |
| 79 | System Protection Control (11-9) |
| 80 | |
| 81 | config SYS_TBSCR |
| 82 | hex "TBSCR register" |
| 83 | help |
| 84 | Time Base Status and Control (11-26) |
| 85 | |
| 86 | config SYS_PISCR |
| 87 | hex "PISCR register" |
| 88 | help |
| 89 | Periodic Interrupt Status and Control (11-31) |
| 90 | |
| 91 | config SYS_PLPRCR_BOOL |
| 92 | bool "Customise PLPRCR" |
| 93 | |
| 94 | config SYS_PLPRCR |
| 95 | hex "PLPRCR register" |
| 96 | depends on SYS_PLPRCR_BOOL |
| 97 | help |
| 98 | PLL, Low-Power, and Reset Control Register (15-30) |
| 99 | |
| 100 | config SYS_SCCR |
| 101 | hex "SCCR register" |
| 102 | help |
| 103 | System Clock and reset Control Register (15-27) |
| 104 | |
| 105 | config SYS_SCCR_MASK |
| 106 | hex "MASK for setting SCCR register" |
| 107 | |
| 108 | config SYS_DER |
| 109 | hex "DER register" |
| 110 | help |
| 111 | Debug Event Register (37-47) |
| 112 | |
Christophe Leroy | 5fb0b63 | 2023-01-30 09:11:03 +0100 | [diff] [blame] | 113 | source "board/cssi/mcr3000/Kconfig" |
Christophe Leroy | 3598295 | 2017-07-07 10:16:42 +0200 | [diff] [blame] | 114 | |
Christophe Leroy | 1fc46f5 | 2022-10-14 12:54:50 +0200 | [diff] [blame] | 115 | source "board/cssi/cmpc885/Kconfig" |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 116 | endmenu |