Kconfig 23 KB

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