blob: fcef18a7f0f7f52553c57703050872cd84b072b5 [file] [log] [blame]
Uwe Hermann661e3802008-03-21 18:37:23 +00001##
Uwe Hermann661e3802008-03-21 18:37:23 +00002##
3## Copyright (C) 2008 Advanced Micro Devices, Inc.
Stefan Reinauer69863582008-08-08 13:45:03 +00004## Copyright (C) 2008 coresystems GmbH
Uwe Hermann661e3802008-03-21 18:37:23 +00005##
6## Redistribution and use in source and binary forms, with or without
7## modification, are permitted provided that the following conditions
8## are met:
9## 1. Redistributions of source code must retain the above copyright
10## notice, this list of conditions and the following disclaimer.
11## 2. Redistributions in binary form must reproduce the above copyright
12## notice, this list of conditions and the following disclaimer in the
13## documentation and/or other materials provided with the distribution.
14## 3. The name of the author may not be used to endorse or promote products
15## derived from this software without specific prior written permission.
16##
17## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27## SUCH DAMAGE.
28##
Jordan Crousef6145c32008-03-19 23:56:58 +000029
30mainmenu "Libpayload Configuration"
31
Stefan Reinauere5d30b72010-03-25 22:15:19 +000032menu "Generic Options"
33
Julius Werner22adcd62014-06-11 14:16:35 -070034config GPL
35 bool "GPLv2-licensed Options"
Julius Werner58caa8b2016-05-16 16:37:56 -070036 default y if CHROMEOS
Julius Werner22adcd62014-06-11 14:16:35 -070037 default n
38 help
39 Prompt for options that will build code licensed under the GNU General
40 Public License (version 2). This will subject the whole payload to the
41 terms of this license (including its provision to release all sources,
42 please see the LICENSE_GPL file for details).
43
Stefan Reinauere5d30b72010-03-25 22:15:19 +000044config EXPERIMENTAL
45 bool "Experimental Options"
46 default n
47 help
48 Prompt for experimental functionality. Attention: This is not likely
49 to work without problems
50
Stefan Reinauere5d30b72010-03-25 22:15:19 +000051config DEVELOPER
52 bool "Developer Options"
53 default n
54 help
55 Prompt for developer options. These options are only interesting for
56 libpayload developers.
57
Julius Werner58caa8b2016-05-16 16:37:56 -070058config CHROMEOS
Jon Murphyc4e90452022-06-28 10:36:23 -060059 bool "ChromeOS Options"
Julius Werner58caa8b2016-05-16 16:37:56 -070060 default n
61 help
Jon Murphyc4e90452022-06-28 10:36:23 -060062 Select configuration defaults appropriate for ChromeOS boards.
Julius Werner58caa8b2016-05-16 16:37:56 -070063
Patrick Georgib7d8f262015-07-06 09:04:42 +000064choice
65 prompt "Compiler to use"
66 default COMPILER_GCC
67 help
68 This option allows you to select the compiler.
69
70config COMPILER_GCC
71 bool "GCC"
72 help
73 Use the GNU Compiler Collection (GCC).
74
75config COMPILER_LLVM_CLANG
76 bool "LLVM/clang"
77 help
78 Use LLVM/clang.
79
80endchoice
81
Jacob Garber04540f12019-10-02 18:55:07 -060082config LTO
83 bool "Use link time optimization (LTO)"
84 default n
85 depends on COMPILER_GCC
86 help
87 Compile with link time optimization. This can often decrease the
88 final binary size, but may increase compilation time.
89
Julius Werner50a81742014-05-15 11:57:38 -070090config REMOTEGDB
91 bool "Remote GDB stub"
92 default n
93 depends on GPL
94 help
95 Enable Remote GDB debugging support.
96
Stefan Reinauer1e6b86b2016-03-12 12:14:46 -080097config MEMMAP_RAM_ONLY
98 bool "Only consider RAM entries in memory map for further processing"
99 default n
100
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000101endmenu
102
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000103menu "Architecture Options"
104
Patrick Georgid385ed22009-05-21 10:02:52 +0000105choice
106 prompt "Target Architecture"
David Hendricks4b6be982012-11-30 13:56:31 -0800107 default ARCH_X86
Patrick Georgid385ed22009-05-21 10:02:52 +0000108
Gabe Black51edd542013-09-30 23:00:33 -0700109config ARCH_ARM
110 bool "ARM"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800111 help
Gabe Black51edd542013-09-30 23:00:33 -0700112 Support the ARM architecture
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800113
David Hendricks4b6be982012-11-30 13:56:31 -0800114config ARCH_X86
Patrick Georgid385ed22009-05-21 10:02:52 +0000115 bool "x86"
116 help
117 Support the x86 architecture
118
Furquan Shaikh8c8c3772014-02-19 11:35:30 -0800119config ARCH_ARM64
120 bool "ARM64"
121 help
122 Support the ARM64 architecture
123
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200124config ARCH_MOCK
125 bool "Mock architecture (for unit tests)"
126 help
127 This enables the mock architecture (for unit tests) that is intended
128 to be used for testing purposes, to either test payloads or libpayload itself.
129 It provides necessary headers, but requires mocking (providing implementation
130 for) arch-specific functions.
131
Patrick Georgid385ed22009-05-21 10:02:52 +0000132endchoice
133
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000134config MULTIBOOT
135 bool "Multiboot header support"
David Hendricks4b6be982012-11-30 13:56:31 -0800136 depends on ARCH_X86
Julius Werner58caa8b2016-05-16 16:37:56 -0700137 default y if !CHROMEOS
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000138
Stefan Reinauer82184452016-03-12 16:18:17 -0800139config HEAP_SIZE
140 int "Heap size"
141 default 131072
142 help
143 This is the heap size (malloc'able size) available
144 to the payload.
145
146 If unsure, set to 131072 (128K)
147
148config STACK_SIZE
149 int "Stack size"
150 default 16384
151 help
152 This is the stack size available to the payload.
153
154 If unsure, set to 16384 (16K)
155
156config BASE_ADDRESS
157 hex "Base address"
158 default 0x04000000 if ARCH_ARM
159 default 0x80100000 if ARCH_ARM64
Stefan Reinauer82184452016-03-12 16:18:17 -0800160 default 0x00100000 if ARCH_X86
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200161 default 0x00000000 if ARCH_MOCK
Stefan Reinauer82184452016-03-12 16:18:17 -0800162 help
163 This is the base address for the payload.
164
Julius Wernerf96d9052019-08-16 15:35:39 -0700165 If unsure, set to 0x00100000 on x86,
Stefan Reinauer82184452016-03-12 16:18:17 -0800166 0x04000000 on ARM or 0x80100000 on ARM64.
167
Jordan Crouse20c9cf12008-10-20 16:51:43 +0000168endmenu
169
Lee Leahy6796d782017-06-20 14:33:28 -0700170config USE_MARCH_586
171 bool "Use march=586 qualifier to build"
172 default n
173 depends on ARCH_X86
174 help
175 Allow a platform or processor to select to be compiled using
176 the '-march=i586' option instead of the typical '-march=i686'
177
Stefan Reinauer69863582008-08-08 13:45:03 +0000178menu "Standard Libraries"
179
180config LIBC
181 bool "Enable C library support"
182 default y
183
Patrick Georgi3b77b722011-07-07 15:41:53 +0200184config CURSES
185 bool "Build a curses library"
Julius Werner58caa8b2016-05-16 16:37:56 -0700186 default y if !CHROMEOS
Stefan Reinauer69863582008-08-08 13:45:03 +0000187
Patrick Georgi3b77b722011-07-07 15:41:53 +0200188choice
189 prompt "Curses implementation"
190 default PDCURSES
191 depends on CURSES
192
193config TINYCURSES
Paul Menzeldc1b3c12015-09-26 12:30:08 +0200194 bool "TinyCurses"
Patrick Georgi3b77b722011-07-07 15:41:53 +0200195 help
Paul Menzeldc1b3c12015-09-26 12:30:08 +0200196 TinyCurses was the first curses implementation for libpayload.
Patrick Georgi3b77b722011-07-07 15:41:53 +0200197 It features low memory consumption, static allocation of larger
198 data structures (so few or no memory allocation calls) and a
199 reduced feature set.
200
201config PDCURSES
202 bool "PDCurses"
Patrick Georgi3b77b722011-07-07 15:41:53 +0200203 help
204 libpayload's PDCurses port provides a full features curses
205 implementation, including libpanel, libmenu and libform (which
206 are taken from ncurses).
207 It requires more system resources, in particularily heap memory.
208
209endchoice
210
Jakub Czapiga63e54272021-11-15 08:36:07 +0000211source "libcbfs/Kconfig"
Patrick Georgi6de1ee4a2011-07-21 15:43:14 +0200212
213config LZMA
214 bool "LZMA decoder"
215 default y
216 help
217 LZMA decoder implementation, usable eg. by CBFS,
218 but also externally.
Julius Wernerbf273912015-06-30 10:30:30 -0700219
220config LZ4
221 bool "LZ4 decoder"
222 default y
223 help
224 Decoder implementation for the LZ4 compression algorithm.
225 Adds standalone functions (CBFS support coming soon).
Jakub Czapiga1fa3da42021-12-06 09:01:50 +0000226
227source "vboot/Kconfig"
228
Stefan Reinauer69863582008-08-08 13:45:03 +0000229endmenu
230
231menu "Console Options"
Uwe Hermann2d758b82008-03-31 15:21:24 +0000232
Gabe Black4bb07312012-10-05 11:43:39 -0700233config SKIP_CONSOLE_INIT
234 bool "Skip initializing the consoles at startup"
Julius Werner58caa8b2016-05-16 16:37:56 -0700235 default y if CHROMEOS
Gabe Black4bb07312012-10-05 11:43:39 -0700236 default n
237 help
238 Normally, libpayload will initialize console input/output on startup
239 before the payload itself gets control. This option disables that
240 behavior and leaves console initialization up to the payload.
241
Gabe Blacka54b6a62012-09-29 00:21:27 -0700242config CBMEM_CONSOLE
243 bool "Send output to the in memory CBMEM console"
244 default y
245
Jordan Crousef6145c32008-03-19 23:56:58 +0000246config SERIAL_CONSOLE
Uwe Hermann2d758b82008-03-31 15:21:24 +0000247 bool "See output on the serial port console"
248 default y
Jordan Crousef6145c32008-03-19 23:56:58 +0000249
Gabe Black9135cb42013-09-26 16:13:08 -0700250config 8250_SERIAL_CONSOLE
Alexandru Gagniuc4d5317e2015-11-23 16:18:12 -0800251 bool "8250-compatible serial port driver (including IO and MMIO)"
Gabe Black9135cb42013-09-26 16:13:08 -0700252 depends on SERIAL_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700253 default y if ARCH_X86
Ronald G. Minnich7b694542013-02-15 08:13:29 -0800254
Gabe Blacka6aecc42014-04-10 01:07:28 -0700255config S5P_SERIAL_CONSOLE
256 bool "Exynos SOC, S5P compatible serial port driver"
257 depends on SERIAL_CONSOLE
258 default n
259
Vadim Bendebury897123a2014-05-27 18:28:59 -0700260config IPQ806X_SERIAL_CONSOLE
261 bool "IPQ806x SOC compatible serial port driver"
262 depends on SERIAL_CONSOLE
263 default n
264
Varadarajan Narayananc1ae7e92016-02-01 11:32:12 +0530265config IPQ40XX_SERIAL_CONSOLE
266 bool "IPQ40xx SOC compatible serial port driver"
267 depends on SERIAL_CONSOLE
268 default n
269
Prudhvi Yarlagadda1b054792019-03-22 12:38:20 +0530270config QCS405_SERIAL_CONSOLE
271 bool "QCS405 SOC compatible serial port driver"
272 depends on SERIAL_CONSOLE
273 default n
274
T Michael Turney45473dd2019-10-10 12:26:15 -0700275config QUALCOMM_QUPV3_SERIAL_CONSOLE
276 bool "Qualcomm QUPV3 serial port driver"
277 depends on SERIAL_CONSOLE
278 default n
279
Marcelo Povoa558e9b52014-02-18 14:17:38 -0800280config PL011_SERIAL_CONSOLE
281 bool "PL011 compatible serial port driver"
282 depends on 8250_SERIAL_CONSOLE
283 default n
284
Jordan Crousef6145c32008-03-19 23:56:58 +0000285config SERIAL_IOBASE
Gabe Black9135cb42013-09-26 16:13:08 -0700286 ## This default is currently not used on non-x86 systems.
287 hex "Default I/O base for the serial port (default 0x3f8)"
288 depends on SERIAL_CONSOLE && ARCH_X86
Uwe Hermann2d758b82008-03-31 15:21:24 +0000289 default 0x3f8
290
Jordan Crousef6145c32008-03-19 23:56:58 +0000291config SERIAL_SET_SPEED
292 bool "Override the serial console baud rate"
293 default n
Uwe Hermannfad8c2b2008-04-11 18:01:50 +0000294 depends on SERIAL_CONSOLE
Jordan Crousef6145c32008-03-19 23:56:58 +0000295
296config SERIAL_BAUD_RATE
297 int "Serial console baud rate (default 115200)"
Uwe Hermannfad8c2b2008-04-11 18:01:50 +0000298 depends on SERIAL_SET_SPEED
Jordan Crousef6145c32008-03-19 23:56:58 +0000299 default 115200
300
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000301config SERIAL_ACS_FALLBACK
302 bool "Use plain ASCII characters for ACS"
303 default n
304 depends on SERIAL_CONSOLE
305 help
306 The alternate character set (ACS) is used for drawing lines and
307 displaying a couple of other special graphics characters. The
308 ACS characters generally look good on screen, but can be difficult
309 to cut and paste from a terminal window to a text editor.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000310
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000311 Say 'y' here if you want to always use plain ASCII characters to
Stefan Reinauer14e22772010-04-27 06:56:47 +0000312 approximate the appearance of ACS characters on the serial port
Ulf Jordan2aea11f2008-08-18 19:29:41 +0000313 console.
314
Jordan Crouse30939bd2008-04-10 22:49:02 +0000315config VIDEO_CONSOLE
316 bool "See output on a video console"
317 default y
318
319config VGA_VIDEO_CONSOLE
320 bool "VGA video console driver"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800321 depends on ARCH_X86 && VIDEO_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700322 default y if !CHROMEOS
Jordan Crousef6145c32008-03-19 23:56:58 +0000323
Peter Stuge4b1971c2008-10-08 14:47:41 +0000324config GEODELX_VIDEO_CONSOLE
325 bool "Geode LX video console driver"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800326 depends on ARCH_X86 && VIDEO_CONSOLE
Jordan Crouse54315532008-04-11 15:48:21 +0000327 default n
328
Stefan Reinauerb7002542010-03-25 18:56:26 +0000329config COREBOOT_VIDEO_CONSOLE
330 bool "coreboot video console driver"
331 depends on VIDEO_CONSOLE && !GEODELX_VIDEO_CONSOLE
Julius Werner58caa8b2016-05-16 16:37:56 -0700332 default y if CHROMEOS
Stefan Reinauerb7002542010-03-25 18:56:26 +0000333 default n
334 help
335 Say Y here if coreboot switched to a graphics mode and
336 your payload wants to use it.
337
Nico Huberde748422020-01-23 13:23:09 +0100338config COREBOOT_VIDEO_CENTERED
339 bool "Center a classic 80x25 console on bigger screens"
340 depends on COREBOOT_VIDEO_CONSOLE
341 help
342 Say 'y' here if your payload is hardcoded to a 80x25 console. Otherwise
343 its output would look squeezed into the upper-left corner of the screen.
344
Paul Kocialkowskid85e4852017-07-23 16:05:47 +0300345config FONT_SCALE_FACTOR
346 int "Scale factor for the included font"
347 depends on GEODELX_VIDEO_CONSOLE || COREBOOT_VIDEO_CONSOLE
348 default 0
349 help
350 By default (value of 0), the scale factor is automatically
351 calculated to ensure at least 130 columns (when possible).
352
Julius Werner7f878122020-06-24 19:43:36 -0700353config CBGFX_FAST_RESAMPLE
354 bool "CBGFX: use faster (less pretty) image scaling"
355 default n
356 help
357 When payloads use the CBGFX library to draw .BMPs on the screen,
358 they will be resampled with an anti-aliasing filter to scale to the
359 requested output size. The default implementation should normally be
360 fast enough, but if desired this option can make it about 50-100%
361 faster at the cost of quality. (It changes the 'a' parameter in the
362 Lanczos resampling algorithm from 3 to 2.)
363
364 Only affects .BMPs that aren't already provided at the right size.
365
Patrick Rudolphe6a38212017-03-01 19:07:37 +0100366config PC_I8042
367 bool "A common PC i8042 driver"
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100368 default y if PC_KEYBOARD || PC_MOUSE
Patrick Rudolphe6a38212017-03-01 19:07:37 +0100369 default n
370 help
371 To be used by PC_KEYBOARD and PC_MOUSE.
372
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100373config PC_MOUSE
374 bool "Allow input from a PC mouse"
Patrick Georgie8604b82018-05-17 17:57:14 +0200375 default n if CHROMEOS
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100376 default y if ARCH_X86 # uses IO
377 default n
378 help
379 PS/2 mouse driver on top of PC_I8042.
380
Jordan Crousef6145c32008-03-19 23:56:58 +0000381config PC_KEYBOARD
Uwe Hermann2d758b82008-03-31 15:21:24 +0000382 bool "Allow input from a PC keyboard"
Marc Jones019bacb42014-12-23 15:22:30 -0700383 default y if ARCH_X86 # uses IO
384 default n
Jordan Crousef6145c32008-03-19 23:56:58 +0000385
Stefan Reinauerd84ef1e2008-09-26 18:37:26 +0000386config PC_KEYBOARD_LAYOUT_US
387 bool "English (US) keyboard layout"
388 depends on PC_KEYBOARD
389 default y
390
391config PC_KEYBOARD_LAYOUT_DE
392 bool "German keyboard layout"
393 depends on PC_KEYBOARD
394 default n
395
Duncan Lauried87bbde2021-04-28 09:40:26 -0700396config PC_KEYBOARD_TRANSLATION
397 bool "Enable or Disable translation in PC keyboard set 2 on exit"
398 depends on PC_KEYBOARD
399 default y
400
Stefan Reinauer69863582008-08-08 13:45:03 +0000401endmenu
402
403menu "Drivers"
404
405config PCI
406 bool "Support for PCI devices"
Jianjun Wang2ad74de2021-07-28 16:44:43 +0800407 default y if ARCH_X86
408 default n
409
410config PCI_IO_OPS
411 bool "Support for PCI devices with port IO"
412 depends on PCI && IO_ADDRESS_SPACE
413 default y if ARCH_X86
414 default n
Stefan Reinauer69863582008-08-08 13:45:03 +0000415
Jianjun Wang20a87c02021-07-28 16:53:43 +0800416config PCIE_MEDIATEK
417 bool "Support for PCIe devices on MediaTek platforms"
418 depends on PCI && !PCI_IO_OPS
419 default n
420
Prasad Malisetty857d3782021-08-28 06:53:37 +0530421config PCIE_QCOM
422 bool "Support for PCIe devices on Qualcomm platforms"
423 depends on PCI && !PCI_IO_OPS
424 default n
425
Uwe Hermannc16d24e2008-03-31 15:17:39 +0000426config NVRAM
Uwe Hermann2d758b82008-03-31 15:21:24 +0000427 bool "Support for reading/writing NVRAM bytes"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800428 depends on ARCH_X86 # for now
Uwe Hermann2d758b82008-03-31 15:21:24 +0000429 default y
Uwe Hermann8cc38d22008-03-27 23:26:40 +0000430
Patrick Rudolph837da6a2017-02-06 15:02:25 +0100431config MOUSE_CURSOR
432 bool "Support for mouse cursor handling"
Patrick Rudolph5afc2932017-02-06 15:26:58 +0100433 default y if PC_MOUSE
Patrick Rudolph837da6a2017-02-06 15:02:25 +0100434 default n
435 help
436 Provides a common interface for various mouse cursor drivers.
437 * Supports up to 32 buttons.
438 * Supports 3 axis mice.
439 * Applies simple cursor acceleration.
440 * Allows to set cursor acceleration and cursor speed.
441
Uwe Hermann30d789b2008-03-31 20:21:49 +0000442config RTC_PORT_EXTENDED_VIA
443 bool "Extended RTC ports are 0x74/0x75"
444 default n
445 help
446 For recent chipsets with 256 NVRAM bytes, you have to access the
447 upper 128 bytes (128-255) using two different I/O ports,
448 usually 0x72/0x73.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000449
Uwe Hermann30d789b2008-03-31 20:21:49 +0000450 On some chipsets this can be a different set of ports, though.
451 The VIA VT8237R for example only recognizes the ports 0x74/0x75
452 for accessing the high 128 NVRAM bytes (as seems to be the case for
453 multiple VIA chipsets).
Stefan Reinauer14e22772010-04-27 06:56:47 +0000454
Uwe Hermann30d789b2008-03-31 20:21:49 +0000455 If you want to read or write CMOS bytes on computers with one of
456 these chipsets, say 'y' here.
457
Stefan Reinauer69863582008-08-08 13:45:03 +0000458config SPEAKER
459 bool "Support for PC speaker"
Stefan Reinauer8af0d032012-12-14 13:05:21 -0800460 depends on ARCH_X86
Julius Werner58caa8b2016-05-16 16:37:56 -0700461 default y if !CHROMEOS
Jordan Crousef6145c32008-03-19 23:56:58 +0000462
Antonello Dettoriaded2142016-07-27 12:41:04 +0200463source "drivers/timer/Kconfig"
464source "drivers/storage/Kconfig"
465source "drivers/usb/Kconfig"
huang lin41e24992015-05-20 17:27:10 +0800466
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000467endmenu
468
469menu "Debugging"
470 depends on DEVELOPER
471
472config DEBUG_MALLOC
473 bool "Debug memory allocator"
Stefan Reinauere5d30b72010-03-25 22:15:19 +0000474 default n
475 help
476 Select this option if you want to debug the memory allocator. This
477 option logs all uses of the following functions:
478
479 void free(void *ptr);
480 void *malloc(size_t size);
481 void *calloc(size_t nmemb, size_t size);
482 void *realloc(void *ptr, size_t size);
483 void *memalign(size_t align, size_t size);
484
485 Say N here unless you are debugging memory allocator problems.
Patrick Georgid21f68b2008-09-02 16:06:22 +0000486
Jordan Crousef6145c32008-03-19 23:56:58 +0000487endmenu
Stefan Reinauer69863582008-08-08 13:45:03 +0000488
Gabe Black0af03d22012-03-19 03:06:46 -0700489config BIG_ENDIAN
490 default n
491 bool
492
493config LITTLE_ENDIAN
494 default n
495 bool
496
Gabe Blackd2679872013-01-18 15:49:00 -0800497config IO_ADDRESS_SPACE
498 default n
499 bool
Stefan Reinauer347a7522016-03-12 11:48:44 -0800500 help
501 This option is turned on if the target system has a separate
502 IO address space. This is typically only the case on x86.
Gabe Blackd2679872013-01-18 15:49:00 -0800503
Stefan Reinauerdee44202015-06-11 14:33:11 -0700504source "arch/arm/Kconfig"
505source "arch/arm64/Kconfig"
Stefan Reinauerdee44202015-06-11 14:33:11 -0700506source "arch/x86/Kconfig"
Jakub Czapiga3d91b472021-09-15 14:52:45 +0200507source "arch/mock/Kconfig"