nand_base: We have to ignore the -EUCLEAN error
[barebox-mini2440.git] / common / Kconfig
blobc43a32fe68026c5c69316e5b0b5171883bd9181a
2 config GREGORIAN_CALENDER
3         bool
5 config HAS_KALLSYMS
6         bool
8 config HAS_MODULES
9         bool
11 config CMD_MEMORY
12         bool
14 config ENV_HANDLING
15         bool
17 menu "General Settings              "
19 config LOCALVERSION_AUTO
20         bool "Automatically append version information to the version string"
21         default y
22         help
23           This will try to automatically determine if the current tree is a
24           release tree by looking for git tags that belong to the current
25           top of tree revision.
27           A string of the format -gxxxxxxxx will be added to the localversion
28           if a git-based tree is found.  The string generated by this will be
29           appended after any matching localversion* files, and after the value
30           set in CONFIG_LOCALVERSION.
32           (The actual string used here is the first eight characters produced
33           by running the command:
35             $ git rev-parse --verify HEAD
37           which is done within the script "scripts/setlocalversion".)
39 config BOARDINFO
40         string
42 menu "memory layout                 "
44 config HAVE_MMU
45         bool
47 config MMU
48         bool "Enable MMU"
49         depends on HAVE_MMU
50         help
51           Saying yes here enables the MMU. This is useful on some architectures
52           to enable the data cache which depends on the MMU. See Documentation/mmu.txt
53           for further information.
55 config HAVE_CONFIGURABLE_TEXT_BASE
56         bool
58 config TEXT_BASE
59         depends on HAVE_CONFIGURABLE_TEXT_BASE
60         prompt "TEXT_BASE"
61         hex
62         default ARCH_TEXT_BASE
63         help
64           The Address U-Boot gets linked at.
66 config HAVE_CONFIGURABLE_MEMORY_LAYOUT
67         bool
69 choice
70         prompt "select memory layout"
71         depends on HAVE_CONFIGURABLE_MEMORY_LAYOUT
72         default MEMORY_LAYOUT_DEFAULT
74 config MEMORY_LAYOUT_DEFAULT
75         bool "use default memory layout"
76         help
77           select this option to use U-Boots standard memory layout:
78           
79           stack
80           -----
81           malloc heap
82           -----
83           TEXT_BASE
85 config MEMORY_LAYOUT_FIXED
86         bool "manually assign a memory layout"
87         help
88           select this option to manually assign stack base and malloc
89           heap base
91 endchoice
93 config STACK_BASE
94         depends on MEMORY_LAYOUT_FIXED
95         hex
96         prompt "STACK_BASE"
98 config STACK_SIZE
99         hex
100         default 0x8000
101         prompt "Stack size"
103 config MALLOC_BASE
104         depends on MEMORY_LAYOUT_FIXED
105         hex
106         prompt "MALLOC_BASE"
108 config MALLOC_SIZE
109         hex
110         default 0x400000
111         prompt "malloc area size"
112 endmenu
114 config BROKEN
115         bool
116         prompt "Prompt for broken or incomplete code"
118 config EXPERIMENTAL
119         bool
120         prompt "Prompt for experimental code"
122 config MODULES
123         depends on HAS_MODULES
124         depends on EXPERIMENTAL
125         bool "module support"
126         help
127           This option enables support for loadable modules via insmod. Module
128           support is quite experimental at the moment. There is no convenient
129           way to compile modules and the list of exported symbols to actually
130           make use of modules is short to nonexistent
132 config KALLSYMS
133         depends on HAS_KALLSYMS
134         depends on BROKEN
135         bool "kallsyms"
136         help
137           With Kallsyms enabled all symbols are compiled into the U-Boot image.
138           This is useful to print a nice backtrace when an exception occurs.
139           No architecture supports backtraces at the moment, so this option
140           is quite useless at the moment
142 config RELOCATABLE
143         depends on PPC
144         bool "generate relocatable U-Boot binary"
145         help
146           A non relocatable U-Boot binary will run at it's compiled in
147           link address in RAM. This leads to smaller image sizes but may
148           put U-Boot just in the middle of RAM. With this option enabled
149           instead U-Boot can determine this address at runtime and thus
150           allowing it to relocate to the end of the available RAM. This
151           way you have the whole memory in a single piece.
153 config MACH_HAS_LOWLEVEL_INIT
154         bool
156 config MACH_DO_LOWLEVEL_INIT
157         bool "run machine low-level init"
158         depends on MACH_HAS_LOWLEVEL_INIT
159         default y
160         help
161           This entry enables SDRAM and other board low level initialization
162           on many platforms. Disabling this option allows configurations to use
163           U-boot as a second stage boot loader.
165 config ARCH_HAS_LOWLEVEL_INIT
166         bool
168 config PROMPT
169         string
170         prompt "U-Boot command prompt"
171         default "uboot:"
173 config BAUDRATE
174         int
175         prompt "Default baudrate"
176         default 115200
178 config SIMPLE_READLINE
179         bool
180         default y
181         depends on !CMDLINE_EDITING
183 config LONGHELP
184         bool
185         prompt "Enable long help texts"
187 config CBSIZE
188         int
189         prompt "Buffer size for input from the Console"
190         default 1024
192 config MAXARGS
193         int
194         prompt "max. Number of arguments accepted for monitor commands"
195         default 16
197 choice
198         prompt "Select your shell"
200         config SHELL_HUSH
201                 bool "hush parser"
202                 help
203                   Enable hush support. This is the most advanced shell available
204                   for U-Boot.
206         config SHELL_SIMPLE
207                 bool "Simple parser"
208                 help
209                   simple shell. No if/then, no return values from commands, no loops
210 endchoice
212 config GLOB
213         bool
214         prompt "hush globbing support"
215         depends on SHELL_HUSH
216         help
217           If you want to use wildcards like * or ? say y here.
218         
219 config PROMPT_HUSH_PS2
220         string
221         depends on SHELL_HUSH
222         prompt "hush PS2"
223         default "> "
225 config CMDLINE_EDITING
226         bool
227         prompt "Enable command line editing"
229 config AUTO_COMPLETE
230         bool
231         depends on CMDLINE_EDITING
232         prompt "Enable auto completion"
234 config DYNAMIC_CRC_TABLE
235         bool
236         depends on CRC32
237         prompt "Generate the crc32 table dynamically"
238         default y
239         help
240           Saying yes to this option saves around 800 bytes of binary size.
241           If unsure say yes.
243 config ERRNO_MESSAGES
244         bool
245         prompt "print error values as text"
246         default y
248 config TIMESTAMP
249         bool
250         default y
251         select GREGORIAN_CALENDER
252         prompt "print timestamp information from images"
253         help
254           When CONFIG_TIMESTAMP is selected, the timestamp
255           (date and time) of an image is printed by image
256           commands like bootm or iminfo. This option is
257           automatically enabled when you select CFG_CMD_DATE .
259 config CONSOLE_FULL
260         bool
261         default y
262         prompt "Enable full console support"
263         help
264           This option enables full console support capable of
265           handling multiple consoles.
267 config CONSOLE_SIMPLE
268         bool
269         default y
270         depends on !CONSOLE_FULL
272 config CONSOLE_ACTIVATE_FIRST
273         depends on CONSOLE_FULL
274         bool
275         default y
276         prompt "activate first console on startup"
277         help
278           Normally on startup all consoles are disabled, so you won't
279           see anything from U-Boot starting. Enabling this option
280           enables the first console.
282 config CONSOLE_ACTIVATE_ALL
283         depends on CONSOLE_FULL
284         depends on !CONSOLE_ACTIVATE_FIRST
285         bool
286         prompt "activate all consoles on startup"
287         help
288           Enabling this options activates all consoles on startup, so
289           you will get output and a prompt on all consoles simultaneously.
291 config EARLY_CONSOLE_PORT
292         string
293         depends on HAS_EARLY_INIT
294         prompt "Console device for early output"
295         help
296           Choose the device on which you want to have early output printed
297           to. This is only used during startup when no device information
298           is available.
300 config EARLY_CONSOLE_BAUDRATE
301         int
302         default 115200
303         depends on HAS_EARLY_INIT
304         prompt "Early console baudrate"
305         help
306           Choose the baudrate for your early console.
308 config OF_FLAT_TREE
309         bool
310         prompt "Open Firmware flat device tree support"
312 config PARTITION
313         bool
314         prompt "Enable Partitions"
316 config DEFAULT_ENVIRONMENT
317         bool
318         default y
319         prompt "Compile in default environment"
320         help
321           Enabling this option will give you a default environment when
322           the environment found in the environment sector is invalid
324 config DEFAULT_ENVIRONMENT_PATH
325         string
326         depends on DEFAULT_ENVIRONMENT
327         prompt "Default environment path"
328         help
329           The path the default environment will be taken from. Relative
330           pathes will be relative to the U-Boot Toplevel dir, but absolute
331           pathes are fine aswell.
333 endmenu
335 menu "Debugging                     "
337 config DEBUG_INFO
338         bool
339         prompt "enable debug symbols"
340         help
341           Enable build of u-boot with -g.
343 config ENABLE_FLASH_NOISE
344         bool
345         prompt "verbose flash handling"
346         help
347           Enable this to get noisy flash handling routines
349 config ENABLE_PARTITION_NOISE
350         bool
351         prompt "verbose partition handling"
352         help
353           Enable this to get noisy partition handling routines
355 config ENABLE_DEVICE_NOISE
356         bool
357         prompt "verbose device handling"
358         help
359           Enable this to get noisy device handling routines
361 endmenu