1ed36323fSMasahiro Yamadamenu "Library routines" 2ed36323fSMasahiro Yamada 3b0928da6SMasahiro Yamadaconfig CC_OPTIMIZE_LIBS_FOR_SPEED 4b0928da6SMasahiro Yamada bool "Optimize libraries for speed" 5b0928da6SMasahiro Yamada help 6b0928da6SMasahiro Yamada Enabling this option will pass "-O2" to gcc when compiling 7b0928da6SMasahiro Yamada under "lib" directory. 8b0928da6SMasahiro Yamada 9b0928da6SMasahiro Yamada If unsure, say N. 10b0928da6SMasahiro Yamada 1145ccec8fSMasahiro Yamadaconfig HAVE_PRIVATE_LIBGCC 1245ccec8fSMasahiro Yamada bool 1345ccec8fSMasahiro Yamada 1445ccec8fSMasahiro Yamadaconfig USE_PRIVATE_LIBGCC 1545ccec8fSMasahiro Yamada bool "Use private libgcc" 1645ccec8fSMasahiro Yamada depends on HAVE_PRIVATE_LIBGCC 1745ccec8fSMasahiro Yamada help 1845ccec8fSMasahiro Yamada This option allows you to use the built-in libgcc implementation 19*67976306SMasahiro Yamada of U-Boot instead of the one provided by the compiler. 2045ccec8fSMasahiro Yamada If unsure, say N. 2145ccec8fSMasahiro Yamada 228c688bc4SMasahiro Yamadaconfig SYS_HZ 238c688bc4SMasahiro Yamada int 248c688bc4SMasahiro Yamada default 1000 258c688bc4SMasahiro Yamada help 268c688bc4SMasahiro Yamada The frequency of the timer returned by get_timer(). 278c688bc4SMasahiro Yamada get_timer() must operate in milliseconds and this option must be 288c688bc4SMasahiro Yamada set to 1000. 298c688bc4SMasahiro Yamada 307d9cde10SStefan Roeseconfig USE_TINY_PRINTF 317d9cde10SStefan Roese bool "Enable tiny printf() version" 327d9cde10SStefan Roese help 337d9cde10SStefan Roese This option enables a tiny, stripped down printf version. 347d9cde10SStefan Roese This should only be used in space limited environments, 357d9cde10SStefan Roese like SPL versions with hard memory limits. This version 367d9cde10SStefan Roese reduces the code size by about 2.5KiB on armv7. 377d9cde10SStefan Roese 387d9cde10SStefan Roese The supported format specifiers are %c, %s, %u/%d and %x. 397d9cde10SStefan Roese 401a60650cSJoe Hershbergerconfig REGEX 411a60650cSJoe Hershberger bool "Enable regular expression support" 42f7848d90SJoe Hershberger default y if NET 431a60650cSJoe Hershberger help 441a60650cSJoe Hershberger If this variable is defined, U-Boot is linked against the 451a60650cSJoe Hershberger SLRE (Super Light Regular Expression) library, which adds 461a60650cSJoe Hershberger regex support to some commands, for example "env grep" and 471a60650cSJoe Hershberger "setexpr". 481a60650cSJoe Hershberger 499ba9e85fSMichal Simekconfig LIB_RAND 503850dbe8SMasahiro Yamada bool "Pseudo-random library support " 513850dbe8SMasahiro Yamada help 523850dbe8SMasahiro Yamada This library provides pseudo-random number generator functions. 539ba9e85fSMichal Simek 54d1389403SSimon Glasssource lib/dhry/Kconfig 55d1389403SSimon Glass 56d9f23c7fSRuchika Guptasource lib/rsa/Kconfig 57c4beb22fSRuchika Gupta 58a7d660bcSSimon Glassconfig TPM 59a7d660bcSSimon Glass bool "Trusted Platform Module (TPM) Support" 602419cd16SSimon Glass depends on DM 61a7d660bcSSimon Glass help 62a7d660bcSSimon Glass This enables support for TPMs which can be used to provide security 63a7d660bcSSimon Glass features for your board. The TPM can be connected via LPC or I2C 64a7d660bcSSimon Glass and a sandbox TPM is provided for testing purposes. Use the 'tpm' 65a7d660bcSSimon Glass command to interactive the TPM. Driver model support is provided 66a7d660bcSSimon Glass for the low-level TPM interface, but only one TPM is supported at 67a7d660bcSSimon Glass a time by the TPM library. 68a7d660bcSSimon Glass 6994e3c8c4Sgaurav ranamenu "Hashing Support" 7094e3c8c4Sgaurav rana 7194e3c8c4Sgaurav ranaconfig SHA1 7294e3c8c4Sgaurav rana bool "Enable SHA1 support" 7394e3c8c4Sgaurav rana help 7494e3c8c4Sgaurav rana This option enables support of hashing using SHA1 algorithm. 7594e3c8c4Sgaurav rana The hash is calculated in software. 7694e3c8c4Sgaurav rana The SHA1 algorithm produces a 160-bit (20-byte) hash value 7794e3c8c4Sgaurav rana (digest). 7894e3c8c4Sgaurav rana 7994e3c8c4Sgaurav ranaconfig SHA256 8094e3c8c4Sgaurav rana bool "Enable SHA256 support" 8194e3c8c4Sgaurav rana help 8294e3c8c4Sgaurav rana This option enables support of hashing using SHA256 algorithm. 8394e3c8c4Sgaurav rana The hash is calculated in software. 8494e3c8c4Sgaurav rana The SHA256 algorithm produces a 256-bit (32-byte) hash value 8594e3c8c4Sgaurav rana (digest). 8694e3c8c4Sgaurav rana 8794e3c8c4Sgaurav ranaconfig SHA_HW_ACCEL 8894e3c8c4Sgaurav rana bool "Enable hashing using hardware" 8994e3c8c4Sgaurav rana help 9094e3c8c4Sgaurav rana This option enables hardware acceleration 9194e3c8c4Sgaurav rana for SHA1/SHA256 hashing. 9294e3c8c4Sgaurav rana This affects the 'hash' command and also the 9394e3c8c4Sgaurav rana hash_lookup_algo() function. 9494e3c8c4Sgaurav rana 9594e3c8c4Sgaurav ranaconfig SHA_PROG_HW_ACCEL 9694e3c8c4Sgaurav rana bool "Enable Progressive hashing support using hardware" 9794e3c8c4Sgaurav rana depends on SHA_HW_ACCEL 9894e3c8c4Sgaurav rana help 9994e3c8c4Sgaurav rana This option enables hardware-acceleration for 10094e3c8c4Sgaurav rana SHA1/SHA256 progressive hashing. 10194e3c8c4Sgaurav rana Data can be streamed in a block at a time and the hashing 10294e3c8c4Sgaurav rana is performed in hardware. 10394e3c8c4Sgaurav ranaendmenu 10494e3c8c4Sgaurav rana 105027b728dSJulius Wernermenu "Compression Support" 106027b728dSJulius Werner 107027b728dSJulius Wernerconfig LZ4 108027b728dSJulius Werner bool "Enable LZ4 decompression support" 109027b728dSJulius Werner help 110027b728dSJulius Werner If this option is set, support for LZ4 compressed images 111027b728dSJulius Werner is included. The LZ4 algorithm can run in-place as long as the 112027b728dSJulius Werner compressed image is loaded to the end of the output buffer, and 113027b728dSJulius Werner trades lower compression ratios for much faster decompression. 114027b728dSJulius Werner 115027b728dSJulius Werner NOTE: This implements the release version of the LZ4 frame 116027b728dSJulius Werner format as generated by default by the 'lz4' command line tool. 117027b728dSJulius Werner This is not the same as the outdated, less efficient legacy 118027b728dSJulius Werner frame format currently (2015) implemented in the Linux kernel 119027b728dSJulius Werner (generated by 'lz4 -l'). The two formats are incompatible. 120027b728dSJulius Werner 121027b728dSJulius Wernerendmenu 122027b728dSJulius Werner 1236501ff62SPrzemyslaw Marczakconfig ERRNO_STR 1246501ff62SPrzemyslaw Marczak bool "Enable function for getting errno-related string message" 1256501ff62SPrzemyslaw Marczak help 1266501ff62SPrzemyslaw Marczak The function errno_str(int errno), returns a pointer to the errno 1276501ff62SPrzemyslaw Marczak corresponding text message: 1286501ff62SPrzemyslaw Marczak - if errno is null or positive number - a pointer to "Success" message 1296501ff62SPrzemyslaw Marczak - if errno is negative - a pointer to errno related message 1306501ff62SPrzemyslaw Marczak 13169e173ebSSimon Glassconfig OF_LIBFDT 13269e173ebSSimon Glass bool "Enable the FDT library" 13369e173ebSSimon Glass default y if OF_CONTROL 13469e173ebSSimon Glass help 13569e173ebSSimon Glass This enables the FDT library (libfdt). It provides functions for 13669e173ebSSimon Glass accessing binary device tree images in memory, such as adding and 13769e173ebSSimon Glass removing notes and properties, scanning through the tree and finding 13869e173ebSSimon Glass particular compatible nodes. The library operates on a flattened 13969e173ebSSimon Glass version of the device tree. 14069e173ebSSimon Glass 141aa34fbc0SSimon Glassconfig SPL_OF_LIBFDT 142aa34fbc0SSimon Glass bool "Enable the FDT library for SPL" 143aa34fbc0SSimon Glass default y if SPL_OF_CONTROL 144aa34fbc0SSimon Glass help 145aa34fbc0SSimon Glass This enables the FDT library (libfdt). It provides functions for 146aa34fbc0SSimon Glass accessing binary device tree images in memory, such as adding and 147aa34fbc0SSimon Glass removing notes and properties, scanning through the tree and finding 148aa34fbc0SSimon Glass particular compatible nodes. The library operates on a flattened 149aa34fbc0SSimon Glass version of the device tree. 150aa34fbc0SSimon Glass 151867a6ac8SSimon Glasssource lib/efi/Kconfig 152ed980b8cSAlexander Grafsource lib/efi_loader/Kconfig 153867a6ac8SSimon Glass 154ed36323fSMasahiro Yamadaendmenu 155