Mario Six | f62074e | 2019-01-21 09:18:13 +0100 | [diff] [blame] | 1 | menu "SPCR - System priority and configuration register" |
| 2 | |
| 3 | choice |
| 4 | prompt "Optimize" |
| 5 | |
| 6 | config SPCR_OPT_UNSET |
| 7 | bool "Don't set value" |
| 8 | |
| 9 | config SPCR_OPT_NONE |
| 10 | bool "No performance enhancement" |
| 11 | |
| 12 | config SPCR_OPT_SPEC_READ |
| 13 | bool "Performance enhancement by speculative read" |
| 14 | |
| 15 | endchoice |
| 16 | |
| 17 | if ARCH_MPC8308 || ARCH_MPC831X || ARCH_MPC837X |
| 18 | |
| 19 | choice |
| 20 | prompt "TSEC emergency priority" |
| 21 | |
| 22 | config SPCR_TSECEP_UNSET |
| 23 | bool "Don't set value" |
| 24 | |
| 25 | config SPCR_TSECEP_0 |
| 26 | bool "Level 0 (lowest priority)" |
| 27 | |
| 28 | config SPCR_TSECEP_1 |
| 29 | bool "Level 1" |
| 30 | |
| 31 | config SPCR_TSECEP_2 |
| 32 | bool "Level 2" |
| 33 | |
| 34 | config SPCR_TSECEP_3 |
| 35 | bool "Level 3 (highest priority)" |
| 36 | |
| 37 | endchoice |
| 38 | |
| 39 | endif |
| 40 | |
| 41 | if ARCH_MPC8349 |
| 42 | |
| 43 | choice |
| 44 | prompt "TSEC1 emergency priority" |
| 45 | |
| 46 | config SPCR_TSEC1EP_UNSET |
| 47 | bool "Don't set value" |
| 48 | |
| 49 | config SPCR_TSEC1EP_0 |
| 50 | bool "Level 0 (lowest priority)" |
| 51 | |
| 52 | config SPCR_TSEC1EP_1 |
| 53 | bool "Level 1" |
| 54 | |
| 55 | config SPCR_TSEC1EP_2 |
| 56 | bool "Level 2" |
| 57 | |
| 58 | config SPCR_TSEC1EP_3 |
| 59 | bool "Level 3 (highest priority)" |
| 60 | |
| 61 | endchoice |
| 62 | |
| 63 | choice |
| 64 | prompt "TSEC2 emergency priority" |
| 65 | |
| 66 | config SPCR_TSEC2EP_UNSET |
| 67 | bool "Don't set value" |
| 68 | |
| 69 | config SPCR_TSEC2EP_0 |
| 70 | bool "Level 0 (lowest priority)" |
| 71 | |
| 72 | config SPCR_TSEC2EP_1 |
| 73 | bool "Level 1" |
| 74 | |
| 75 | config SPCR_TSEC2EP_2 |
| 76 | bool "Level 2" |
| 77 | |
| 78 | config SPCR_TSEC2EP_3 |
| 79 | bool "Level 3 (highest priority)" |
| 80 | |
| 81 | endchoice |
| 82 | |
| 83 | endif |
| 84 | |
| 85 | config SPCR_OPT |
| 86 | hex |
| 87 | default 0x0 if SPCR_OPT_UNSET |
| 88 | default 0x0 if SPCR_OPT_NONE |
| 89 | default 0x800000 if SPCR_OPT_SPEC_READ |
| 90 | |
| 91 | config SPCR_TSECEP |
| 92 | hex |
| 93 | default 0x0 if SPCR_TSECEP_UNSET |
| 94 | default 0x0 if SPCR_TSECEP_0 |
| 95 | default 0x100 if SPCR_TSECEP_1 |
| 96 | default 0x200 if SPCR_TSECEP_2 |
| 97 | default 0x300 if SPCR_TSECEP_3 |
| 98 | |
| 99 | config SPCR_TSEC1EP |
| 100 | hex |
| 101 | default 0x0 if SPCR_TSEC1EP_UNSET |
| 102 | default 0x0 if SPCR_TSEC1EP_0 |
| 103 | default 0x100 if SPCR_TSEC1EP_1 |
| 104 | default 0x200 if SPCR_TSEC1EP_2 |
| 105 | default 0x300 if SPCR_TSEC1EP_3 |
| 106 | |
| 107 | config SPCR_TSEC2EP |
| 108 | hex |
| 109 | default 0x0 if SPCR_TSEC2EP_UNSET |
| 110 | default 0x0 if SPCR_TSEC2EP_0 |
| 111 | default 0x1 if SPCR_TSEC2EP_1 |
| 112 | default 0x2 if SPCR_TSEC2EP_2 |
| 113 | default 0x3 if SPCR_TSEC2EP_3 |
| 114 | |
| 115 | endmenu |