Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  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/ecdsa/Kconfig
  253. source lib/rsa/Kconfig
  254. source lib/crypto/Kconfig
  255. source lib/crypt/Kconfig
  256. config TPM
  257. bool "Trusted Platform Module (TPM) Support"
  258. depends on DM
  259. help
  260. This enables support for TPMs which can be used to provide security
  261. features for your board. The TPM can be connected via LPC or I2C
  262. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  263. command to interactive the TPM. Driver model support is provided
  264. for the low-level TPM interface, but only one TPM is supported at
  265. a time by the TPM library.
  266. config SPL_TPM
  267. bool "Trusted Platform Module (TPM) Support in SPL"
  268. depends on SPL_DM
  269. help
  270. This enables support for TPMs which can be used to provide security
  271. features for your board. The TPM can be connected via LPC or I2C
  272. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  273. command to interactive the TPM. Driver model support is provided
  274. for the low-level TPM interface, but only one TPM is supported at
  275. a time by the TPM library.
  276. config TPL_TPM
  277. bool "Trusted Platform Module (TPM) Support in TPL"
  278. depends on TPL_DM
  279. help
  280. This enables support for TPMs which can be used to provide security
  281. features for your board. The TPM can be connected via LPC or I2C
  282. and a sandbox TPM is provided for testing purposes. Use the 'tpm'
  283. command to interactive the TPM. Driver model support is provided
  284. for the low-level TPM interface, but only one TPM is supported at
  285. a time by the TPM library.
  286. endmenu
  287. menu "Android Verified Boot"
  288. config LIBAVB
  289. bool "Android Verified Boot 2.0 support"
  290. depends on ANDROID_BOOT_IMAGE
  291. default n
  292. help
  293. This enables support of Android Verified Boot 2.0 which can be used
  294. to assure the end user of the integrity of the software running on a
  295. device. Introduces such features as boot chain of trust, rollback
  296. protection etc.
  297. endmenu
  298. menu "Hashing Support"
  299. config SHA1
  300. bool "Enable SHA1 support"
  301. help
  302. This option enables support of hashing using SHA1 algorithm.
  303. The hash is calculated in software.
  304. The SHA1 algorithm produces a 160-bit (20-byte) hash value
  305. (digest).
  306. config SHA256
  307. bool "Enable SHA256 support"
  308. help
  309. This option enables support of hashing using SHA256 algorithm.
  310. The hash is calculated in software.
  311. The SHA256 algorithm produces a 256-bit (32-byte) hash value
  312. (digest).
  313. config SHA512_ALGO
  314. bool "Enable SHA512 algorithm"
  315. help
  316. This option enables support of internal SHA512 algorithm.
  317. config SHA512
  318. bool "Enable SHA512 support"
  319. depends on SHA512_ALGO
  320. help
  321. This option enables support of hashing using SHA512 algorithm.
  322. The hash is calculated in software.
  323. The SHA512 algorithm produces a 512-bit (64-byte) hash value
  324. (digest).
  325. config SHA384
  326. bool "Enable SHA384 support"
  327. depends on SHA512_ALGO
  328. help
  329. This option enables support of hashing using SHA384 algorithm.
  330. The hash is calculated in software.
  331. The SHA384 algorithm produces a 384-bit (48-byte) hash value
  332. (digest).
  333. config SHA_HW_ACCEL
  334. bool "Enable hardware acceleration for SHA hash functions"
  335. help
  336. This option enables hardware acceleration for the SHA1 and SHA256
  337. hashing algorithms. This affects the 'hash' command and also the
  338. hash_lookup_algo() function.
  339. if SHA_HW_ACCEL
  340. config SHA512_HW_ACCEL
  341. bool "Enable hardware acceleration for SHA512"
  342. depends on SHA512_ALGO
  343. help
  344. This option enables hardware acceleration for the SHA384 and SHA512
  345. hashing algorithms. This affects the 'hash' command and also the
  346. hash_lookup_algo() function.
  347. config SHA_PROG_HW_ACCEL
  348. bool "Enable Progressive hashing support using hardware"
  349. help
  350. This option enables hardware-acceleration for SHA progressive
  351. hashing.
  352. Data can be streamed in a block at a time and the hashing is
  353. performed in hardware.
  354. endif
  355. config MD5
  356. bool "Support MD5 algorithm"
  357. help
  358. This option enables MD5 support. MD5 is an algorithm designed
  359. in 1991 that produces a 16-byte digest (or checksum) from its input
  360. data. It has a number of vulnerabilities which preclude its use in
  361. security applications, but it can be useful for providing a quick
  362. checksum of a block of data.
  363. config SPL_MD5
  364. bool "Support MD5 algorithm in SPL"
  365. help
  366. This option enables MD5 support in SPL. MD5 is an algorithm designed
  367. in 1991 that produces a 16-byte digest (or checksum) from its input
  368. data. It has a number of vulnerabilities which preclude its use in
  369. security applications, but it can be useful for providing a quick
  370. checksum of a block of data.
  371. config CRC32C
  372. bool
  373. config XXHASH
  374. bool
  375. endmenu
  376. menu "Compression Support"
  377. config LZ4
  378. bool "Enable LZ4 decompression support"
  379. help
  380. If this option is set, support for LZ4 compressed images
  381. is included. The LZ4 algorithm can run in-place as long as the
  382. compressed image is loaded to the end of the output buffer, and
  383. trades lower compression ratios for much faster decompression.
  384. NOTE: This implements the release version of the LZ4 frame
  385. format as generated by default by the 'lz4' command line tool.
  386. This is not the same as the outdated, less efficient legacy
  387. frame format currently (2015) implemented in the Linux kernel
  388. (generated by 'lz4 -l'). The two formats are incompatible.
  389. config LZMA
  390. bool "Enable LZMA decompression support"
  391. help
  392. This enables support for LZMA (Lempel-Ziv-Markov chain algorithm),
  393. a dictionary compression algorithm that provides a high compression
  394. ratio and fairly fast decompression speed. See also
  395. CONFIG_CMD_LZMADEC which provides a decode command.
  396. config LZO
  397. bool "Enable LZO decompression support"
  398. help
  399. This enables support for LZO compression algorithm.r
  400. config GZIP
  401. bool "Enable gzip decompression support"
  402. select ZLIB
  403. default y
  404. help
  405. This enables support for GZIP compression algorithm.
  406. config ZLIB_UNCOMPRESS
  407. bool "Enables zlib's uncompress() functionality"
  408. help
  409. This enables an extra zlib functionality: the uncompress() function,
  410. which decompresses data from a buffer into another, knowing their
  411. sizes. Unlike gunzip(), there is no header parsing.
  412. config GZIP_COMPRESSED
  413. bool
  414. select ZLIB
  415. config BZIP2
  416. bool "Enable bzip2 decompression support"
  417. help
  418. This enables support for BZIP2 compression algorithm.
  419. config ZLIB
  420. bool
  421. default y
  422. help
  423. This enables ZLIB compression lib.
  424. config ZSTD
  425. bool "Enable Zstandard decompression support"
  426. select XXHASH
  427. help
  428. This enables Zstandard decompression library.
  429. config SPL_LZ4
  430. bool "Enable LZ4 decompression support in SPL"
  431. help
  432. This enables support for the LZ4 decompression algorithm in SPL. LZ4
  433. is a lossless data compression algorithm that is focused on
  434. fast compression and decompression speed. It belongs to the LZ77
  435. family of byte-oriented compression schemes.
  436. config SPL_LZMA
  437. bool "Enable LZMA decompression support for SPL build"
  438. help
  439. This enables support for LZMA compression algorithm for SPL boot.
  440. config SPL_LZO
  441. bool "Enable LZO decompression support in SPL"
  442. help
  443. This enables support for LZO compression algorithm in the SPL.
  444. config SPL_GZIP
  445. bool "Enable gzip decompression support for SPL build"
  446. select SPL_ZLIB
  447. help
  448. This enables support for GZIP compression altorithm for SPL boot.
  449. config SPL_ZLIB
  450. bool
  451. help
  452. This enables compression lib for SPL boot.
  453. config SPL_ZSTD
  454. bool "Enable Zstandard decompression support in SPL"
  455. select XXHASH
  456. help
  457. This enables Zstandard decompression library in the SPL.
  458. endmenu
  459. config ERRNO_STR
  460. bool "Enable function for getting errno-related string message"
  461. help
  462. The function errno_str(int errno), returns a pointer to the errno
  463. corresponding text message:
  464. - if errno is null or positive number - a pointer to "Success" message
  465. - if errno is negative - a pointer to errno related message
  466. config HEXDUMP
  467. bool "Enable hexdump"
  468. help
  469. This enables functions for printing dumps of binary data.
  470. config SPL_HEXDUMP
  471. bool "Enable hexdump in SPL"
  472. depends on SPL && HEXDUMP
  473. help
  474. This enables functions for printing dumps of binary data in
  475. SPL.
  476. config GETOPT
  477. bool "Enable getopt"
  478. help
  479. This enables functions for parsing command-line options.
  480. config OF_LIBFDT
  481. bool "Enable the FDT library"
  482. default y if OF_CONTROL
  483. help
  484. This enables the FDT library (libfdt). It provides functions for
  485. accessing binary device tree images in memory, such as adding and
  486. removing nodes and properties, scanning through the tree and finding
  487. particular compatible nodes. The library operates on a flattened
  488. version of the device tree.
  489. config OF_LIBFDT_ASSUME_MASK
  490. hex "Mask of conditions to assume for libfdt"
  491. depends on OF_LIBFDT || FIT
  492. default 0
  493. help
  494. Use this to change the assumptions made by libfdt about the
  495. device tree it is working with. A value of 0 means that no assumptions
  496. are made, and libfdt is able to deal with malicious data. A value of
  497. 0xff means all assumptions are made and any invalid data may cause
  498. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  499. config OF_LIBFDT_OVERLAY
  500. bool "Enable the FDT library overlay support"
  501. depends on OF_LIBFDT
  502. default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE
  503. help
  504. This enables the FDT library (libfdt) overlay support.
  505. config SPL_OF_LIBFDT
  506. bool "Enable the FDT library for SPL"
  507. default y if SPL_OF_CONTROL
  508. help
  509. This enables the FDT library (libfdt). It provides functions for
  510. accessing binary device tree images in memory, such as adding and
  511. removing nodes and properties, scanning through the tree and finding
  512. particular compatible nodes. The library operates on a flattened
  513. version of the device tree.
  514. config SPL_OF_LIBFDT_ASSUME_MASK
  515. hex "Mask of conditions to assume for libfdt"
  516. depends on SPL_OF_LIBFDT || FIT
  517. default 0xff
  518. help
  519. Use this to change the assumptions made by libfdt in SPL about the
  520. device tree it is working with. A value of 0 means that no assumptions
  521. are made, and libfdt is able to deal with malicious data. A value of
  522. 0xff means all assumptions are made and any invalid data may cause
  523. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  524. config TPL_OF_LIBFDT
  525. bool "Enable the FDT library for TPL"
  526. default y if TPL_OF_CONTROL
  527. help
  528. This enables the FDT library (libfdt). It provides functions for
  529. accessing binary device tree images in memory, such as adding and
  530. removing nodes and properties, scanning through the tree and finding
  531. particular compatible nodes. The library operates on a flattened
  532. version of the device tree.
  533. config TPL_OF_LIBFDT_ASSUME_MASK
  534. hex "Mask of conditions to assume for libfdt"
  535. depends on TPL_OF_LIBFDT || FIT
  536. default 0xff
  537. help
  538. Use this to change the assumptions made by libfdt in TPL about the
  539. device tree it is working with. A value of 0 means that no assumptions
  540. are made, and libfdt is able to deal with malicious data. A value of
  541. 0xff means all assumptions are made and any invalid data may cause
  542. unsafe execution. See FDT_ASSUME_PERFECT, etc. in libfdt_internal.h
  543. config FDT_FIXUP_PARTITIONS
  544. bool "overwrite MTD partitions in DTS through defined in 'mtdparts'"
  545. depends on OF_LIBFDT
  546. depends on CMD_MTDPARTS
  547. help
  548. Allow overwriting defined partitions in the device tree blob
  549. using partition info defined in the 'mtdparts' environment
  550. variable.
  551. menu "System tables"
  552. depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER)
  553. config BLOBLIST_TABLES
  554. bool "Put tables in a bloblist"
  555. depends on X86 && BLOBLIST
  556. help
  557. Normally tables are placed at address 0xf0000 and can be up to 64KB
  558. long. With this option, tables are instead placed in the bloblist
  559. with a pointer from 0xf0000. The size can then be larger and the
  560. tables can be placed high in memory.
  561. config GENERATE_SMBIOS_TABLE
  562. bool "Generate an SMBIOS (System Management BIOS) table"
  563. default y
  564. depends on X86 || EFI_LOADER
  565. help
  566. The System Management BIOS (SMBIOS) specification addresses how
  567. motherboard and system vendors present management information about
  568. their products in a standard format by extending the BIOS interface
  569. on Intel architecture systems.
  570. Check http://www.dmtf.org/standards/smbios for details.
  571. See also SMBIOS_SYSINFO which allows SMBIOS values to be provided in
  572. the devicetree.
  573. config LIB_RATIONAL
  574. bool "enable continued fraction calculation routines"
  575. config SPL_LIB_RATIONAL
  576. bool "enable continued fraction calculation routines for SPL"
  577. depends on SPL
  578. endmenu
  579. config ASN1_COMPILER
  580. bool
  581. config ASN1_DECODER
  582. bool
  583. help
  584. Enable asn1 decoder library.
  585. config OID_REGISTRY
  586. bool
  587. help
  588. Enable fast lookup object identifier registry.
  589. config SMBIOS_PARSER
  590. bool "SMBIOS parser"
  591. help
  592. A simple parser for SMBIOS data.
  593. source lib/efi/Kconfig
  594. source lib/efi_loader/Kconfig
  595. source lib/optee/Kconfig
  596. config TEST_FDTDEC
  597. bool "enable fdtdec test"
  598. depends on OF_LIBFDT
  599. config LIB_DATE
  600. bool
  601. config LIB_ELF
  602. bool
  603. help
  604. Support basic elf loading/validating functions.
  605. This supports for 32 bit and 64 bit versions.
  606. config LMB
  607. bool "Enable the logical memory blocks library (lmb)"
  608. default y if ARC || ARM || M68K || MICROBLAZE || MIPS || NDS32 || \
  609. NIOS2 || PPC || RISCV || SANDBOX || SH || X86 || XTENSA
  610. help
  611. Support the library logical memory blocks.
  612. config LMB_USE_MAX_REGIONS
  613. bool "Use a commun number of memory and reserved regions in lmb lib"
  614. depends on LMB
  615. default y
  616. help
  617. Define the number of supported memory regions in the library logical
  618. memory blocks.
  619. This feature allow to reduce the lmb library size by using compiler
  620. optimization when LMB_MEMORY_REGIONS == LMB_RESERVED_REGIONS.
  621. config LMB_MAX_REGIONS
  622. int "Number of memory and reserved regions in lmb lib"
  623. depends on LMB && LMB_USE_MAX_REGIONS
  624. default 8
  625. help
  626. Define the number of supported regions, memory and reserved, in the
  627. library logical memory blocks.
  628. config LMB_MEMORY_REGIONS
  629. int "Number of memory regions in lmb lib"
  630. depends on LMB && !LMB_USE_MAX_REGIONS
  631. default 8
  632. help
  633. Define the number of supported memory regions in the library logical
  634. memory blocks.
  635. The minimal value is CONFIG_NR_DRAM_BANKS.
  636. config LMB_RESERVED_REGIONS
  637. int "Number of reserved regions in lmb lib"
  638. depends on LMB && !LMB_USE_MAX_REGIONS
  639. default 8
  640. help
  641. Define the number of supported reserved regions in the library logical
  642. memory blocks.
  643. endmenu
  644. config PHANDLE_CHECK_SEQ
  645. bool "Enable phandle check while getting sequence number"
  646. default n
  647. help
  648. When there are multiple device tree nodes with same name,
  649. enable this config option to distinguish them using
  650. phandles in fdtdec_get_alias_seq() function.