1ee2b2434SSimon Glassmenu "Boot timing" 2ee2b2434SSimon Glass 3ee2b2434SSimon Glassconfig BOOTSTAGE 4ee2b2434SSimon Glass bool "Boot timing and reporting" 5ee2b2434SSimon Glass help 6ee2b2434SSimon Glass Enable recording of boot time while booting. To use it, insert 7ee2b2434SSimon Glass calls to bootstage_mark() with a suitable BOOTSTAGE_ID from 8ee2b2434SSimon Glass bootstage.h. Only a single entry is recorded for each ID. You can 9ee2b2434SSimon Glass give the entry a name with bootstage_mark_name(). You can also 10ee2b2434SSimon Glass record elapsed time in a particular stage using bootstage_start() 11ee2b2434SSimon Glass before starting and bootstage_accum() when finished. Bootstage will 1257247d9cSRobert P. J. Day add up all the accumulated time and report it. 13ee2b2434SSimon Glass 14ee2b2434SSimon Glass Normally, IDs are defined in bootstage.h but a small number of 1557247d9cSRobert P. J. Day additional 'user' IDs can be used by passing BOOTSTAGE_ID_ALLOC 16ee2b2434SSimon Glass as the ID. 17ee2b2434SSimon Glass 1857247d9cSRobert P. J. Day Calls to show_boot_progress() will also result in log entries but 19ee2b2434SSimon Glass these will not have names. 20ee2b2434SSimon Glass 21824bb1b4SSimon Glassconfig SPL_BOOTSTAGE 22824bb1b4SSimon Glass bool "Boot timing and reported in SPL" 23824bb1b4SSimon Glass depends on BOOTSTAGE 24824bb1b4SSimon Glass help 25824bb1b4SSimon Glass Enable recording of boot time in SPL. To make this visible to U-Boot 26824bb1b4SSimon Glass proper, enable BOOTSTAGE_STASH as well. This will stash the timing 27824bb1b4SSimon Glass information when SPL finishes and load it when U-Boot proper starts 28824bb1b4SSimon Glass up. 29824bb1b4SSimon Glass 30c0126bd8SSimon Glassconfig TPL_BOOTSTAGE 31c0126bd8SSimon Glass bool "Boot timing and reported in TPL" 32c0126bd8SSimon Glass depends on BOOTSTAGE 33c0126bd8SSimon Glass help 34c0126bd8SSimon Glass Enable recording of boot time in SPL. To make this visible to U-Boot 35c0126bd8SSimon Glass proper, enable BOOTSTAGE_STASH as well. This will stash the timing 36c0126bd8SSimon Glass information when TPL finishes and load it when U-Boot proper starts 37c0126bd8SSimon Glass up. 38c0126bd8SSimon Glass 39ee2b2434SSimon Glassconfig BOOTSTAGE_REPORT 40ee2b2434SSimon Glass bool "Display a detailed boot timing report before booting the OS" 41ee2b2434SSimon Glass depends on BOOTSTAGE 42ee2b2434SSimon Glass help 43ee2b2434SSimon Glass Enable output of a boot time report just before the OS is booted. 44ee2b2434SSimon Glass This shows how long it took U-Boot to go through each stage of the 45ee2b2434SSimon Glass boot process. The report looks something like this: 46ee2b2434SSimon Glass 47ee2b2434SSimon Glass Timer summary in microseconds: 48ee2b2434SSimon Glass Mark Elapsed Stage 49ee2b2434SSimon Glass 0 0 reset 50ee2b2434SSimon Glass 3,575,678 3,575,678 board_init_f start 51ee2b2434SSimon Glass 3,575,695 17 arch_cpu_init A9 52ee2b2434SSimon Glass 3,575,777 82 arch_cpu_init done 53ee2b2434SSimon Glass 3,659,598 83,821 board_init_r start 54ee2b2434SSimon Glass 3,910,375 250,777 main_loop 55ee2b2434SSimon Glass 29,916,167 26,005,792 bootm_start 56ee2b2434SSimon Glass 30,361,327 445,160 start_kernel 57ee2b2434SSimon Glass 5803ecac31SSimon Glassconfig BOOTSTAGE_RECORD_COUNT 5903ecac31SSimon Glass int "Number of boot stage records to store" 6003ecac31SSimon Glass default 30 6103ecac31SSimon Glass help 6203ecac31SSimon Glass This is the size of the bootstage record list and is the maximum 6303ecac31SSimon Glass number of bootstage records that can be recorded. 6403ecac31SSimon Glass 65d69bb0ecSSimon Glassconfig SPL_BOOTSTAGE_RECORD_COUNT 66d69bb0ecSSimon Glass int "Number of boot stage records to store for SPL" 67d69bb0ecSSimon Glass default 5 68d69bb0ecSSimon Glass help 69d69bb0ecSSimon Glass This is the size of the bootstage record list and is the maximum 70d69bb0ecSSimon Glass number of bootstage records that can be recorded. 71d69bb0ecSSimon Glass 72ee2b2434SSimon Glassconfig BOOTSTAGE_FDT 73ee2b2434SSimon Glass bool "Store boot timing information in the OS device tree" 74ee2b2434SSimon Glass depends on BOOTSTAGE 75ee2b2434SSimon Glass help 76ee2b2434SSimon Glass Stash the bootstage information in the FDT. A root 'bootstage' 77ee2b2434SSimon Glass node is created with each bootstage id as a child. Each child 78ee2b2434SSimon Glass has a 'name' property and either 'mark' containing the 7957247d9cSRobert P. J. Day mark time in microseconds, or 'accum' containing the 80ee2b2434SSimon Glass accumulated time for that bootstage id in microseconds. 81ee2b2434SSimon Glass For example: 82ee2b2434SSimon Glass 83ee2b2434SSimon Glass bootstage { 84ee2b2434SSimon Glass 154 { 85ee2b2434SSimon Glass name = "board_init_f"; 86ee2b2434SSimon Glass mark = <3575678>; 87ee2b2434SSimon Glass }; 88ee2b2434SSimon Glass 170 { 89ee2b2434SSimon Glass name = "lcd"; 90ee2b2434SSimon Glass accum = <33482>; 91ee2b2434SSimon Glass }; 92ee2b2434SSimon Glass }; 93ee2b2434SSimon Glass 94ee2b2434SSimon Glass Code in the Linux kernel can find this in /proc/devicetree. 95ee2b2434SSimon Glass 96ee2b2434SSimon Glassconfig BOOTSTAGE_STASH 97ee2b2434SSimon Glass bool "Stash the boot timing information in memory before booting OS" 98ee2b2434SSimon Glass depends on BOOTSTAGE 99ee2b2434SSimon Glass help 100ee2b2434SSimon Glass Some OSes do not support device tree. Bootstage can instead write 101ee2b2434SSimon Glass the boot timing information in a binary format at a given address. 102ee2b2434SSimon Glass This happens through a call to bootstage_stash(), typically in 103ee2b2434SSimon Glass the CPU's cleanup_before_linux() function. You can use the 104ee2b2434SSimon Glass 'bootstage stash' and 'bootstage unstash' commands to do this on 105ee2b2434SSimon Glass the command line. 106ee2b2434SSimon Glass 107ee2b2434SSimon Glassconfig BOOTSTAGE_STASH_ADDR 108ee2b2434SSimon Glass hex "Address to stash boot timing information" 109ee2b2434SSimon Glass default 0 110ee2b2434SSimon Glass help 111ee2b2434SSimon Glass Provide an address which will not be overwritten by the OS when it 112ee2b2434SSimon Glass starts, so that it can read this information when ready. 113ee2b2434SSimon Glass 114ee2b2434SSimon Glassconfig BOOTSTAGE_STASH_SIZE 115ee2b2434SSimon Glass hex "Size of boot timing stash region" 116fad6a2b7SNobuhiro Iwamatsu default 0x1000 117ee2b2434SSimon Glass help 118ee2b2434SSimon Glass This should be large enough to hold the bootstage stash. A value of 119ee2b2434SSimon Glass 4096 (4KiB) is normally plenty. 120ee2b2434SSimon Glass 121ee2b2434SSimon Glassendmenu 122ee2b2434SSimon Glass 123d14739ffSPeng Fanmenu "Boot media" 124d14739ffSPeng Fan 125d14739ffSPeng Fanconfig NOR_BOOT 126d14739ffSPeng Fan bool "Support for booting from NOR flash" 127d14739ffSPeng Fan depends on NOR 128d14739ffSPeng Fan help 129d14739ffSPeng Fan Enabling this will make a U-Boot binary that is capable of being 130d14739ffSPeng Fan booted via NOR. In this case we will enable certain pinmux early 131d14739ffSPeng Fan as the ROM only partially sets up pinmux. We also default to using 132d14739ffSPeng Fan NOR for environment. 133d14739ffSPeng Fan 134faaef73fSPeng Fanconfig NAND_BOOT 135faaef73fSPeng Fan bool "Support for booting from NAND flash" 136faaef73fSPeng Fan default n 1379d04b5feSAdam Ford imply NAND 138faaef73fSPeng Fan help 139faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 140faaef73fSPeng Fan booted via NAND flash. This is not a must, some SoCs need this, 14157247d9cSRobert P. J. Day some not. 142faaef73fSPeng Fan 143faaef73fSPeng Fanconfig ONENAND_BOOT 144faaef73fSPeng Fan bool "Support for booting from ONENAND" 145faaef73fSPeng Fan default n 1469d04b5feSAdam Ford imply NAND 147faaef73fSPeng Fan help 148faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 149faaef73fSPeng Fan booted via ONENAND. This is not a must, some SoCs need this, 15057247d9cSRobert P. J. Day some not. 151faaef73fSPeng Fan 152faaef73fSPeng Fanconfig QSPI_BOOT 153faaef73fSPeng Fan bool "Support for booting from QSPI flash" 154faaef73fSPeng Fan default n 155faaef73fSPeng Fan help 156faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 157faaef73fSPeng Fan booted via QSPI flash. This is not a must, some SoCs need this, 15857247d9cSRobert P. J. Day some not. 159faaef73fSPeng Fan 160faaef73fSPeng Fanconfig SATA_BOOT 161faaef73fSPeng Fan bool "Support for booting from SATA" 162faaef73fSPeng Fan default n 163faaef73fSPeng Fan help 164faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 165faaef73fSPeng Fan booted via SATA. This is not a must, some SoCs need this, 16657247d9cSRobert P. J. Day some not. 167faaef73fSPeng Fan 168faaef73fSPeng Fanconfig SD_BOOT 169faaef73fSPeng Fan bool "Support for booting from SD/EMMC" 170faaef73fSPeng Fan default n 171faaef73fSPeng Fan help 172faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 173faaef73fSPeng Fan booted via SD/EMMC. This is not a must, some SoCs need this, 17457247d9cSRobert P. J. Day some not. 175faaef73fSPeng Fan 176faaef73fSPeng Fanconfig SPI_BOOT 177faaef73fSPeng Fan bool "Support for booting from SPI flash" 178faaef73fSPeng Fan default n 179faaef73fSPeng Fan help 180faaef73fSPeng Fan Enabling this will make a U-Boot binary that is capable of being 181faaef73fSPeng Fan booted via SPI flash. This is not a must, some SoCs need this, 18257247d9cSRobert P. J. Day some not. 183faaef73fSPeng Fan 184d14739ffSPeng Fanendmenu 185d14739ffSPeng Fan 186bb597c0eSHeiko Schocherconfig BOOTDELAY 187bb597c0eSHeiko Schocher int "delay in seconds before automatically booting" 1885e4e8741STom Rini default 2 18941598c82SMasahiro Yamada depends on AUTOBOOT 190bb597c0eSHeiko Schocher help 191bb597c0eSHeiko Schocher Delay before automatically running bootcmd; 1922fbb8462SMasahiro Yamada set to 0 to autoboot with no delay, but you can stop it by key input. 193bb597c0eSHeiko Schocher set to -1 to disable autoboot. 194bb597c0eSHeiko Schocher set to -2 to autoboot with no delay and not check for abort 195bb597c0eSHeiko Schocher 196b27dc8ecSAlex Kiernan If this value is >= 0 then it is also used for the default delay 197b27dc8ecSAlex Kiernan before starting the default entry in bootmenu. If it is < 0 then 198b27dc8ecSAlex Kiernan a default value of 10s is used. 199b27dc8ecSAlex Kiernan 2009060970fSMasahiro Yamada See doc/README.autoboot for details. 2019060970fSMasahiro Yamada 2025abc1a45SSam Protsenkoconfig USE_BOOTARGS 2035abc1a45SSam Protsenko bool "Enable boot arguments" 2045abc1a45SSam Protsenko help 2055abc1a45SSam Protsenko Provide boot arguments to bootm command. Boot arguments are specified 2065abc1a45SSam Protsenko in CONFIG_BOOTARGS option. Enable this option to be able to specify 2075abc1a45SSam Protsenko CONFIG_BOOTARGS string. If this option is disabled, CONFIG_BOOTARGS 2085abc1a45SSam Protsenko will be undefined and won't take any space in U-Boot image. 2095abc1a45SSam Protsenko 2105abc1a45SSam Protsenkoconfig BOOTARGS 2115abc1a45SSam Protsenko string "Boot arguments" 2125abc1a45SSam Protsenko depends on USE_BOOTARGS 2135abc1a45SSam Protsenko help 2145abc1a45SSam Protsenko This can be used to pass arguments to the bootm command. The value of 2155abc1a45SSam Protsenko CONFIG_BOOTARGS goes into the environment value "bootargs". Note that 2165abc1a45SSam Protsenko this value will also override the "chosen" node in FDT blob. 2175abc1a45SSam Protsenko 218b6251db8STom Riniconfig USE_BOOTCOMMAND 219b6251db8STom Rini bool "Enable a default value for bootcmd" 220b6251db8STom Rini help 221b6251db8STom Rini Provide a default value for the bootcmd entry in the environment. If 222b6251db8STom Rini autoboot is enabled this is what will be run automatically. Enable 223b6251db8STom Rini this option to be able to specify CONFIG_BOOTCOMMAND as a string. If 224b6251db8STom Rini this option is disabled, CONFIG_BOOTCOMMAND will be undefined and 225b6251db8STom Rini won't take any space in U-Boot image. 226b6251db8STom Rini 227b6251db8STom Riniconfig BOOTCOMMAND 228b6251db8STom Rini string "bootcmd value" 229b6251db8STom Rini depends on USE_BOOTCOMMAND 230b6251db8STom Rini default "run distro_bootcmd" if DISTRO_DEFAULTS 231b6251db8STom Rini help 232b6251db8STom Rini This is the string of commands that will be used as bootcmd and if 233b6251db8STom Rini AUTOBOOT is set, automatically run. 234b6251db8STom Rini 23598af8799SSimon Glassmenu "Console" 23698af8799SSimon Glass 2374880b026STom Riniconfig MENU 2384880b026STom Rini bool 2394880b026STom Rini help 2404880b026STom Rini This is the library functionality to provide a text-based menu of 2414880b026STom Rini choices for the user to make choices with. 2424880b026STom Rini 2439854a874SSimon Glassconfig CONSOLE_RECORD 2449854a874SSimon Glass bool "Console recording" 2459854a874SSimon Glass help 2469854a874SSimon Glass This provides a way to record console output (and provide console 24757247d9cSRobert P. J. Day input) through circular buffers. This is mostly useful for testing. 2489854a874SSimon Glass Console output is recorded even when the console is silent. 2499854a874SSimon Glass To enable console recording, call console_record_reset_enable() 2509854a874SSimon Glass from your code. 2519854a874SSimon Glass 2529854a874SSimon Glassconfig CONSOLE_RECORD_OUT_SIZE 2539854a874SSimon Glass hex "Output buffer size" 2549854a874SSimon Glass depends on CONSOLE_RECORD 2559854a874SSimon Glass default 0x400 if CONSOLE_RECORD 2569854a874SSimon Glass help 2579854a874SSimon Glass Set the size of the console output buffer. When this fills up, no 2589854a874SSimon Glass more data will be recorded until some is removed. The buffer is 2599854a874SSimon Glass allocated immediately after the malloc() region is ready. 2609854a874SSimon Glass 2619854a874SSimon Glassconfig CONSOLE_RECORD_IN_SIZE 2629854a874SSimon Glass hex "Input buffer size" 2639854a874SSimon Glass depends on CONSOLE_RECORD 2649854a874SSimon Glass default 0x100 if CONSOLE_RECORD 2659854a874SSimon Glass help 2669854a874SSimon Glass Set the size of the console input buffer. When this contains data, 2679854a874SSimon Glass tstc() and getc() will use this in preference to real device input. 2689854a874SSimon Glass The buffer is allocated immediately after the malloc() region is 2699854a874SSimon Glass ready. 2704d25507fSSiva Durga Prasad Paladugu 27183f6f608SChristian Gmeinerconfig DISABLE_CONSOLE 27283f6f608SChristian Gmeiner bool "Add functionality to disable console completely" 27383f6f608SChristian Gmeiner help 27483f6f608SChristian Gmeiner Disable console (in & out). 27583f6f608SChristian Gmeiner 276a4d88920SSiva Durga Prasad Paladuguconfig IDENT_STRING 277a4d88920SSiva Durga Prasad Paladugu string "Board specific string to be added to uboot version string" 278a4d88920SSiva Durga Prasad Paladugu help 279a4d88920SSiva Durga Prasad Paladugu This options adds the board specific name to u-boot version. 280a4d88920SSiva Durga Prasad Paladugu 281b44b3026SMasahiro Yamadaconfig LOGLEVEL 282b44b3026SMasahiro Yamada int "loglevel" 2836a3e65deSTom Rini default 4 284b44b3026SMasahiro Yamada range 0 8 285b44b3026SMasahiro Yamada help 286b44b3026SMasahiro Yamada All Messages with a loglevel smaller than the console loglevel will 287b44b3026SMasahiro Yamada be compiled in. The loglevels are defined as follows: 288b44b3026SMasahiro Yamada 2896fc7e938SSimon Glass 0 - emergency 2906fc7e938SSimon Glass 1 - alert 2916fc7e938SSimon Glass 2 - critical 2926fc7e938SSimon Glass 3 - error 2936fc7e938SSimon Glass 4 - warning 2946fc7e938SSimon Glass 5 - note 2956fc7e938SSimon Glass 6 - info 2966fc7e938SSimon Glass 7 - debug 2976fc7e938SSimon Glass 8 - debug content 2986fc7e938SSimon Glass 9 - debug hardware I/O 299b44b3026SMasahiro Yamada 300b44b3026SMasahiro Yamadaconfig SPL_LOGLEVEL 301b44b3026SMasahiro Yamada int 302b44b3026SMasahiro Yamada default LOGLEVEL 303b44b3026SMasahiro Yamada 3044d8d3056SSimon Glassconfig TPL_LOGLEVEL 3054d8d3056SSimon Glass int 3064d8d3056SSimon Glass default LOGLEVEL 3074d8d3056SSimon Glass 30898af8799SSimon Glassconfig SILENT_CONSOLE 30998af8799SSimon Glass bool "Support a silent console" 31098af8799SSimon Glass help 31198af8799SSimon Glass This option allows the console to be silenced, meaning that no 31298af8799SSimon Glass output will appear on the console devices. This is controlled by 313f7597730SChris Packham setting the environment variable 'silent' to a non-empty value. 31498af8799SSimon Glass Note this also silences the console when booting Linux. 31598af8799SSimon Glass 31698af8799SSimon Glass When the console is set up, the variable is checked, and the 31798af8799SSimon Glass GD_FLG_SILENT flag is set. Changing the environment variable later 31898af8799SSimon Glass will update the flag. 31998af8799SSimon Glass 32098af8799SSimon Glassconfig SILENT_U_BOOT_ONLY 32198af8799SSimon Glass bool "Only silence the U-Boot console" 32298af8799SSimon Glass depends on SILENT_CONSOLE 32398af8799SSimon Glass help 32498af8799SSimon Glass Normally when the U-Boot console is silenced, Linux's console is 32598af8799SSimon Glass also silenced (assuming the board boots into Linux). This option 32698af8799SSimon Glass allows the linux console to operate normally, even if U-Boot's 32798af8799SSimon Glass is silenced. 32898af8799SSimon Glass 32998af8799SSimon Glassconfig SILENT_CONSOLE_UPDATE_ON_SET 33098af8799SSimon Glass bool "Changes to the 'silent' environment variable update immediately" 33198af8799SSimon Glass depends on SILENT_CONSOLE 33298af8799SSimon Glass default y if SILENT_CONSOLE 33398af8799SSimon Glass help 33498af8799SSimon Glass When the 'silent' environment variable is changed, update the 33598af8799SSimon Glass console silence flag immediately. This allows 'setenv' to be used 33698af8799SSimon Glass to silence or un-silence the console. 33798af8799SSimon Glass 33898af8799SSimon Glass The effect is that any change to the variable will affect the 33998af8799SSimon Glass GD_FLG_SILENT flag. 34098af8799SSimon Glass 34198af8799SSimon Glassconfig SILENT_CONSOLE_UPDATE_ON_RELOC 34298af8799SSimon Glass bool "Allow flags to take effect on relocation" 34398af8799SSimon Glass depends on SILENT_CONSOLE 34498af8799SSimon Glass help 34598af8799SSimon Glass In some cases the environment is not available until relocation 34698af8799SSimon Glass (e.g. NAND). This option makes the value of the 'silent' 34798af8799SSimon Glass environment variable take effect at relocation. 34898af8799SSimon Glass 3498f925584SSimon Glassconfig PRE_CONSOLE_BUFFER 3508f925584SSimon Glass bool "Buffer characters before the console is available" 3518f925584SSimon Glass help 3528f925584SSimon Glass Prior to the console being initialised (i.e. serial UART 3538f925584SSimon Glass initialised etc) all console output is silently discarded. 3548f925584SSimon Glass Defining CONFIG_PRE_CONSOLE_BUFFER will cause U-Boot to 3558f925584SSimon Glass buffer any console messages prior to the console being 3568f925584SSimon Glass initialised to a buffer. The buffer is a circular buffer, so 3578f925584SSimon Glass if it overflows, earlier output is discarded. 3588f925584SSimon Glass 3598f925584SSimon Glass Note that this is not currently supported in SPL. It would be 3608f925584SSimon Glass useful to be able to share the pre-console buffer with SPL. 3618f925584SSimon Glass 3628f925584SSimon Glassconfig PRE_CON_BUF_SZ 3638f925584SSimon Glass int "Sets the size of the pre-console buffer" 3648f925584SSimon Glass depends on PRE_CONSOLE_BUFFER 3658f925584SSimon Glass default 4096 3668f925584SSimon Glass help 3678f925584SSimon Glass The size of the pre-console buffer affects how much console output 3688f925584SSimon Glass can be held before it overflows and starts discarding earlier 3698f925584SSimon Glass output. Normally there is very little output at this early stage, 3708f925584SSimon Glass unless debugging is enabled, so allow enough for ~10 lines of 3718f925584SSimon Glass text. 3728f925584SSimon Glass 3738f925584SSimon Glass This is a useful feature if you are using a video console and 3748f925584SSimon Glass want to see the full boot output on the console. Without this 3758f925584SSimon Glass option only the post-relocation output will be displayed. 3768f925584SSimon Glass 3778f925584SSimon Glassconfig PRE_CON_BUF_ADDR 3788f925584SSimon Glass hex "Address of the pre-console buffer" 3798f925584SSimon Glass depends on PRE_CONSOLE_BUFFER 3808f925584SSimon Glass default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I 3818f925584SSimon Glass default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I 3828f925584SSimon Glass help 3838f925584SSimon Glass This sets the start address of the pre-console buffer. This must 3848f925584SSimon Glass be in available memory and is accessed before relocation and 3858f925584SSimon Glass possibly before DRAM is set up. Therefore choose an address 3868f925584SSimon Glass carefully. 3878f925584SSimon Glass 3888f925584SSimon Glass We should consider removing this option and allocating the memory 3898f925584SSimon Glass in board_init_f_init_reserve() instead. 3908f925584SSimon Glass 391ef26d603SSimon Glassconfig CONSOLE_MUX 392ef26d603SSimon Glass bool "Enable console multiplexing" 393ef26d603SSimon Glass default y if DM_VIDEO || VIDEO || LCD 394ef26d603SSimon Glass help 395ef26d603SSimon Glass This allows multiple devices to be used for each console 'file'. 396ef26d603SSimon Glass For example, stdout can be set to go to serial and video. 397ef26d603SSimon Glass Similarly, stdin can be set to come from serial and keyboard. 398ef26d603SSimon Glass Input can be provided from either source. Console multiplexing 399ef26d603SSimon Glass adds a small amount of size to U-Boot. Changes to the environment 400ef26d603SSimon Glass variables stdout, stdin and stderr will take effect immediately. 401ef26d603SSimon Glass 402ef26d603SSimon Glassconfig SYS_CONSOLE_IS_IN_ENV 403ef26d603SSimon Glass bool "Select console devices from the environment" 404ef26d603SSimon Glass default y if CONSOLE_MUX 405ef26d603SSimon Glass help 406ef26d603SSimon Glass This allows multiple input/output devices to be set at boot time. 407ef26d603SSimon Glass For example, if stdout is set to "serial,video" then output will 408ef26d603SSimon Glass be sent to both the serial and video devices on boot. The 409ef26d603SSimon Glass environment variables can be updated after boot to change the 410ef26d603SSimon Glass input/output devices. 411ef26d603SSimon Glass 41284f2a5d0SSimon Glassconfig SYS_CONSOLE_OVERWRITE_ROUTINE 41384f2a5d0SSimon Glass bool "Allow board control over console overwriting" 41484f2a5d0SSimon Glass help 41584f2a5d0SSimon Glass If this is enabled, and the board-specific function 41684f2a5d0SSimon Glass overwrite_console() returns 1, the stdin, stderr and stdout are 41784f2a5d0SSimon Glass switched to the serial port, else the settings in the environment 41884f2a5d0SSimon Glass are used. If this is not enabled, the console will not be switched 41984f2a5d0SSimon Glass to serial. 42084f2a5d0SSimon Glass 4213505bc55SSimon Glassconfig SYS_CONSOLE_ENV_OVERWRITE 4223505bc55SSimon Glass bool "Update environment variables during console init" 4233505bc55SSimon Glass help 4243505bc55SSimon Glass The console environment variables (stdout, stdin, stderr) can be 4253505bc55SSimon Glass used to determine the correct console devices on start-up. This 4263505bc55SSimon Glass option writes the console devices to these variables on console 4273505bc55SSimon Glass start-up (after relocation). This causes the environment to be 4283505bc55SSimon Glass updated to match the console devices actually chosen. 4293505bc55SSimon Glass 430f3f3efffSSimon Glassconfig SYS_CONSOLE_INFO_QUIET 431f3f3efffSSimon Glass bool "Don't display the console devices on boot" 432f3f3efffSSimon Glass help 433f3f3efffSSimon Glass Normally U-Boot displays the current settings for stdout, stdin 434f3f3efffSSimon Glass and stderr on boot when the post-relocation console is set up. 435f7597730SChris Packham Enable this option to suppress this output. It can be obtained by 436f3f3efffSSimon Glass calling stdio_print_current_devices() from board code. 437f3f3efffSSimon Glass 438869588deSSimon Glassconfig SYS_STDIO_DEREGISTER 439869588deSSimon Glass bool "Allow deregistering stdio devices" 440869588deSSimon Glass default y if USB_KEYBOARD 441869588deSSimon Glass help 442869588deSSimon Glass Generally there is no need to deregister stdio devices since they 443869588deSSimon Glass are never deactivated. But if a stdio device is used which can be 444869588deSSimon Glass removed (for example a USB keyboard) then this option can be 445869588deSSimon Glass enabled to ensure this is handled correctly. 446869588deSSimon Glass 44798af8799SSimon Glassendmenu 44898af8799SSimon Glass 449e9c8d49dSSimon Glassmenu "Logging" 450e9c8d49dSSimon Glass 451e9c8d49dSSimon Glassconfig LOG 452e9c8d49dSSimon Glass bool "Enable logging support" 453563273dfSMichal Simek depends on DM 454e9c8d49dSSimon Glass help 455e9c8d49dSSimon Glass This enables support for logging of status and debug messages. These 456e9c8d49dSSimon Glass can be displayed on the console, recorded in a memory buffer, or 457e9c8d49dSSimon Glass discarded if not needed. Logging supports various categories and 458e9c8d49dSSimon Glass levels of severity. 459e9c8d49dSSimon Glass 460e9c8d49dSSimon Glassconfig SPL_LOG 461e9c8d49dSSimon Glass bool "Enable logging support in SPL" 462c0126bd8SSimon Glass depends on LOG 463c0126bd8SSimon Glass help 464c0126bd8SSimon Glass This enables support for logging of status and debug messages. These 465c0126bd8SSimon Glass can be displayed on the console, recorded in a memory buffer, or 466c0126bd8SSimon Glass discarded if not needed. Logging supports various categories and 467c0126bd8SSimon Glass levels of severity. 468c0126bd8SSimon Glass 469c0126bd8SSimon Glassconfig TPL_LOG 470c0126bd8SSimon Glass bool "Enable logging support in TPL" 471c0126bd8SSimon Glass depends on LOG 472e9c8d49dSSimon Glass help 473e9c8d49dSSimon Glass This enables support for logging of status and debug messages. These 474e9c8d49dSSimon Glass can be displayed on the console, recorded in a memory buffer, or 475e9c8d49dSSimon Glass discarded if not needed. Logging supports various categories and 476e9c8d49dSSimon Glass levels of severity. 477e9c8d49dSSimon Glass 478e9c8d49dSSimon Glassconfig LOG_MAX_LEVEL 479e9c8d49dSSimon Glass int "Maximum log level to record" 480e9c8d49dSSimon Glass depends on LOG 481e9c8d49dSSimon Glass default 5 482e9c8d49dSSimon Glass help 483e9c8d49dSSimon Glass This selects the maximum log level that will be recorded. Any value 484e9c8d49dSSimon Glass higher than this will be ignored. If possible log statements below 485e9c8d49dSSimon Glass this level will be discarded at build time. Levels: 486e9c8d49dSSimon Glass 4876fc7e938SSimon Glass 0 - emergency 4886fc7e938SSimon Glass 1 - alert 4896fc7e938SSimon Glass 2 - critical 4906fc7e938SSimon Glass 3 - error 4916fc7e938SSimon Glass 4 - warning 4926fc7e938SSimon Glass 5 - note 4936fc7e938SSimon Glass 6 - info 494e9c8d49dSSimon Glass 7 - debug 4956fc7e938SSimon Glass 8 - debug content 4966fc7e938SSimon Glass 9 - debug hardware I/O 497e9c8d49dSSimon Glass 498e9c8d49dSSimon Glassconfig SPL_LOG_MAX_LEVEL 499e9c8d49dSSimon Glass int "Maximum log level to record in SPL" 500e9c8d49dSSimon Glass depends on SPL_LOG 501e9c8d49dSSimon Glass default 3 502e9c8d49dSSimon Glass help 503e9c8d49dSSimon Glass This selects the maximum log level that will be recorded. Any value 504e9c8d49dSSimon Glass higher than this will be ignored. If possible log statements below 505e9c8d49dSSimon Glass this level will be discarded at build time. Levels: 506e9c8d49dSSimon Glass 5076fc7e938SSimon Glass 0 - emergency 5086fc7e938SSimon Glass 1 - alert 5096fc7e938SSimon Glass 2 - critical 5106fc7e938SSimon Glass 3 - error 5116fc7e938SSimon Glass 4 - warning 5126fc7e938SSimon Glass 5 - note 5136fc7e938SSimon Glass 6 - info 514e9c8d49dSSimon Glass 7 - debug 5156fc7e938SSimon Glass 8 - debug content 5166fc7e938SSimon Glass 9 - debug hardware I/O 517e9c8d49dSSimon Glass 5184d8d3056SSimon Glassconfig TPL_LOG_MAX_LEVEL 5194d8d3056SSimon Glass int "Maximum log level to record in TPL" 5204d8d3056SSimon Glass depends on TPL_LOG 5214d8d3056SSimon Glass default 3 5224d8d3056SSimon Glass help 5234d8d3056SSimon Glass This selects the maximum log level that will be recorded. Any value 5244d8d3056SSimon Glass higher than this will be ignored. If possible log statements below 5254d8d3056SSimon Glass this level will be discarded at build time. Levels: 5264d8d3056SSimon Glass 5276fc7e938SSimon Glass 0 - emergency 5286fc7e938SSimon Glass 1 - alert 5296fc7e938SSimon Glass 2 - critical 5306fc7e938SSimon Glass 3 - error 5316fc7e938SSimon Glass 4 - warning 5326fc7e938SSimon Glass 5 - note 5336fc7e938SSimon Glass 6 - info 5344d8d3056SSimon Glass 7 - debug 5356fc7e938SSimon Glass 8 - debug content 5366fc7e938SSimon Glass 9 - debug hardware I/O 5374d8d3056SSimon Glass 538*f0b05c95SSimon Glassconfig LOG_DEFAULT_LEVEL 539*f0b05c95SSimon Glass int "Default logging level to display" 540*f0b05c95SSimon Glass default 6 541*f0b05c95SSimon Glass help 542*f0b05c95SSimon Glass This is the default logging level set when U-Boot starts. It can 543*f0b05c95SSimon Glass be adjusted later using the 'log level' command. Note that setting 544*f0b05c95SSimon Glass this to a value abnove LOG_MAX_LEVEL will be ineffective, since the 545*f0b05c95SSimon Glass higher levels are not compiled in to U-Boot. 546*f0b05c95SSimon Glass 547*f0b05c95SSimon Glass 0 - emergency 548*f0b05c95SSimon Glass 1 - alert 549*f0b05c95SSimon Glass 2 - critical 550*f0b05c95SSimon Glass 3 - error 551*f0b05c95SSimon Glass 4 - warning 552*f0b05c95SSimon Glass 5 - note 553*f0b05c95SSimon Glass 6 - info 554*f0b05c95SSimon Glass 7 - debug 555*f0b05c95SSimon Glass 8 - debug content 556*f0b05c95SSimon Glass 9 - debug hardware I/O 557*f0b05c95SSimon Glass 558c6d47535SSimon Glassconfig LOG_CONSOLE 559c6d47535SSimon Glass bool "Allow log output to the console" 560c6d47535SSimon Glass depends on LOG 561c6d47535SSimon Glass default y 562c6d47535SSimon Glass help 563c6d47535SSimon Glass Enables a log driver which writes log records to the console. 564c6d47535SSimon Glass Generally the console is the serial port or LCD display. Only the 565c6d47535SSimon Glass log message is shown - other details like level, category, file and 566c6d47535SSimon Glass line number are omitted. 567c6d47535SSimon Glass 5684d8d3056SSimon Glassconfig SPL_LOG_CONSOLE 569c6d47535SSimon Glass bool "Allow log output to the console in SPL" 5704d8d3056SSimon Glass depends on SPL_LOG 5714d8d3056SSimon Glass default y 5724d8d3056SSimon Glass help 5734d8d3056SSimon Glass Enables a log driver which writes log records to the console. 5744d8d3056SSimon Glass Generally the console is the serial port or LCD display. Only the 5754d8d3056SSimon Glass log message is shown - other details like level, category, file and 5764d8d3056SSimon Glass line number are omitted. 5774d8d3056SSimon Glass 5784d8d3056SSimon Glassconfig TPL_LOG_CONSOLE 5794d8d3056SSimon Glass bool "Allow log output to the console in SPL" 5804d8d3056SSimon Glass depends on TPL_LOG 581c6d47535SSimon Glass default y 582c6d47535SSimon Glass help 583c6d47535SSimon Glass Enables a log driver which writes log records to the console. 584c6d47535SSimon Glass Generally the console is the serial port or LCD display. Only the 585c6d47535SSimon Glass log message is shown - other details like level, category, file and 586c6d47535SSimon Glass line number are omitted. 587c6d47535SSimon Glass 588ef11ed82SSimon Glassconfig LOG_TEST 589ef11ed82SSimon Glass bool "Provide a test for logging" 590ef11ed82SSimon Glass depends on LOG 591ef11ed82SSimon Glass default y if SANDBOX 592ef11ed82SSimon Glass help 593ef11ed82SSimon Glass This enables a 'log test' command to test logging. It is normally 594ef11ed82SSimon Glass executed from a pytest and simply outputs logging information 595ef11ed82SSimon Glass in various different ways to test that the logging system works 596f7597730SChris Packham correctly with various settings. 597ef11ed82SSimon Glass 5983707c6eeSSimon Glassconfig LOG_ERROR_RETURN 5993707c6eeSSimon Glass bool "Log all functions which return an error" 6003707c6eeSSimon Glass depends on LOG 6013707c6eeSSimon Glass help 6023707c6eeSSimon Glass When an error is returned in U-Boot it is sometimes difficult to 603f7597730SChris Packham figure out the root cause. For example, reading from SPI flash may 6043707c6eeSSimon Glass fail due to a problem in the SPI controller or due to the flash part 6053707c6eeSSimon Glass not returning the expected information. This option changes 6063707c6eeSSimon Glass log_ret() to log any errors it sees. With this option disabled, 6073707c6eeSSimon Glass log_ret() is a nop. 6083707c6eeSSimon Glass 6093707c6eeSSimon Glass You can add log_ret() to all functions which return an error code. 6103707c6eeSSimon Glass 611e9c8d49dSSimon Glassendmenu 612e9c8d49dSSimon Glass 613d021e942SAdam Fordconfig SUPPORT_RAW_INITRD 614d021e942SAdam Ford bool "Enable raw initrd images" 615d021e942SAdam Ford help 616d021e942SAdam Ford Note, defining the SUPPORT_RAW_INITRD allows user to supply 617d021e942SAdam Ford kernel with raw initrd images. The syntax is slightly different, the 618d021e942SAdam Ford address of the initrd must be augmented by it's size, in the following 619d021e942SAdam Ford format: "<initrd address>:<initrd size>". 620d021e942SAdam Ford 621d259c008SJagan Tekiconfig DEFAULT_FDT_FILE 622d259c008SJagan Teki string "Default fdt file" 623d259c008SJagan Teki help 624d259c008SJagan Teki This option is used to set the default fdt file to boot OS. 625d259c008SJagan Teki 6268ccf98b1SAdam Fordconfig MISC_INIT_R 6278ccf98b1SAdam Ford bool "Execute Misc Init" 6288ccf98b1SAdam Ford default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx 6298ccf98b1SAdam Ford default y if ARCH_OMAP2PLUS && !AM33XX 6308ccf98b1SAdam Ford help 6318ccf98b1SAdam Ford Enabling this option calls 'misc_init_r' function 6328ccf98b1SAdam Ford 6339dd1d0aaSHeiko Schocherconfig VERSION_VARIABLE 6349dd1d0aaSHeiko Schocher bool "add U-Boot environment variable vers" 6359dd1d0aaSHeiko Schocher default n 6369dd1d0aaSHeiko Schocher help 6379dd1d0aaSHeiko Schocher If this variable is defined, an environment variable 6389dd1d0aaSHeiko Schocher named "ver" is created by U-Boot showing the U-Boot 6399dd1d0aaSHeiko Schocher version as printed by the "version" command. 6409dd1d0aaSHeiko Schocher Any change to this variable will be reverted at the 6419dd1d0aaSHeiko Schocher next reset. 642c2ae7d82SSimon Glass 643de70fefbSJagan Tekiconfig BOARD_LATE_INIT 6448eb55e19SMichal Simek bool "Execute Board late init" 645de70fefbSJagan Teki help 646de70fefbSJagan Teki Sometimes board require some initialization code that might 647de70fefbSJagan Teki require once the actual init done, example saving board specific env, 648de70fefbSJagan Teki boot-modes etc. which eventually done at late. 649de70fefbSJagan Teki 650de70fefbSJagan Teki So this config enable the late init code with the help of board_late_init 651de70fefbSJagan Teki function which should defined on respective boards. 652de70fefbSJagan Teki 65319a97475SLokesh Vutlaconfig DISPLAY_CPUINFO 65419a97475SLokesh Vutla bool "Display information about the CPU during start up" 655f31414a0SAlexey Brodkin default y if ARC|| ARM || NIOS2 || X86 || XTENSA || M68K 65619a97475SLokesh Vutla help 65719a97475SLokesh Vutla Display information about the CPU that U-Boot is running on 65819a97475SLokesh Vutla when U-Boot starts up. The function print_cpuinfo() is called 65919a97475SLokesh Vutla to do this. 66019a97475SLokesh Vutla 66184351792SLokesh Vutlaconfig DISPLAY_BOARDINFO 66278eba69dSMario Six bool "Display information about the board during early start up" 663f31414a0SAlexey Brodkin default y if ARC || ARM || M68K || MIPS || PPC || SANDBOX || XTENSA 66484351792SLokesh Vutla help 66584351792SLokesh Vutla Display information about the board that U-Boot is running on 66684351792SLokesh Vutla when U-Boot starts up. The board function checkboard() is called 66784351792SLokesh Vutla to do this. 66884351792SLokesh Vutla 66978eba69dSMario Sixconfig DISPLAY_BOARDINFO_LATE 67078eba69dSMario Six bool "Display information about the board during late start up" 67178eba69dSMario Six help 67278eba69dSMario Six Display information about the board that U-Boot is running on after 67378eba69dSMario Six the relocation phase. The board function checkboard() is called to do 67478eba69dSMario Six this. 67578eba69dSMario Six 6762acc24fcSPhilipp Tomsichconfig BOUNCE_BUFFER 6772acc24fcSPhilipp Tomsich bool "Include bounce buffer API" 6782acc24fcSPhilipp Tomsich help 6792acc24fcSPhilipp Tomsich Some peripherals support DMA from a subset of physically 6802acc24fcSPhilipp Tomsich addressable memory only. To support such peripherals, the 6812acc24fcSPhilipp Tomsich bounce buffer API uses a temporary buffer: it copies data 6822acc24fcSPhilipp Tomsich to/from DMA regions while managing cache operations. 6832acc24fcSPhilipp Tomsich 6842acc24fcSPhilipp Tomsich A second possible use of bounce buffers is their ability to 6852acc24fcSPhilipp Tomsich provide aligned buffers for DMA operations. 6862acc24fcSPhilipp Tomsich 687bed44f49SSimon Glassconfig BOARD_TYPES 688bed44f49SSimon Glass bool "Call get_board_type() to get and display the board type" 689bed44f49SSimon Glass help 690bed44f49SSimon Glass If this option is enabled, checkboard() will call get_board_type() 691bed44f49SSimon Glass to get a string containing the board type and this will be 692bed44f49SSimon Glass displayed immediately after the model is shown on the console 693bed44f49SSimon Glass early in boot. 694bed44f49SSimon Glass 695a421192fSSimon Glassmenu "Start-up hooks" 696a421192fSSimon Glass 697a421192fSSimon Glassconfig ARCH_EARLY_INIT_R 698a421192fSSimon Glass bool "Call arch-specific init soon after relocation" 699a421192fSSimon Glass help 700a421192fSSimon Glass With this option U-Boot will call arch_early_init_r() soon after 701a421192fSSimon Glass relocation. Driver model is running by this point, and the cache 702a421192fSSimon Glass is on. Note that board_early_init_r() is called first, if 703a421192fSSimon Glass enabled. This can be used to set up architecture-specific devices. 704a421192fSSimon Glass 7054585601aSSimon Glassconfig ARCH_MISC_INIT 7064585601aSSimon Glass bool "Call arch-specific init after relocation, when console is ready" 7074585601aSSimon Glass help 7084585601aSSimon Glass With this option U-Boot will call arch_misc_init() after 7094585601aSSimon Glass relocation to allow miscellaneous arch-dependent initialisation 7104585601aSSimon Glass to be performed. This function should be defined by the board 711f7597730SChris Packham and will be called after the console is set up, after relocation. 7124585601aSSimon Glass 713a5d67547SSimon Glassconfig BOARD_EARLY_INIT_F 714a5d67547SSimon Glass bool "Call board-specific init before relocation" 715a5d67547SSimon Glass help 716a5d67547SSimon Glass Some boards need to perform initialisation as soon as possible 717a5d67547SSimon Glass after boot. With this option, U-Boot calls board_early_init_f() 718a5d67547SSimon Glass after driver model is ready in the pre-relocation init sequence. 719a5d67547SSimon Glass Note that the normal serial console is not yet set up, but the 720a5d67547SSimon Glass debug UART will be available if enabled. 721a5d67547SSimon Glass 72202ddc147SMario Sixconfig BOARD_EARLY_INIT_R 72302ddc147SMario Six bool "Call board-specific init after relocation" 72402ddc147SMario Six help 72502ddc147SMario Six Some boards need to perform initialisation as directly after 72602ddc147SMario Six relocation. With this option, U-Boot calls board_early_init_r() 72702ddc147SMario Six in the post-relocation init sequence. 72802ddc147SMario Six 7292aeb22d9SMario Sixconfig LAST_STAGE_INIT 7302aeb22d9SMario Six bool "Call board-specific as last setup step" 7312aeb22d9SMario Six help 7322aeb22d9SMario Six Some boards need to perform initialisation immediately before control 7332aeb22d9SMario Six is passed to the command-line interpreter (e.g. for initializations 7342aeb22d9SMario Six that depend on later phases in the init sequence). With this option, 7352aeb22d9SMario Six U-Boot calls last_stage_init() before the command-line interpreter is 7362aeb22d9SMario Six started. 7372aeb22d9SMario Six 738a421192fSSimon Glassendmenu 739a421192fSSimon Glass 740d70f919eSSimon Glassmenu "Security support" 741d70f919eSSimon Glass 742d70f919eSSimon Glassconfig HASH 743d70f919eSSimon Glass bool # "Support hashing API (SHA1, SHA256, etc.)" 744d70f919eSSimon Glass help 745d70f919eSSimon Glass This provides a way to hash data in memory using various supported 746d70f919eSSimon Glass algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h 747d70f919eSSimon Glass and the algorithms it supports are defined in common/hash.c. See 748d70f919eSSimon Glass also CMD_HASH for command-line access. 749d70f919eSSimon Glass 750b0aa74a2SIgor Opaniukconfig AVB_VERIFY 751b0aa74a2SIgor Opaniuk bool "Build Android Verified Boot operations" 752b0aa74a2SIgor Opaniuk depends on LIBAVB && FASTBOOT 75387c814d4SEugeniu Rosca depends on PARTITION_UUIDS 754b0aa74a2SIgor Opaniuk help 755b0aa74a2SIgor Opaniuk This option enables compilation of bootloader-dependent operations, 756b0aa74a2SIgor Opaniuk used by Android Verified Boot 2.0 library (libavb). Includes: 757b0aa74a2SIgor Opaniuk * Helpers to process strings in order to build OS bootargs. 758b0aa74a2SIgor Opaniuk * Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c. 759b0aa74a2SIgor Opaniuk * Helpers to alloc/init/free avb ops. 760b0aa74a2SIgor Opaniuk 761c0126bd8SSimon Glassconfig SPL_HASH 762c0126bd8SSimon Glass bool # "Support hashing API (SHA1, SHA256, etc.)" 763c0126bd8SSimon Glass help 764c0126bd8SSimon Glass This provides a way to hash data in memory using various supported 765c0126bd8SSimon Glass algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h 766c0126bd8SSimon Glass and the algorithms it supports are defined in common/hash.c. See 767c0126bd8SSimon Glass also CMD_HASH for command-line access. 768c0126bd8SSimon Glass 769c0126bd8SSimon Glassconfig TPL_HASH 770c0126bd8SSimon Glass bool # "Support hashing API (SHA1, SHA256, etc.)" 771c0126bd8SSimon Glass help 772c0126bd8SSimon Glass This provides a way to hash data in memory using various supported 773c0126bd8SSimon Glass algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h 774c0126bd8SSimon Glass and the algorithms it supports are defined in common/hash.c. See 775c0126bd8SSimon Glass also CMD_HASH for command-line access. 776c0126bd8SSimon Glass 777d70f919eSSimon Glassendmenu 778d70f919eSSimon Glass 779b254c529SMarek Vasutmenu "Update support" 780b254c529SMarek Vasut 781b254c529SMarek Vasutconfig UPDATE_TFTP 782b254c529SMarek Vasut bool "Auto-update using fitImage via TFTP" 783b254c529SMarek Vasut depends on FIT 784b254c529SMarek Vasut help 785b254c529SMarek Vasut This option allows performing update of NOR with data in fitImage 786b254c529SMarek Vasut sent via TFTP boot. 787b254c529SMarek Vasut 788b254c529SMarek Vasutconfig UPDATE_TFTP_CNT_MAX 789b254c529SMarek Vasut int "The number of connection retries during auto-update" 790b254c529SMarek Vasut default 0 791b254c529SMarek Vasut depends on UPDATE_TFTP 792b254c529SMarek Vasut 793b254c529SMarek Vasutconfig UPDATE_TFTP_MSEC_MAX 794b254c529SMarek Vasut int "Delay in mSec to wait for the TFTP server during auto-update" 795b254c529SMarek Vasut default 100 796b254c529SMarek Vasut depends on UPDATE_TFTP 797b254c529SMarek Vasut 798b254c529SMarek Vasutendmenu 799b254c529SMarek Vasut 8009f407d4eSSimon Glassmenu "Blob list" 8019f407d4eSSimon Glass 8029f407d4eSSimon Glassconfig BLOBLIST 8039f407d4eSSimon Glass bool "Support for a bloblist" 8049f407d4eSSimon Glass help 8059f407d4eSSimon Glass This enables support for a bloblist in U-Boot, which can be passed 8069f407d4eSSimon Glass from TPL to SPL to U-Boot proper (and potentially to Linux). The 8079f407d4eSSimon Glass blob list supports multiple binary blobs of data, each with a tag, 8089f407d4eSSimon Glass so that different U-Boot components can store data which can survive 8099f407d4eSSimon Glass through to the next stage of the boot. 8109f407d4eSSimon Glass 8119f407d4eSSimon Glassconfig SPL_BLOBLIST 8129f407d4eSSimon Glass bool "Support for a bloblist in SPL" 8139f407d4eSSimon Glass depends on BLOBLIST 8149f407d4eSSimon Glass default y if SPL 8159f407d4eSSimon Glass help 8169f407d4eSSimon Glass This enables a bloblist in SPL. If this is the first part of U-Boot 8179f407d4eSSimon Glass to run, then the bloblist is set up in SPL and passed to U-Boot 8189f407d4eSSimon Glass proper. If TPL also has a bloblist, then SPL uses the one from there. 8199f407d4eSSimon Glass 8209f407d4eSSimon Glassconfig TPL_BLOBLIST 8219f407d4eSSimon Glass bool "Support for a bloblist in TPL" 8229f407d4eSSimon Glass depends on BLOBLIST 8239f407d4eSSimon Glass default y if TPL 8249f407d4eSSimon Glass help 8259f407d4eSSimon Glass This enables a bloblist in TPL. The bloblist is set up in TPL and 8269f407d4eSSimon Glass passed to SPL and U-Boot proper. 8279f407d4eSSimon Glass 8289f407d4eSSimon Glassconfig BLOBLIST_SIZE 8299f407d4eSSimon Glass hex "Size of bloblist" 8309f407d4eSSimon Glass depends on BLOBLIST 8319f407d4eSSimon Glass default 0x400 8329f407d4eSSimon Glass help 8339f407d4eSSimon Glass Sets the size of the bloblist in bytes. This must include all 8349f407d4eSSimon Glass overhead (alignment, bloblist header, record header). The bloblist 8359f407d4eSSimon Glass is set up in the first part of U-Boot to run (TPL, SPL or U-Boot 8369f407d4eSSimon Glass proper), and this sane bloblist is used for subsequent stages. 8379f407d4eSSimon Glass 8389f407d4eSSimon Glassconfig BLOBLIST_ADDR 8399f407d4eSSimon Glass hex "Address of bloblist" 8409f407d4eSSimon Glass depends on BLOBLIST 8419f407d4eSSimon Glass default 0xe000 if SANDBOX 8429f407d4eSSimon Glass help 8439f407d4eSSimon Glass Sets the address of the bloblist, set up by the first part of U-Boot 8449f407d4eSSimon Glass which runs. Subsequent U-Boot stages typically use the same address. 8459f407d4eSSimon Glass 8469f407d4eSSimon Glassendmenu 8479f407d4eSSimon Glass 848c2ae7d82SSimon Glasssource "common/spl/Kconfig" 849