Kconfig 23 KB

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