blob: 6ce54c2657c7a5092c067654dffe98583d45c688 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#
2# For a description of the syntax of this configuration file,
3# see extra/config/Kconfig-language.txt
4#
5
6config TARGET_ARCH
7 string
8 default "sh"
9
10config FORCE_OPTIONS_FOR_ARCH
11 bool
12 default y
13 select ARCH_ANY_ENDIAN
14
15choice
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
30config CONFIG_SH2A
31 select ARCH_HAS_NO_MMU
32 select HAVE_NO_PIC
33 bool "SH2A"
34
35config CONFIG_SH2
36 select ARCH_HAS_NO_MMU
37 bool "SH2"
38
39config CONFIG_SH3
40 select ARCH_HAS_MMU
41 bool "SH3"
42
43config CONFIG_SH4
44 bool "SH4"
45
46endchoice
47
48config ARCH_HAS_BWD_MEMCPY
49 bool
50 default y
51 depends on CONFIG_SH4