Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "ARC architecture" |
| 2 | depends on ARC |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "arc" |
| 6 | |
Alexey Brodkin | 7739f9f | 2014-12-25 18:47:45 +0300 | [diff] [blame] | 7 | config SYS_CPU |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 8 | default "arcv1" if ISA_ARCOMPACT |
| 9 | default "arcv2" if ISA_ARCV2 |
Alexey Brodkin | 7739f9f | 2014-12-25 18:47:45 +0300 | [diff] [blame] | 10 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 11 | choice |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 12 | prompt "ARC Instruction Set" |
| 13 | default ISA_ARCOMPACT |
| 14 | |
| 15 | config ISA_ARCOMPACT |
| 16 | bool "ARCompact ISA" |
| 17 | help |
| 18 | The original ARC ISA of ARC600/700 cores |
| 19 | |
| 20 | config ISA_ARCV2 |
| 21 | bool "ARC ISA v2" |
| 22 | help |
| 23 | ISA for the Next Generation ARC-HS cores |
| 24 | |
| 25 | endchoice |
| 26 | |
| 27 | choice |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 28 | prompt "CPU selection" |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 29 | default CPU_ARC770D if ISA_ARCOMPACT |
| 30 | default CPU_ARCHS38 if ISA_ARCV2 |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 31 | |
| 32 | config CPU_ARC750D |
| 33 | bool "ARC 750D" |
| 34 | select ARC_MMU_V2 |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 35 | depends on ISA_ARCOMPACT |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 36 | help |
| 37 | Choose this option to build an U-Boot for ARC750D CPU. |
| 38 | |
| 39 | config CPU_ARC770D |
| 40 | bool "ARC 770D" |
| 41 | select ARC_MMU_V3 |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 42 | depends on ISA_ARCOMPACT |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 43 | help |
| 44 | Choose this option to build an U-Boot for ARC770D CPU. |
| 45 | |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 46 | config CPU_ARCEM6 |
| 47 | bool "ARC EM6" |
| 48 | select ARC_MMU_ABSENT |
| 49 | depends on ISA_ARCV2 |
| 50 | help |
| 51 | Next Generation ARC Core based on ISA-v2 ISA without MMU. |
| 52 | |
| 53 | config CPU_ARCHS36 |
| 54 | bool "ARC HS36" |
| 55 | select ARC_MMU_ABSENT |
| 56 | depends on ISA_ARCV2 |
| 57 | help |
| 58 | Next Generation ARC Core based on ISA-v2 ISA without MMU. |
| 59 | |
| 60 | config CPU_ARCHS38 |
| 61 | bool "ARC HS38" |
| 62 | select ARC_MMU_V4 |
| 63 | depends on ISA_ARCV2 |
| 64 | help |
| 65 | Next Generation ARC Core based on ISA-v2 ISA with MMU. |
| 66 | |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 67 | endchoice |
| 68 | |
| 69 | choice |
| 70 | prompt "MMU Version" |
| 71 | default ARC_MMU_V3 if CPU_ARC770D |
| 72 | default ARC_MMU_V2 if CPU_ARC750D |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 73 | default ARC_MMU_ABSENT if CPU_ARCEM6 |
| 74 | default ARC_MMU_ABSENT if CPU_ARCHS36 |
| 75 | default ARC_MMU_V4 if CPU_ARCHS38 |
| 76 | |
| 77 | config ARC_MMU_ABSENT |
| 78 | bool "No MMU" |
| 79 | help |
| 80 | No MMU |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 81 | |
| 82 | config ARC_MMU_V2 |
| 83 | bool "MMU v2" |
| 84 | depends on CPU_ARC750D |
| 85 | help |
| 86 | Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio |
| 87 | when 2 D-TLB and 1 I-TLB entries index into same 2way set. |
| 88 | |
| 89 | config ARC_MMU_V3 |
| 90 | bool "MMU v3" |
| 91 | depends on CPU_ARC770D |
| 92 | help |
| 93 | Introduced with ARC700 4.10: New Features |
| 94 | Variable Page size (1k-16k), var JTLB size 128 x (2 or 4) |
| 95 | Shared Address Spaces (SASID) |
| 96 | |
Alexey Brodkin | e41a3d5 | 2015-01-13 18:35:46 +0300 | [diff] [blame] | 97 | config ARC_MMU_V4 |
| 98 | bool "MMU v4" |
| 99 | depends on CPU_ARCHS38 |
| 100 | help |
| 101 | Introduced as a part of ARC HS38 release. |
| 102 | |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 103 | endchoice |
| 104 | |
Alexey Brodkin | cbd76c3 | 2015-02-03 13:58:14 +0300 | [diff] [blame] | 105 | config CPU_BIG_ENDIAN |
| 106 | bool "Enable Big Endian Mode" |
| 107 | default n |
| 108 | help |
| 109 | Build kernel for Big Endian Mode of ARC CPU |
| 110 | |
Alexey Brodkin | 6b95cca | 2015-02-03 13:58:13 +0300 | [diff] [blame] | 111 | config SYS_ICACHE_OFF |
| 112 | bool "Do not use Instruction Cache" |
| 113 | default n |
| 114 | |
| 115 | config SYS_DCACHE_OFF |
| 116 | bool "Do not use Data Cache" |
| 117 | default n |
| 118 | |
Alexey Brodkin | f431e26 | 2015-02-03 13:58:11 +0300 | [diff] [blame] | 119 | choice |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 120 | prompt "Target select" |
Alexey Brodkin | c3b853a | 2016-08-04 15:00:35 +0300 | [diff] [blame] | 121 | default TARGET_AXS10X |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 122 | |
| 123 | config TARGET_TB100 |
| 124 | bool "Support tb100" |
| 125 | |
Alexey Brodkin | 1a11637 | 2016-08-04 14:35:01 +0300 | [diff] [blame] | 126 | config TARGET_NSIM |
| 127 | bool "Support standalone nSIM & Free nSIM" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 128 | |
Alexey Brodkin | c3b853a | 2016-08-04 15:00:35 +0300 | [diff] [blame] | 129 | config TARGET_AXS10X |
| 130 | bool "Support Synopsys Designware SDP board (AXS101 & AXS103)" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 131 | |
| 132 | endchoice |
| 133 | |
| 134 | source "board/abilis/tb100/Kconfig" |
| 135 | source "board/synopsys/Kconfig" |
Alexey Brodkin | c3b853a | 2016-08-04 15:00:35 +0300 | [diff] [blame] | 136 | source "board/synopsys/axs10x/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 137 | |
| 138 | endmenu |