7 string "Environment file to use"
10 This sets the basename to use to generate the default environment.
11 This a text file as described in doc/usage/environment.rst
13 The file must be in the board directory and have a .env extension, so
14 the resulting filename is typically
15 board/<vendor>/<board>/<CONFIG_ENV_SOURCE_FILE>.env
17 If the file is not present, an error is produced.
19 If this CONFIG is empty, U-Boot uses CONFIG SYS_BOARD as a default, if
20 the file board/<vendor>/<board>/<SYS_BOARD>.env exists. Otherwise the
21 environment is assumed to come from the ad-hoc
22 CFG_EXTRA_ENV_SETTINGS #define
24 config ENV_CALLBACK_LIST_STATIC
25 string "Static callbacks list"
28 The environment callbacks are associated with variables in a
29 static list. Define this list in the following format:
31 entry = variable_name[:callback_name]
34 If the callback name is not specified, then the callback is deleted.
35 Spaces are also allowed anywhere in the list.
38 def_bool y if CMD_SAVEENV
41 bool "Enable overwriting environment"
43 Use this to permit overriding of certain environmental variables
44 like Ethernet and Serial
46 config ENV_OVERWRITE_ETHADDR_ONCE
47 bool "Enable overwriting ethaddr environment variables once"
48 depends on !ENV_OVERWRITE
50 Enable this to allow for the ethaddr environment variables to be
51 overwritten one time per boot, only. This allows for a default
52 to be installed in the environment, which can be changed exactly ONCE
55 config ENV_MIN_ENTRIES
56 int "Minimum number of entries in the environment hashtable"
59 Minimum number of entries in the hash table that is used internally
60 to store the environment settings.
62 config ENV_MAX_ENTRIES
63 int "Maximum number of entries in the environment hashtable"
66 Maximum number of entries in the hash table that is used internally
67 to store the environment settings. The default setting is supposed to
68 be generous and should work in most cases. This setting can be used
69 to tune behaviour; see lib/hashtable.c for details.
72 def_bool y if !ENV_IS_IN_EEPROM && !ENV_IS_IN_EXT4 && \
73 !ENV_IS_IN_FAT && !ENV_IS_IN_FLASH && \
74 !ENV_IS_IN_MMC && !ENV_IS_IN_NAND && \
75 !ENV_IS_IN_NVRAM && !ENV_IS_IN_ONENAND && \
76 !ENV_IS_IN_REMOTE && !ENV_IS_IN_SPI_FLASH && \
77 !ENV_IS_IN_UBI && !ENV_IS_IN_MTD && !ENV_IS_IN_SCSI
81 bool "Environment is not stored"
83 Define this if you don't care whether or not an environment is stored
84 on a storage medium. In this case the environment will still exist
85 while U-Boot is running, but once U-Boot exits it may not be
86 stored. If no other ENV_IS_IN_ is defined, U-Boot will always start
87 up with the default environment.
89 config ENV_IS_IN_EEPROM
90 bool "Environment in EEPROM"
91 depends on !CHAIN_OF_TRUST
93 Use this if you have an EEPROM or similar serial access
94 device and a driver for it.
99 These two #defines specify the offset and size of the
100 environment area within the total memory of your EEPROM.
102 Note that we consider the length of the address field to
103 still be one byte because the extra address bits are hidden
106 EEPROM which holds the environment, is reached over
107 a pca9547 i2c mux with address 0x70, channel 3.
110 bool "Environment is in a FAT filesystem"
111 depends on !CHAIN_OF_TRUST
112 default y if ARCH_BCM283X
113 default y if ARCH_SUNXI && MMC
114 default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS
118 Define this if you want to use the FAT file system for the environment.
120 config ENV_IS_IN_EXT4
121 bool "Environment is in a EXT4 filesystem"
122 depends on !CHAIN_OF_TRUST
126 Define this if you want to use the EXT4 file system for the environment.
128 config ENV_IS_IN_FLASH
129 bool "Environment in flash memory"
130 depends on !CHAIN_OF_TRUST
131 default y if ARCH_CINTEGRATOR
132 default y if ARCH_INTEGRATOR_CP
133 default y if M548x || M547x || M5282
134 default y if MCF532x || MCF52x2
135 default y if MPC86xx || MPC83xx
136 default y if ARCH_MPC8548
137 default y if SH && !CPU_SH4
139 Define this if you have a flash device which you want to use for the
142 a) The environment occupies one whole flash sector, which is
143 "embedded" in the text segment with the U-Boot code. This
144 happens usually with "bottom boot sector" or "top boot
145 sector" type flash chips, which have several smaller
146 sectors at the start or the end. For instance, such a
147 layout can have sector sizes of 8, 2x4, 16, Nx32 kB. In
148 such a case you would place the environment in one of the
149 4 kB sectors - with U-Boot code before and after it. With
150 "top boot sector" type flash chips, you would put the
151 environment in one of the last sectors, leaving a gap
152 between U-Boot and the environment.
156 Offset of environment data (variable area) to the
157 beginning of flash memory; for instance, with bottom boot
158 type flash chips the second sector can be used: the offset
159 for this sector is given here.
161 CONFIG_ENV_OFFSET is used relative to CFG_SYS_FLASH_BASE.
165 This is just another way to specify the start address of
166 the flash sector containing the environment (instead of
169 CONFIG_ENV_SECT_SIZE:
171 Size of the sector containing the environment.
174 b) Sometimes flash chips have few, equal sized, BIG sectors.
175 In such a case you don't want to spend a whole sector for
180 If you use this in combination with CONFIG_ENV_IS_IN_FLASH
181 and CONFIG_ENV_SECT_SIZE, you can specify to use only a part
182 of this flash sector for the environment. This saves
183 memory for the RAM copy of the environment.
185 It may also save flash memory if you decide to use this
186 when your environment is "embedded" within U-Boot code,
187 since then the remainder of the flash sector could be used
188 for U-Boot code. It should be pointed out that this is
189 STRONGLY DISCOURAGED from a robustness point of view:
190 updating the environment in flash makes it always
191 necessary to erase the WHOLE sector. If something goes
192 wrong before the contents has been restored from a copy in
193 RAM, your target system will be dead.
195 CONFIG_ENV_ADDR_REDUND
197 These settings describe a second storage area used to hold
198 a redundant copy of the environment data, so that there is
199 a valid backup copy in case there is a power failure during
200 a "saveenv" operation.
202 BE CAREFUL! Any changes to the flash layout, and some changes to the
203 source code will make it necessary to adapt <board>/u-boot.lds*
207 bool "Environment in an MMC device"
208 depends on !CHAIN_OF_TRUST
210 default y if ARCH_EXYNOS4
211 default y if MX6SX || MX7D
212 default y if TEGRA30 || TEGRA124
213 default y if TEGRA_ARMV8_COMMON
215 Define this if you have an MMC device which you want to use for the
218 CONFIG_ENV_MMC_DEVICE_INDEX:
220 Specifies which MMC device the environment is stored in.
222 CONFIG_ENV_MMC_EMMC_HW_PARTITION (optional):
224 Specifies which MMC partition the environment is stored in. If not
225 set, defaults to partition 0, the user area. Common values might be
226 1 (first MMC boot partition), 2 (second MMC boot partition).
231 These two #defines specify the offset and size of the environment
232 area within the specified MMC device.
234 These two values are in units of bytes, but must be aligned to an
237 CONFIG_ENV_OFFSET_REDUND (optional):
239 Specifies a second storage area, of CONFIG_ENV_SIZE size, used to
240 hold a redundant copy of the environment data. This provides a
241 valid backup copy in case the other copy is corrupted, e.g. due
242 to a power failure during a "saveenv" operation.
244 In case CONFIG_ENV_MMC_EMMC_HW_PARTITION is 1 (i.e. environment in eMMC boot
245 partition) then setting CONFIG_ENV_OFFSET_REDUND to the same value
246 as CONFIG_ENV_OFFSET makes use of the second eMMC boot partition for
247 the redundant environment copy.
249 This value is also in units of bytes, but must also be aligned to
250 an MMC sector boundary.
252 CONFIG_ENV_MMC_USE_DT (optional):
254 These define forces the configuration by the config node in device
255 tree with partition name: "u-boot,mmc-env-partition" or with
256 offset: "u-boot,mmc-env-offset", "u-boot,mmc-env-offset-redundant".
257 CONFIG_ENV_OFFSET and CONFIG_ENV_OFFSET_REDUND are not used.
259 config ENV_IS_IN_NAND
260 bool "Environment in a NAND device"
261 depends on !CHAIN_OF_TRUST
263 Define this if you have a NAND device which you want to use for the
269 These two #defines specify the offset and size of the environment
270 area within the first NAND device. CONFIG_ENV_OFFSET must be
271 aligned to an erase block boundary.
273 - CONFIG_ENV_OFFSET_REDUND (optional):
275 This setting describes a second storage area of CONFIG_ENV_SIZE
276 size used to hold a redundant copy of the environment data, so
277 that there is a valid backup copy in case there is a power failure
278 during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
279 aligned to an erase block boundary.
281 - CONFIG_ENV_OFFSET_OOB (optional):
283 Enables support for dynamically retrieving the offset of the
284 environment from block zero's out-of-band data. The
285 "nand env.oob" command can be used to record this offset.
286 Currently, CONFIG_ENV_OFFSET_REDUND is not supported when
287 using CONFIG_ENV_OFFSET_OOB.
289 config ENV_IS_IN_SCSI
290 bool "Environment in an SCSI device"
293 Define this if you have an SCSI device which you want to use for the
297 hex "Length of the region in which the environment can be written"
298 depends on ENV_IS_IN_NAND
299 range ENV_SIZE 0x7fffffff
302 This should be a multiple of the NAND device's block size.
303 Specifying a range with more erase blocks than are needed to hold
304 CONFIG_ENV_SIZE allows bad blocks within the range to be avoided.
306 config ENV_IS_IN_NVRAM
307 bool "Environment in a non-volatile RAM"
308 depends on !CHAIN_OF_TRUST
310 Define this if you have some non-volatile memory device
311 (NVRAM, battery buffered SRAM) which you want to use for the
317 These two #defines are used to determine the memory area you
318 want to use for environment. It is assumed that this memory
319 can just be read and written to, without any special
322 config ENV_IS_IN_ONENAND
323 bool "Environment is in OneNAND"
324 depends on !CHAIN_OF_TRUST && CMD_ONENAND
326 Define this if you want to put your local device's environment in
332 These two #defines are used to determine the device range you
333 want to use for environment. It is assumed that this memory
334 can just be read and written to, without any special
337 config ENV_IS_IN_REMOTE
338 bool "Environment is in remote memory space"
339 depends on !CHAIN_OF_TRUST
341 Define this if you have a remote memory space which you
342 want to use for the local device's environment.
347 These two #defines specify the address and size of the
348 environment area within the remote memory space. The
349 local device can get the environment from remote memory
350 space by SRIO or PCIE links.
352 config ENV_IS_IN_SPI_FLASH
353 bool "Environment is in SPI flash"
354 depends on !CHAIN_OF_TRUST && (SPI_FLASH || DM_SPI_FLASH)
355 default y if ARMADA_XP
356 default y if INTEL_BAYTRAIL
357 default y if INTEL_BRASWELL
358 default y if INTEL_BROADWELL
359 default y if NORTHBRIDGE_INTEL_IVYBRIDGE
360 default y if INTEL_QUARK
361 default y if INTEL_QUEENSBAY
362 default y if ARCH_SUNXI
364 Define this if you have a SPI Flash memory device which you
365 want to use for the environment.
370 These two #defines specify the offset and size of the
371 environment area within the SPI Flash. CONFIG_ENV_OFFSET must be
372 aligned to an erase sector boundary.
374 - CONFIG_ENV_SECT_SIZE:
376 Define the SPI flash's sector size.
378 - CONFIG_ENV_OFFSET_REDUND (optional):
380 This setting describes a second storage area of CONFIG_ENV_SIZE
381 size used to hold a redundant copy of the environment data, so
382 that there is a valid backup copy in case there is a power failure
383 during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be
384 aligned to an erase sector boundary.
387 bool "Environment is in MTD flash"
388 depends on !CHAIN_OF_TRUST && MTD
389 default y if ARCH_AIROHA
391 Define this if you have a MTD Flash memory device which you
392 want to use for the environment.
394 - CONFIG_ENV_MTD_DEV:
396 Specifies which SPI NAND device the environment is stored in.
401 These two #defines specify the offset and size of the
402 environment area within the MTD Flash.
403 CONFIG_ENV_OFFSET must be aligned to an erase sector boundary.
405 config ENV_SECT_SIZE_AUTO
406 bool "Use automatically detected sector size"
407 depends on ENV_IS_IN_SPI_FLASH
409 Some boards exist in multiple variants, with different
410 flashes having different sector sizes. In such cases, you
411 can select this option to make U-Boot use the actual sector
412 size when figuring out how much to erase, which can thus be
413 more efficient on the flashes with smaller erase size. Since
414 the environment must always be aligned on a sector boundary,
415 CONFIG_ENV_OFFSET must be aligned to the largest of the
416 different sector sizes, and CONFIG_ENV_SECT_SIZE should be
420 int "Value of SPI flash bus for environment"
421 depends on ENV_IS_IN_SPI_FLASH
422 default SF_DEFAULT_BUS
424 Value the SPI bus and chip select for environment.
427 int "Value of SPI flash chip select for environment"
428 depends on ENV_IS_IN_SPI_FLASH
429 default SF_DEFAULT_CS
431 Value of the SPI chip select for environment.
433 config ENV_SPI_MAX_HZ
434 int "Value of SPI flash max frequency for environment"
435 depends on ENV_IS_IN_SPI_FLASH
436 default SF_DEFAULT_SPEED
438 Value of the SPI max work clock for environment.
441 hex "Value of SPI flash work mode for environment"
442 depends on ENV_IS_IN_SPI_FLASH
443 default SF_DEFAULT_MODE
445 Value of the SPI work mode for environment.
446 See include/spi.h for value.
449 bool "Access Environment in SPI flashes before relocation"
450 depends on ENV_IS_IN_SPI_FLASH
452 Enable this if you want to use Environment in SPI flash
453 before relocation. Call env_init() and than you can use
454 env_get_f() for accessing Environment variables.
457 bool "Environment in a UBI volume"
458 depends on !CHAIN_OF_TRUST
462 Define this if you have an UBI volume that you want to use for the
463 environment. This has the benefit of wear-leveling the environment
464 accesses, which is important on NAND.
466 - CONFIG_ENV_UBI_PART:
468 Define this to a string that is the mtd partition containing the UBI.
470 - CONFIG_ENV_UBI_VOLUME:
472 Define this to the name of the volume that you want to store the
475 - CONFIG_ENV_UBI_VOLUME_REDUND:
477 Define this to the name of another volume to store a second copy of
478 the environment in. This will enable redundant environments in UBI.
479 It is assumed that both volumes are in the same MTD partition.
482 bool "Enable redundant environment support"
484 Normally, the environemt is stored in a single location. By
485 selecting this option, you can then define where to hold a redundant
486 copy of the environment data, so that there is a valid backup copy in
487 case there is a power failure during a "saveenv" operation.
488 Also this config changes the binary environment structure handling
489 which is used by env import/export commands which are independent of
490 storing variables to redundant location on a non volatile device.
492 config ENV_FAT_INTERFACE
493 string "Name of the block device for the environment"
494 depends on ENV_IS_IN_FAT
497 Define this to a string that is the name of the block device.
499 config ENV_FAT_DEVICE_AND_PART
500 string "Device and partition for where to store the environemt in FAT"
501 depends on ENV_IS_IN_FAT
502 default "0:1" if TI_COMMON_CMD_OPTIONS
503 default "0:auto" if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
504 default ":auto" if ARCH_SUNXI
505 default "0" if ARCH_AT91
507 Define this to a string to specify the partition of the device. It can
510 "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
511 - "D:P": device D partition P. Error occurs if device D has no
514 - "D" or "D:": device D partition 1 if device D has partition
515 table, or the whole device D if has no partition
517 - "D:auto": first partition in device D with bootable flag set.
518 If none, first valid partition in device D. If no
519 partition table then means device D.
521 If ENV_FAT_INTERFACE is set to "mmc" then device 'D' can be omitted,
522 leaving the string starting with a colon, and the boot device will
526 string "Name of the FAT file to use for the environment"
527 depends on ENV_IS_IN_FAT
530 It's a string of the FAT file name. This file use to store the
533 config ENV_FAT_FILE_REDUND
534 string "Name of the FAT file to use for the environment"
535 depends on ENV_IS_IN_FAT && ENV_REDUNDANT
536 default "uboot-redund.env"
538 It's a string of the FAT file name. This file use to store the
539 redundant environment.
541 config ENV_EXT4_INTERFACE
542 string "Name of the block device for the environment"
543 depends on ENV_IS_IN_EXT4
545 Define this to a string that is the name of the block device.
547 config ENV_EXT4_DEVICE_AND_PART
548 string "Device and partition for where to store the environemt in EXT4"
549 depends on ENV_IS_IN_EXT4
551 Define this to a string to specify the partition of the device. It can
554 "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
555 - "D:P": device D partition P. Error occurs if device D has no
558 - "D" or "D:": device D partition 1 if device D has partition
559 table, or the whole device D if has no partition
561 - "D:auto": first partition in device D with bootable flag set.
562 If none, first valid partition in device D. If no
563 partition table then means device D.
565 If ENV_EXT4_INTERFACE is set to "mmc" then device 'D' can be omitted,
566 leaving the string starting with a colon, and the boot device will
570 string "Name of the EXT4 file to use for the environment"
571 depends on ENV_IS_IN_EXT4
574 It's a string of the EXT4 file name. This file use to store the
575 environment (explicit path to the file)
578 hex "Environment address"
579 depends on ENV_IS_IN_FLASH || ENV_IS_IN_NVRAM || ENV_IS_IN_ONENAND || \
580 ENV_IS_IN_REMOTE || ENV_IS_IN_SPI_FLASH || ENV_IS_IN_MTD
581 default 0x0 if ENV_IS_IN_SPI_FLASH || ENV_IS_IN_MTD
583 Offset from the start of the device (or partition)
585 config ENV_ADDR_REDUND
586 hex "Redundant environment address"
587 depends on ENV_IS_IN_FLASH && ENV_REDUNDANT
589 Offset from the start of the device (or partition) of the redundant
590 environment location.
593 hex "Environment offset"
594 depends on ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \
595 ENV_IS_IN_SPI_FLASH || ENV_IS_IN_MTD
596 default 0x3f8000 if ARCH_ROCKCHIP && ENV_IS_IN_MMC
597 default 0x140000 if ARCH_ROCKCHIP && ENV_IS_IN_SPI_FLASH
598 default 0xF0000 if ARCH_SUNXI
599 default 0xE0000 if ARCH_ZYNQ
600 default 0x1E00000 if ARCH_ZYNQMP
601 default 0x7F40000 if ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
603 default 0x140000 if ARCH_AT91
604 default 0x260000 if ARCH_OMAP2PLUS
605 default 0x1080000 if MICROBLAZE && ENV_IS_IN_SPI_FLASH
607 Offset from the start of the device (or partition).
609 This offset may be interpreted differently depending on the chosen
610 ENV_IS_IN_* options. See the relevant help messages for more details.
612 config ENV_OFFSET_RELATIVE_END
613 bool "Offset is relative to the end of the partition"
614 depends on ENV_IS_IN_MMC
616 Treat the environment offset as relative to the end of the MMC
617 hardware partition. This can be useful if your board may be fitted
618 with different MMC devices, which have different sizes for the MMC
619 hardware partitions, and you always want the environment placed at the
620 very end of the partition, to leave the maximum possible space before
621 it, to store other data.
623 config ENV_OFFSET_REDUND
624 hex "Redundant environment offset"
625 depends on (ENV_IS_IN_EEPROM || ENV_IS_IN_MMC || ENV_IS_IN_NAND || \
626 ENV_IS_IN_SPI_FLASH) && ENV_REDUNDANT
627 default 0x10C0000 if MICROBLAZE
630 Offset from the start of the device (or partition) of the redundant
631 environment location.
633 This offset may be interpreted differently depending on the chosen
634 ENV_IS_IN_* options. See the relevant help messages for more details.
636 config ENV_OFFSET_REDUND_RELATIVE_END
637 bool "Offset is relative to the end of the partition"
638 depends on SYS_REDUNDAND_ENVIRONMENT
639 depends on ENV_IS_IN_MMC
641 Treat the redundant environment offset as relative to the end of the
642 MMC hardware partition. This can be useful if your board may be
643 fitted with different MMC devices, which have different sizes for the
644 MMC hardware partitions, and you always want the environment placed at
645 the very end of the partition, to leave the maximum possible space
646 before it, to store other data.
649 hex "Environment Size"
650 default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
651 default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
652 default 0x10000 if ARCH_SUNXI
653 default 0x8000 if ARCH_ROCKCHIP && ENV_IS_IN_MMC
654 default 0x2000 if ARCH_ROCKCHIP && ENV_IS_IN_SPI_FLASH
655 default 0x8000 if ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
656 default 0x4000 if ARC
659 Size of the environment storage area
662 hex "Environment Sector-Size"
663 depends on ENV_IS_IN_FLASH || ENV_IS_IN_SPI_FLASH
664 default 0x2000 if ARCH_ROCKCHIP
665 default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2
666 default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
667 default 0x20000 if MICROBLAZE && ENV_IS_IN_SPI_FLASH
668 default 0x10000 if ARCH_SUNXI && ENV_IS_IN_SPI_FLASH
670 Size of the sector containing the environment.
673 string "UBI partition name"
674 depends on ENV_IS_IN_UBI
676 MTD partition containing the UBI device
678 config ENV_UBI_VOLUME
679 string "UBI volume name"
680 depends on ENV_IS_IN_UBI
682 Name of the volume that you want to store the environment in.
684 config ENV_UBI_VOLUME_REDUND
685 string "UBI redundant volume name"
686 depends on ENV_IS_IN_UBI && ENV_REDUNDANT
688 Name of the redundant volume that you want to store the environment in.
690 config ENV_UBI_VID_OFFSET
691 int "ubi environment VID offset"
692 depends on ENV_IS_IN_UBI
695 UBI VID offset for environment. If 0, no custom VID offset is used.
697 config ENV_RELOC_GD_ENV_ADDR
698 bool "Relocate gd->env_addr"
700 Relocate the early env_addr pointer so we know it is not inside
701 the binary. Some systems need this and for the rest, it doesn't hurt.
704 string "mtd device name"
705 depends on ENV_IS_IN_MTD
707 MTD device name on the platform where the environment is stored.
709 config ENV_MMC_DEVICE_INDEX
710 int "SD/MMC device index"
711 depends on ENV_IS_IN_MMC || ENV_IS_IN_FAT || ENV_IS_IN_EXT4 || \
712 CMD_MVEBU_BUBT || FMAN_ENET || QE || PHY_CORTINA
715 SD/MMC device index on the platform where the environment is stored.
716 The index is often derived from DT aliases mmcN node ordering, and
717 matches the 'mmc list' command output.
719 config ENV_MMC_EMMC_HW_PARTITION
720 int "eMMC hardware partition number"
721 depends on ENV_IS_IN_MMC || ENV_IS_IN_FAT
724 MMC hardware partition device number on the platform where the
725 environment is stored. Note that this is not related to any software
726 defined partition table but instead if we are in the user area, which is
727 partition 0 or the first boot partition, which is 1 or some other defined
730 config ENV_MMC_USE_SW_PARTITION
731 bool "Use SD/MMC environment software partition name"
732 depends on ENV_IS_IN_MMC
734 config ENV_MMC_SW_PARTITION
735 bool "SD/MMC environment software partition name"
736 depends on ENV_MMC_USE_SW_PARTITION
738 SD/MMC software partition name used to save environment variables.
739 This is a software partition name, i.e. one in partition table, not
740 an eMMC HW partition (see ENV_MMC_EMMC_HW_PARTITION for eMMC HW
741 partition configuration). If this variable is unset, u-boot will
742 try to get the env partition name from the device-tree's /config
745 config ENV_MMC_USE_DT
746 bool "Read partition name and offset in DT"
747 depends on ENV_IS_IN_MMC && OF_CONTROL
749 Only use the device tree to get the environment location in MMC
750 device, with partition name or with offset.
751 The 2 defines CONFIG_ENV_OFFSET, CONFIG_ENV_OFFSET_REDUND
752 are not used as fallback.
754 config SCSI_ENV_PART_UUID
755 string "SCSI partition UUID for saving environment"
756 depends on ENV_IS_IN_SCSI
758 UUID of the SCSI partition that you want to store the environment in.
760 config ENV_USE_DEFAULT_ENV_TEXT_FILE
761 bool "Create default environment from file"
762 depends on !COMPILE_TEST
764 Normally, the default environment is automatically generated
765 based on the settings of various CONFIG_* options, as well
766 as the CFG_EXTRA_ENV_SETTINGS. By selecting this option,
767 you can instead define the entire default environment in an
770 config ENV_DEFAULT_ENV_TEXT_FILE
771 string "Path to default environment file"
772 depends on ENV_USE_DEFAULT_ENV_TEXT_FILE
774 The path containing the default environment. The format is
775 the same as accepted by the mkenvimage tool: lines
776 containing key=value pairs, blank lines and lines beginning
779 config ENV_VARS_UBOOT_RUNTIME_CONFIG
780 bool "Add run-time information to the environment"
782 Enable this in order to add variables describing certain
783 run-time determined information about the hardware to the
784 environment. These will be named board_name, board_rev.
786 config ENV_IMPORT_FDT
787 bool "Amend environment by FDT properties"
788 depends on OF_CONTROL
790 If selected, after the environment has been loaded from its
791 persistent location, the "env_fdt_path" variable is looked
792 up and used as a path to a node in the control DTB. The
793 property/value pairs in that node is then used to update the
794 run-time environment. This can be useful to use the same
795 U-Boot binary with different board variants.
798 string "Default value for env_fdt_path variable"
799 depends on ENV_IMPORT_FDT
800 default "/config/environment"
802 The initial value of the env_fdt_path variable.
805 bool "Always append the environment with new data"
807 If defined, the environment hash table is only ever appended with new
808 data, but the existing hash table can never be dropped and reloaded
809 with newly imported data. This may be used in combination with static
810 flags to e.g. to protect variables which must not be modified.
812 config ENV_WRITEABLE_LIST
813 bool "Permit write access only to listed variables"
816 If defined, only environment variables which explicitly set the 'w'
817 writeable flag can be written and modified at runtime. No variables
818 can be otherwise created, written or imported into the environment.
820 config ENV_ACCESS_IGNORE_FORCE
821 bool "Block forced environment operations"
823 If defined, don't allow the -f switch to env set override variable
827 config SPL_ENV_IS_NOWHERE
828 bool "SPL Environment is not stored"
829 default y if ENV_IS_NOWHERE
831 Similar to ENV_IS_NOWHERE, used for SPL environment.
833 config SPL_ENV_IS_IN_MMC
834 bool "SPL Environment in an MMC device"
835 depends on !SPL_ENV_IS_NOWHERE
836 depends on ENV_IS_IN_MMC
839 Similar to ENV_IS_IN_MMC, used for SPL environment.
841 config SPL_ENV_IS_IN_FAT
842 bool "SPL Environment is in a FAT filesystem"
843 depends on !SPL_ENV_IS_NOWHERE
844 depends on ENV_IS_IN_FAT
847 Similar to ENV_IS_IN_FAT, used for SPL environment.
849 config SPL_ENV_IS_IN_EXT4
850 bool "SPL Environment is in a EXT4 filesystem"
851 depends on !SPL_ENV_IS_NOWHERE
852 depends on ENV_IS_IN_EXT4
855 Similar to ENV_IS_IN_EXT4, used for SPL environment.
857 config SPL_ENV_IS_IN_NAND
858 bool "SPL Environment in a NAND device"
859 depends on !SPL_ENV_IS_NOWHERE
860 depends on ENV_IS_IN_NAND
863 Similar to ENV_IS_IN_NAND, used for SPL environment.
865 config SPL_ENV_IS_IN_SPI_FLASH
866 bool "SPL Environment is in SPI flash"
867 depends on !SPL_ENV_IS_NOWHERE
868 depends on ENV_IS_IN_SPI_FLASH
871 Similar to ENV_IS_IN_SPI_FLASH, used for SPL environment.
873 config SPL_ENV_IS_IN_FLASH
874 bool "SPL Environment in flash memory"
875 depends on !SPL_ENV_IS_NOWHERE
876 depends on ENV_IS_IN_FLASH
879 Similar to ENV_IS_IN_FLASH, used for SPL environment.
885 config TPL_ENV_IS_NOWHERE
886 bool "TPL Environment is not stored"
887 default y if ENV_IS_NOWHERE
889 Similar to ENV_IS_NOWHERE, used for TPL environment.
891 config TPL_ENV_IS_IN_MMC
892 bool "TPL Environment in an MMC device"
893 depends on !TPL_ENV_IS_NOWHERE
894 depends on ENV_IS_IN_MMC
897 Similar to ENV_IS_IN_MMC, used for TPL environment.
899 config TPL_ENV_IS_IN_FAT
900 bool "TPL Environment is in a FAT filesystem"
901 depends on !TPL_ENV_IS_NOWHERE
902 depends on ENV_IS_IN_FAT
905 Similar to ENV_IS_IN_FAT, used for TPL environment.
907 config TPL_ENV_IS_IN_EXT4
908 bool "TPL Environment is in a EXT4 filesystem"
909 depends on !TPL_ENV_IS_NOWHERE
910 depends on ENV_IS_IN_EXT4
913 Similar to ENV_IS_IN_EXT4, used for TPL environment.
915 config TPL_ENV_IS_IN_NAND
916 bool "TPL Environment in a NAND device"
917 depends on !TPL_ENV_IS_NOWHERE
918 depends on ENV_IS_IN_NAND
921 Similar to ENV_IS_IN_NAND, used for TPL environment.
923 config TPL_ENV_IS_IN_SPI_FLASH
924 bool "TPL Environment is in SPI flash"
925 depends on !TPL_ENV_IS_NOWHERE
926 depends on ENV_IS_IN_SPI_FLASH
929 Similar to ENV_IS_IN_SPI_FLASH, used for TPL environment.
931 config TPL_ENV_IS_IN_FLASH
932 bool "TPL Environment in flash memory"
933 depends on !TPL_ENV_IS_NOWHERE
934 depends on ENV_IS_IN_FLASH
937 Similar to ENV_IS_IN_FLASH, used for TPL environment.
943 config VPL_ENV_IS_NOWHERE
944 bool "VPL Environment is not stored"
945 default y if ENV_IS_NOWHERE
947 Similar to ENV_IS_NOWHERE, used for VPL environment.
949 endif # VPL_ENV_SUPPORT
952 bool "Add a 'bootfile' environment variable"
954 The "bootfile" variable is used in some cases to allow for
955 controlling what file U-Boot will attempt to load and boot. To set
956 this, enable this option and set the value in the next question.
959 string "'bootfile' environment variable value"
960 depends on USE_BOOTFILE
962 The value to set the "bootfile" variable to.
965 bool "Add an 'ethprime' environment variable"
967 The "ethprime" variable is used in some cases to control which
968 network interface is used first.
971 string "'ethprime' environment variable value"
972 depends on USE_ETHPRIME
974 The value to set the "ethprime" variable to.
977 bool "Set a default 'hostname' value in the environment"
981 string "Value of the default 'hostname' value in the environment"
982 depends on USE_HOSTNAME
986 config VERSION_VARIABLE
987 bool "Add a 'ver' environment variable with the U-Boot version"
989 If this variable is defined, an environment variable
990 named "ver" is created by U-Boot showing the U-Boot
991 version as printed by the "version" command.
992 Any change to this variable will be reverted at the