Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  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 IDENT_STRING
  226. string "Board specific string to be added to uboot version string"
  227. help
  228. This options adds the board specific name to u-boot version.
  229. config LOGLEVEL
  230. int "loglevel"
  231. default 4
  232. range 0 8
  233. help
  234. All Messages with a loglevel smaller than the console loglevel will
  235. be compiled in. The loglevels are defined as follows:
  236. 0 (KERN_EMERG) system is unusable
  237. 1 (KERN_ALERT) action must be taken immediately
  238. 2 (KERN_CRIT) critical conditions
  239. 3 (KERN_ERR) error conditions
  240. 4 (KERN_WARNING) warning conditions
  241. 5 (KERN_NOTICE) normal but significant condition
  242. 6 (KERN_INFO) informational
  243. 7 (KERN_DEBUG) debug-level messages
  244. config SPL_LOGLEVEL
  245. int
  246. default LOGLEVEL
  247. config SILENT_CONSOLE
  248. bool "Support a silent console"
  249. help
  250. This option allows the console to be silenced, meaning that no
  251. output will appear on the console devices. This is controlled by
  252. setting the environment vaariable 'silent' to a non-empty value.
  253. Note this also silences the console when booting Linux.
  254. When the console is set up, the variable is checked, and the
  255. GD_FLG_SILENT flag is set. Changing the environment variable later
  256. will update the flag.
  257. config SILENT_U_BOOT_ONLY
  258. bool "Only silence the U-Boot console"
  259. depends on SILENT_CONSOLE
  260. help
  261. Normally when the U-Boot console is silenced, Linux's console is
  262. also silenced (assuming the board boots into Linux). This option
  263. allows the linux console to operate normally, even if U-Boot's
  264. is silenced.
  265. config SILENT_CONSOLE_UPDATE_ON_SET
  266. bool "Changes to the 'silent' environment variable update immediately"
  267. depends on SILENT_CONSOLE
  268. default y if SILENT_CONSOLE
  269. help
  270. When the 'silent' environment variable is changed, update the
  271. console silence flag immediately. This allows 'setenv' to be used
  272. to silence or un-silence the console.
  273. The effect is that any change to the variable will affect the
  274. GD_FLG_SILENT flag.
  275. config SILENT_CONSOLE_UPDATE_ON_RELOC
  276. bool "Allow flags to take effect on relocation"
  277. depends on SILENT_CONSOLE
  278. help
  279. In some cases the environment is not available until relocation
  280. (e.g. NAND). This option makes the value of the 'silent'
  281. environment variable take effect at relocation.
  282. config PRE_CONSOLE_BUFFER
  283. bool "Buffer characters before the console is available"
  284. help
  285. Prior to the console being initialised (i.e. serial UART
  286. initialised etc) all console output is silently discarded.
  287. Defining CONFIG_PRE_CONSOLE_BUFFER will cause U-Boot to
  288. buffer any console messages prior to the console being
  289. initialised to a buffer. The buffer is a circular buffer, so
  290. if it overflows, earlier output is discarded.
  291. Note that this is not currently supported in SPL. It would be
  292. useful to be able to share the pre-console buffer with SPL.
  293. config PRE_CON_BUF_SZ
  294. int "Sets the size of the pre-console buffer"
  295. depends on PRE_CONSOLE_BUFFER
  296. default 4096
  297. help
  298. The size of the pre-console buffer affects how much console output
  299. can be held before it overflows and starts discarding earlier
  300. output. Normally there is very little output at this early stage,
  301. unless debugging is enabled, so allow enough for ~10 lines of
  302. text.
  303. This is a useful feature if you are using a video console and
  304. want to see the full boot output on the console. Without this
  305. option only the post-relocation output will be displayed.
  306. config PRE_CON_BUF_ADDR
  307. hex "Address of the pre-console buffer"
  308. depends on PRE_CONSOLE_BUFFER
  309. default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I
  310. default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I
  311. help
  312. This sets the start address of the pre-console buffer. This must
  313. be in available memory and is accessed before relocation and
  314. possibly before DRAM is set up. Therefore choose an address
  315. carefully.
  316. We should consider removing this option and allocating the memory
  317. in board_init_f_init_reserve() instead.
  318. config CONSOLE_MUX
  319. bool "Enable console multiplexing"
  320. default y if DM_VIDEO || VIDEO || LCD
  321. help
  322. This allows multiple devices to be used for each console 'file'.
  323. For example, stdout can be set to go to serial and video.
  324. Similarly, stdin can be set to come from serial and keyboard.
  325. Input can be provided from either source. Console multiplexing
  326. adds a small amount of size to U-Boot. Changes to the environment
  327. variables stdout, stdin and stderr will take effect immediately.
  328. config SYS_CONSOLE_IS_IN_ENV
  329. bool "Select console devices from the environment"
  330. default y if CONSOLE_MUX
  331. help
  332. This allows multiple input/output devices to be set at boot time.
  333. For example, if stdout is set to "serial,video" then output will
  334. be sent to both the serial and video devices on boot. The
  335. environment variables can be updated after boot to change the
  336. input/output devices.
  337. config SYS_CONSOLE_OVERWRITE_ROUTINE
  338. bool "Allow board control over console overwriting"
  339. help
  340. If this is enabled, and the board-specific function
  341. overwrite_console() returns 1, the stdin, stderr and stdout are
  342. switched to the serial port, else the settings in the environment
  343. are used. If this is not enabled, the console will not be switched
  344. to serial.
  345. config SYS_CONSOLE_ENV_OVERWRITE
  346. bool "Update environment variables during console init"
  347. help
  348. The console environment variables (stdout, stdin, stderr) can be
  349. used to determine the correct console devices on start-up. This
  350. option writes the console devices to these variables on console
  351. start-up (after relocation). This causes the environment to be
  352. updated to match the console devices actually chosen.
  353. config SYS_CONSOLE_INFO_QUIET
  354. bool "Don't display the console devices on boot"
  355. help
  356. Normally U-Boot displays the current settings for stdout, stdin
  357. and stderr on boot when the post-relocation console is set up.
  358. Enable this option to supress this output. It can be obtained by
  359. calling stdio_print_current_devices() from board code.
  360. config SYS_STDIO_DEREGISTER
  361. bool "Allow deregistering stdio devices"
  362. default y if USB_KEYBOARD
  363. help
  364. Generally there is no need to deregister stdio devices since they
  365. are never deactivated. But if a stdio device is used which can be
  366. removed (for example a USB keyboard) then this option can be
  367. enabled to ensure this is handled correctly.
  368. endmenu
  369. menu "Logging"
  370. config LOG
  371. bool "Enable logging support"
  372. depends on DM
  373. help
  374. This enables support for logging of status and debug messages. These
  375. can be displayed on the console, recorded in a memory buffer, or
  376. discarded if not needed. Logging supports various categories and
  377. levels of severity.
  378. config SPL_LOG
  379. bool "Enable logging support in SPL"
  380. help
  381. This enables support for logging of status and debug messages. These
  382. can be displayed on the console, recorded in a memory buffer, or
  383. discarded if not needed. Logging supports various categories and
  384. levels of severity.
  385. config LOG_MAX_LEVEL
  386. int "Maximum log level to record"
  387. depends on LOG
  388. default 5
  389. help
  390. This selects the maximum log level that will be recorded. Any value
  391. higher than this will be ignored. If possible log statements below
  392. this level will be discarded at build time. Levels:
  393. 0 - panic
  394. 1 - critical
  395. 2 - error
  396. 3 - warning
  397. 4 - note
  398. 5 - info
  399. 6 - detail
  400. 7 - debug
  401. config SPL_LOG_MAX_LEVEL
  402. int "Maximum log level to record in SPL"
  403. depends on SPL_LOG
  404. default 3
  405. help
  406. This selects the maximum log level that will be recorded. Any value
  407. higher than this will be ignored. If possible log statements below
  408. this level will be discarded at build time. Levels:
  409. 0 - panic
  410. 1 - critical
  411. 2 - error
  412. 3 - warning
  413. 4 - note
  414. 5 - info
  415. 6 - detail
  416. 7 - debug
  417. config LOG_CONSOLE
  418. bool "Allow log output to the console"
  419. depends on LOG
  420. default y
  421. help
  422. Enables a log driver which writes log records to the console.
  423. Generally the console is the serial port or LCD display. Only the
  424. log message is shown - other details like level, category, file and
  425. line number are omitted.
  426. config LOG_SPL_CONSOLE
  427. bool "Allow log output to the console in SPL"
  428. depends on LOG_SPL
  429. default y
  430. help
  431. Enables a log driver which writes log records to the console.
  432. Generally the console is the serial port or LCD display. Only the
  433. log message is shown - other details like level, category, file and
  434. line number are omitted.
  435. config LOG_TEST
  436. bool "Provide a test for logging"
  437. depends on LOG
  438. default y if SANDBOX
  439. help
  440. This enables a 'log test' command to test logging. It is normally
  441. executed from a pytest and simply outputs logging information
  442. in various different ways to test that the logging system works
  443. correctly with varoius settings.
  444. config LOG_ERROR_RETURN
  445. bool "Log all functions which return an error"
  446. depends on LOG
  447. help
  448. When an error is returned in U-Boot it is sometimes difficult to
  449. figure out the root cause. For eaxmple, reading from SPI flash may
  450. fail due to a problem in the SPI controller or due to the flash part
  451. not returning the expected information. This option changes
  452. log_ret() to log any errors it sees. With this option disabled,
  453. log_ret() is a nop.
  454. You can add log_ret() to all functions which return an error code.
  455. endmenu
  456. config SUPPORT_RAW_INITRD
  457. bool "Enable raw initrd images"
  458. help
  459. Note, defining the SUPPORT_RAW_INITRD allows user to supply
  460. kernel with raw initrd images. The syntax is slightly different, the
  461. address of the initrd must be augmented by it's size, in the following
  462. format: "<initrd address>:<initrd size>".
  463. config DEFAULT_FDT_FILE
  464. string "Default fdt file"
  465. help
  466. This option is used to set the default fdt file to boot OS.
  467. config MISC_INIT_R
  468. bool "Execute Misc Init"
  469. default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
  470. default y if ARCH_OMAP2PLUS && !AM33XX
  471. help
  472. Enabling this option calls 'misc_init_r' function
  473. config VERSION_VARIABLE
  474. bool "add U-Boot environment variable vers"
  475. default n
  476. help
  477. If this variable is defined, an environment variable
  478. named "ver" is created by U-Boot showing the U-Boot
  479. version as printed by the "version" command.
  480. Any change to this variable will be reverted at the
  481. next reset.
  482. config BOARD_LATE_INIT
  483. bool
  484. help
  485. Sometimes board require some initialization code that might
  486. require once the actual init done, example saving board specific env,
  487. boot-modes etc. which eventually done at late.
  488. So this config enable the late init code with the help of board_late_init
  489. function which should defined on respective boards.
  490. config DISPLAY_CPUINFO
  491. bool "Display information about the CPU during start up"
  492. default y if ARM || NIOS2 || X86 || XTENSA || M68K
  493. help
  494. Display information about the CPU that U-Boot is running on
  495. when U-Boot starts up. The function print_cpuinfo() is called
  496. to do this.
  497. config DISPLAY_BOARDINFO
  498. bool "Display information about the board during early start up"
  499. default y if ARM || M68K || MIPS || PPC || SANDBOX || XTENSA
  500. help
  501. Display information about the board that U-Boot is running on
  502. when U-Boot starts up. The board function checkboard() is called
  503. to do this.
  504. config DISPLAY_BOARDINFO_LATE
  505. bool "Display information about the board during late start up"
  506. help
  507. Display information about the board that U-Boot is running on after
  508. the relocation phase. The board function checkboard() is called to do
  509. this.
  510. menu "Start-up hooks"
  511. config ARCH_EARLY_INIT_R
  512. bool "Call arch-specific init soon after relocation"
  513. help
  514. With this option U-Boot will call arch_early_init_r() soon after
  515. relocation. Driver model is running by this point, and the cache
  516. is on. Note that board_early_init_r() is called first, if
  517. enabled. This can be used to set up architecture-specific devices.
  518. config ARCH_MISC_INIT
  519. bool "Call arch-specific init after relocation, when console is ready"
  520. help
  521. With this option U-Boot will call arch_misc_init() after
  522. relocation to allow miscellaneous arch-dependent initialisation
  523. to be performed. This function should be defined by the board
  524. and will be called after the console is set up, after relocaiton.
  525. config BOARD_EARLY_INIT_F
  526. bool "Call board-specific init before relocation"
  527. help
  528. Some boards need to perform initialisation as soon as possible
  529. after boot. With this option, U-Boot calls board_early_init_f()
  530. after driver model is ready in the pre-relocation init sequence.
  531. Note that the normal serial console is not yet set up, but the
  532. debug UART will be available if enabled.
  533. config BOARD_EARLY_INIT_R
  534. bool "Call board-specific init after relocation"
  535. help
  536. Some boards need to perform initialisation as directly after
  537. relocation. With this option, U-Boot calls board_early_init_r()
  538. in the post-relocation init sequence.
  539. config LAST_STAGE_INIT
  540. bool "Call board-specific as last setup step"
  541. help
  542. Some boards need to perform initialisation immediately before control
  543. is passed to the command-line interpreter (e.g. for initializations
  544. that depend on later phases in the init sequence). With this option,
  545. U-Boot calls last_stage_init() before the command-line interpreter is
  546. started.
  547. endmenu
  548. menu "Security support"
  549. config HASH
  550. bool # "Support hashing API (SHA1, SHA256, etc.)"
  551. help
  552. This provides a way to hash data in memory using various supported
  553. algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h
  554. and the algorithms it supports are defined in common/hash.c. See
  555. also CMD_HASH for command-line access.
  556. config AVB_VERIFY
  557. bool "Build Android Verified Boot operations"
  558. depends on LIBAVB && FASTBOOT
  559. depends on PARTITION_UUIDS
  560. help
  561. This option enables compilation of bootloader-dependent operations,
  562. used by Android Verified Boot 2.0 library (libavb). Includes:
  563. * Helpers to process strings in order to build OS bootargs.
  564. * Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c.
  565. * Helpers to alloc/init/free avb ops.
  566. endmenu
  567. menu "Update support"
  568. config UPDATE_TFTP
  569. bool "Auto-update using fitImage via TFTP"
  570. depends on FIT
  571. help
  572. This option allows performing update of NOR with data in fitImage
  573. sent via TFTP boot.
  574. config UPDATE_TFTP_CNT_MAX
  575. int "The number of connection retries during auto-update"
  576. default 0
  577. depends on UPDATE_TFTP
  578. config UPDATE_TFTP_MSEC_MAX
  579. int "Delay in mSec to wait for the TFTP server during auto-update"
  580. default 100
  581. depends on UPDATE_TFTP
  582. endmenu
  583. source "common/spl/Kconfig"