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 1791b86e21SMarek Vasut default y if HAVE_PRIVATE_LIBGCC && ((ARM && !ARM64) || MIPS) 1845ccec8fSMasahiro Yamada help 1945ccec8fSMasahiro Yamada This option allows you to use the built-in libgcc implementation 2067976306SMasahiro Yamada of U-Boot instead of the one provided by the compiler. 2145ccec8fSMasahiro Yamada If unsure, say N. 2245ccec8fSMasahiro Yamada 238c688bc4SMasahiro Yamadaconfig SYS_HZ 248c688bc4SMasahiro Yamada int 258c688bc4SMasahiro Yamada default 1000 268c688bc4SMasahiro Yamada help 278c688bc4SMasahiro Yamada The frequency of the timer returned by get_timer(). 288c688bc4SMasahiro Yamada get_timer() must operate in milliseconds and this option must be 298c688bc4SMasahiro Yamada set to 1000. 308c688bc4SMasahiro Yamada 317d9cde10SStefan Roeseconfig USE_TINY_PRINTF 327d9cde10SStefan Roese bool "Enable tiny printf() version" 337d9cde10SStefan Roese help 347d9cde10SStefan Roese This option enables a tiny, stripped down printf version. 357d9cde10SStefan Roese This should only be used in space limited environments, 367d9cde10SStefan Roese like SPL versions with hard memory limits. This version 377d9cde10SStefan Roese reduces the code size by about 2.5KiB on armv7. 387d9cde10SStefan Roese 397d9cde10SStefan Roese The supported format specifiers are %c, %s, %u/%d and %x. 407d9cde10SStefan Roese 411a60650cSJoe Hershbergerconfig REGEX 421a60650cSJoe Hershberger bool "Enable regular expression support" 43f7848d90SJoe Hershberger default y if NET 441a60650cSJoe Hershberger help 451a60650cSJoe Hershberger If this variable is defined, U-Boot is linked against the 461a60650cSJoe Hershberger SLRE (Super Light Regular Expression) library, which adds 471a60650cSJoe Hershberger regex support to some commands, for example "env grep" and 481a60650cSJoe Hershberger "setexpr". 491a60650cSJoe Hershberger 509ba9e85fSMichal Simekconfig LIB_RAND 513850dbe8SMasahiro Yamada bool "Pseudo-random library support " 523850dbe8SMasahiro Yamada help 533850dbe8SMasahiro Yamada This library provides pseudo-random number generator functions. 549ba9e85fSMichal Simek 55ab4458bdSSimon Glassconfig SPL_TINY_MEMSET 56ab4458bdSSimon Glass bool "Use a very small memset() in SPL" 57ab4458bdSSimon Glass help 58ab4458bdSSimon Glass The faster memset() is the arch-specific one (if available) enabled 59ab4458bdSSimon Glass by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get 60ab4458bdSSimon Glass better performance by writing a word at a time. But in very 61ab4458bdSSimon Glass size-constrained envrionments even this may be too big. Enable this 62ab4458bdSSimon Glass option to reduce code size slightly at the cost of some speed. 63ab4458bdSSimon Glass 64aa049152SBoris Brezillonconfig RBTREE 65aa049152SBoris Brezillon bool 66aa049152SBoris Brezillon 67d1389403SSimon Glasssource lib/dhry/Kconfig 68d1389403SSimon Glass 69*b1a873dfSSimon Glassmenu "Security support" 70*b1a873dfSSimon Glass 71*b1a873dfSSimon Glassconfig AES 72*b1a873dfSSimon Glass bool "Support the AES algorithm" 73*b1a873dfSSimon Glass help 74*b1a873dfSSimon Glass This provides a means to encrypt and decrypt data using the AES 75*b1a873dfSSimon Glass (Advanced Encryption Standard). This algorithm uses a symetric key 76*b1a873dfSSimon Glass and is widely used as a streaming cipher. Different key lengths are 77*b1a873dfSSimon Glass supported by the algorithm but only a 128-bit key is supported at 78*b1a873dfSSimon Glass present. 79*b1a873dfSSimon Glass 80d9f23c7fSRuchika Guptasource lib/rsa/Kconfig 81c4beb22fSRuchika Gupta 82a7d660bcSSimon Glassconfig TPM 83a7d660bcSSimon Glass bool "Trusted Platform Module (TPM) Support" 842419cd16SSimon Glass depends on DM 85a7d660bcSSimon Glass help 86a7d660bcSSimon Glass This enables support for TPMs which can be used to provide security 87a7d660bcSSimon Glass features for your board. The TPM can be connected via LPC or I2C 88a7d660bcSSimon Glass and a sandbox TPM is provided for testing purposes. Use the 'tpm' 89a7d660bcSSimon Glass command to interactive the TPM. Driver model support is provided 90a7d660bcSSimon Glass for the low-level TPM interface, but only one TPM is supported at 91a7d660bcSSimon Glass a time by the TPM library. 92a7d660bcSSimon Glass 93*b1a873dfSSimon Glassendmenu 94*b1a873dfSSimon Glass 9594e3c8c4Sgaurav ranamenu "Hashing Support" 9694e3c8c4Sgaurav rana 9794e3c8c4Sgaurav ranaconfig SHA1 9894e3c8c4Sgaurav rana bool "Enable SHA1 support" 9994e3c8c4Sgaurav rana help 10094e3c8c4Sgaurav rana This option enables support of hashing using SHA1 algorithm. 10194e3c8c4Sgaurav rana The hash is calculated in software. 10294e3c8c4Sgaurav rana The SHA1 algorithm produces a 160-bit (20-byte) hash value 10394e3c8c4Sgaurav rana (digest). 10494e3c8c4Sgaurav rana 10594e3c8c4Sgaurav ranaconfig SHA256 10694e3c8c4Sgaurav rana bool "Enable SHA256 support" 10794e3c8c4Sgaurav rana help 10894e3c8c4Sgaurav rana This option enables support of hashing using SHA256 algorithm. 10994e3c8c4Sgaurav rana The hash is calculated in software. 11094e3c8c4Sgaurav rana The SHA256 algorithm produces a 256-bit (32-byte) hash value 11194e3c8c4Sgaurav rana (digest). 11294e3c8c4Sgaurav rana 11394e3c8c4Sgaurav ranaconfig SHA_HW_ACCEL 11494e3c8c4Sgaurav rana bool "Enable hashing using hardware" 11594e3c8c4Sgaurav rana help 11694e3c8c4Sgaurav rana This option enables hardware acceleration 11794e3c8c4Sgaurav rana for SHA1/SHA256 hashing. 11894e3c8c4Sgaurav rana This affects the 'hash' command and also the 11994e3c8c4Sgaurav rana hash_lookup_algo() function. 12094e3c8c4Sgaurav rana 12194e3c8c4Sgaurav ranaconfig SHA_PROG_HW_ACCEL 12294e3c8c4Sgaurav rana bool "Enable Progressive hashing support using hardware" 12394e3c8c4Sgaurav rana depends on SHA_HW_ACCEL 12494e3c8c4Sgaurav rana help 12594e3c8c4Sgaurav rana This option enables hardware-acceleration for 12694e3c8c4Sgaurav rana SHA1/SHA256 progressive hashing. 12794e3c8c4Sgaurav rana Data can be streamed in a block at a time and the hashing 12894e3c8c4Sgaurav rana is performed in hardware. 129bea79d7dSAndre Przywara 130bea79d7dSAndre Przywaraconfig MD5 131bea79d7dSAndre Przywara bool 132bea79d7dSAndre Przywara 13394e3c8c4Sgaurav ranaendmenu 13494e3c8c4Sgaurav rana 135027b728dSJulius Wernermenu "Compression Support" 136027b728dSJulius Werner 137027b728dSJulius Wernerconfig LZ4 138027b728dSJulius Werner bool "Enable LZ4 decompression support" 139027b728dSJulius Werner help 140027b728dSJulius Werner If this option is set, support for LZ4 compressed images 141027b728dSJulius Werner is included. The LZ4 algorithm can run in-place as long as the 142027b728dSJulius Werner compressed image is loaded to the end of the output buffer, and 143027b728dSJulius Werner trades lower compression ratios for much faster decompression. 144027b728dSJulius Werner 145027b728dSJulius Werner NOTE: This implements the release version of the LZ4 frame 146027b728dSJulius Werner format as generated by default by the 'lz4' command line tool. 147027b728dSJulius Werner This is not the same as the outdated, less efficient legacy 148027b728dSJulius Werner frame format currently (2015) implemented in the Linux kernel 149027b728dSJulius Werner (generated by 'lz4 -l'). The two formats are incompatible. 150027b728dSJulius Werner 151173aafbfSBoris Brezillonconfig LZO 152173aafbfSBoris Brezillon bool 153027b728dSJulius Wernerendmenu 154027b728dSJulius Werner 1556501ff62SPrzemyslaw Marczakconfig ERRNO_STR 1566501ff62SPrzemyslaw Marczak bool "Enable function for getting errno-related string message" 1576501ff62SPrzemyslaw Marczak help 1586501ff62SPrzemyslaw Marczak The function errno_str(int errno), returns a pointer to the errno 1596501ff62SPrzemyslaw Marczak corresponding text message: 1606501ff62SPrzemyslaw Marczak - if errno is null or positive number - a pointer to "Success" message 1616501ff62SPrzemyslaw Marczak - if errno is negative - a pointer to errno related message 1626501ff62SPrzemyslaw Marczak 16369e173ebSSimon Glassconfig OF_LIBFDT 16469e173ebSSimon Glass bool "Enable the FDT library" 16569e173ebSSimon Glass default y if OF_CONTROL 16669e173ebSSimon Glass help 16769e173ebSSimon Glass This enables the FDT library (libfdt). It provides functions for 16869e173ebSSimon Glass accessing binary device tree images in memory, such as adding and 16969e173ebSSimon Glass removing notes and properties, scanning through the tree and finding 17069e173ebSSimon Glass particular compatible nodes. The library operates on a flattened 17169e173ebSSimon Glass version of the device tree. 17269e173ebSSimon Glass 173ddf67f71SMaxime Ripardconfig OF_LIBFDT_OVERLAY 174ddf67f71SMaxime Ripard bool "Enable the FDT library overlay support" 175ddf67f71SMaxime Ripard help 176ddf67f71SMaxime Ripard This enables the FDT library (libfdt) overlay support. 177ddf67f71SMaxime Ripard 178aa34fbc0SSimon Glassconfig SPL_OF_LIBFDT 179aa34fbc0SSimon Glass bool "Enable the FDT library for SPL" 180aa34fbc0SSimon Glass default y if SPL_OF_CONTROL 181aa34fbc0SSimon Glass help 182aa34fbc0SSimon Glass This enables the FDT library (libfdt). It provides functions for 183aa34fbc0SSimon Glass accessing binary device tree images in memory, such as adding and 184aa34fbc0SSimon Glass removing notes and properties, scanning through the tree and finding 185aa34fbc0SSimon Glass particular compatible nodes. The library operates on a flattened 186aa34fbc0SSimon Glass version of the device tree. 187aa34fbc0SSimon Glass 188ebf7fff2SHeiko Schocherconfig FDT_FIXUP_PARTITIONS 189ebf7fff2SHeiko Schocher bool "overwrite MTD partitions in DTS through defined in 'mtdparts'" 190ebf7fff2SHeiko Schocher depends on OF_LIBFDT 191ebf7fff2SHeiko Schocher default n 192ebf7fff2SHeiko Schocher help 193ebf7fff2SHeiko Schocher Allow overwriting defined partitions in the device tree blob 194ebf7fff2SHeiko Schocher using partition info defined in the 'mtdparts' environment 195ebf7fff2SHeiko Schocher variable. 196ebf7fff2SHeiko Schocher 1974b6dddc2SAlexander Grafmenu "System tables" 198e663b350SAlexander Graf depends on (!EFI && !SYS_COREBOOT) || (ARM && EFI_LOADER) 1994b6dddc2SAlexander Graf 2004b6dddc2SAlexander Grafconfig GENERATE_SMBIOS_TABLE 2014b6dddc2SAlexander Graf bool "Generate an SMBIOS (System Management BIOS) table" 2024b6dddc2SAlexander Graf default y 203e663b350SAlexander Graf depends on X86 || EFI_LOADER 2044b6dddc2SAlexander Graf help 2054b6dddc2SAlexander Graf The System Management BIOS (SMBIOS) specification addresses how 2064b6dddc2SAlexander Graf motherboard and system vendors present management information about 2074b6dddc2SAlexander Graf their products in a standard format by extending the BIOS interface 2084b6dddc2SAlexander Graf on Intel architecture systems. 2094b6dddc2SAlexander Graf 2104b6dddc2SAlexander Graf Check http://www.dmtf.org/standards/smbios for details. 2114b6dddc2SAlexander Graf 2124b6dddc2SAlexander Grafconfig SMBIOS_MANUFACTURER 2134b6dddc2SAlexander Graf string "SMBIOS Manufacturer" 2144b6dddc2SAlexander Graf depends on GENERATE_SMBIOS_TABLE 2154b6dddc2SAlexander Graf default SYS_VENDOR 2164b6dddc2SAlexander Graf help 2174b6dddc2SAlexander Graf The board manufacturer to store in SMBIOS structures. 2184b6dddc2SAlexander Graf Change this to override the default one (CONFIG_SYS_VENDOR). 2194b6dddc2SAlexander Graf 2204b6dddc2SAlexander Grafconfig SMBIOS_PRODUCT_NAME 2214b6dddc2SAlexander Graf string "SMBIOS Product Name" 2224b6dddc2SAlexander Graf depends on GENERATE_SMBIOS_TABLE 2234b6dddc2SAlexander Graf default SYS_BOARD 2244b6dddc2SAlexander Graf help 2254b6dddc2SAlexander Graf The product name to store in SMBIOS structures. 2264b6dddc2SAlexander Graf Change this to override the default one (CONFIG_SYS_BOARD). 2274b6dddc2SAlexander Graf 2284b6dddc2SAlexander Grafendmenu 2294b6dddc2SAlexander Graf 230867a6ac8SSimon Glasssource lib/efi/Kconfig 231ed980b8cSAlexander Grafsource lib/efi_loader/Kconfig 232867a6ac8SSimon Glass 233ed36323fSMasahiro Yamadaendmenu 234