1menu "SPCR - System priority and configuration register" 2 3choice 4 prompt "Optimize" 5 6config SPCR_OPT_UNSET 7 bool "Don't set value" 8 9config SPCR_OPT_NONE 10 bool "No performance enhancement" 11 12config SPCR_OPT_SPEC_READ 13 bool "Performance enhancement by speculative read" 14 15endchoice 16 17if ARCH_MPC8308 || ARCH_MPC831X || ARCH_MPC837X 18 19choice 20 prompt "TSEC emergency priority" 21 22config SPCR_TSECEP_UNSET 23 bool "Don't set value" 24 25config SPCR_TSECEP_0 26 bool "Level 0 (lowest priority)" 27 28config SPCR_TSECEP_1 29 bool "Level 1" 30 31config SPCR_TSECEP_2 32 bool "Level 2" 33 34config SPCR_TSECEP_3 35 bool "Level 3 (highest priority)" 36 37endchoice 38 39endif 40 41if ARCH_MPC8349 42 43choice 44 prompt "TSEC1 emergency priority" 45 46config SPCR_TSEC1EP_UNSET 47 bool "Don't set value" 48 49config SPCR_TSEC1EP_0 50 bool "Level 0 (lowest priority)" 51 52config SPCR_TSEC1EP_1 53 bool "Level 1" 54 55config SPCR_TSEC1EP_2 56 bool "Level 2" 57 58config SPCR_TSEC1EP_3 59 bool "Level 3 (highest priority)" 60 61endchoice 62 63choice 64 prompt "TSEC2 emergency priority" 65 66config SPCR_TSEC2EP_UNSET 67 bool "Don't set value" 68 69config SPCR_TSEC2EP_0 70 bool "Level 0 (lowest priority)" 71 72config SPCR_TSEC2EP_1 73 bool "Level 1" 74 75config SPCR_TSEC2EP_2 76 bool "Level 2" 77 78config SPCR_TSEC2EP_3 79 bool "Level 3 (highest priority)" 80 81endchoice 82 83endif 84 85config 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 91config 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 99config 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 107config 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 115endmenu 116