blob: 39d316b1ab38dba83dafdd6bfe1db08561d9f074 [file] [log] [blame]
Martin Roth969b7002024-02-16 10:29:01 -07001## SPDX-License-Identifier: GPL-2.0-only
2
Uwe Hermann661e3802008-03-21 18:37:23 +00003##
Uwe Hermann661e3802008-03-21 18:37:23 +00004##
5## Copyright (C) 2008 Advanced Micro Devices, Inc.
Stefan Reinauer69863582008-08-08 13:45:03 +00006## Copyright (C) 2008 coresystems GmbH
Uwe Hermann661e3802008-03-21 18:37:23 +00007##
8## Redistribution and use in source and binary forms, with or without
9## modification, are permitted provided that the following conditions
10## are met:
11## 1. Redistributions of source code must retain the above copyright
12## notice, this list of conditions and the following disclaimer.
13## 2. Redistributions in binary form must reproduce the above copyright
14## notice, this list of conditions and the following disclaimer in the
15## documentation and/or other materials provided with the distribution.
16## 3. The name of the author may not be used to endorse or promote products
17## derived from this software without specific prior written permission.
18##
19## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29## SUCH DAMAGE.
30##
Jordan Crousef6145c32008-03-19 23:56:58 +000031
32mainmenu "Libpayload Configuration"
33
Stefan Reinauere5d30b72010-03-25 22:15:19 +000034menu "Generic Options"
35
Julius Werner22adcd62014-06-11 14:16:35 -070036config GPL
37 bool "GPLv2-licensed Options"
Julius Werner58caa8b2016-05-16 16:37:56 -070038 default y if CHROMEOS
Julius Werner22adcd62014-06-11 14:16:35 -070039 default n
40 help
41 Prompt for options that will build code licensed under the GNU General
42 Public License (version 2). This will subject the whole payload to the
43 terms of this license (including its provision to release all sources,
44 please see the LICENSE_GPL file for details).
45
Stefan Reinauere5d30b72010-03-25 22:15:19 +000046config EXPERIMENTAL
47 bool "Experimental Options"
48 default n
49 help
50 Prompt for experimental functionality. Attention: This is not likely
51 to work without problems
52
Stefan Reinauere5d30b72010-03-25 22:15:19 +000053config DEVELOPER
54 bool "Developer Options"
55 default n
56 help
57 Prompt for developer options. These options are only interesting for
58 libpayload developers.
59
Julius Werner58caa8b2016-05-16 16:37:56 -070060config CHROMEOS
Jon Murphyc4e90452022-06-28 10:36:23 -060061 bool "ChromeOS Options"
Julius Werner58caa8b2016-05-16 16:37:56 -070062 default n
63 help
Jon Murphyc4e90452022-06-28 10:36:23 -060064 Select configuration defaults appropriate for ChromeOS boards.
Julius Werner58caa8b2016-05-16 16:37:56 -070065
Patrick Georgib7d8f262015-07-06 09:04:42 +000066choice
67 prompt "Compiler to use"
68 default COMPILER_GCC
69 help
70 This option allows you to select the compiler.
71
72config COMPILER_GCC
73 bool "GCC"
74 help
75 Use the GNU Compiler Collection (GCC).
76
77config COMPILER_LLVM_CLANG
78 bool "LLVM/clang"
79 help
80 Use LLVM/clang.
81
82endchoice
83
Jacob Garber04540f12019-10-02 18:55:07 -060084config LTO
85 bool "Use link time optimization (LTO)"
86 default n
87 depends on COMPILER_GCC
88 help
89 Compile with link time optimization. This can often decrease the
90 final binary size, but may increase compilation time.
91
Julius Werner50a81742014-05-15 11:57:38 -070092config REMOTEGDB
93 bool "Remote GDB stub"
94 default n
95 depends on GPL
96 help
97 Enable Remote GDB debugging support.
98
Stefan Reinauer1e6b86b2016-03-12 12:14:46 -080099config MEMMAP_RAM_ONLY
100 bool "Only consider RAM entries in memory map for further processing"
101 default n
102
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000103endmenu
104
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000105menu "Architecture Options"
106
Patrick Georgid385ed22009-05-21 10:02:52 +0000107choice
108 prompt "Target Architecture"
David Hendricks4b6be982012-11-30 13:56:31 -0800109 default ARCH_X86
Patrick Georgid385ed22009-05-21 10:02:52 +0000110
Gabe Black51edd542013-09-30 23:00:33 -0700111config ARCH_ARM
112 bool "ARM"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800113 help
Gabe Black51edd542013-09-30 23:00:33 -0700114 Support the ARM architecture
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800115
David Hendricks4b6be982012-11-30 13:56:31 -0800116config ARCH_X86
Patrick Georgid385ed22009-05-21 10:02:52 +0000117 bool "x86"
118 help
119 Support the x86 architecture
120
Furquan Shaikh8c8c3772014-02-19 11:35:30 -0800121config ARCH_ARM64
122 bool "ARM64"
123 help
124 Support the ARM64 architecture
125
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200126config ARCH_MOCK
127 bool "Mock architecture (for unit tests)"
128 help
129 This enables the mock architecture (for unit tests) that is intended
130 to be used for testing purposes, to either test payloads or libpayload itself.
131 It provides necessary headers, but requires mocking (providing implementation
132 for) arch-specific functions.
133
Patrick Georgid385ed22009-05-21 10:02:52 +0000134endchoice
135
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000136config MULTIBOOT
137 bool "Multiboot header support"
David Hendricks4b6be982012-11-30 13:56:31 -0800138 depends on ARCH_X86
Julius Werner58caa8b2016-05-16 16:37:56 -0700139 default y if !CHROMEOS
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000140
Stefan Reinauer82184452016-03-12 16:18:17 -0800141config HEAP_SIZE
142 int "Heap size"
143 default 131072
144 help
145 This is the heap size (malloc'able size) available
146 to the payload.
147
148 If unsure, set to 131072 (128K)
149
150config STACK_SIZE
151 int "Stack size"
152 default 16384
153 help
154 This is the stack size available to the payload.
155
156 If unsure, set to 16384 (16K)
157
158config BASE_ADDRESS
159 hex "Base address"
160 default 0x04000000 if ARCH_ARM
161 default 0x80100000 if ARCH_ARM64
Stefan Reinauer82184452016-03-12 16:18:17 -0800162 default 0x00100000 if ARCH_X86
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200163 default 0x00000000 if ARCH_MOCK
Stefan Reinauer82184452016-03-12 16:18:17 -0800164 help
165 This is the base address for the payload.
166
Julius Wernerf96d9052019-08-16 15:35:39 -0700167 If unsure, set to 0x00100000 on x86,
Stefan Reinauer82184452016-03-12 16:18:17 -0800168 0x04000000 on ARM or 0x80100000 on ARM64.
169
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000170endmenu
171
Stefan Reinauer69863582008-08-08 13:45:03 +0000172menu "Standard Libraries"
173
174config LIBC
175 bool "Enable C library support"
176 default y
177
Patrick Georgi3b77b722011-07-07 15:41:53 +0200178config CURSES
179 bool "Build a curses library"
Julius Werner58caa8b2016-05-16 16:37:56 -0700180 default y if !CHROMEOS
Stefan Reinauer69863582008-08-08 13:45:03 +0000181
Patrick Georgi3b77b722011-07-07 15:41:53 +0200182choice
183 prompt "Curses implementation"
184 default PDCURSES
185 depends on CURSES
186
187config TINYCURSES
Paul Menzeldc1b3c12015-09-26 12:30:08 +0200188 bool "TinyCurses"
Patrick Georgi3b77b722011-07-07 15:41:53 +0200189 help
Paul Menzeldc1b3c12015-09-26 12:30:08 +0200190 TinyCurses was the first curses implementation for libpayload.
Patrick Georgi3b77b722011-07-07 15:41:53 +0200191 It features low memory consumption, static allocation of larger
192 data structures (so few or no memory allocation calls) and a
193 reduced feature set.
194
195config PDCURSES
196 bool "PDCurses"
Patrick Georgi3b77b722011-07-07 15:41:53 +0200197 help
198 libpayload's PDCurses port provides a full features curses
199 implementation, including libpanel, libmenu and libform (which
200 are taken from ncurses).
201 It requires more system resources, in particularily heap memory.
202
203endchoice
204
Jakub Czapiga63e54272021-11-15 08:36:07 +0000205source "libcbfs/Kconfig"
Patrick Georgi6de1ee4a2011-07-21 15:43:14 +0200206
207config LZMA
208 bool "LZMA decoder"
209 default y
210 help
211 LZMA decoder implementation, usable eg. by CBFS,
212 but also externally.
Julius Wernerbf273912015-06-30 10:30:30 -0700213
214config LZ4
215 bool "LZ4 decoder"
216 default y
217 help
218 Decoder implementation for the LZ4 compression algorithm.
219 Adds standalone functions (CBFS support coming soon).
Jakub Czapiga1fa3da42021-12-06 09:01:50 +0000220
221source "vboot/Kconfig"
222
Stefan Reinauer69863582008-08-08 13:45:03 +0000223endmenu
224
225menu "Console Options"
Uwe Hermann2d758b82008-03-31 15:21:24 +0000226
Gabe Black4bb07312012-10-05 11:43:39 -0700227config SKIP_CONSOLE_INIT
228 bool "Skip initializing the consoles at startup"
Julius Werner58caa8b2016-05-16 16:37:56 -0700229 default y if CHROMEOS
Gabe Black4bb07312012-10-05 11:43:39 -0700230 default n
231 help
232 Normally, libpayload will initialize console input/output on startup
233 before the payload itself gets control. This option disables that
234 behavior and leaves console initialization up to the payload.
235
Gabe Blacka54b6a62012-09-29 00:21:27 -0700236config CBMEM_CONSOLE
237 bool "Send output to the in memory CBMEM console"
238 default y
239
Jordan Crousef6145c32008-03-19 23:56:58 +0000240config SERIAL_CONSOLE
Uwe Hermann2d758b82008-03-31 15:21:24 +0000241 bool "See output on the serial port console"
242 default y
Jordan Crousef6145c32008-03-19 23:56:58 +0000243
Gabe Black9135cb42013-09-26 16:13:08 -0700244config 8250_SERIAL_CONSOLE
Alexandru Gagniuc4d5317e2015-11-23 16:18:12 -0800245 bool "8250-compatible serial port driver (including IO and MMIO)"
Gabe Black9135cb42013-09-26 16:13:08 -0700246 depends on SERIAL_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700247 default y if ARCH_X86
Ronald G. Minnich7b694542013-02-15 08:13:29 -0800248
Gabe Blacka6aecc42014-04-10 01:07:28 -0700249config S5P_SERIAL_CONSOLE
250 bool "Exynos SOC, S5P compatible serial port driver"
251 depends on SERIAL_CONSOLE
252 default n
253
Vadim Bendebury897123a2014-05-27 18:28:59 -0700254config IPQ806X_SERIAL_CONSOLE
255 bool "IPQ806x SOC compatible serial port driver"
256 depends on SERIAL_CONSOLE
257 default n
258
Varadarajan Narayananc1ae7e92016-02-01 11:32:12 +0530259config IPQ40XX_SERIAL_CONSOLE
260 bool "IPQ40xx SOC compatible serial port driver"
261 depends on SERIAL_CONSOLE
262 default n
263
Prudhvi Yarlagadda1b054792019-03-22 12:38:20 +0530264config QCS405_SERIAL_CONSOLE
265 bool "QCS405 SOC compatible serial port driver"
266 depends on SERIAL_CONSOLE
267 default n
268
T Michael Turney45473dd2019-10-10 12:26:15 -0700269config QUALCOMM_QUPV3_SERIAL_CONSOLE
270 bool "Qualcomm QUPV3 serial port driver"
271 depends on SERIAL_CONSOLE
272 default n
273
Marcelo Povoa558e9b52014-02-18 14:17:38 -0800274config PL011_SERIAL_CONSOLE
275 bool "PL011 compatible serial port driver"
276 depends on 8250_SERIAL_CONSOLE
277 default n
278
Jordan Crousef6145c32008-03-19 23:56:58 +0000279config SERIAL_IOBASE
Gabe Black9135cb42013-09-26 16:13:08 -0700280 ## This default is currently not used on non-x86 systems.
281 hex "Default I/O base for the serial port (default 0x3f8)"
282 depends on SERIAL_CONSOLE && ARCH_X86
Uwe Hermann2d758b82008-03-31 15:21:24 +0000283 default 0x3f8
284
Jordan Crousef6145c32008-03-19 23:56:58 +0000285config SERIAL_SET_SPEED
286 bool "Override the serial console baud rate"
287 default n
Uwe Hermannfad8c2b2008-04-11 18:01:50 +0000288 depends on SERIAL_CONSOLE
Jordan Crousef6145c32008-03-19 23:56:58 +0000289
290config SERIAL_BAUD_RATE
291 int "Serial console baud rate (default 115200)"
Uwe Hermannfad8c2b2008-04-11 18:01:50 +0000292 depends on SERIAL_SET_SPEED
Jordan Crousef6145c32008-03-19 23:56:58 +0000293 default 115200
294
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000295config SERIAL_ACS_FALLBACK
296 bool "Use plain ASCII characters for ACS"
297 default n
298 depends on SERIAL_CONSOLE
299 help
300 The alternate character set (ACS) is used for drawing lines and
301 displaying a couple of other special graphics characters. The
302 ACS characters generally look good on screen, but can be difficult
303 to cut and paste from a terminal window to a text editor.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000304
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000305 Say 'y' here if you want to always use plain ASCII characters to
Stefan Reinauer14e22772010-04-27 06:56:47 +0000306 approximate the appearance of ACS characters on the serial port
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000307 console.
308
Jordan Crouse30939bd2008-04-10 22:49:02 +0000309config VIDEO_CONSOLE
310 bool "See output on a video console"
311 default y
312
313config VGA_VIDEO_CONSOLE
314 bool "VGA video console driver"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800315 depends on ARCH_X86 && VIDEO_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700316 default y if !CHROMEOS
Jordan Crousef6145c32008-03-19 23:56:58 +0000317
Peter Stuge4b1971c2008-10-08 14:47:41 +0000318config GEODELX_VIDEO_CONSOLE
319 bool "Geode LX video console driver"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800320 depends on ARCH_X86 && VIDEO_CONSOLE
Jordan Crouse54315532008-04-11 15:48:21 +0000321 default n
322
Stefan Reinauerb7002542010-03-25 18:56:26 +0000323config COREBOOT_VIDEO_CONSOLE
324 bool "coreboot video console driver"
325 depends on VIDEO_CONSOLE && !GEODELX_VIDEO_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700326 default y if CHROMEOS
Stefan Reinauerb7002542010-03-25 18:56:26 +0000327 default n
328 help
329 Say Y here if coreboot switched to a graphics mode and
330 your payload wants to use it.
331
Nico Huberde748422020-01-23 13:23:09 +0100332config COREBOOT_VIDEO_CENTERED
333 bool "Center a classic 80x25 console on bigger screens"
334 depends on COREBOOT_VIDEO_CONSOLE
335 help
336 Say 'y' here if your payload is hardcoded to a 80x25 console. Otherwise
337 its output would look squeezed into the upper-left corner of the screen.
338
Paul Kocialkowskid85e4852017-07-23 16:05:47 +0300339config FONT_SCALE_FACTOR
340 int "Scale factor for the included font"
341 depends on GEODELX_VIDEO_CONSOLE || COREBOOT_VIDEO_CONSOLE
342 default 0
343 help
344 By default (value of 0), the scale factor is automatically
345 calculated to ensure at least 130 columns (when possible).
346
Julius Werner7f878122020-06-24 19:43:36 -0700347config CBGFX_FAST_RESAMPLE
348 bool "CBGFX: use faster (less pretty) image scaling"
349 default n
350 help
351 When payloads use the CBGFX library to draw .BMPs on the screen,
352 they will be resampled with an anti-aliasing filter to scale to the
353 requested output size. The default implementation should normally be
354 fast enough, but if desired this option can make it about 50-100%
355 faster at the cost of quality. (It changes the 'a' parameter in the
356 Lanczos resampling algorithm from 3 to 2.)
357
358 Only affects .BMPs that aren't already provided at the right size.
359
Patrick Rudolphe6a38212017-03-01 19:07:37 +0100360config PC_I8042
361 bool "A common PC i8042 driver"
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100362 default y if PC_KEYBOARD || PC_MOUSE
Patrick Rudolphe6a38212017-03-01 19:07:37 +0100363 default n
364 help
365 To be used by PC_KEYBOARD and PC_MOUSE.
366
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100367config PC_MOUSE
368 bool "Allow input from a PC mouse"
Patrick Georgie8604b82018-05-17 17:57:14 +0200369 default n if CHROMEOS
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100370 default y if ARCH_X86 # uses IO
371 default n
372 help
373 PS/2 mouse driver on top of PC_I8042.
374
Jordan Crousef6145c32008-03-19 23:56:58 +0000375config PC_KEYBOARD
Uwe Hermann2d758b82008-03-31 15:21:24 +0000376 bool "Allow input from a PC keyboard"
Marc Jones019bacb42014-12-23 15:22:30 -0700377 default y if ARCH_X86 # uses IO
378 default n
Jordan Crousef6145c32008-03-19 23:56:58 +0000379
Stefan Reinauerd84ef1e2008-09-26 18:37:26 +0000380config PC_KEYBOARD_LAYOUT_US
381 bool "English (US) keyboard layout"
382 depends on PC_KEYBOARD
383 default y
384
385config PC_KEYBOARD_LAYOUT_DE
386 bool "German keyboard layout"
387 depends on PC_KEYBOARD
388 default n
389
Duncan Lauried87bbde2021-04-28 09:40:26 -0700390config PC_KEYBOARD_TRANSLATION
391 bool "Enable or Disable translation in PC keyboard set 2 on exit"
392 depends on PC_KEYBOARD
393 default y
394
Stefan Reinauer69863582008-08-08 13:45:03 +0000395endmenu
396
397menu "Drivers"
398
399config PCI
400 bool "Support for PCI devices"
Jianjun Wang2ad74de2021-07-28 16:44:43 +0800401 default y if ARCH_X86
402 default n
403
404config PCI_IO_OPS
405 bool "Support for PCI devices with port IO"
406 depends on PCI && IO_ADDRESS_SPACE
407 default y if ARCH_X86
408 default n
Stefan Reinauer69863582008-08-08 13:45:03 +0000409
Jianjun Wang20a87c02021-07-28 16:53:43 +0800410config PCIE_MEDIATEK
411 bool "Support for PCIe devices on MediaTek platforms"
412 depends on PCI && !PCI_IO_OPS
413 default n
414
Prasad Malisetty857d3782021-08-28 06:53:37 +0530415config PCIE_QCOM
416 bool "Support for PCIe devices on Qualcomm platforms"
417 depends on PCI && !PCI_IO_OPS
418 default n
419
Uwe Hermannc16d24e2008-03-31 15:17:39 +0000420config NVRAM
Uwe Hermann2d758b82008-03-31 15:21:24 +0000421 bool "Support for reading/writing NVRAM bytes"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800422 depends on ARCH_X86 # for now
Uwe Hermann2d758b82008-03-31 15:21:24 +0000423 default y
Uwe Hermann8cc38d22008-03-27 23:26:40 +0000424
Patrick Rudolph837da6a2017-02-06 15:02:25 +0100425config MOUSE_CURSOR
426 bool "Support for mouse cursor handling"
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100427 default y if PC_MOUSE
Patrick Rudolph837da6a2017-02-06 15:02:25 +0100428 default n
429 help
430 Provides a common interface for various mouse cursor drivers.
431 * Supports up to 32 buttons.
432 * Supports 3 axis mice.
433 * Applies simple cursor acceleration.
434 * Allows to set cursor acceleration and cursor speed.
435
Uwe Hermann30d789b2008-03-31 20:21:49 +0000436config RTC_PORT_EXTENDED_VIA
437 bool "Extended RTC ports are 0x74/0x75"
438 default n
439 help
440 For recent chipsets with 256 NVRAM bytes, you have to access the
441 upper 128 bytes (128-255) using two different I/O ports,
442 usually 0x72/0x73.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000443
Uwe Hermann30d789b2008-03-31 20:21:49 +0000444 On some chipsets this can be a different set of ports, though.
445 The VIA VT8237R for example only recognizes the ports 0x74/0x75
446 for accessing the high 128 NVRAM bytes (as seems to be the case for
447 multiple VIA chipsets).
Stefan Reinauer14e22772010-04-27 06:56:47 +0000448
Uwe Hermann30d789b2008-03-31 20:21:49 +0000449 If you want to read or write CMOS bytes on computers with one of
450 these chipsets, say 'y' here.
451
Stefan Reinauer69863582008-08-08 13:45:03 +0000452config SPEAKER
453 bool "Support for PC speaker"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800454 depends on ARCH_X86
Julius Werner58caa8b2016-05-16 16:37:56 -0700455 default y if !CHROMEOS
Jordan Crousef6145c32008-03-19 23:56:58 +0000456
Antonello Dettoriaded2142016-07-27 12:41:04 +0200457source "drivers/timer/Kconfig"
458source "drivers/storage/Kconfig"
459source "drivers/usb/Kconfig"
huang lin41e24992015-05-20 17:27:10 +0800460
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000461endmenu
462
463menu "Debugging"
464 depends on DEVELOPER
465
466config DEBUG_MALLOC
467 bool "Debug memory allocator"
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000468 default n
469 help
470 Select this option if you want to debug the memory allocator. This
471 option logs all uses of the following functions:
472
473 void free(void *ptr);
474 void *malloc(size_t size);
475 void *calloc(size_t nmemb, size_t size);
476 void *realloc(void *ptr, size_t size);
477 void *memalign(size_t align, size_t size);
478
479 Say N here unless you are debugging memory allocator problems.
Patrick Georgid21f68b2008-09-02 16:06:22 +0000480
Jordan Crousef6145c32008-03-19 23:56:58 +0000481endmenu
Stefan Reinauer69863582008-08-08 13:45:03 +0000482
Gabe Black0af03d22012-03-19 03:06:46 -0700483config BIG_ENDIAN
484 default n
485 bool
486
487config LITTLE_ENDIAN
488 default n
489 bool
490
Gabe Blackd2679872013-01-18 15:49:00 -0800491config IO_ADDRESS_SPACE
492 default n
493 bool
Stefan Reinauer347a7522016-03-12 11:48:44 -0800494 help
495 This option is turned on if the target system has a separate
496 IO address space. This is typically only the case on x86.
Gabe Blackd2679872013-01-18 15:49:00 -0800497
Stefan Reinauerdee44202015-06-11 14:33:11 -0700498source "arch/arm/Kconfig"
499source "arch/arm64/Kconfig"
Stefan Reinauerdee44202015-06-11 14:33:11 -0700500source "arch/x86/Kconfig"
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200501source "arch/mock/Kconfig"