Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. menu "Library routines"
  2. config ADDR_MAP
  3. bool "Enable support for non-identity virtual-physical mappings"
  4. help
  5. Enables helper code for implementing non-identity virtual-physical
  6. memory mappings for 32bit CPUs.
  7. This library only works in the post-relocation phase.
  8. config SYS_NUM_ADDR_MAP
  9. int "Size of the address-map table"
  10. depends on ADDR_MAP
  11. default 16
  12. help
  13. Sets the number of entries in the virtual-physical mapping table.
  14. config BCH
  15. bool "Enable Software based BCH ECC"
  16. help
  17. Enables software based BCH ECC algorithm present in lib/bch.c
  18. This is used by SoC platforms which do not have built-in ELM
  19. hardware engine required for BCH ECC correction.
  20. config BINMAN_FDT
  21. bool "Allow access to binman information in the device tree"
  22. depends on BINMAN && DM && OF_CONTROL
  23. default y if OF_SEPARATE || OF_EMBED
  24. help
  25. This enables U-Boot to access information about binman entries,
  26. stored in the device tree in a binman node. Typical uses are to
  27. locate entries in the firmware image. See binman.h for the available
  28. functionality.
  29. config CC_OPTIMIZE_LIBS_FOR_SPEED
  30. bool "Optimize libraries for speed"
  31. help
  32. Enabling this option will pass "-O2" to gcc when compiling
  33. under "lib" directory.
  34. If unsure, say N.
  35. config CHARSET
  36. bool
  37. default y if UT_UNICODE || EFI_LOADER || UFS
  38. help
  39. Enables support for various conversions between different
  40. character sets, such as between unicode representations and
  41. different 'code pages'.
  42. config DYNAMIC_CRC_TABLE
  43. bool "Enable Dynamic tables for CRC"
  44. help
  45. Enable this option to calculate entries for CRC tables at runtime.
  46. This can be helpful when reducing the size of the build image
  47. config HAVE_ARCH_IOMAP
  48. bool
  49. help
  50. Enable this option if architecture provides io{read,write}{8,16,32}
  51. I/O accessor functions.
  52. config HAVE_PRIVATE_LIBGCC
  53. bool
  54. config LIB_UUID
  55. bool
  56. config PRINTF
  57. bool
  58. default y
  59. config SPL_PRINTF
  60. bool
  61. select SPL_SPRINTF
  62. select SPL_STRTO if !SPL_USE_TINY_PRINTF
  63. config TPL_PRINTF
  64. bool
  65. select TPL_SPRINTF
  66. select TPL_STRTO if !TPL_USE_TINY_PRINTF
  67. config SPRINTF
  68. bool
  69. default y
  70. config SPL_SPRINTF
  71. bool
  72. config TPL_SPRINTF
  73. bool
  74. config SSCANF
  75. bool
  76. default n
  77. config STRTO
  78. bool
  79. default y
  80. config SPL_STRTO
  81. bool
  82. config TPL_STRTO
  83. bool
  84. config IMAGE_SPARSE
  85. bool
  86. config IMAGE_SPARSE_FILLBUF_SIZE
  87. hex "Android sparse image CHUNK_TYPE_FILL buffer size"
  88. default 0x80000
  89. depends on IMAGE_SPARSE
  90. help
  91. Set the size of the fill buffer used when processing CHUNK_TYPE_FILL
  92. chunks.
  93. config USE_PRIVATE_LIBGCC
  94. bool "Use private libgcc"
  95. depends on HAVE_PRIVATE_LIBGCC
  96. default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS)
  97. help
  98. This option allows you to use the built-in libgcc implementation
  99. of U-Boot instead of the one provided by the compiler.
  100. If unsure, say N.
  101. config SYS_HZ
  102. int
  103. default 1000
  104. help
  105. The frequency of the timer returned by get_timer().
  106. get_timer() must operate in milliseconds and this option must be
  107. set to 1000.
  108. config SPL_USE_TINY_PRINTF
  109. bool "Enable tiny printf() version in SPL"
  110. depends on SPL
  111. default y
  112. help
  113. This option enables a tiny, stripped down printf version.
  114. This should only be used in space limited environments,
  115. like SPL versions with hard memory limits. This version
  116. reduces the code size by about 2.5KiB on armv7.
  117. The supported format specifiers are %c, %s, %u/%d and %x.
  118. config TPL_USE_TINY_PRINTF
  119. bool "Enable tiny printf() version in TPL"
  120. depends on TPL
  121. default y if SPL_USE_TINY_PRINTF
  122. help
  123. This option enables a tiny, stripped down printf version.
  124. This should only be used in space limited environments,
  125. like SPL versions with hard memory limits. This version
  126. reduces the code size by about 2.5KiB on armv7.
  127. The supported format specifiers are %c, %s, %u/%d and %x.
  128. config PANIC_HANG
  129. bool "Do not reset the system on fatal error"
  130. help
  131. Define this option to stop the system in case of a fatal error,
  132. so that you have to reset it manually. This is probably NOT a good
  133. idea for an embedded system where you want the system to reboot
  134. automatically as fast as possible, but it may be useful during
  135. development since you can try to debug the conditions that lead to
  136. the situation.
  137. config REGEX
  138. bool "Enable regular expression support"
  139. default y if NET
  140. help
  141. If this variable is defined, U-Boot is linked against the
  142. SLRE (Super Light Regular Expression) library, which adds
  143. regex support to some commands, for example "env grep" and
  144. "setexpr".
  145. choice
  146. prompt "Pseudo-random library support type"
  147. depends on NET_RANDOM_ETHADDR || RANDOM_UUID || CMD_UUID || \
  148. RNG_SANDBOX || UT_LIB && AES || FAT_WRITE
  149. default LIB_RAND
  150. help
  151. Select the library to provide pseudo-random number generator
  152. functions. LIB_HW_RAND supports certain hardware engines that
  153. provide this functionality. If in doubt, select LIB_RAND.
  154. config LIB_RAND
  155. bool "Pseudo-random library support"
  156. config LIB_HW_RAND
  157. bool "HW Engine for random library support"
  158. endchoice
  159. config SPL_TINY_MEMSET
  160. bool "Use a very small memset() in SPL"
  161. help
  162. The faster memset() is the arch-specific one (if available) enabled
  163. by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
  164. better performance by writing a word at a time. But in very
  165. size-constrained environments even this may be too big. Enable this
  166. option to reduce code size slightly at the cost of some speed.
  167. config TPL_TINY_MEMSET
  168. bool "Use a very small memset() in TPL"
  169. help
  170. The faster memset() is the arch-specific one (if available) enabled
  171. by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
  172. better performance by writing a word at a time. But in very
  173. size-constrained environments even this may be too big. Enable this
  174. option to reduce code size slightly at the cost of some speed.
  175. config RBTREE
  176. bool
  177. config BITREVERSE
  178. bool "Bit reverse library from Linux"
  179. config TRACE
  180. bool "Support for tracing of function calls and timing"
  181. imply CMD_TRACE
  182. select TIMER_EARLY
  183. help
  184. Enables function tracing within U-Boot. This allows recording of call
  185. traces including timing information. The command can write data to
  186. memory for exporting for analysis (e.g. using bootchart).
  187. See doc/README.trace for full details.
  188. config TRACE_BUFFER_SIZE
  189. hex "Size of trace buffer in U-Boot"
  190. depends on TRACE
  191. default 0x01000000
  192. help
  193. Sets the size of the trace buffer in U-Boot. This is allocated from
  194. memory during relocation. If this buffer is too small, the trace
  195. history will be truncated, with later records omitted.
  196. If early trace is enabled (i.e. before relocation), this buffer must
  197. be large enough to include all the data from the early trace buffer as
  198. well, since this is copied over to the main buffer during relocation.
  199. A trace record is emitted for each function call and each record is
  200. 12 bytes (see struct trace_call). A suggested minimum size is 1MB. If
  201. the size is too small then 'trace stats' will show a message saying
  202. how many records were dropped due to buffer overflow.
  203. config TRACE_CALL_DEPTH_LIMIT
  204. int "Trace call depth limit"
  205. depends on TRACE
  206. default 15
  207. help
  208. Sets the maximum call depth up to which function calls are recorded.
  209. config TRACE_EARLY
  210. bool "Enable tracing before relocation"
  211. depends on TRACE
  212. help
  213. Sometimes it is helpful to trace execution of U-Boot before
  214. relocation. This is possible by using a arch-specific, fixed buffer
  215. position in memory. Enable this option to start tracing as early as
  216. possible after U-Boot starts.
  217. config TRACE_EARLY_SIZE
  218. hex "Size of early trace buffer in U-Boot"
  219. depends on TRACE_EARLY
  220. default 0x00100000
  221. help
  222. Sets the size of the early trace buffer in bytes. This is used to hold
  223. tracing information before relocation.
  224. config TRACE_EARLY_CALL_DEPTH_LIMIT
  225. int "Early trace call depth limit"
  226. depends on TRACE_EARLY
  227. default 200
  228. help
  229. Sets the maximum call depth up to which function calls are recorded
  230. during early tracing.
  231. config TRACE_EARLY_ADDR
  232. hex "Address of early trace buffer in U-Boot"
  233. depends on TRACE_EARLY
  234. default 0x00100000
  235. help
  236. Sets the address of the early trace buffer in U-Boot. This memory
  237. must be accessible before relocation.
  238. A trace record is emitted for each function call and each record is
  239. 12 bytes (see struct trace_call). A suggested minimum size is 1MB. If
  240. the size is too small then the message which says the amount of early
  241. data being coped will the the same as the
  242. source lib/dhry/Kconfig
  243. menu "Security support"
  244. config AES
  245. bool "Support the AES algorithm"
  246. help
  247. This provides a means to encrypt and decrypt data using the AES
  248. (Advanced Encryption Standard). This algorithm uses a symetric key
  249. and is widely used as a streaming cipher. Different key lengths are
  250. supported by the algorithm but only a 128-bit key is supported at
  251. present.
  252. source lib/rsa/Kconfig
  253. source lib/crypto/Kconfig
  254. source lib/crypt/Kconfig
  255. config TPM
  256. bool "Trusted Platform Module (TPM) Support"
  257. depends on DM
  258. help
  259. This enables support for TPMs which can be used to provide security
  260. features for your board. The TPM can be connected via LPC or I2C
  261. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  262. command to interactive the TPM. Driver model support is provided
  263. for the low-level TPM interface, but only one TPM is supported at
  264. a time by the TPM library.
  265. config SPL_TPM
  266. bool "Trusted Platform Module (TPM) Support in SPL"
  267. depends on SPL_DM
  268. help
  269. This enables support for TPMs which can be used to provide security
  270. features for your board. The TPM can be connected via LPC or I2C
  271. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  272. command to interactive the TPM. Driver model support is provided
  273. for the low-level TPM interface, but only one TPM is supported at
  274. a time by the TPM library.
  275. config TPL_TPM
  276. bool "Trusted Platform Module (TPM) Support in TPL"
  277. depends on TPL_DM
  278. help
  279. This enables support for TPMs which can be used to provide security
  280. features for your board. The TPM can be connected via LPC or I2C
  281. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  282. command to interactive the TPM. Driver model support is provided
  283. for the low-level TPM interface, but only one TPM is supported at
  284. a time by the TPM library.
  285. endmenu
  286. menu "Android Verified Boot"
  287. config LIBAVB
  288. bool "Android Verified Boot 2.0 support"
  289. depends on ANDROID_BOOT_IMAGE
  290. default n
  291. help
  292. This enables support of Android Verified Boot 2.0 which can be used
  293. to assure the end user of the integrity of the software running on a
  294. device. Introduces such features as boot chain of trust, rollback
  295. protection etc.
  296. endmenu
  297. menu "Hashing Support"
  298. config SHA1
  299. bool "Enable SHA1 support"
  300. help
  301. This option enables support of hashing using SHA1 algorithm.
  302. The hash is calculated in software.
  303. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  304. (digest).
  305. config SHA256
  306. bool "Enable SHA256 support"
  307. help
  308. This option enables support of hashing using SHA256 algorithm.
  309. The hash is calculated in software.
  310. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  311. (digest).
  312. config SHA512_ALGO
  313. bool "Enable SHA512 algorithm"
  314. help
  315. This option enables support of internal SHA512 algorithm.
  316. config SHA512
  317. bool "Enable SHA512 support"
  318. depends on SHA512_ALGO
  319. help
  320. This option enables support of hashing using SHA512 algorithm.
  321. The hash is calculated in software.
  322. The SHA512 algorithm produces a 512-bit (64-byte) hash value
  323. (digest).
  324. config SHA384
  325. bool "Enable SHA384 support"
  326. depends on SHA512_ALGO
  327. help
  328. This option enables support of hashing using SHA384 algorithm.
  329. The hash is calculated in software.
  330. The SHA384 algorithm produces a 384-bit (48-byte) hash value
  331. (digest).
  332. config SHA_HW_ACCEL
  333. bool "Enable hardware acceleration for SHA hash functions"
  334. help
  335. This option enables hardware acceleration for the SHA1 and SHA256
  336. hashing algorithms. This affects the 'hash' command and also the
  337. hash_lookup_algo() function.
  338. if SHA_HW_ACCEL
  339. config SHA512_HW_ACCEL
  340. bool "Enable hardware acceleration for SHA512"
  341. depends on SHA512_ALGO
  342. help
  343. This option enables hardware acceleration for the SHA384 and SHA512
  344. hashing algorithms. This affects the 'hash' command and also the
  345. hash_lookup_algo() function.
  346. config SHA_PROG_HW_ACCEL
  347. bool "Enable Progressive hashing support using hardware"
  348. help
  349. This option enables hardware-acceleration for SHA progressive
  350. hashing.
  351. Data can be streamed in a block at a time and the hashing is
  352. performed in hardware.
  353. endif
  354. config MD5
  355. bool "Support MD5 algorithm"
  356. help
  357. This option enables MD5 support. MD5 is an algorithm designed
  358. in 1991 that produces a 16-byte digest (or checksum) from its input
  359. data. It has a number of vulnerabilities which preclude its use in
  360. security applications, but it can be useful for providing a quick
  361. checksum of a block of data.
  362. config SPL_MD5
  363. bool "Support MD5 algorithm in SPL"
  364. help
  365. This option enables MD5 support in SPL. MD5 is an algorithm designed
  366. in 1991 that produces a 16-byte digest (or checksum) from its input
  367. data. It has a number of vulnerabilities which preclude its use in
  368. security applications, but it can be useful for providing a quick
  369. checksum of a block of data.
  370. config CRC32C
  371. bool
  372. config XXHASH
  373. bool
  374. endmenu
  375. menu "Compression Support"
  376. config LZ4
  377. bool "Enable LZ4 decompression support"
  378. help
  379. If this option is set, support for LZ4 compressed images
  380. is included. The LZ4 algorithm can run in-place as long as the
  381. compressed image is loaded to the end of the output buffer, and
  382. trades lower compression ratios for much faster decompression.
  383. NOTE: This implements the release version of the LZ4 frame
  384. format as generated by default by the 'lz4' command line tool.
  385. This is not the same as the outdated, less efficient legacy
  386. frame format currently (2015) implemented in the Linux kernel
  387. (generated by 'lz4 -l'). The two formats are incompatible.
  388. config LZMA
  389. bool "Enable LZMA decompression support"
  390. help
  391. This enables support for LZMA (Lempel-Ziv-Markov chain algorithm),
  392. a dictionary compression algorithm that provides a high compression
  393. ratio and fairly fast decompression speed. See also
  394. CONFIG_CMD_LZMADEC which provides a decode command.
  395. config LZO
  396. bool "Enable LZO decompression support"
  397. help
  398. This enables support for LZO compression algorithm.r
  399. config GZIP
  400. bool "Enable gzip decompression support"
  401. select ZLIB
  402. default y
  403. help
  404. This enables support for GZIP compression algorithm.
  405. config ZLIB_UNCOMPRESS
  406. bool "Enables zlib's uncompress() functionality"
  407. help
  408. This enables an extra zlib functionality: the uncompress() function,
  409. which decompresses data from a buffer into another, knowing their
  410. sizes. Unlike gunzip(), there is no header parsing.
  411. config GZIP_COMPRESSED
  412. bool
  413. select ZLIB
  414. config BZIP2
  415. bool "Enable bzip2 decompression support"
  416. help
  417. This enables support for BZIP2 compression algorithm.
  418. config ZLIB
  419. bool
  420. default y
  421. help
  422. This enables ZLIB compression lib.
  423. config ZSTD
  424. bool "Enable Zstandard decompression support"
  425. select XXHASH
  426. help
  427. This enables Zstandard decompression library.
  428. config SPL_LZ4
  429. bool "Enable LZ4 decompression support in SPL"
  430. help
  431. This enables support for the LZ4 decompression algorithm in SPL. LZ4
  432. is a lossless data compression algorithm that is focused on
  433. fast compression and decompression speed. It belongs to the LZ77
  434. family of byte-oriented compression schemes.
  435. config SPL_LZMA
  436. bool "Enable LZMA decompression support for SPL build"
  437. help
  438. This enables support for LZMA compression algorithm for SPL boot.
  439. config SPL_LZO
  440. bool "Enable LZO decompression support in SPL"
  441. help
  442. This enables support for LZO compression algorithm in the SPL.
  443. config SPL_GZIP
  444. bool "Enable gzip decompression support for SPL build"
  445. select SPL_ZLIB
  446. help
  447. This enables support for GZIP compression altorithm for SPL boot.
  448. config SPL_ZLIB
  449. bool
  450. help
  451. This enables compression lib for SPL boot.
  452. config SPL_ZSTD
  453. bool "Enable Zstandard decompression support in SPL"
  454. select XXHASH
  455. help
  456. This enables Zstandard decompression library in the SPL.
  457. endmenu
  458. config ERRNO_STR
  459. bool "Enable function for getting errno-related string message"
  460. help
  461. The function errno_str(int errno), returns a pointer to the errno
  462. corresponding text message:
  463. - if errno is null or positive number - a pointer to "Success" message
  464. - if errno is negative - a pointer to errno related message
  465. config HEXDUMP
  466. bool "Enable hexdump"
  467. help
  468. This enables functions for printing dumps of binary data.
  469. config SPL_HEXDUMP
  470. bool "Enable hexdump in SPL"
  471. depends on SPL && HEXDUMP
  472. help
  473. This enables functions for printing dumps of binary data in
  474. SPL.
  475. config GETOPT
  476. bool "Enable getopt"
  477. help
  478. This enables functions for parsing command-line options.
  479. config OF_LIBFDT
  480. bool "Enable the FDT library"
  481. default y if OF_CONTROL
  482. help
  483. This enables the FDT library (libfdt). It provides functions for
  484. accessing binary device tree images in memory, such as adding and
  485. removing nodes and properties, scanning through the tree and finding
  486. particular compatible nodes. The library operates on a flattened
  487. version of the device tree.
  488. config OF_LIBFDT_ASSUME_MASK
  489. hex "Mask of conditions to assume for libfdt"
  490. depends on OF_LIBFDT || FIT
  491. default 0
  492. help
  493. Use this to change the assumptions made by libfdt about the
  494. device tree it is working with. A value of 0 means that no assumptions
  495. are made, and libfdt is able to deal with malicious data. A value of
  496. 0xff means all assumptions are made and any invalid data may cause
  497. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  498. config OF_LIBFDT_OVERLAY
  499. bool "Enable the FDT library overlay support"
  500. depends on OF_LIBFDT
  501. default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
  502. help
  503. This enables the FDT library (libfdt) overlay support.
  504. config SPL_OF_LIBFDT
  505. bool "Enable the FDT library for SPL"
  506. default y if SPL_OF_CONTROL
  507. help
  508. This enables the FDT library (libfdt). It provides functions for
  509. accessing binary device tree images in memory, such as adding and
  510. removing nodes and properties, scanning through the tree and finding
  511. particular compatible nodes. The library operates on a flattened
  512. version of the device tree.
  513. config SPL_OF_LIBFDT_ASSUME_MASK
  514. hex "Mask of conditions to assume for libfdt"
  515. depends on SPL_OF_LIBFDT || FIT
  516. default 0xff
  517. help
  518. Use this to change the assumptions made by libfdt in SPL about the
  519. device tree it is working with. A value of 0 means that no assumptions
  520. are made, and libfdt is able to deal with malicious data. A value of
  521. 0xff means all assumptions are made and any invalid data may cause
  522. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  523. config TPL_OF_LIBFDT
  524. bool "Enable the FDT library for TPL"
  525. default y if TPL_OF_CONTROL
  526. help
  527. This enables the FDT library (libfdt). It provides functions for
  528. accessing binary device tree images in memory, such as adding and
  529. removing nodes and properties, scanning through the tree and finding
  530. particular compatible nodes. The library operates on a flattened
  531. version of the device tree.
  532. config TPL_OF_LIBFDT_ASSUME_MASK
  533. hex "Mask of conditions to assume for libfdt"
  534. depends on TPL_OF_LIBFDT || FIT
  535. default 0xff
  536. help
  537. Use this to change the assumptions made by libfdt in TPL about the
  538. device tree it is working with. A value of 0 means that no assumptions
  539. are made, and libfdt is able to deal with malicious data. A value of
  540. 0xff means all assumptions are made and any invalid data may cause
  541. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  542. config FDT_FIXUP_PARTITIONS
  543. bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
  544. depends on OF_LIBFDT
  545. depends on CMD_MTDPARTS
  546. help
  547. Allow overwriting defined partitions in the device tree blob
  548. using partition info defined in the 'mtdparts' environment
  549. variable.
  550. menu "System tables"
  551. depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
  552. config BLOBLIST_TABLES
  553. bool "Put tables in a bloblist"
  554. depends on X86 && BLOBLIST
  555. help
  556. Normally tables are placed at address 0xf0000 and can be up to 64KB
  557. long. With this option, tables are instead placed in the bloblist
  558. with a pointer from 0xf0000. The size can then be larger and the
  559. tables can be placed high in memory.
  560. config GENERATE_SMBIOS_TABLE
  561. bool "Generate an SMBIOS (System Management BIOS) table"
  562. default y
  563. depends on X86 || EFI_LOADER
  564. help
  565. The System Management BIOS (SMBIOS) specification addresses how
  566. motherboard and system vendors present management information about
  567. their products in a standard format by extending the BIOS interface
  568. on Intel architecture systems.
  569. Check http://www.dmtf.org/standards/smbios for details.
  570. See also SMBIOS_SYSINFO which allows SMBIOS values to be provided in
  571. the devicetree.
  572. config LIB_RATIONAL
  573. bool "enable continued fraction calculation routines"
  574. config SPL_LIB_RATIONAL
  575. bool "enable continued fraction calculation routines for SPL"
  576. depends on SPL
  577. endmenu
  578. config ASN1_COMPILER
  579. bool
  580. config ASN1_DECODER
  581. bool
  582. help
  583. Enable asn1 decoder library.
  584. config OID_REGISTRY
  585. bool
  586. help
  587. Enable fast lookup object identifier registry.
  588. config SMBIOS_PARSER
  589. bool "SMBIOS parser"
  590. help
  591. A simple parser for SMBIOS data.
  592. source lib/efi/Kconfig
  593. source lib/efi_loader/Kconfig
  594. source lib/optee/Kconfig
  595. config TEST_FDTDEC
  596. bool "enable fdtdec test"
  597. depends on OF_LIBFDT
  598. config LIB_DATE
  599. bool
  600. config LIB_ELF
  601. bool
  602. help
  603. Support basic elf loading/validating functions.
  604. This supports for 32 bit and 64 bit versions.
  605. config LMB
  606. bool "Enable the logical memory blocks library (lmb)"
  607. default y if ARC || ARM || M68K || MICROBLAZE || MIPS || NDS32 || \
  608. NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA
  609. help
  610. Support the library logical memory blocks.
  611. config LMB_USE_MAX_REGIONS
  612. bool "Use a commun number of memory and reserved regions in lmb lib"
  613. depends on LMB
  614. default y
  615. help
  616. Define the number of supported memory regions in the library logical
  617. memory blocks.
  618. This feature allow to reduce the lmb library size by using compiler
  619. optimization when LMB_MEMORY_REGIONS == LMB_RESERVED_REGIONS.
  620. config LMB_MAX_REGIONS
  621. int "Number of memory and reserved regions in lmb lib"
  622. depends on LMB && LMB_USE_MAX_REGIONS
  623. default 8
  624. help
  625. Define the number of supported regions, memory and reserved, in the
  626. library logical memory blocks.
  627. config LMB_MEMORY_REGIONS
  628. int "Number of memory regions in lmb lib"
  629. depends on LMB && !LMB_USE_MAX_REGIONS
  630. default 8
  631. help
  632. Define the number of supported memory regions in the library logical
  633. memory blocks.
  634. The minimal value is CONFIG_NR_DRAM_BANKS.
  635. config LMB_RESERVED_REGIONS
  636. int "Number of reserved regions in lmb lib"
  637. depends on LMB && !LMB_USE_MAX_REGIONS
  638. default 8
  639. help
  640. Define the number of supported reserved regions in the library logical
  641. memory blocks.
  642. endmenu
  643. config PHANDLE_CHECK_SEQ
  644. bool "Enable phandle check while getting sequence number"
  645. default n
  646. help
  647. When there are multiple device tree nodes with same name,
  648. enable this config option to distinguish them using
  649. phandles in fdtdec_get_alias_seq() function.