Merge http://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git] / arch / Kconfig
1 config CREATE_ARCH_SYMLINK
2         bool
3
4 choice
5         prompt "Architecture select"
6         default SANDBOX
7
8 config ARC
9         bool "ARC architecture"
10         select HAVE_PRIVATE_LIBGCC
11         select SUPPORT_OF_CONTROL
12
13 config ARM
14         bool "ARM architecture"
15         select CREATE_ARCH_SYMLINK
16         select HAVE_PRIVATE_LIBGCC if !ARM64
17         select SUPPORT_OF_CONTROL
18
19 config AVR32
20         bool "AVR32 architecture"
21         select CREATE_ARCH_SYMLINK
22
23 config BLACKFIN
24         bool "Blackfin architecture"
25
26 config M68K
27         bool "M68000 architecture"
28         select HAVE_PRIVATE_LIBGCC
29
30 config MICROBLAZE
31         bool "MicroBlaze architecture"
32         select SUPPORT_OF_CONTROL
33
34 config MIPS
35         bool "MIPS architecture"
36         select HAVE_PRIVATE_LIBGCC
37         select SUPPORT_OF_CONTROL
38
39 config NDS32
40         bool "NDS32 architecture"
41
42 config NIOS2
43         bool "Nios II architecture"
44         select SUPPORT_OF_CONTROL
45         select OF_CONTROL
46         select DM
47         select CPU
48
49 config OPENRISC
50         bool "OpenRISC architecture"
51
52 config PPC
53         bool "PowerPC architecture"
54         select HAVE_PRIVATE_LIBGCC
55         select SUPPORT_OF_CONTROL
56
57 config SANDBOX
58         bool "Sandbox"
59         select SUPPORT_OF_CONTROL
60         select DM
61         select DM_SPI_FLASH
62         select DM_SERIAL
63         select DM_I2C
64         select DM_SPI
65         select DM_GPIO
66
67 config SH
68         bool "SuperH architecture"
69         select HAVE_PRIVATE_LIBGCC
70
71 config SPARC
72         bool "SPARC architecture"
73         select CREATE_ARCH_SYMLINK
74
75 config X86
76         bool "x86 architecture"
77         select CREATE_ARCH_SYMLINK
78         select HAVE_PRIVATE_LIBGCC
79         select SUPPORT_OF_CONTROL
80         select DM
81         select DM_SERIAL
82         select DM_GPIO
83         select DM_SPI
84         select DM_SPI_FLASH
85
86 endchoice
87
88 config SYS_ARCH
89         string
90         help
91           This option should contain the architecture name to build the
92           appropriate arch/<CONFIG_SYS_ARCH> directory.
93           All the architectures should specify this option correctly.
94
95 config SYS_CPU
96         string
97         help
98           This option should contain the CPU name to build the correct
99           arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
100
101           This is optional.  For those targets without the CPU directory,
102           leave this option empty.
103
104 config SYS_SOC
105         string
106         help
107           This option should contain the SoC name to build the directory
108           arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
109
110           This is optional.  For those targets without the SoC directory,
111           leave this option empty.
112
113 config SYS_VENDOR
114         string
115         help
116           This option should contain the vendor name of the target board.
117           If it is set and
118           board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
119           directory is compiled.
120           If CONFIG_SYS_BOARD is also set, the sources under
121           board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
122
123           This is optional.  For those targets without the vendor directory,
124           leave this option empty.
125
126 config SYS_BOARD
127         string
128         help
129           This option should contain the name of the target board.
130           If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
131           or board/<CONFIG_SYS_BOARD> directory is compiled depending on
132           whether CONFIG_SYS_VENDOR is set or not.
133
134           This is optional.  For those targets without the board directory,
135           leave this option empty.
136
137 config SYS_CONFIG_NAME
138         string
139         help
140           This option should contain the base name of board header file.
141           The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
142           should be included from include/config.h.
143
144 source "arch/arc/Kconfig"
145 source "arch/arm/Kconfig"
146 source "arch/avr32/Kconfig"
147 source "arch/blackfin/Kconfig"
148 source "arch/m68k/Kconfig"
149 source "arch/microblaze/Kconfig"
150 source "arch/mips/Kconfig"
151 source "arch/nds32/Kconfig"
152 source "arch/nios2/Kconfig"
153 source "arch/openrisc/Kconfig"
154 source "arch/powerpc/Kconfig"
155 source "arch/sandbox/Kconfig"
156 source "arch/sh/Kconfig"
157 source "arch/sparc/Kconfig"
158 source "arch/x86/Kconfig"