xref: /openbmc/u-boot/lib/Kconfig (revision 45e7dfa9)
1ed36323fSMasahiro Yamadamenu "Library routines"
2ed36323fSMasahiro Yamada
36ef2f901SAdam Fordconfig BCH
46ef2f901SAdam Ford	bool "Enable Software based BCH ECC"
56ef2f901SAdam Ford	help
66ef2f901SAdam Ford	  Enables software based BCH ECC algorithm present in lib/bch.c
76ef2f901SAdam Ford	  This is used by SoC platforms which do not have built-in ELM
86ef2f901SAdam Ford	  hardware engine required for BCH ECC correction.
96ef2f901SAdam Ford
10b0928da6SMasahiro Yamadaconfig CC_OPTIMIZE_LIBS_FOR_SPEED
11b0928da6SMasahiro Yamada	bool "Optimize libraries for speed"
12b0928da6SMasahiro Yamada	help
13b0928da6SMasahiro Yamada	  Enabling this option will pass "-O2" to gcc when compiling
14b0928da6SMasahiro Yamada	  under "lib" directory.
15b0928da6SMasahiro Yamada
16b0928da6SMasahiro Yamada	  If unsure, say N.
17b0928da6SMasahiro Yamada
1836c1877cSFaiz Abbasconfig DYNAMIC_CRC_TABLE
1936c1877cSFaiz Abbas	bool "Enable Dynamic tables for CRC"
2036c1877cSFaiz Abbas	help
2136c1877cSFaiz Abbas	  Enable this option to calculate entries for CRC tables at runtime.
2236c1877cSFaiz Abbas	  This can be helpful when reducing the size of the build image
2336c1877cSFaiz Abbas
242895c4b7SBin Mengconfig HAVE_ARCH_IOMAP
252895c4b7SBin Meng	bool
262895c4b7SBin Meng	help
272895c4b7SBin Meng	  Enable this option if architecture provides io{read,write}{8,16,32}
282895c4b7SBin Meng	  I/O accessor functions.
292895c4b7SBin Meng
3045ccec8fSMasahiro Yamadaconfig HAVE_PRIVATE_LIBGCC
3145ccec8fSMasahiro Yamada	bool
3245ccec8fSMasahiro Yamada
33a451bc27SAdam Fordconfig LIB_UUID
34a451bc27SAdam Ford	bool
35a451bc27SAdam Ford
3614ad44abSAlex Kiernanconfig PRINTF
3714ad44abSAlex Kiernan	bool
3814ad44abSAlex Kiernan	default y
3914ad44abSAlex Kiernan
4014ad44abSAlex Kiernanconfig SPL_PRINTF
4114ad44abSAlex Kiernan	bool
4214ad44abSAlex Kiernan	select SPL_SPRINTF
4314ad44abSAlex Kiernan	select SPL_STRTO if !USE_TINY_PRINTF
4414ad44abSAlex Kiernan
4514ad44abSAlex Kiernanconfig TPL_PRINTF
4614ad44abSAlex Kiernan	bool
4714ad44abSAlex Kiernan	select TPL_SPRINTF
4814ad44abSAlex Kiernan	select TPL_STRTO if !USE_TINY_PRINTF
4914ad44abSAlex Kiernan
5014ad44abSAlex Kiernanconfig SPRINTF
5114ad44abSAlex Kiernan	bool
5214ad44abSAlex Kiernan	default y
5314ad44abSAlex Kiernan
5414ad44abSAlex Kiernanconfig SPL_SPRINTF
5514ad44abSAlex Kiernan	bool
5614ad44abSAlex Kiernan
5714ad44abSAlex Kiernanconfig TPL_SPRINTF
5814ad44abSAlex Kiernan	bool
5914ad44abSAlex Kiernan
6014ad44abSAlex Kiernanconfig STRTO
6114ad44abSAlex Kiernan	bool
6214ad44abSAlex Kiernan	default y
6314ad44abSAlex Kiernan
6414ad44abSAlex Kiernanconfig SPL_STRTO
6514ad44abSAlex Kiernan	bool
6614ad44abSAlex Kiernan
6714ad44abSAlex Kiernanconfig TPL_STRTO
6814ad44abSAlex Kiernan	bool
6914ad44abSAlex Kiernan
70c232d14dSAlex Kiernanconfig IMAGE_SPARSE
71c232d14dSAlex Kiernan	bool
72c232d14dSAlex Kiernan
73c232d14dSAlex Kiernanconfig IMAGE_SPARSE_FILLBUF_SIZE
74c232d14dSAlex Kiernan	hex "Android sparse image CHUNK_TYPE_FILL buffer size"
75c232d14dSAlex Kiernan	default 0x80000
76c232d14dSAlex Kiernan	depends on IMAGE_SPARSE
77c232d14dSAlex Kiernan	help
78c232d14dSAlex Kiernan	  Set the size of the fill buffer used when processing CHUNK_TYPE_FILL
79c232d14dSAlex Kiernan	  chunks.
80c232d14dSAlex Kiernan
8145ccec8fSMasahiro Yamadaconfig USE_PRIVATE_LIBGCC
8245ccec8fSMasahiro Yamada	bool "Use private libgcc"
8345ccec8fSMasahiro Yamada	depends on HAVE_PRIVATE_LIBGCC
8491b86e21SMarek Vasut	default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS)
8545ccec8fSMasahiro Yamada	help
8645ccec8fSMasahiro Yamada	  This option allows you to use the built-in libgcc implementation
8767976306SMasahiro Yamada	  of U-Boot instead of the one provided by the compiler.
8845ccec8fSMasahiro Yamada	  If unsure, say N.
8945ccec8fSMasahiro Yamada
908c688bc4SMasahiro Yamadaconfig SYS_HZ
918c688bc4SMasahiro Yamada	int
928c688bc4SMasahiro Yamada	default 1000
938c688bc4SMasahiro Yamada	help
948c688bc4SMasahiro Yamada	  The frequency of the timer returned by get_timer().
958c688bc4SMasahiro Yamada	  get_timer() must operate in milliseconds and this option must be
968c688bc4SMasahiro Yamada	  set to 1000.
978c688bc4SMasahiro Yamada
987d9cde10SStefan Roeseconfig USE_TINY_PRINTF
997d9cde10SStefan Roese	bool "Enable tiny printf() version"
1007d9cde10SStefan Roese	help
1017d9cde10SStefan Roese	  This option enables a tiny, stripped down printf version.
1027d9cde10SStefan Roese	  This should only be used in space limited environments,
1037d9cde10SStefan Roese	  like SPL versions with hard memory limits. This version
1047d9cde10SStefan Roese	  reduces the code size by about 2.5KiB on armv7.
1057d9cde10SStefan Roese
1067d9cde10SStefan Roese	  The supported format specifiers are %c, %s, %u/%d and %x.
1077d9cde10SStefan Roese
1087e3caa81SMasahiro Yamadaconfig PANIC_HANG
1097e3caa81SMasahiro Yamada	bool "Do not reset the system on fatal error"
1107e3caa81SMasahiro Yamada	help
1117e3caa81SMasahiro Yamada	  Define this option to stop the system in case of a fatal error,
1127e3caa81SMasahiro Yamada	  so that you have to reset it manually. This is probably NOT a good
1137e3caa81SMasahiro Yamada	  idea for an embedded system where you want the system to reboot
1147e3caa81SMasahiro Yamada	  automatically as fast as possible, but it may be useful during
1157e3caa81SMasahiro Yamada	  development since you can try to debug the conditions that lead to
1167e3caa81SMasahiro Yamada	  the situation.
1177e3caa81SMasahiro Yamada
1181a60650cSJoe Hershbergerconfig REGEX
1191a60650cSJoe Hershberger	bool "Enable regular expression support"
120f7848d90SJoe Hershberger	default y if NET
1211a60650cSJoe Hershberger	help
1221a60650cSJoe Hershberger	  If this variable is defined, U-Boot is linked against the
1231a60650cSJoe Hershberger	  SLRE (Super Light Regular Expression) library, which adds
1241a60650cSJoe Hershberger	  regex support to some commands, for example "env grep" and
1251a60650cSJoe Hershberger	  "setexpr".
1261a60650cSJoe Hershberger
127a5a37567SAdam Fordchoice
128a5a37567SAdam Ford	prompt "Pseudo-random library support type"
129a5a37567SAdam Ford	depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID
130a5a37567SAdam Ford	default LIB_RAND
131a5a37567SAdam Ford	help
132a5a37567SAdam Ford	  Select the library to provide pseudo-random number generator
133a5a37567SAdam Ford	  functions.  LIB_HW_RAND supports certain hardware engines that
134a5a37567SAdam Ford	  provide this functionality.  If in doubt, select LIB_RAND.
135a5a37567SAdam Ford
1369ba9e85fSMichal Simekconfig LIB_RAND
1373850dbe8SMasahiro Yamada	bool "Pseudo-random library support"
138a5a37567SAdam Ford
139a5a37567SAdam Fordconfig LIB_HW_RAND
140a5a37567SAdam Ford	bool "HW Engine for random libray support"
141a5a37567SAdam Ford
142a5a37567SAdam Fordendchoice
1439ba9e85fSMichal Simek
144ab4458bdSSimon Glassconfig SPL_TINY_MEMSET
145ab4458bdSSimon Glass	bool "Use a very small memset() in SPL"
146ab4458bdSSimon Glass	help
147ab4458bdSSimon Glass	  The faster memset() is the arch-specific one (if available) enabled
148ab4458bdSSimon Glass	  by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
149ab4458bdSSimon Glass	  better performance by writing a word at a time. But in very
1506e705114SChris Packham	  size-constrained environments even this may be too big. Enable this
151ab4458bdSSimon Glass	  option to reduce code size slightly at the cost of some speed.
152ab4458bdSSimon Glass
15396b9082cSPhilipp Tomsichconfig TPL_TINY_MEMSET
15496b9082cSPhilipp Tomsich	bool "Use a very small memset() in TPL"
15596b9082cSPhilipp Tomsich	help
15696b9082cSPhilipp Tomsich	  The faster memset() is the arch-specific one (if available) enabled
15796b9082cSPhilipp Tomsich	  by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
15896b9082cSPhilipp Tomsich	  better performance by writing a word at a time. But in very
1596e705114SChris Packham	  size-constrained environments even this may be too big. Enable this
16096b9082cSPhilipp Tomsich	  option to reduce code size slightly at the cost of some speed.
16196b9082cSPhilipp Tomsich
162aa049152SBoris Brezillonconfig RBTREE
163aa049152SBoris Brezillon	bool
164aa049152SBoris Brezillon
165da5337a6SNandor Hanconfig BITREVERSE
166da5337a6SNandor Han	bool "Bit reverse library from Linux"
167da5337a6SNandor Han
168d1389403SSimon Glasssource lib/dhry/Kconfig
169d1389403SSimon Glass
170b1a873dfSSimon Glassmenu "Security support"
171b1a873dfSSimon Glass
172b1a873dfSSimon Glassconfig AES
173b1a873dfSSimon Glass	bool "Support the AES algorithm"
174b1a873dfSSimon Glass	help
175b1a873dfSSimon Glass	  This provides a means to encrypt and decrypt data using the AES
176b1a873dfSSimon Glass	  (Advanced Encryption Standard). This algorithm uses a symetric key
177b1a873dfSSimon Glass	  and is widely used as a streaming cipher. Different key lengths are
178b1a873dfSSimon Glass	  supported by the algorithm but only a 128-bit key is supported at
179b1a873dfSSimon Glass	  present.
180b1a873dfSSimon Glass
181d9f23c7fSRuchika Guptasource lib/rsa/Kconfig
182c4beb22fSRuchika Gupta
183a7d660bcSSimon Glassconfig TPM
184a7d660bcSSimon Glass	bool "Trusted Platform Module (TPM) Support"
1852419cd16SSimon Glass	depends on DM
186a7d660bcSSimon Glass	help
187a7d660bcSSimon Glass	  This enables support for TPMs which can be used to provide security
188a7d660bcSSimon Glass	  features for your board. The TPM can be connected via LPC or I2C
189a7d660bcSSimon Glass	  and a sandbox TPM is provided for testing purposes. Use the 'tpm'
190a7d660bcSSimon Glass	  command to interactive the TPM. Driver model support is provided
191a7d660bcSSimon Glass	  for the low-level TPM interface, but only one TPM is supported at
192a7d660bcSSimon Glass	  a time by the TPM library.
193a7d660bcSSimon Glass
1946307896cSSimon Glassconfig SPL_TPM
1956307896cSSimon Glass	bool "Trusted Platform Module (TPM) Support in SPL"
1966307896cSSimon Glass	depends on SPL_DM
1976307896cSSimon Glass	help
1986307896cSSimon Glass	  This enables support for TPMs which can be used to provide security
1996307896cSSimon Glass	  features for your board. The TPM can be connected via LPC or I2C
2006307896cSSimon Glass	  and a sandbox TPM is provided for testing purposes. Use the 'tpm'
2016307896cSSimon Glass	  command to interactive the TPM. Driver model support is provided
2026307896cSSimon Glass	  for the low-level TPM interface, but only one TPM is supported at
2036307896cSSimon Glass	  a time by the TPM library.
2046307896cSSimon Glass
2056307896cSSimon Glassconfig TPL_TPM
2066307896cSSimon Glass	bool "Trusted Platform Module (TPM) Support in TPL"
2076307896cSSimon Glass	depends on TPL_DM
2086307896cSSimon Glass	help
2096307896cSSimon Glass	  This enables support for TPMs which can be used to provide security
2106307896cSSimon Glass	  features for your board. The TPM can be connected via LPC or I2C
2116307896cSSimon Glass	  and a sandbox TPM is provided for testing purposes. Use the 'tpm'
2126307896cSSimon Glass	  command to interactive the TPM. Driver model support is provided
2136307896cSSimon Glass	  for the low-level TPM interface, but only one TPM is supported at
2146307896cSSimon Glass	  a time by the TPM library.
2156307896cSSimon Glass
216b1a873dfSSimon Glassendmenu
217b1a873dfSSimon Glass
2183330584dSIgor Opaniukmenu "Android Verified Boot"
2193330584dSIgor Opaniuk
2203330584dSIgor Opaniukconfig LIBAVB
2213330584dSIgor Opaniuk	bool "Android Verified Boot 2.0 support"
2223330584dSIgor Opaniuk	depends on ANDROID_BOOT_IMAGE
2233330584dSIgor Opaniuk	default n
2243330584dSIgor Opaniuk	help
2253330584dSIgor Opaniuk	  This enables support of Android Verified Boot 2.0 which can be used
2263330584dSIgor Opaniuk	  to assure the end user of the integrity of the software running on a
2273330584dSIgor Opaniuk	  device. Introduces such features as boot chain of trust, rollback
2283330584dSIgor Opaniuk	  protection etc.
2293330584dSIgor Opaniuk
2303330584dSIgor Opaniukendmenu
2313330584dSIgor Opaniuk
23294e3c8c4Sgaurav ranamenu "Hashing Support"
23394e3c8c4Sgaurav rana
23494e3c8c4Sgaurav ranaconfig SHA1
23594e3c8c4Sgaurav rana	bool "Enable SHA1 support"
23694e3c8c4Sgaurav rana	help
23794e3c8c4Sgaurav rana	  This option enables support of hashing using SHA1 algorithm.
23894e3c8c4Sgaurav rana	  The hash is calculated in software.
23994e3c8c4Sgaurav rana	  The SHA1 algorithm produces a 160-bit (20-byte) hash value
24094e3c8c4Sgaurav rana	  (digest).
24194e3c8c4Sgaurav rana
24294e3c8c4Sgaurav ranaconfig SHA256
24394e3c8c4Sgaurav rana	bool "Enable SHA256 support"
24494e3c8c4Sgaurav rana	help
24594e3c8c4Sgaurav rana	  This option enables support of hashing using SHA256 algorithm.
24694e3c8c4Sgaurav rana	  The hash is calculated in software.
24794e3c8c4Sgaurav rana	  The SHA256 algorithm produces a 256-bit (32-byte) hash value
24894e3c8c4Sgaurav rana	  (digest).
24994e3c8c4Sgaurav rana
250e9221d03SReuben Dowleconfig SHA512_ALGO
251e9221d03SReuben Dowle	bool "Enable SHA512 algorithm"
252e9221d03SReuben Dowle	help
253e9221d03SReuben Dowle	  This option enables support of internal SHA512 algorithm.
254e9221d03SReuben Dowle
255e9221d03SReuben Dowleconfig SHA512
256e9221d03SReuben Dowle	bool "Enable SHA512 support"
257e9221d03SReuben Dowle	depends on SHA512_ALGO
258e9221d03SReuben Dowle	help
259e9221d03SReuben Dowle	  This option enables support of hashing using SHA512 algorithm.
260e9221d03SReuben Dowle	  The hash is calculated in software.
261e9221d03SReuben Dowle	  The SHA512 algorithm produces a 512-bit (64-byte) hash value
262e9221d03SReuben Dowle	  (digest).
263e9221d03SReuben Dowle
264e9221d03SReuben Dowleconfig SHA384
265e9221d03SReuben Dowle	bool "Enable SHA384 support"
266e9221d03SReuben Dowle	depends on SHA512_ALGO
267e9221d03SReuben Dowle	help
268e9221d03SReuben Dowle	  This option enables support of hashing using SHA384 algorithm.
269e9221d03SReuben Dowle	  The hash is calculated in software.
270e9221d03SReuben Dowle	  The SHA384 algorithm produces a 384-bit (48-byte) hash value
271e9221d03SReuben Dowle	  (digest).
272e9221d03SReuben Dowle
27394e3c8c4Sgaurav ranaconfig SHA_HW_ACCEL
27494e3c8c4Sgaurav rana	bool "Enable hashing using hardware"
27594e3c8c4Sgaurav rana	help
276*45e7dfa9SJoel Stanley	  This option enables hardware acceleration for SHA hashing.
277*45e7dfa9SJoel Stanley	  This affects the 'hash' command and also the hash_lookup_algo()
278*45e7dfa9SJoel Stanley	  function.
27994e3c8c4Sgaurav rana
28094e3c8c4Sgaurav ranaconfig SHA_PROG_HW_ACCEL
28194e3c8c4Sgaurav rana	bool "Enable Progressive hashing support using hardware"
28294e3c8c4Sgaurav rana	depends on SHA_HW_ACCEL
28394e3c8c4Sgaurav rana	help
284*45e7dfa9SJoel Stanley	  This option enables hardware-acceleration for SHA progressive
285*45e7dfa9SJoel Stanley	  hashing.
286*45e7dfa9SJoel Stanley	  Data can be streamed in a block at a time and the hashing is
287*45e7dfa9SJoel Stanley	  performed in hardware.
288bea79d7dSAndre Przywara
289bea79d7dSAndre Przywaraconfig MD5
290bea79d7dSAndre Przywara	bool
291bea79d7dSAndre Przywara
29285d8bf57SMarek Behúnconfig CRC32C
29385d8bf57SMarek Behún	bool
29485d8bf57SMarek Behún
29594e3c8c4Sgaurav ranaendmenu
29694e3c8c4Sgaurav rana
297027b728dSJulius Wernermenu "Compression Support"
298027b728dSJulius Werner
299027b728dSJulius Wernerconfig LZ4
300027b728dSJulius Werner	bool "Enable LZ4 decompression support"
301027b728dSJulius Werner	help
302027b728dSJulius Werner	  If this option is set, support for LZ4 compressed images
303027b728dSJulius Werner	  is included. The LZ4 algorithm can run in-place as long as the
304027b728dSJulius Werner	  compressed image is loaded to the end of the output buffer, and
305027b728dSJulius Werner	  trades lower compression ratios for much faster decompression.
306027b728dSJulius Werner
307027b728dSJulius Werner	  NOTE: This implements the release version of the LZ4 frame
308027b728dSJulius Werner	  format as generated by default by the 'lz4' command line tool.
309027b728dSJulius Werner	  This is not the same as the outdated, less efficient legacy
310027b728dSJulius Werner	  frame format currently (2015) implemented in the Linux kernel
311027b728dSJulius Werner	  (generated by 'lz4 -l'). The two formats are incompatible.
312027b728dSJulius Werner
313aed998aaSSimon Glassconfig LZMA
314aed998aaSSimon Glass	bool "Enable LZMA decompression support"
315aed998aaSSimon Glass	help
316aed998aaSSimon Glass	  This enables support for LZMA (Lempel-Ziv-Markov chain algorithm),
317aed998aaSSimon Glass	  a dictionary compression algorithm that provides a high compression
318aed998aaSSimon Glass	  ratio and fairly fast decompression speed. See also
319aed998aaSSimon Glass	  CONFIG_CMD_LZMADEC which provides a decode command.
320aed998aaSSimon Glass
321173aafbfSBoris Brezillonconfig LZO
322d56b4b19STom Rini	bool "Enable LZO decompression support"
323d56b4b19STom Rini	help
324d56b4b19STom Rini	  This enables support for LZO compression algorithm.r
3257264f292SYork Sun
326048c6e89SSimon Glassconfig SPL_LZ4
327048c6e89SSimon Glass	bool "Enable LZ4 decompression support in SPL"
328048c6e89SSimon Glass	help
329048c6e89SSimon Glass	  This enables support for tge LZ4 decompression algorithm in SPL. LZ4
330048c6e89SSimon Glass	  is a lossless data compression algorithm that is focused on
331048c6e89SSimon Glass	  fast compression and decompression speed. It belongs to the LZ77
332048c6e89SSimon Glass	  family of byte-oriented compression schemes.
333048c6e89SSimon Glass
334f52bdf4bSJean-Jacques Hiblotconfig SPL_LZO
335f52bdf4bSJean-Jacques Hiblot	bool "Enable LZO decompression support in SPL"
336f52bdf4bSJean-Jacques Hiblot	help
337f52bdf4bSJean-Jacques Hiblot	  This enables support for LZO compression algorithm in the SPL.
338f52bdf4bSJean-Jacques Hiblot
3397264f292SYork Sunconfig SPL_GZIP
3407264f292SYork Sun	bool "Enable gzip decompression support for SPL build"
3417264f292SYork Sun	select SPL_ZLIB
3427264f292SYork Sun	help
3437264f292SYork Sun	  This enables support for GZIP compression altorithm for SPL boot.
3447264f292SYork Sun
3457264f292SYork Sunconfig SPL_ZLIB
3467264f292SYork Sun	bool
3477264f292SYork Sun	help
3487264f292SYork Sun	  This enables compression lib for SPL boot.
3497264f292SYork Sun
350027b728dSJulius Wernerendmenu
351027b728dSJulius Werner
3526501ff62SPrzemyslaw Marczakconfig ERRNO_STR
3536501ff62SPrzemyslaw Marczak	bool "Enable function for getting errno-related string message"
3546501ff62SPrzemyslaw Marczak	help
3556501ff62SPrzemyslaw Marczak	  The function errno_str(int errno), returns a pointer to the errno
3566501ff62SPrzemyslaw Marczak	  corresponding text message:
3576501ff62SPrzemyslaw Marczak	  - if errno is null or positive number - a pointer to "Success" message
3586501ff62SPrzemyslaw Marczak	  - if errno is negative - a pointer to errno related message
3596501ff62SPrzemyslaw Marczak
360f8c987f8SAlexey Brodkinconfig HEXDUMP
361f8c987f8SAlexey Brodkin	bool "Enable hexdump"
362f8c987f8SAlexey Brodkin	help
363f8c987f8SAlexey Brodkin	  This enables functions for printing dumps of binary data.
364f8c987f8SAlexey Brodkin
36569e173ebSSimon Glassconfig OF_LIBFDT
36669e173ebSSimon Glass	bool "Enable the FDT library"
36769e173ebSSimon Glass	default y if OF_CONTROL
36869e173ebSSimon Glass	help
36969e173ebSSimon Glass	  This enables the FDT library (libfdt). It provides functions for
37069e173ebSSimon Glass	  accessing binary device tree images in memory, such as adding and
371f1a7ba1dSAnatolij Gustschin	  removing nodes and properties, scanning through the tree and finding
37269e173ebSSimon Glass	  particular compatible nodes. The library operates on a flattened
37369e173ebSSimon Glass	  version of the device tree.
37469e173ebSSimon Glass
375ddf67f71SMaxime Ripardconfig OF_LIBFDT_OVERLAY
376ddf67f71SMaxime Ripard	bool "Enable the FDT library overlay support"
3776417572eSTom Rini	depends on OF_LIBFDT
37858a46f88SPraneeth Bajjuri	default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
379ddf67f71SMaxime Ripard	help
380ddf67f71SMaxime Ripard	  This enables the FDT library (libfdt) overlay support.
381ddf67f71SMaxime Ripard
382aa34fbc0SSimon Glassconfig SPL_OF_LIBFDT
383aa34fbc0SSimon Glass	bool "Enable the FDT library for SPL"
384aa34fbc0SSimon Glass	default y if SPL_OF_CONTROL
385aa34fbc0SSimon Glass	help
386aa34fbc0SSimon Glass	  This enables the FDT library (libfdt). It provides functions for
387aa34fbc0SSimon Glass	  accessing binary device tree images in memory, such as adding and
388f1a7ba1dSAnatolij Gustschin	  removing nodes and properties, scanning through the tree and finding
389aa34fbc0SSimon Glass	  particular compatible nodes. The library operates on a flattened
390aa34fbc0SSimon Glass	  version of the device tree.
391aa34fbc0SSimon Glass
3925592a633SSimon Glassconfig TPL_OF_LIBFDT
3935592a633SSimon Glass	bool "Enable the FDT library for TPL"
3945592a633SSimon Glass	default y if TPL_OF_CONTROL
3955592a633SSimon Glass	help
3965592a633SSimon Glass	  This enables the FDT library (libfdt). It provides functions for
3975592a633SSimon Glass	  accessing binary device tree images in memory, such as adding and
3985592a633SSimon Glass	  removing nodes and properties, scanning through the tree and finding
3995592a633SSimon Glass	  particular compatible nodes. The library operates on a flattened
4005592a633SSimon Glass	  version of the device tree.
4015592a633SSimon Glass
402ebf7fff2SHeiko Schocherconfig FDT_FIXUP_PARTITIONS
403ebf7fff2SHeiko Schocher	bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
404ebf7fff2SHeiko Schocher	depends on OF_LIBFDT
405ab948cd2SMasahiro Yamada	depends on CMD_MTDPARTS
406ebf7fff2SHeiko Schocher	help
407ebf7fff2SHeiko Schocher	  Allow overwriting defined partitions in the device tree blob
408ebf7fff2SHeiko Schocher	  using partition info defined in the 'mtdparts' environment
409ebf7fff2SHeiko Schocher	  variable.
410ebf7fff2SHeiko Schocher
4114b6dddc2SAlexander Grafmenu "System tables"
412e663b350SAlexander Graf	depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
4134b6dddc2SAlexander Graf
4144b6dddc2SAlexander Grafconfig GENERATE_SMBIOS_TABLE
4154b6dddc2SAlexander Graf	bool "Generate an SMBIOS (System Management BIOS) table"
4164b6dddc2SAlexander Graf	default y
417e663b350SAlexander Graf	depends on X86 || EFI_LOADER
4184b6dddc2SAlexander Graf	help
4194b6dddc2SAlexander Graf	  The System Management BIOS (SMBIOS) specification addresses how
4204b6dddc2SAlexander Graf	  motherboard and system vendors present management information about
4214b6dddc2SAlexander Graf	  their products in a standard format by extending the BIOS interface
4224b6dddc2SAlexander Graf	  on Intel architecture systems.
4234b6dddc2SAlexander Graf
4244b6dddc2SAlexander Graf	  Check http://www.dmtf.org/standards/smbios for details.
4254b6dddc2SAlexander Graf
4264b6dddc2SAlexander Grafconfig SMBIOS_MANUFACTURER
4274b6dddc2SAlexander Graf	string "SMBIOS Manufacturer"
4284b6dddc2SAlexander Graf	depends on GENERATE_SMBIOS_TABLE
4294b6dddc2SAlexander Graf	default SYS_VENDOR
4304b6dddc2SAlexander Graf	help
4314b6dddc2SAlexander Graf	  The board manufacturer to store in SMBIOS structures.
4324b6dddc2SAlexander Graf	  Change this to override the default one (CONFIG_SYS_VENDOR).
4334b6dddc2SAlexander Graf
4344b6dddc2SAlexander Grafconfig SMBIOS_PRODUCT_NAME
4354b6dddc2SAlexander Graf	string "SMBIOS Product Name"
4364b6dddc2SAlexander Graf	depends on GENERATE_SMBIOS_TABLE
4374b6dddc2SAlexander Graf	default SYS_BOARD
4384b6dddc2SAlexander Graf	help
4394b6dddc2SAlexander Graf	  The product name to store in SMBIOS structures.
4404b6dddc2SAlexander Graf	  Change this to override the default one (CONFIG_SYS_BOARD).
4414b6dddc2SAlexander Graf
4424b6dddc2SAlexander Grafendmenu
4434b6dddc2SAlexander Graf
444867a6ac8SSimon Glasssource lib/efi/Kconfig
445ed980b8cSAlexander Grafsource lib/efi_loader/Kconfig
44632ce6179SBryan O'Donoghuesource lib/optee/Kconfig
447867a6ac8SSimon Glass
448ed36323fSMasahiro Yamadaendmenu
449