yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see extra/config/Kconfig-language.txt |
| 4 | # |
| 5 | |
| 6 | config TARGET_ARCH |
| 7 | string |
| 8 | default "sh" |
| 9 | |
| 10 | config FORCE_OPTIONS_FOR_ARCH |
| 11 | bool |
| 12 | default y |
| 13 | select ARCH_ANY_ENDIAN |
| 14 | |
| 15 | choice |
| 16 | prompt "Target Processor Type" |
| 17 | default CONFIG_SH4 |
| 18 | help |
| 19 | This is the processor type of your CPU. This information is used for |
| 20 | optimizing purposes, as well as to determine if your CPU has an MMU, |
| 21 | an FPU, etc. If you pick the wrong CPU type, there is no guarantee |
| 22 | that uClibc will work at all.... |
| 23 | |
| 24 | Here are the available choices: |
| 25 | - "SH2A" Renesas SH-2A (SH7206) |
| 26 | - "SH2" SuperH SH-2 |
| 27 | - "SH3" SuperH SH-3 |
| 28 | - "SH4" SuperH SH-4 |
| 29 | |
| 30 | config CONFIG_SH2A |
| 31 | select ARCH_HAS_NO_MMU |
| 32 | select HAVE_NO_PIC |
| 33 | bool "SH2A" |
| 34 | |
| 35 | config CONFIG_SH2 |
| 36 | select ARCH_HAS_NO_MMU |
| 37 | bool "SH2" |
| 38 | |
| 39 | config CONFIG_SH3 |
| 40 | select ARCH_HAS_MMU |
| 41 | bool "SH3" |
| 42 | |
| 43 | config CONFIG_SH4 |
| 44 | bool "SH4" |
| 45 | |
| 46 | endchoice |
| 47 | |
| 48 | config ARCH_HAS_BWD_MEMCPY |
| 49 | bool |
| 50 | default y |
| 51 | depends on CONFIG_SH4 |