Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. menu "Boot timing"
  2. config BOOTSTAGE
  3. bool "Boot timing and reporting"
  4. help
  5. Enable recording of boot time while booting. To use it, insert
  6. calls to bootstage_mark() with a suitable BOOTSTAGE_ID from
  7. bootstage.h. Only a single entry is recorded for each ID. You can
  8. give the entry a name with bootstage_mark_name(). You can also
  9. record elapsed time in a particular stage using bootstage_start()
  10. before starting and bootstage_accum() when finished. Bootstage will
  11. add up all the accumulated time and report it.
  12. Normally, IDs are defined in bootstage.h but a small number of
  13. additional 'user' IDs can be used by passing BOOTSTAGE_ID_ALLOC
  14. as the ID.
  15. Calls to show_boot_progress() will also result in log entries but
  16. these will not have names.
  17. config SPL_BOOTSTAGE
  18. bool "Boot timing and reported in SPL"
  19. depends on BOOTSTAGE
  20. help
  21. Enable recording of boot time in SPL. To make this visible to U-Boot
  22. proper, enable BOOTSTAGE_STASH as well. This will stash the timing
  23. information when SPL finishes and load it when U-Boot proper starts
  24. up.
  25. config BOOTSTAGE_REPORT
  26. bool "Display a detailed boot timing report before booting the OS"
  27. depends on BOOTSTAGE
  28. help
  29. Enable output of a boot time report just before the OS is booted.
  30. This shows how long it took U-Boot to go through each stage of the
  31. boot process. The report looks something like this:
  32. Timer summary in microseconds:
  33. Mark Elapsed Stage
  34. 0 0 reset
  35. 3,575,678 3,575,678 board_init_f start
  36. 3,575,695 17 arch_cpu_init A9
  37. 3,575,777 82 arch_cpu_init done
  38. 3,659,598 83,821 board_init_r start
  39. 3,910,375 250,777 main_loop
  40. 29,916,167 26,005,792 bootm_start
  41. 30,361,327 445,160 start_kernel
  42. config BOOTSTAGE_RECORD_COUNT
  43. int "Number of boot stage records to store"
  44. default 30
  45. help
  46. This is the size of the bootstage record list and is the maximum
  47. number of bootstage records that can be recorded.
  48. config SPL_BOOTSTAGE_RECORD_COUNT
  49. int "Number of boot stage records to store for SPL"
  50. default 5
  51. help
  52. This is the size of the bootstage record list and is the maximum
  53. number of bootstage records that can be recorded.
  54. config BOOTSTAGE_FDT
  55. bool "Store boot timing information in the OS device tree"
  56. depends on BOOTSTAGE
  57. help
  58. Stash the bootstage information in the FDT. A root 'bootstage'
  59. node is created with each bootstage id as a child. Each child
  60. has a 'name' property and either 'mark' containing the
  61. mark time in microseconds, or 'accum' containing the
  62. accumulated time for that bootstage id in microseconds.
  63. For example:
  64. bootstage {
  65. 154 {
  66. name = "board_init_f";
  67. mark = <3575678>;
  68. };
  69. 170 {
  70. name = "lcd";
  71. accum = <33482>;
  72. };
  73. };
  74. Code in the Linux kernel can find this in /proc/devicetree.
  75. config BOOTSTAGE_STASH
  76. bool "Stash the boot timing information in memory before booting OS"
  77. depends on BOOTSTAGE
  78. help
  79. Some OSes do not support device tree. Bootstage can instead write
  80. the boot timing information in a binary format at a given address.
  81. This happens through a call to bootstage_stash(), typically in
  82. the CPU's cleanup_before_linux() function. You can use the
  83. 'bootstage stash' and 'bootstage unstash' commands to do this on
  84. the command line.
  85. config BOOTSTAGE_STASH_ADDR
  86. hex "Address to stash boot timing information"
  87. default 0
  88. help
  89. Provide an address which will not be overwritten by the OS when it
  90. starts, so that it can read this information when ready.
  91. config BOOTSTAGE_STASH_SIZE
  92. hex "Size of boot timing stash region"
  93. default 0x1000
  94. help
  95. This should be large enough to hold the bootstage stash. A value of
  96. 4096 (4KiB) is normally plenty.
  97. endmenu
  98. menu "Boot media"
  99. config NOR_BOOT
  100. bool "Support for booting from NOR flash"
  101. depends on NOR
  102. help
  103. Enabling this will make a U-Boot binary that is capable of being
  104. booted via NOR. In this case we will enable certain pinmux early
  105. as the ROM only partially sets up pinmux. We also default to using
  106. NOR for environment.
  107. config NAND_BOOT
  108. bool "Support for booting from NAND flash"
  109. default n
  110. imply NAND
  111. help
  112. Enabling this will make a U-Boot binary that is capable of being
  113. booted via NAND flash. This is not a must, some SoCs need this,
  114. some not.
  115. config ONENAND_BOOT
  116. bool "Support for booting from ONENAND"
  117. default n
  118. imply NAND
  119. help
  120. Enabling this will make a U-Boot binary that is capable of being
  121. booted via ONENAND. This is not a must, some SoCs need this,
  122. some not.
  123. config QSPI_BOOT
  124. bool "Support for booting from QSPI flash"
  125. default n
  126. help
  127. Enabling this will make a U-Boot binary that is capable of being
  128. booted via QSPI flash. This is not a must, some SoCs need this,
  129. some not.
  130. config SATA_BOOT
  131. bool "Support for booting from SATA"
  132. default n
  133. help
  134. Enabling this will make a U-Boot binary that is capable of being
  135. booted via SATA. This is not a must, some SoCs need this,
  136. some not.
  137. config SD_BOOT
  138. bool "Support for booting from SD/EMMC"
  139. default n
  140. help
  141. Enabling this will make a U-Boot binary that is capable of being
  142. booted via SD/EMMC. This is not a must, some SoCs need this,
  143. some not.
  144. config SPI_BOOT
  145. bool "Support for booting from SPI flash"
  146. default n
  147. help
  148. Enabling this will make a U-Boot binary that is capable of being
  149. booted via SPI flash. This is not a must, some SoCs need this,
  150. some not.
  151. endmenu
  152. config BOOTDELAY
  153. int "delay in seconds before automatically booting"
  154. default 2
  155. depends on AUTOBOOT
  156. help
  157. Delay before automatically running bootcmd;
  158. set to 0 to autoboot with no delay, but you can stop it by key input.
  159. set to -1 to disable autoboot.
  160. set to -2 to autoboot with no delay and not check for abort
  161. If this value is >= 0 then it is also used for the default delay
  162. before starting the default entry in bootmenu. If it is < 0 then
  163. a default value of 10s is used.
  164. See doc/README.autoboot for details.
  165. config USE_BOOTARGS
  166. bool "Enable boot arguments"
  167. help
  168. Provide boot arguments to bootm command. Boot arguments are specified
  169. in CONFIG_BOOTARGS option. Enable this option to be able to specify
  170. CONFIG_BOOTARGS string. If this option is disabled, CONFIG_BOOTARGS
  171. will be undefined and won't take any space in U-Boot image.
  172. config BOOTARGS
  173. string "Boot arguments"
  174. depends on USE_BOOTARGS
  175. help
  176. This can be used to pass arguments to the bootm command. The value of
  177. CONFIG_BOOTARGS goes into the environment value "bootargs". Note that
  178. this value will also override the "chosen" node in FDT blob.
  179. config USE_BOOTCOMMAND
  180. bool "Enable a default value for bootcmd"
  181. help
  182. Provide a default value for the bootcmd entry in the environment. If
  183. autoboot is enabled this is what will be run automatically. Enable
  184. this option to be able to specify CONFIG_BOOTCOMMAND as a string. If
  185. this option is disabled, CONFIG_BOOTCOMMAND will be undefined and
  186. won't take any space in U-Boot image.
  187. config BOOTCOMMAND
  188. string "bootcmd value"
  189. depends on USE_BOOTCOMMAND
  190. default "run distro_bootcmd" if DISTRO_DEFAULTS
  191. help
  192. This is the string of commands that will be used as bootcmd and if
  193. AUTOBOOT is set, automatically run.
  194. menu "Console"
  195. config MENU
  196. bool
  197. help
  198. This is the library functionality to provide a text-based menu of
  199. choices for the user to make choices with.
  200. config CONSOLE_RECORD
  201. bool "Console recording"
  202. help
  203. This provides a way to record console output (and provide console
  204. input) through circular buffers. This is mostly useful for testing.
  205. Console output is recorded even when the console is silent.
  206. To enable console recording, call console_record_reset_enable()
  207. from your code.
  208. config CONSOLE_RECORD_OUT_SIZE
  209. hex "Output buffer size"
  210. depends on CONSOLE_RECORD
  211. default 0x400 if CONSOLE_RECORD
  212. help
  213. Set the size of the console output buffer. When this fills up, no
  214. more data will be recorded until some is removed. The buffer is
  215. allocated immediately after the malloc() region is ready.
  216. config CONSOLE_RECORD_IN_SIZE
  217. hex "Input buffer size"
  218. depends on CONSOLE_RECORD
  219. default 0x100 if CONSOLE_RECORD
  220. help
  221. Set the size of the console input buffer. When this contains data,
  222. tstc() and getc() will use this in preference to real device input.
  223. The buffer is allocated immediately after the malloc() region is
  224. ready.
  225. config DISABLE_CONSOLE
  226. bool "Add functionality to disable console completely"
  227. help
  228. Disable console (in & out).
  229. config IDENT_STRING
  230. string "Board specific string to be added to uboot version string"
  231. help
  232. This options adds the board specific name to u-boot version.
  233. config LOGLEVEL
  234. int "loglevel"
  235. default 4
  236. range 0 8
  237. help
  238. All Messages with a loglevel smaller than the console loglevel will
  239. be compiled in. The loglevels are defined as follows:
  240. 0 (KERN_EMERG) system is unusable
  241. 1 (KERN_ALERT) action must be taken immediately
  242. 2 (KERN_CRIT) critical conditions
  243. 3 (KERN_ERR) error conditions
  244. 4 (KERN_WARNING) warning conditions
  245. 5 (KERN_NOTICE) normal but significant condition
  246. 6 (KERN_INFO) informational
  247. 7 (KERN_DEBUG) debug-level messages
  248. config SPL_LOGLEVEL
  249. int
  250. default LOGLEVEL
  251. config SILENT_CONSOLE
  252. bool "Support a silent console"
  253. help
  254. This option allows the console to be silenced, meaning that no
  255. output will appear on the console devices. This is controlled by
  256. setting the environment vaariable 'silent' to a non-empty value.
  257. Note this also silences the console when booting Linux.
  258. When the console is set up, the variable is checked, and the
  259. GD_FLG_SILENT flag is set. Changing the environment variable later
  260. will update the flag.
  261. config SILENT_U_BOOT_ONLY
  262. bool "Only silence the U-Boot console"
  263. depends on SILENT_CONSOLE
  264. help
  265. Normally when the U-Boot console is silenced, Linux's console is
  266. also silenced (assuming the board boots into Linux). This option
  267. allows the linux console to operate normally, even if U-Boot's
  268. is silenced.
  269. config SILENT_CONSOLE_UPDATE_ON_SET
  270. bool "Changes to the 'silent' environment variable update immediately"
  271. depends on SILENT_CONSOLE
  272. default y if SILENT_CONSOLE
  273. help
  274. When the 'silent' environment variable is changed, update the
  275. console silence flag immediately. This allows 'setenv' to be used
  276. to silence or un-silence the console.
  277. The effect is that any change to the variable will affect the
  278. GD_FLG_SILENT flag.
  279. config SILENT_CONSOLE_UPDATE_ON_RELOC
  280. bool "Allow flags to take effect on relocation"
  281. depends on SILENT_CONSOLE
  282. help
  283. In some cases the environment is not available until relocation
  284. (e.g. NAND). This option makes the value of the 'silent'
  285. environment variable take effect at relocation.
  286. config PRE_CONSOLE_BUFFER
  287. bool "Buffer characters before the console is available"
  288. help
  289. Prior to the console being initialised (i.e. serial UART
  290. initialised etc) all console output is silently discarded.
  291. Defining CONFIG_PRE_CONSOLE_BUFFER will cause U-Boot to
  292. buffer any console messages prior to the console being
  293. initialised to a buffer. The buffer is a circular buffer, so
  294. if it overflows, earlier output is discarded.
  295. Note that this is not currently supported in SPL. It would be
  296. useful to be able to share the pre-console buffer with SPL.
  297. config PRE_CON_BUF_SZ
  298. int "Sets the size of the pre-console buffer"
  299. depends on PRE_CONSOLE_BUFFER
  300. default 4096
  301. help
  302. The size of the pre-console buffer affects how much console output
  303. can be held before it overflows and starts discarding earlier
  304. output. Normally there is very little output at this early stage,
  305. unless debugging is enabled, so allow enough for ~10 lines of
  306. text.
  307. This is a useful feature if you are using a video console and
  308. want to see the full boot output on the console. Without this
  309. option only the post-relocation output will be displayed.
  310. config PRE_CON_BUF_ADDR
  311. hex "Address of the pre-console buffer"
  312. depends on PRE_CONSOLE_BUFFER
  313. default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I
  314. default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I
  315. help
  316. This sets the start address of the pre-console buffer. This must
  317. be in available memory and is accessed before relocation and
  318. possibly before DRAM is set up. Therefore choose an address
  319. carefully.
  320. We should consider removing this option and allocating the memory
  321. in board_init_f_init_reserve() instead.
  322. config CONSOLE_MUX
  323. bool "Enable console multiplexing"
  324. default y if DM_VIDEO || VIDEO || LCD
  325. help
  326. This allows multiple devices to be used for each console 'file'.
  327. For example, stdout can be set to go to serial and video.
  328. Similarly, stdin can be set to come from serial and keyboard.
  329. Input can be provided from either source. Console multiplexing
  330. adds a small amount of size to U-Boot. Changes to the environment
  331. variables stdout, stdin and stderr will take effect immediately.
  332. config SYS_CONSOLE_IS_IN_ENV
  333. bool "Select console devices from the environment"
  334. default y if CONSOLE_MUX
  335. help
  336. This allows multiple input/output devices to be set at boot time.
  337. For example, if stdout is set to "serial,video" then output will
  338. be sent to both the serial and video devices on boot. The
  339. environment variables can be updated after boot to change the
  340. input/output devices.
  341. config SYS_CONSOLE_OVERWRITE_ROUTINE
  342. bool "Allow board control over console overwriting"
  343. help
  344. If this is enabled, and the board-specific function
  345. overwrite_console() returns 1, the stdin, stderr and stdout are
  346. switched to the serial port, else the settings in the environment
  347. are used. If this is not enabled, the console will not be switched
  348. to serial.
  349. config SYS_CONSOLE_ENV_OVERWRITE
  350. bool "Update environment variables during console init"
  351. help
  352. The console environment variables (stdout, stdin, stderr) can be
  353. used to determine the correct console devices on start-up. This
  354. option writes the console devices to these variables on console
  355. start-up (after relocation). This causes the environment to be
  356. updated to match the console devices actually chosen.
  357. config SYS_CONSOLE_INFO_QUIET
  358. bool "Don't display the console devices on boot"
  359. help
  360. Normally U-Boot displays the current settings for stdout, stdin
  361. and stderr on boot when the post-relocation console is set up.
  362. Enable this option to supress this output. It can be obtained by
  363. calling stdio_print_current_devices() from board code.
  364. config SYS_STDIO_DEREGISTER
  365. bool "Allow deregistering stdio devices"
  366. default y if USB_KEYBOARD
  367. help
  368. Generally there is no need to deregister stdio devices since they
  369. are never deactivated. But if a stdio device is used which can be
  370. removed (for example a USB keyboard) then this option can be
  371. enabled to ensure this is handled correctly.
  372. endmenu
  373. menu "Logging"
  374. config LOG
  375. bool "Enable logging support"
  376. depends on DM
  377. help
  378. This enables support for logging of status and debug messages. These
  379. can be displayed on the console, recorded in a memory buffer, or
  380. discarded if not needed. Logging supports various categories and
  381. levels of severity.
  382. config SPL_LOG
  383. bool "Enable logging support in SPL"
  384. help
  385. This enables support for logging of status and debug messages. These
  386. can be displayed on the console, recorded in a memory buffer, or
  387. discarded if not needed. Logging supports various categories and
  388. levels of severity.
  389. config LOG_MAX_LEVEL
  390. int "Maximum log level to record"
  391. depends on LOG
  392. default 5
  393. help
  394. This selects the maximum log level that will be recorded. Any value
  395. higher than this will be ignored. If possible log statements below
  396. this level will be discarded at build time. Levels:
  397. 0 - panic
  398. 1 - critical
  399. 2 - error
  400. 3 - warning
  401. 4 - note
  402. 5 - info
  403. 6 - detail
  404. 7 - debug
  405. config SPL_LOG_MAX_LEVEL
  406. int "Maximum log level to record in SPL"
  407. depends on SPL_LOG
  408. default 3
  409. help
  410. This selects the maximum log level that will be recorded. Any value
  411. higher than this will be ignored. If possible log statements below
  412. this level will be discarded at build time. Levels:
  413. 0 - panic
  414. 1 - critical
  415. 2 - error
  416. 3 - warning
  417. 4 - note
  418. 5 - info
  419. 6 - detail
  420. 7 - debug
  421. config LOG_CONSOLE
  422. bool "Allow log output to the console"
  423. depends on LOG
  424. default y
  425. help
  426. Enables a log driver which writes log records to the console.
  427. Generally the console is the serial port or LCD display. Only the
  428. log message is shown - other details like level, category, file and
  429. line number are omitted.
  430. config LOG_SPL_CONSOLE
  431. bool "Allow log output to the console in SPL"
  432. depends on LOG_SPL
  433. default y
  434. help
  435. Enables a log driver which writes log records to the console.
  436. Generally the console is the serial port or LCD display. Only the
  437. log message is shown - other details like level, category, file and
  438. line number are omitted.
  439. config LOG_TEST
  440. bool "Provide a test for logging"
  441. depends on LOG
  442. default y if SANDBOX
  443. help
  444. This enables a 'log test' command to test logging. It is normally
  445. executed from a pytest and simply outputs logging information
  446. in various different ways to test that the logging system works
  447. correctly with varoius settings.
  448. config LOG_ERROR_RETURN
  449. bool "Log all functions which return an error"
  450. depends on LOG
  451. help
  452. When an error is returned in U-Boot it is sometimes difficult to
  453. figure out the root cause. For eaxmple, reading from SPI flash may
  454. fail due to a problem in the SPI controller or due to the flash part
  455. not returning the expected information. This option changes
  456. log_ret() to log any errors it sees. With this option disabled,
  457. log_ret() is a nop.
  458. You can add log_ret() to all functions which return an error code.
  459. endmenu
  460. config SUPPORT_RAW_INITRD
  461. bool "Enable raw initrd images"
  462. help
  463. Note, defining the SUPPORT_RAW_INITRD allows user to supply
  464. kernel with raw initrd images. The syntax is slightly different, the
  465. address of the initrd must be augmented by it's size, in the following
  466. format: "<initrd address>:<initrd size>".
  467. config DEFAULT_FDT_FILE
  468. string "Default fdt file"
  469. help
  470. This option is used to set the default fdt file to boot OS.
  471. config MISC_INIT_R
  472. bool "Execute Misc Init"
  473. default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
  474. default y if ARCH_OMAP2PLUS && !AM33XX
  475. help
  476. Enabling this option calls 'misc_init_r' function
  477. config VERSION_VARIABLE
  478. bool "add U-Boot environment variable vers"
  479. default n
  480. help
  481. If this variable is defined, an environment variable
  482. named "ver" is created by U-Boot showing the U-Boot
  483. version as printed by the "version" command.
  484. Any change to this variable will be reverted at the
  485. next reset.
  486. config BOARD_LATE_INIT
  487. bool "Execute Board late init"
  488. help
  489. Sometimes board require some initialization code that might
  490. require once the actual init done, example saving board specific env,
  491. boot-modes etc. which eventually done at late.
  492. So this config enable the late init code with the help of board_late_init
  493. function which should defined on respective boards.
  494. config DISPLAY_CPUINFO
  495. bool "Display information about the CPU during start up"
  496. default y if ARC|| ARM || NIOS2 || X86 || XTENSA || M68K
  497. help
  498. Display information about the CPU that U-Boot is running on
  499. when U-Boot starts up. The function print_cpuinfo() is called
  500. to do this.
  501. config DISPLAY_BOARDINFO
  502. bool "Display information about the board during early start up"
  503. default y if ARC || ARM || M68K || MIPS || PPC || SANDBOX || XTENSA
  504. help
  505. Display information about the board that U-Boot is running on
  506. when U-Boot starts up. The board function checkboard() is called
  507. to do this.
  508. config DISPLAY_BOARDINFO_LATE
  509. bool "Display information about the board during late start up"
  510. help
  511. Display information about the board that U-Boot is running on after
  512. the relocation phase. The board function checkboard() is called to do
  513. this.
  514. menu "Start-up hooks"
  515. config ARCH_EARLY_INIT_R
  516. bool "Call arch-specific init soon after relocation"
  517. help
  518. With this option U-Boot will call arch_early_init_r() soon after
  519. relocation. Driver model is running by this point, and the cache
  520. is on. Note that board_early_init_r() is called first, if
  521. enabled. This can be used to set up architecture-specific devices.
  522. config ARCH_MISC_INIT
  523. bool "Call arch-specific init after relocation, when console is ready"
  524. help
  525. With this option U-Boot will call arch_misc_init() after
  526. relocation to allow miscellaneous arch-dependent initialisation
  527. to be performed. This function should be defined by the board
  528. and will be called after the console is set up, after relocaiton.
  529. config BOARD_EARLY_INIT_F
  530. bool "Call board-specific init before relocation"
  531. help
  532. Some boards need to perform initialisation as soon as possible
  533. after boot. With this option, U-Boot calls board_early_init_f()
  534. after driver model is ready in the pre-relocation init sequence.
  535. Note that the normal serial console is not yet set up, but the
  536. debug UART will be available if enabled.
  537. config BOARD_EARLY_INIT_R
  538. bool "Call board-specific init after relocation"
  539. help
  540. Some boards need to perform initialisation as directly after
  541. relocation. With this option, U-Boot calls board_early_init_r()
  542. in the post-relocation init sequence.
  543. config LAST_STAGE_INIT
  544. bool "Call board-specific as last setup step"
  545. help
  546. Some boards need to perform initialisation immediately before control
  547. is passed to the command-line interpreter (e.g. for initializations
  548. that depend on later phases in the init sequence). With this option,
  549. U-Boot calls last_stage_init() before the command-line interpreter is
  550. started.
  551. endmenu
  552. menu "Security support"
  553. config HASH
  554. bool # "Support hashing API (SHA1, SHA256, etc.)"
  555. help
  556. This provides a way to hash data in memory using various supported
  557. algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h
  558. and the algorithms it supports are defined in common/hash.c. See
  559. also CMD_HASH for command-line access.
  560. config AVB_VERIFY
  561. bool "Build Android Verified Boot operations"
  562. depends on LIBAVB && FASTBOOT
  563. depends on PARTITION_UUIDS
  564. help
  565. This option enables compilation of bootloader-dependent operations,
  566. used by Android Verified Boot 2.0 library (libavb). Includes:
  567. * Helpers to process strings in order to build OS bootargs.
  568. * Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c.
  569. * Helpers to alloc/init/free avb ops.
  570. endmenu
  571. menu "Update support"
  572. config UPDATE_TFTP
  573. bool "Auto-update using fitImage via TFTP"
  574. depends on FIT
  575. help
  576. This option allows performing update of NOR with data in fitImage
  577. sent via TFTP boot.
  578. config UPDATE_TFTP_CNT_MAX
  579. int "The number of connection retries during auto-update"
  580. default 0
  581. depends on UPDATE_TFTP
  582. config UPDATE_TFTP_MSEC_MAX
  583. int "Delay in mSec to wait for the TFTP server during auto-update"
  584. default 100
  585. depends on UPDATE_TFTP
  586. endmenu
  587. source "common/spl/Kconfig"