1 51631259SMasahiro Yamada# 2 51631259SMasahiro Yamada# For a description of the syntax of this configuration file, 3 59d7c34bSRobert P. J. Day# see the file Documentation/kbuild/kconfig-language.txt in the 4 59d7c34bSRobert P. J. Day# Linux kernel source tree. 5 51631259SMasahiro Yamada# 6 51631259SMasahiro Yamadamainmenu "U-Boot $UBOOTVERSION Configuration" 7 51631259SMasahiro Yamada 8 51631259SMasahiro Yamadaconfig UBOOTVERSION 9 51631259SMasahiro Yamada string 10 51631259SMasahiro Yamada option env="UBOOTVERSION" 11 51631259SMasahiro Yamada 12 66afaef2SSimon Glass# Allow defaults in arch-specific code to override any given here 13 66afaef2SSimon Glasssource "arch/Kconfig" 14 66afaef2SSimon Glass 15 51631259SMasahiro Yamadamenu "General setup" 16 51631259SMasahiro Yamada 17 4c7a2110SHeinrich Schuchardtconfig BROKEN 18 4c7a2110SHeinrich Schuchardt bool 19 4c7a2110SHeinrich Schuchardt help 20 4c7a2110SHeinrich Schuchardt This option cannot be enabled. It is used as dependency 21 4c7a2110SHeinrich Schuchardt for broken and incomplete features. 22 4c7a2110SHeinrich Schuchardt 23 e91c3c33SMasahiro Yamadaconfig LOCALVERSION 24 e91c3c33SMasahiro Yamada string "Local version - append to U-Boot release" 25 e91c3c33SMasahiro Yamada help 26 e91c3c33SMasahiro Yamada Append an extra string to the end of your U-Boot version. 27 59d7c34bSRobert P. J. Day This will show up in your boot log, for example. 28 e91c3c33SMasahiro Yamada The string you set here will be appended after the contents of 29 e91c3c33SMasahiro Yamada any files with a filename matching localversion* in your 30 e91c3c33SMasahiro Yamada object and source tree, in that order. Your total string can 31 e91c3c33SMasahiro Yamada be a maximum of 64 characters. 32 e91c3c33SMasahiro Yamada 33 e91c3c33SMasahiro Yamadaconfig LOCALVERSION_AUTO 34 e91c3c33SMasahiro Yamada bool "Automatically append version information to the version string" 35 e91c3c33SMasahiro Yamada default y 36 e91c3c33SMasahiro Yamada help 37 e91c3c33SMasahiro Yamada This will try to automatically determine if the current tree is a 38 59d7c34bSRobert P. J. Day release tree by looking for Git tags that belong to the current 39 e91c3c33SMasahiro Yamada top of tree revision. 40 e91c3c33SMasahiro Yamada 41 e91c3c33SMasahiro Yamada A string of the format -gxxxxxxxx will be added to the localversion 42 59d7c34bSRobert P. J. Day if a Git-based tree is found. The string generated by this will be 43 e91c3c33SMasahiro Yamada appended after any matching localversion* files, and after the value 44 e91c3c33SMasahiro Yamada set in CONFIG_LOCALVERSION. 45 e91c3c33SMasahiro Yamada 46 e91c3c33SMasahiro Yamada (The actual string used here is the first eight characters produced 47 e91c3c33SMasahiro Yamada by running the command: 48 e91c3c33SMasahiro Yamada 49 e91c3c33SMasahiro Yamada $ git rev-parse --verify HEAD 50 e91c3c33SMasahiro Yamada 51 e91c3c33SMasahiro Yamada which is done within the script "scripts/setlocalversion".) 52 e91c3c33SMasahiro Yamada 53 4a8ed8e2SMasahiro Yamadaconfig CC_OPTIMIZE_FOR_SIZE 54 4a8ed8e2SMasahiro Yamada bool "Optimize for size" 55 4a8ed8e2SMasahiro Yamada default y 56 4a8ed8e2SMasahiro Yamada help 57 4a8ed8e2SMasahiro Yamada Enabling this option will pass "-Os" instead of "-O2" to gcc 58 4a8ed8e2SMasahiro Yamada resulting in a smaller U-Boot image. 59 4a8ed8e2SMasahiro Yamada 60 4a8ed8e2SMasahiro Yamada This option is enabled by default for U-Boot. 61 4a8ed8e2SMasahiro Yamada 62 52ff8020SChristian Gmeinerconfig CC_COVERAGE 63 52ff8020SChristian Gmeiner bool "Enable code coverage analysis" 64 52ff8020SChristian Gmeiner depends on SANDBOX 65 52ff8020SChristian Gmeiner help 66 52ff8020SChristian Gmeiner Enabling this option will pass "--coverage" to gcc to compile 67 52ff8020SChristian Gmeiner and link code instrumented for coverage analysis. 68 52ff8020SChristian Gmeiner 69 9f823615SHans de Goedeconfig DISTRO_DEFAULTS 70 9f823615SHans de Goede bool "Select defaults suitable for booting general purpose Linux distributions" 71 b6251db8STom Rini imply USE_BOOTCOMMAND 72 a391d500STom Rini select CMD_BOOTZ if ARM && !ARM64 73 26959271SMasahiro Yamada select CMD_BOOTI if ARM64 74 ba628855SJoe Hershberger select CMD_DHCP if CMD_NET 75 ba628855SJoe Hershberger select CMD_PING if CMD_NET 76 092f2f35SJoe Hershberger select CMD_PXE if NET 77 c4f66832SMasahiro Yamada select CMD_ENV_EXISTS 78 9f823615SHans de Goede select CMD_EXT2 79 9f823615SHans de Goede select CMD_EXT4 80 9f823615SHans de Goede select CMD_FAT 81 9f823615SHans de Goede select CMD_FS_GENERIC 82 3b3ea2c5SMichal Simek imply CMD_MII if NET 83 fa2c1467STom Rini select CMD_PART if PARTITIONS 84 9f823615SHans de Goede select HUSH_PARSER 85 d021e942SAdam Ford select CMDLINE_EDITING 86 d021e942SAdam Ford select AUTO_COMPLETE 87 d021e942SAdam Ford select SYS_LONGHELP 88 d021e942SAdam Ford select SUPPORT_RAW_INITRD 89 d021e942SAdam Ford select ENV_VARS_UBOOT_CONFIG 90 9f823615SHans de Goede help 91 9f823615SHans de Goede Select this to enable various options and commands which are suitable 92 9f823615SHans de Goede for building u-boot for booting general purpose Linux distributions. 93 9f823615SHans de Goede 94 d021e942SAdam Fordconfig ENV_VARS_UBOOT_CONFIG 95 d021e942SAdam Ford bool "Add arch, board, vendor and soc variables to default environment" 96 d021e942SAdam Ford help 97 d021e942SAdam Ford Define this in order to add variables describing the 98 d021e942SAdam Ford U-Boot build configuration to the default environment. 99 d021e942SAdam Ford These will be named arch, cpu, board, vendor, and soc. 100 d021e942SAdam Ford Enabling this option will cause the following to be defined: 101 d021e942SAdam Ford - CONFIG_SYS_ARCH 102 d021e942SAdam Ford - CONFIG_SYS_CPU 103 d021e942SAdam Ford - CONFIG_SYS_BOARD 104 d021e942SAdam Ford - CONFIG_SYS_VENDOR 105 d021e942SAdam Ford - CONFIG_SYS_SOC 106 d021e942SAdam Ford 107 405fc830SDerald D. Woodsconfig SYS_BOOT_GET_CMDLINE 108 405fc830SDerald D. Woods bool "Enable kernel command line setup" 109 405fc830SDerald D. Woods help 110 405fc830SDerald D. Woods Enables allocating and saving kernel cmdline in space between 111 405fc830SDerald D. Woods "bootm_low" and "bootm_low" + BOOTMAPSZ. 112 405fc830SDerald D. Woods 113 405fc830SDerald D. Woodsconfig SYS_BOOT_GET_KBD 114 405fc830SDerald D. Woods bool "Enable kernel board information setup" 115 405fc830SDerald D. Woods help 116 405fc830SDerald D. Woods Enables allocating and saving a kernel copy of the bd_info in 117 405fc830SDerald D. Woods space between "bootm_low" and "bootm_low" + BOOTMAPSZ. 118 405fc830SDerald D. Woods 119 b724bd7dSSimon Glassconfig SYS_MALLOC_F 120 b724bd7dSSimon Glass bool "Enable malloc() pool before relocation" 121 326a6823SMasahiro Yamada default y if DM 122 b724bd7dSSimon Glass help 123 59d7c34bSRobert P. J. Day Before relocation, memory is very limited on many platforms. Still, 124 b724bd7dSSimon Glass we can provide a small malloc() pool if needed. Driver model in 125 b724bd7dSSimon Glass particular needs this to operate, so that it can allocate the 126 b724bd7dSSimon Glass initial serial device and any others that are needed. 127 b724bd7dSSimon Glass 128 b724bd7dSSimon Glassconfig SYS_MALLOC_F_LEN 129 b724bd7dSSimon Glass hex "Size of malloc() pool before relocation" 130 b724bd7dSSimon Glass depends on SYS_MALLOC_F 131 90e407aeSSjoerd Simons default 0x1000 if AM33XX 132 b724bd7dSSimon Glass default 0x400 133 b724bd7dSSimon Glass help 134 59d7c34bSRobert P. J. Day Before relocation, memory is very limited on many platforms. Still, 135 b724bd7dSSimon Glass we can provide a small malloc() pool if needed. Driver model in 136 b724bd7dSSimon Glass particular needs this to operate, so that it can allocate the 137 b724bd7dSSimon Glass initial serial device and any others that are needed. 138 b724bd7dSSimon Glass 139 f1896c45SAndy Yanconfig SPL_SYS_MALLOC_F_LEN 140 ae2cee2eSPhilipp Tomsich hex "Size of malloc() pool in SPL before relocation" 141 ae2cee2eSPhilipp Tomsich depends on SYS_MALLOC_F 142 ae2cee2eSPhilipp Tomsich default SYS_MALLOC_F_LEN 143 ae2cee2eSPhilipp Tomsich help 144 ae2cee2eSPhilipp Tomsich Before relocation, memory is very limited on many platforms. Still, 145 ae2cee2eSPhilipp Tomsich we can provide a small malloc() pool if needed. Driver model in 146 ae2cee2eSPhilipp Tomsich particular needs this to operate, so that it can allocate the 147 ae2cee2eSPhilipp Tomsich initial serial device and any others that are needed. 148 ae2cee2eSPhilipp Tomsich 149 ae2cee2eSPhilipp Tomsichconfig TPL_SYS_MALLOC_F_LEN 150 ae2cee2eSPhilipp Tomsich hex "Size of malloc() pool in TPL before relocation" 151 f1896c45SAndy Yan depends on SYS_MALLOC_F 152 f1896c45SAndy Yan default SYS_MALLOC_F_LEN 153 f1896c45SAndy Yan help 154 f1896c45SAndy Yan Before relocation, memory is very limited on many platforms. Still, 155 f1896c45SAndy Yan we can provide a small malloc() pool if needed. Driver model in 156 f1896c45SAndy Yan particular needs this to operate, so that it can allocate the 157 f1896c45SAndy Yan initial serial device and any others that are needed. 158 f1896c45SAndy Yan 159 1bf0979fSTom Rinimenuconfig EXPERT 160 1bf0979fSTom Rini bool "Configure standard U-Boot features (expert users)" 161 0aa8a4adSPrzemyslaw Marczak default y 162 1bf0979fSTom Rini help 163 1bf0979fSTom Rini This option allows certain base U-Boot options and settings 164 1bf0979fSTom Rini to be disabled or tweaked. This is for specialized 165 1bf0979fSTom Rini environments which can tolerate a "non-standard" U-Boot. 166 59d7c34bSRobert P. J. Day Use this only if you really know what you are doing. 167 1bf0979fSTom Rini 168 0aa8a4adSPrzemyslaw Marczakif EXPERT 169 0aa8a4adSPrzemyslaw Marczak config SYS_MALLOC_CLEAR_ON_INIT 170 0aa8a4adSPrzemyslaw Marczak bool "Init with zeros the memory reserved for malloc (slow)" 171 0aa8a4adSPrzemyslaw Marczak default y 172 0aa8a4adSPrzemyslaw Marczak help 173 0aa8a4adSPrzemyslaw Marczak This setting is enabled by default. The reserved malloc 174 0aa8a4adSPrzemyslaw Marczak memory is initialized with zeros, so first malloc calls 175 0aa8a4adSPrzemyslaw Marczak will return the pointer to the zeroed memory. But this 176 0aa8a4adSPrzemyslaw Marczak slows the boot time. 177 0aa8a4adSPrzemyslaw Marczak 178 0aa8a4adSPrzemyslaw Marczak It is recommended to disable it, when CONFIG_SYS_MALLOC_LEN 179 0aa8a4adSPrzemyslaw Marczak value, has more than few MiB, e.g. when uses bzip2 or bmp logo. 180 0aa8a4adSPrzemyslaw Marczak Then the boot time can be significantly reduced. 181 0aa8a4adSPrzemyslaw Marczak Warning: 182 0aa8a4adSPrzemyslaw Marczak When disabling this, please check if malloc calls, maybe 183 59d7c34bSRobert P. J. Day should be replaced by calloc - if one expects zeroed memory. 184 022885cbSSimon Glass 185 022885cbSSimon Glassconfig TOOLS_DEBUG 186 022885cbSSimon Glass bool "Enable debug information for tools" 187 022885cbSSimon Glass help 188 022885cbSSimon Glass Enable generation of debug information for tools such as mkimage. 189 022885cbSSimon Glass This can be used for debugging purposes. With debug information 190 022885cbSSimon Glass it is possible to set breakpoints on particular lines, single-step 191 022885cbSSimon Glass debug through the source code, etc. 192 022885cbSSimon Glass 193 266aa86bSRobert P. J. Dayendif # EXPERT 194 bb6b142fSMasahiro Yamada 195 bb6b142fSMasahiro Yamadaconfig PHYS_64BIT 196 bb6b142fSMasahiro Yamada bool "64bit physical address support" 197 bb6b142fSMasahiro Yamada help 198 bb6b142fSMasahiro Yamada Say Y here to support 64bit physical memory address. 199 bb6b142fSMasahiro Yamada This can be used not only for 64bit SoCs, but also for 200 bb6b142fSMasahiro Yamada large physical address extention on 32bit SoCs. 201 bb6b142fSMasahiro Yamada 202 871aa41dSHeinrich Schuchardtconfig BUILD_ROM 203 871aa41dSHeinrich Schuchardt bool "Build U-Boot as BIOS replacement" 204 871aa41dSHeinrich Schuchardt depends on X86 205 871aa41dSHeinrich Schuchardt help 206 871aa41dSHeinrich Schuchardt This option allows to build a ROM version of U-Boot. 207 871aa41dSHeinrich Schuchardt The build process generally requires several binary blobs 208 871aa41dSHeinrich Schuchardt which are not shipped in the U-Boot source tree. 209 871aa41dSHeinrich Schuchardt Please, see doc/README.x86 for details. 210 871aa41dSHeinrich Schuchardt 211 40ad4c4bSMasahiro Yamadaendmenu # General setup 212 40ad4c4bSMasahiro Yamada 213 e91c3c33SMasahiro Yamadamenu "Boot images" 214 e91c3c33SMasahiro Yamada 215 48f6232eSTom Riniconfig ANDROID_BOOT_IMAGE 216 48f6232eSTom Rini bool "Enable support for Android Boot Images" 217 48f6232eSTom Rini default y if FASTBOOT 218 48f6232eSTom Rini help 219 48f6232eSTom Rini This enables support for booting images which use the Android 220 48f6232eSTom Rini image format header. 221 48f6232eSTom Rini 222 b6cf4439SMasahiro Yamadaconfig FIT 223 b6cf4439SMasahiro Yamada bool "Support Flattened Image Tree" 224 aeb9c53cSAndre Przywara select MD5 225 089df18bSTom Rini select SHA1 226 b6cf4439SMasahiro Yamada help 227 266aa86bSRobert P. J. Day This option allows you to boot the new uImage structure, 228 b6cf4439SMasahiro Yamada Flattened Image Tree. FIT is formally a FDT, which can include 229 b6cf4439SMasahiro Yamada images of various types (kernel, FDT blob, ramdisk, etc.) 230 b6cf4439SMasahiro Yamada in a single blob. To boot this new uImage structure, 231 1f9ac4a4SIgor Grinberg pass the address of the blob to the "bootm" command. 232 73223f0eSSimon Glass FIT is very flexible, supporting compression, multiple images, 233 73223f0eSSimon Glass multiple configurations, verification through hashing and also 234 266aa86bSRobert P. J. Day verified boot (secure boot using RSA). 235 b6cf4439SMasahiro Yamada 236 266aa86bSRobert P. J. Dayif FIT 237 b6cf4439SMasahiro Yamada 238 0db7f685STom Riniconfig FIT_ENABLE_SHA256_SUPPORT 239 0db7f685STom Rini bool "Support SHA256 checksum of FIT image contents" 240 089df18bSTom Rini select SHA256 241 0db7f685STom Rini default y 242 0db7f685STom Rini help 243 0db7f685STom Rini Enable this to support SHA256 checksum of FIT image contents. A 244 0db7f685STom Rini SHA256 checksum is a 256-bit (32-byte) hash value used to check that 245 0db7f685STom Rini the image contents have not been corrupted. SHA256 is recommended 246 0db7f685STom Rini for use in secure applications since (as at 2016) there is no known 247 0db7f685STom Rini feasible attack that could produce a 'collision' with differing 248 0db7f685STom Rini input data. Use this for the highest security. Note that only the 249 0db7f685STom Rini SHA256 variant is supported: SHA512 and others are not currently 250 0db7f685STom Rini supported in U-Boot. 251 0db7f685STom Rini 252 b6cf4439SMasahiro Yamadaconfig FIT_SIGNATURE 253 c4beb22fSRuchika Gupta bool "Enable signature verification of FIT uImages" 254 9009798dSChris Kuethe depends on DM 255 c4beb22fSRuchika Gupta select RSA 256 535adee8SKelvin Cheung select HASH 257 b6cf4439SMasahiro Yamada help 258 b6cf4439SMasahiro Yamada This option enables signature verification of FIT uImages, 259 94e3c8c4Sgaurav rana using a hash signed and verified using RSA. If 260 94e3c8c4Sgaurav rana CONFIG_SHA_PROG_HW_ACCEL is defined, i.e support for progressive 261 266aa86bSRobert P. J. Day hashing is available using hardware, then the RSA library will use 262 73223f0eSSimon Glass it. See doc/uImage.FIT/signature.txt for more details. 263 73223f0eSSimon Glass 264 73223f0eSSimon Glass WARNING: When relying on signed FIT images with a required signature 265 73223f0eSSimon Glass check the legacy image format is disabled by default, so that 266 73223f0eSSimon Glass unsigned images cannot be loaded. If a board needs the legacy image 267 73223f0eSSimon Glass format support in this case, enable it using 268 73223f0eSSimon Glass CONFIG_IMAGE_FORMAT_LEGACY. 269 73223f0eSSimon Glass 270 266aa86bSRobert P. J. Dayconfig FIT_VERBOSE 271 266aa86bSRobert P. J. Day bool "Show verbose messages when FIT images fail" 272 266aa86bSRobert P. J. Day help 273 266aa86bSRobert P. J. Day Generally a system will have valid FIT images so debug messages 274 266aa86bSRobert P. J. Day are a waste of code space. If you are debugging your images then 275 266aa86bSRobert P. J. Day you can enable this option to get more verbose information about 276 266aa86bSRobert P. J. Day failures. 277 51c14cd1STeddy Reed 278 73223f0eSSimon Glassconfig FIT_BEST_MATCH 279 73223f0eSSimon Glass bool "Select the best match for the kernel device tree" 280 73223f0eSSimon Glass help 281 73223f0eSSimon Glass When no configuration is explicitly selected, default to the 282 73223f0eSSimon Glass one whose fdt's compatibility field best matches that of 283 73223f0eSSimon Glass U-Boot itself. A match is considered "best" if it matches the 284 73223f0eSSimon Glass most specific compatibility entry of U-Boot's fdt's root node. 285 73223f0eSSimon Glass The order of entries in the configuration's fdt is ignored. 286 73223f0eSSimon Glass 287 266aa86bSRobert P. J. Dayconfig FIT_IMAGE_POST_PROCESS 288 266aa86bSRobert P. J. Day bool "Enable post-processing of FIT artifacts after loading by U-Boot" 289 266aa86bSRobert P. J. Day depends on TI_SECURE_DEVICE 290 73223f0eSSimon Glass help 291 266aa86bSRobert P. J. Day Allows doing any sort of manipulation to blobs after they got extracted 292 266aa86bSRobert P. J. Day from FIT images like stripping off headers or modifying the size of the 293 266aa86bSRobert P. J. Day blob, verification, authentication, decryption etc. in a platform or 294 266aa86bSRobert P. J. Day board specific way. In order to use this feature a platform or board- 295 266aa86bSRobert P. J. Day specific implementation of board_fit_image_post_process() must be 296 266aa86bSRobert P. J. Day provided. Also, anything done during this post-processing step would 297 266aa86bSRobert P. J. Day need to be comprehended in how the images were prepared before being 298 266aa86bSRobert P. J. Day injected into the FIT creation (i.e. the blobs would have been pre- 299 266aa86bSRobert P. J. Day processed before being added to the FIT image). 300 266aa86bSRobert P. J. Day 301 71139113STom Riniif SPL 302 71139113STom Rini 303 266aa86bSRobert P. J. Dayconfig SPL_FIT 304 266aa86bSRobert P. J. Day bool "Support Flattened Image Tree within SPL" 305 266aa86bSRobert P. J. Day depends on SPL 306 85c07a5aSAndre Przywara select SPL_OF_LIBFDT 307 266aa86bSRobert P. J. Day 308 b527b9c6SMarek Vasutconfig SPL_FIT_PRINT 309 b527b9c6SMarek Vasut bool "Support FIT printing within SPL" 310 b527b9c6SMarek Vasut depends on SPL_FIT 311 b527b9c6SMarek Vasut help 312 b527b9c6SMarek Vasut Support printing the content of the fitImage in a verbose manner in SPL. 313 b527b9c6SMarek Vasut 314 266aa86bSRobert P. J. Dayconfig SPL_FIT_SIGNATURE 315 266aa86bSRobert P. J. Day bool "Enable signature verification of FIT firmware within SPL" 316 266aa86bSRobert P. J. Day depends on SPL_DM 317 85c07a5aSAndre Przywara select SPL_FIT 318 266aa86bSRobert P. J. Day select SPL_RSA 319 266aa86bSRobert P. J. Day 320 266aa86bSRobert P. J. Dayconfig SPL_LOAD_FIT 321 266aa86bSRobert P. J. Day bool "Enable SPL loading U-Boot as a FIT" 322 85c07a5aSAndre Przywara select SPL_FIT 323 266aa86bSRobert P. J. Day help 324 266aa86bSRobert P. J. Day Normally with the SPL framework a legacy image is generated as part 325 266aa86bSRobert P. J. Day of the build. This contains U-Boot along with information as to 326 266aa86bSRobert P. J. Day where it should be loaded. This option instead enables generation 327 266aa86bSRobert P. J. Day of a FIT (Flat Image Tree) which provides more flexibility. In 328 266aa86bSRobert P. J. Day particular it can handle selecting from multiple device tree 329 266aa86bSRobert P. J. Day and passing the correct one to U-Boot. 330 266aa86bSRobert P. J. Day 331 *8a9dc16eSMarek Vasutconfig SPL_LOAD_FIT_FULL 332 *8a9dc16eSMarek Vasut bool "Enable SPL loading U-Boot as a FIT" 333 *8a9dc16eSMarek Vasut select SPL_FIT 334 *8a9dc16eSMarek Vasut help 335 *8a9dc16eSMarek Vasut Normally with the SPL framework a legacy image is generated as part 336 *8a9dc16eSMarek Vasut of the build. This contains U-Boot along with information as to 337 *8a9dc16eSMarek Vasut where it should be loaded. This option instead enables generation 338 *8a9dc16eSMarek Vasut of a FIT (Flat Image Tree) which provides more flexibility. In 339 *8a9dc16eSMarek Vasut particular it can handle selecting from multiple device tree 340 *8a9dc16eSMarek Vasut and passing the correct one to U-Boot. 341 *8a9dc16eSMarek Vasut 342 266aa86bSRobert P. J. Dayconfig SPL_FIT_IMAGE_POST_PROCESS 343 266aa86bSRobert P. J. Day bool "Enable post-processing of FIT artifacts after loading by the SPL" 344 c12d8b7dSext-vasily.gurevich@vaisala.com depends on SPL_LOAD_FIT 345 266aa86bSRobert P. J. Day help 346 266aa86bSRobert P. J. Day Allows doing any sort of manipulation to blobs after they got extracted 347 266aa86bSRobert P. J. Day from the U-Boot FIT image like stripping off headers or modifying the 348 266aa86bSRobert P. J. Day size of the blob, verification, authentication, decryption etc. in a 349 266aa86bSRobert P. J. Day platform or board specific way. In order to use this feature a platform 350 266aa86bSRobert P. J. Day or board-specific implementation of board_fit_image_post_process() must 351 266aa86bSRobert P. J. Day be provided. Also, anything done during this post-processing step would 352 266aa86bSRobert P. J. Day need to be comprehended in how the images were prepared before being 353 266aa86bSRobert P. J. Day injected into the FIT creation (i.e. the blobs would have been pre- 354 266aa86bSRobert P. J. Day processed before being added to the FIT image). 355 266aa86bSRobert P. J. Day 356 1a12fdc4SAndre Przywaraconfig SPL_FIT_SOURCE 357 1a12fdc4SAndre Przywara string ".its source file for U-Boot FIT image" 358 1a12fdc4SAndre Przywara depends on SPL_FIT 359 1a12fdc4SAndre Przywara help 360 1a12fdc4SAndre Przywara Specifies a (platform specific) FIT source file to generate the 361 1a12fdc4SAndre Przywara U-Boot FIT image. This could specify further image to load and/or 362 1a12fdc4SAndre Przywara execute. 363 1a12fdc4SAndre Przywara 364 1a12fdc4SAndre Przywaraconfig SPL_FIT_GENERATOR 365 1a12fdc4SAndre Przywara string ".its file generator script for U-Boot FIT image" 366 1a12fdc4SAndre Przywara depends on SPL_FIT 367 d29adf8eSAndre Przywara default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI 368 1a12fdc4SAndre Przywara help 369 1a12fdc4SAndre Przywara Specifies a (platform specific) script file to generate the FIT 370 1a12fdc4SAndre Przywara source file used to build the U-Boot FIT image file. This gets 371 1a12fdc4SAndre Przywara passed a list of supported device tree file stub names to 372 1a12fdc4SAndre Przywara include in the generated image. 373 1a12fdc4SAndre Przywara 374 71139113STom Riniendif # SPL 375 71139113STom Rini 376 266aa86bSRobert P. J. Dayendif # FIT 377 73223f0eSSimon Glass 378 002c3234SAlex Kiernanconfig IMAGE_FORMAT_LEGACY 379 002c3234SAlex Kiernan bool "Enable support for the legacy image format" 380 002c3234SAlex Kiernan default y if !FIT_SIGNATURE 381 002c3234SAlex Kiernan help 382 002c3234SAlex Kiernan This option enables the legacy image format. It is enabled by 383 002c3234SAlex Kiernan default for backward compatibility, unless FIT_SIGNATURE is 384 002c3234SAlex Kiernan set where it is disabled so that unsigned images cannot be 385 002c3234SAlex Kiernan loaded. If a board needs the legacy image format support in this 386 002c3234SAlex Kiernan case, enable it here. 387 002c3234SAlex Kiernan 388 73223f0eSSimon Glassconfig OF_BOARD_SETUP 389 73223f0eSSimon Glass bool "Set up board-specific details in device tree before boot" 390 73223f0eSSimon Glass depends on OF_LIBFDT 391 73223f0eSSimon Glass help 392 73223f0eSSimon Glass This causes U-Boot to call ft_board_setup() before booting into 393 73223f0eSSimon Glass the Operating System. This function can set up various 394 73223f0eSSimon Glass board-specific information in the device tree for use by the OS. 395 73223f0eSSimon Glass The device tree is then passed to the OS. 396 73223f0eSSimon Glass 397 73223f0eSSimon Glassconfig OF_SYSTEM_SETUP 398 73223f0eSSimon Glass bool "Set up system-specific details in device tree before boot" 399 73223f0eSSimon Glass depends on OF_LIBFDT 400 73223f0eSSimon Glass help 401 73223f0eSSimon Glass This causes U-Boot to call ft_system_setup() before booting into 402 73223f0eSSimon Glass the Operating System. This function can set up various 403 73223f0eSSimon Glass system-specific information in the device tree for use by the OS. 404 73223f0eSSimon Glass The device tree is then passed to the OS. 405 73223f0eSSimon Glass 406 73223f0eSSimon Glassconfig OF_STDOUT_VIA_ALIAS 407 73223f0eSSimon Glass bool "Update the device-tree stdout alias from U-Boot" 408 73223f0eSSimon Glass depends on OF_LIBFDT 409 73223f0eSSimon Glass help 410 73223f0eSSimon Glass This uses U-Boot's serial alias from the aliases node to update 411 73223f0eSSimon Glass the device tree passed to the OS. The "linux,stdout-path" property 412 73223f0eSSimon Glass in the chosen node is set to point to the correct serial node. 413 73223f0eSSimon Glass This option currently references CONFIG_CONS_INDEX, which is 414 73223f0eSSimon Glass incorrect when used with device tree as this option does not 415 73223f0eSSimon Glass exist / should not be used. 416 b6cf4439SMasahiro Yamada 417 51631259SMasahiro Yamadaconfig SYS_EXTRA_OPTIONS 418 51631259SMasahiro Yamada string "Extra Options (DEPRECATED)" 419 51631259SMasahiro Yamada help 420 51631259SMasahiro Yamada The old configuration infrastructure (= mkconfig + boards.cfg) 421 ed36323fSMasahiro Yamada provided the extra options field. If you have something like 422 51631259SMasahiro Yamada "HAS_BAR,BAZ=64", the optional options 423 51631259SMasahiro Yamada #define CONFIG_HAS 424 51631259SMasahiro Yamada #define CONFIG_BAZ 64 425 51631259SMasahiro Yamada will be defined in include/config.h. 426 51631259SMasahiro Yamada This option was prepared for the smooth migration from the old 427 51631259SMasahiro Yamada configuration to Kconfig. Since this option will be removed sometime, 428 51631259SMasahiro Yamada new boards should not use this option. 429 51631259SMasahiro Yamada 430 7f7563ceSMasahiro Yamadaconfig SYS_TEXT_BASE 431 278b90ceSTom Rini depends on !NIOS2 && !XTENSA 432 484cce0dSBen Stoltz depends on !EFI_APP 433 278b90ceSTom Rini default 0x80800000 if ARCH_OMAP2PLUS 434 341c0586SAndre Przywara default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S 435 341c0586SAndre Przywara default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I 436 341c0586SAndre Przywara default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S 437 7f7563ceSMasahiro Yamada hex "Text Base" 438 7f7563ceSMasahiro Yamada help 439 278b90ceSTom Rini The address in memory that U-Boot will be running from, initially. 440 7f7563ceSMasahiro Yamada 441 7e0ed13fSAdam Ford 442 eba3fbd6SAndreas Dannenberg 443 33d88183SAlexey Brodkinconfig SYS_CLK_FREQ 444 e71b422bSIain Paton depends on ARC || ARCH_SUNXI 445 33d88183SAlexey Brodkin int "CPU clock frequency" 446 33d88183SAlexey Brodkin help 447 33d88183SAlexey Brodkin TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture 448 33d88183SAlexey Brodkin 449 63c09417SMasahiro Yamadaconfig ARCH_FIXUP_FDT_MEMORY 450 63c09417SMasahiro Yamada bool "Enable arch_fixup_memory_banks() call" 451 e2f88dfdSMichal Simek default y 452 e2f88dfdSMichal Simek help 453 e2f88dfdSMichal Simek Enable FDT memory map syncup before OS boot. This feature can be 454 e2f88dfdSMichal Simek used for booting OS with different memory setup where the part of 455 e2f88dfdSMichal Simek the memory location should be used for different purpose. 456 e2f88dfdSMichal Simek 457 e91c3c33SMasahiro Yamadaendmenu # Boot images 458 51631259SMasahiro Yamada 459 4db98d3dSEmmanuel Vadotsource "api/Kconfig" 460 4db98d3dSEmmanuel Vadot 461 ed36323fSMasahiro Yamadasource "common/Kconfig" 462 ed36323fSMasahiro Yamada 463 72a8cf8dSSimon Glasssource "cmd/Kconfig" 464 72a8cf8dSSimon Glass 465 e274ef6bSPatrick Delaunaysource "disk/Kconfig" 466 e274ef6bSPatrick Delaunay 467 783e6a72SMasahiro Yamadasource "dts/Kconfig" 468 783e6a72SMasahiro Yamada 469 0649cd0dSSimon Glasssource "env/Kconfig" 470 0649cd0dSSimon Glass 471 ed36323fSMasahiro Yamadasource "net/Kconfig" 472 ed36323fSMasahiro Yamada 473 ed36323fSMasahiro Yamadasource "drivers/Kconfig" 474 ed36323fSMasahiro Yamada 475 ed36323fSMasahiro Yamadasource "fs/Kconfig" 476 ed36323fSMasahiro Yamada 477 ed36323fSMasahiro Yamadasource "lib/Kconfig" 478 1967982aSSimon Glass 479 1967982aSSimon Glasssource "test/Kconfig" 480