10649cd0dSSimon Glassmenu "Environment" 20649cd0dSSimon Glass 3c1c3fe23SSimon Glassconfig ENV_IS_NOWHERE 4c1c3fe23SSimon Glass bool "Environment is not stored" 5*fb69464eSMaxime Ripard depends on !ENV_IS_IN_EEPROM 6*fb69464eSMaxime Ripard depends on !ENV_IS_IN_FAT 7*fb69464eSMaxime Ripard depends on !ENV_IS_IN_FLASH 8*fb69464eSMaxime Ripard depends on !ENV_IS_IN_MMC 9*fb69464eSMaxime Ripard depends on !ENV_IS_IN_NAND 10*fb69464eSMaxime Ripard depends on !ENV_IS_IN_NVRAM 11*fb69464eSMaxime Ripard depends on !ENV_IS_IN_ONENAND 12*fb69464eSMaxime Ripard depends on !ENV_IS_IN_REMOTE 13*fb69464eSMaxime Ripard depends on !ENV_IS_IN_SPI_FLASH 14*fb69464eSMaxime Ripard depends on !ENV_IS_IN_UBI 15*fb69464eSMaxime Ripard default y 16c1c3fe23SSimon Glass help 17c1c3fe23SSimon Glass Define this if you don't want to or can't have an environment stored 18c1c3fe23SSimon Glass on a storage medium. In this case the environemnt will still exist 19c1c3fe23SSimon Glass while U-Boot is running, but once U-Boot exits it will not be 20c1c3fe23SSimon Glass stored. U-Boot will therefore always start up with a default 21c1c3fe23SSimon Glass environment. 22c1c3fe23SSimon Glass 230649cd0dSSimon Glassconfig ENV_IS_IN_EEPROM 240649cd0dSSimon Glass bool "Environment in EEPROM" 250649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 260649cd0dSSimon Glass help 270649cd0dSSimon Glass Use this if you have an EEPROM or similar serial access 280649cd0dSSimon Glass device and a driver for it. 290649cd0dSSimon Glass 300649cd0dSSimon Glass - CONFIG_ENV_OFFSET: 310649cd0dSSimon Glass - CONFIG_ENV_SIZE: 320649cd0dSSimon Glass 330649cd0dSSimon Glass These two #defines specify the offset and size of the 340649cd0dSSimon Glass environment area within the total memory of your EEPROM. 350649cd0dSSimon Glass 360649cd0dSSimon Glass Note that we consider the length of the address field to 370649cd0dSSimon Glass still be one byte because the extra address bits are hidden 380649cd0dSSimon Glass in the chip address. 390649cd0dSSimon Glass 400649cd0dSSimon Glass - CONFIG_ENV_EEPROM_IS_ON_I2C 410649cd0dSSimon Glass define this, if you have I2C and SPI activated, and your 420649cd0dSSimon Glass EEPROM, which holds the environment, is on the I2C bus. 430649cd0dSSimon Glass 440649cd0dSSimon Glass - CONFIG_I2C_ENV_EEPROM_BUS 450649cd0dSSimon Glass if you have an Environment on an EEPROM reached over 460649cd0dSSimon Glass I2C muxes, you can define here, how to reach this 470649cd0dSSimon Glass EEPROM. For example: 480649cd0dSSimon Glass 490649cd0dSSimon Glass #define CONFIG_I2C_ENV_EEPROM_BUS 1 500649cd0dSSimon Glass 510649cd0dSSimon Glass EEPROM which holds the environment, is reached over 520649cd0dSSimon Glass a pca9547 i2c mux with address 0x70, channel 3. 530649cd0dSSimon Glass 540649cd0dSSimon Glassconfig ENV_IS_IN_FAT 550649cd0dSSimon Glass bool "Environment is in a FAT filesystem" 560649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 57*fb69464eSMaxime Ripard default y if ARCH_BCM283X 58*fb69464eSMaxime Ripard default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS 593cd084d3STuomas Tynkkynen select FS_FAT 600649cd0dSSimon Glass select FAT_WRITE 610649cd0dSSimon Glass help 620649cd0dSSimon Glass Define this if you want to use the FAT file system for the environment. 630649cd0dSSimon Glass 641087a794SJorge Ramirez-Ortizconfig ENV_IS_IN_EXT4 651087a794SJorge Ramirez-Ortiz bool "Environment is in a EXT4 filesystem" 661087a794SJorge Ramirez-Ortiz depends on !CHAIN_OF_TRUST 671087a794SJorge Ramirez-Ortiz select EXT4_WRITE 681087a794SJorge Ramirez-Ortiz help 691087a794SJorge Ramirez-Ortiz Define this if you want to use the EXT4 file system for the environment. 701087a794SJorge Ramirez-Ortiz 710649cd0dSSimon Glassconfig ENV_IS_IN_FLASH 720649cd0dSSimon Glass bool "Environment in flash memory" 730649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 74*fb69464eSMaxime Ripard default y if ARCH_CINTEGRATOR 75*fb69464eSMaxime Ripard default y if ARCH_INTEGRATOR_CP 76*fb69464eSMaxime Ripard default y if M548x || M547x || M5282 || MCF547x_8x 77*fb69464eSMaxime Ripard default y if MCF532x || MCF52x2 78*fb69464eSMaxime Ripard default y if MPC86xx || MPC83xx 79*fb69464eSMaxime Ripard default y if ARCH_MPC8572 || ARCH_MPC8548 || ARCH_MPC8641 80*fb69464eSMaxime Ripard default y if SH && !CPU_SH4 810649cd0dSSimon Glass help 820649cd0dSSimon Glass Define this if you have a flash device which you want to use for the 830649cd0dSSimon Glass environment. 840649cd0dSSimon Glass 850649cd0dSSimon Glass a) The environment occupies one whole flash sector, which is 860649cd0dSSimon Glass "embedded" in the text segment with the U-Boot code. This 870649cd0dSSimon Glass happens usually with "bottom boot sector" or "top boot 880649cd0dSSimon Glass sector" type flash chips, which have several smaller 890649cd0dSSimon Glass sectors at the start or the end. For instance, such a 900649cd0dSSimon Glass layout can have sector sizes of 8, 2x4, 16, Nx32 kB. In 910649cd0dSSimon Glass such a case you would place the environment in one of the 920649cd0dSSimon Glass 4 kB sectors - with U-Boot code before and after it. With 930649cd0dSSimon Glass "top boot sector" type flash chips, you would put the 940649cd0dSSimon Glass environment in one of the last sectors, leaving a gap 950649cd0dSSimon Glass between U-Boot and the environment. 960649cd0dSSimon Glass 970649cd0dSSimon Glass CONFIG_ENV_OFFSET: 980649cd0dSSimon Glass 990649cd0dSSimon Glass Offset of environment data (variable area) to the 1000649cd0dSSimon Glass beginning of flash memory; for instance, with bottom boot 1010649cd0dSSimon Glass type flash chips the second sector can be used: the offset 1020649cd0dSSimon Glass for this sector is given here. 1030649cd0dSSimon Glass 1040649cd0dSSimon Glass CONFIG_ENV_OFFSET is used relative to CONFIG_SYS_FLASH_BASE. 1050649cd0dSSimon Glass 1060649cd0dSSimon Glass CONFIG_ENV_ADDR: 1070649cd0dSSimon Glass 1080649cd0dSSimon Glass This is just another way to specify the start address of 1090649cd0dSSimon Glass the flash sector containing the environment (instead of 1100649cd0dSSimon Glass CONFIG_ENV_OFFSET). 1110649cd0dSSimon Glass 1120649cd0dSSimon Glass CONFIG_ENV_SECT_SIZE: 1130649cd0dSSimon Glass 1140649cd0dSSimon Glass Size of the sector containing the environment. 1150649cd0dSSimon Glass 1160649cd0dSSimon Glass 1170649cd0dSSimon Glass b) Sometimes flash chips have few, equal sized, BIG sectors. 1180649cd0dSSimon Glass In such a case you don't want to spend a whole sector for 1190649cd0dSSimon Glass the environment. 1200649cd0dSSimon Glass 1210649cd0dSSimon Glass CONFIG_ENV_SIZE: 1220649cd0dSSimon Glass 1230649cd0dSSimon Glass If you use this in combination with CONFIG_ENV_IS_IN_FLASH 1240649cd0dSSimon Glass and CONFIG_ENV_SECT_SIZE, you can specify to use only a part 1250649cd0dSSimon Glass of this flash sector for the environment. This saves 1260649cd0dSSimon Glass memory for the RAM copy of the environment. 1270649cd0dSSimon Glass 1280649cd0dSSimon Glass It may also save flash memory if you decide to use this 1290649cd0dSSimon Glass when your environment is "embedded" within U-Boot code, 1300649cd0dSSimon Glass since then the remainder of the flash sector could be used 1310649cd0dSSimon Glass for U-Boot code. It should be pointed out that this is 1320649cd0dSSimon Glass STRONGLY DISCOURAGED from a robustness point of view: 1330649cd0dSSimon Glass updating the environment in flash makes it always 1340649cd0dSSimon Glass necessary to erase the WHOLE sector. If something goes 1350649cd0dSSimon Glass wrong before the contents has been restored from a copy in 1360649cd0dSSimon Glass RAM, your target system will be dead. 1370649cd0dSSimon Glass 1380649cd0dSSimon Glass CONFIG_ENV_ADDR_REDUND 1390649cd0dSSimon Glass CONFIG_ENV_SIZE_REDUND 1400649cd0dSSimon Glass 1410649cd0dSSimon Glass These settings describe a second storage area used to hold 1420649cd0dSSimon Glass a redundant copy of the environment data, so that there is 1430649cd0dSSimon Glass a valid backup copy in case there is a power failure during 1440649cd0dSSimon Glass a "saveenv" operation. 1450649cd0dSSimon Glass 1460649cd0dSSimon Glass BE CAREFUL! Any changes to the flash layout, and some changes to the 1470649cd0dSSimon Glass source code will make it necessary to adapt <board>/u-boot.lds* 1480649cd0dSSimon Glass accordingly! 1490649cd0dSSimon Glass 1500649cd0dSSimon Glassconfig ENV_IS_IN_MMC 1510649cd0dSSimon Glass bool "Environment in an MMC device" 1520649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 153d282a1dbSMaxime Ripard depends on MMC 154*fb69464eSMaxime Ripard default y if ARCH_SUNXI 155*fb69464eSMaxime Ripard default y if ARCH_EXYNOS4 156*fb69464eSMaxime Ripard default y if MX6SX || MX7D 157*fb69464eSMaxime Ripard default y if TEGRA30 || TEGRA124 158*fb69464eSMaxime Ripard default y if TEGRA_ARMV8_COMMON 1590649cd0dSSimon Glass help 1600649cd0dSSimon Glass Define this if you have an MMC device which you want to use for the 1610649cd0dSSimon Glass environment. 1620649cd0dSSimon Glass 1630649cd0dSSimon Glass CONFIG_SYS_MMC_ENV_DEV: 1640649cd0dSSimon Glass 1650649cd0dSSimon Glass Specifies which MMC device the environment is stored in. 1660649cd0dSSimon Glass 1670649cd0dSSimon Glass CONFIG_SYS_MMC_ENV_PART (optional): 1680649cd0dSSimon Glass 1690649cd0dSSimon Glass Specifies which MMC partition the environment is stored in. If not 1700649cd0dSSimon Glass set, defaults to partition 0, the user area. Common values might be 1710649cd0dSSimon Glass 1 (first MMC boot partition), 2 (second MMC boot partition). 1720649cd0dSSimon Glass 1730649cd0dSSimon Glass CONFIG_ENV_OFFSET: 1740649cd0dSSimon Glass CONFIG_ENV_SIZE: 1750649cd0dSSimon Glass 1760649cd0dSSimon Glass These two #defines specify the offset and size of the environment 1770649cd0dSSimon Glass area within the specified MMC device. 1780649cd0dSSimon Glass 1790649cd0dSSimon Glass If offset is positive (the usual case), it is treated as relative to 1800649cd0dSSimon Glass the start of the MMC partition. If offset is negative, it is treated 1810649cd0dSSimon Glass as relative to the end of the MMC partition. This can be useful if 1820649cd0dSSimon Glass your board may be fitted with different MMC devices, which have 1830649cd0dSSimon Glass different sizes for the MMC partitions, and you always want the 1840649cd0dSSimon Glass environment placed at the very end of the partition, to leave the 1850649cd0dSSimon Glass maximum possible space before it, to store other data. 1860649cd0dSSimon Glass 1870649cd0dSSimon Glass These two values are in units of bytes, but must be aligned to an 1880649cd0dSSimon Glass MMC sector boundary. 1890649cd0dSSimon Glass 1900649cd0dSSimon Glass CONFIG_ENV_OFFSET_REDUND (optional): 1910649cd0dSSimon Glass 1920649cd0dSSimon Glass Specifies a second storage area, of CONFIG_ENV_SIZE size, used to 1930649cd0dSSimon Glass hold a redundant copy of the environment data. This provides a 1940649cd0dSSimon Glass valid backup copy in case the other copy is corrupted, e.g. due 1950649cd0dSSimon Glass to a power failure during a "saveenv" operation. 1960649cd0dSSimon Glass 1970649cd0dSSimon Glass This value may also be positive or negative; this is handled in the 1980649cd0dSSimon Glass same way as CONFIG_ENV_OFFSET. 1990649cd0dSSimon Glass 2000649cd0dSSimon Glass This value is also in units of bytes, but must also be aligned to 2010649cd0dSSimon Glass an MMC sector boundary. 2020649cd0dSSimon Glass 2030649cd0dSSimon Glass CONFIG_ENV_SIZE_REDUND (optional): 2040649cd0dSSimon Glass 2050649cd0dSSimon Glass This value need not be set, even when CONFIG_ENV_OFFSET_REDUND is 2060649cd0dSSimon Glass set. If this value is set, it must be set to the same value as 2070649cd0dSSimon Glass CONFIG_ENV_SIZE. 2080649cd0dSSimon Glass 2090649cd0dSSimon Glassconfig ENV_IS_IN_NAND 2100649cd0dSSimon Glass bool "Environment in a NAND device" 2110649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 2120649cd0dSSimon Glass help 2130649cd0dSSimon Glass Define this if you have a NAND device which you want to use for the 2140649cd0dSSimon Glass environment. 2150649cd0dSSimon Glass 2160649cd0dSSimon Glass - CONFIG_ENV_OFFSET: 2170649cd0dSSimon Glass - CONFIG_ENV_SIZE: 2180649cd0dSSimon Glass 2190649cd0dSSimon Glass These two #defines specify the offset and size of the environment 2200649cd0dSSimon Glass area within the first NAND device. CONFIG_ENV_OFFSET must be 2210649cd0dSSimon Glass aligned to an erase block boundary. 2220649cd0dSSimon Glass 2230649cd0dSSimon Glass - CONFIG_ENV_OFFSET_REDUND (optional): 2240649cd0dSSimon Glass 2250649cd0dSSimon Glass This setting describes a second storage area of CONFIG_ENV_SIZE 2260649cd0dSSimon Glass size used to hold a redundant copy of the environment data, so 2270649cd0dSSimon Glass that there is a valid backup copy in case there is a power failure 2280649cd0dSSimon Glass during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be 2290649cd0dSSimon Glass aligned to an erase block boundary. 2300649cd0dSSimon Glass 2310649cd0dSSimon Glass - CONFIG_ENV_RANGE (optional): 2320649cd0dSSimon Glass 2330649cd0dSSimon Glass Specifies the length of the region in which the environment 2340649cd0dSSimon Glass can be written. This should be a multiple of the NAND device's 2350649cd0dSSimon Glass block size. Specifying a range with more erase blocks than 2360649cd0dSSimon Glass are needed to hold CONFIG_ENV_SIZE allows bad blocks within 2370649cd0dSSimon Glass the range to be avoided. 2380649cd0dSSimon Glass 2390649cd0dSSimon Glass - CONFIG_ENV_OFFSET_OOB (optional): 2400649cd0dSSimon Glass 2410649cd0dSSimon Glass Enables support for dynamically retrieving the offset of the 2420649cd0dSSimon Glass environment from block zero's out-of-band data. The 2430649cd0dSSimon Glass "nand env.oob" command can be used to record this offset. 2440649cd0dSSimon Glass Currently, CONFIG_ENV_OFFSET_REDUND is not supported when 2450649cd0dSSimon Glass using CONFIG_ENV_OFFSET_OOB. 2460649cd0dSSimon Glass 2470649cd0dSSimon Glassconfig ENV_IS_IN_NVRAM 2480649cd0dSSimon Glass bool "Environment in a non-volatile RAM" 2490649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 2500649cd0dSSimon Glass help 2510649cd0dSSimon Glass Define this if you have some non-volatile memory device 2520649cd0dSSimon Glass (NVRAM, battery buffered SRAM) which you want to use for the 2530649cd0dSSimon Glass environment. 2540649cd0dSSimon Glass 2550649cd0dSSimon Glass - CONFIG_ENV_ADDR: 2560649cd0dSSimon Glass - CONFIG_ENV_SIZE: 2570649cd0dSSimon Glass 2580649cd0dSSimon Glass These two #defines are used to determine the memory area you 2590649cd0dSSimon Glass want to use for environment. It is assumed that this memory 2600649cd0dSSimon Glass can just be read and written to, without any special 2610649cd0dSSimon Glass provision. 2620649cd0dSSimon Glass 2630649cd0dSSimon Glassconfig ENV_IS_IN_ONENAND 2640649cd0dSSimon Glass bool "Environment is in OneNAND" 2650649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 2660649cd0dSSimon Glass help 2670649cd0dSSimon Glass Define this if you want to put your local device's environment in 2680649cd0dSSimon Glass OneNAND. 2690649cd0dSSimon Glass 2700649cd0dSSimon Glass - CONFIG_ENV_ADDR: 2710649cd0dSSimon Glass - CONFIG_ENV_SIZE: 2720649cd0dSSimon Glass 2730649cd0dSSimon Glass These two #defines are used to determine the device range you 2740649cd0dSSimon Glass want to use for environment. It is assumed that this memory 2750649cd0dSSimon Glass can just be read and written to, without any special 2760649cd0dSSimon Glass provision. 2770649cd0dSSimon Glass 2780649cd0dSSimon Glassconfig ENV_IS_IN_REMOTE 2790649cd0dSSimon Glass bool "Environment is in remove memory space" 2800649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 2810649cd0dSSimon Glass help 2820649cd0dSSimon Glass Define this if you have a remote memory space which you 2830649cd0dSSimon Glass want to use for the local device's environment. 2840649cd0dSSimon Glass 2850649cd0dSSimon Glass - CONFIG_ENV_ADDR: 2860649cd0dSSimon Glass - CONFIG_ENV_SIZE: 2870649cd0dSSimon Glass 2880649cd0dSSimon Glass These two #defines specify the address and size of the 2890649cd0dSSimon Glass environment area within the remote memory space. The 2900649cd0dSSimon Glass local device can get the environment from remote memory 2910649cd0dSSimon Glass space by SRIO or PCIE links. 2920649cd0dSSimon Glass 2930649cd0dSSimon Glassconfig ENV_IS_IN_SPI_FLASH 2940649cd0dSSimon Glass bool "Environment is in SPI flash" 2950649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 296*fb69464eSMaxime Ripard default y if ARMADA_XP 297*fb69464eSMaxime Ripard default y if INTEL_BAYTRAIL 298*fb69464eSMaxime Ripard default y if INTEL_BRASWELL 299*fb69464eSMaxime Ripard default y if INTEL_BROADWELL 300*fb69464eSMaxime Ripard default y if NORTHBRIDGE_INTEL_IVYBRIDGE 301*fb69464eSMaxime Ripard default y if INTEL_QUARK 302*fb69464eSMaxime Ripard default y if INTEL_QUEENSBAY 3030649cd0dSSimon Glass help 3040649cd0dSSimon Glass Define this if you have a SPI Flash memory device which you 3050649cd0dSSimon Glass want to use for the environment. 3060649cd0dSSimon Glass 3070649cd0dSSimon Glass - CONFIG_ENV_OFFSET: 3080649cd0dSSimon Glass - CONFIG_ENV_SIZE: 3090649cd0dSSimon Glass 3100649cd0dSSimon Glass These two #defines specify the offset and size of the 3110649cd0dSSimon Glass environment area within the SPI Flash. CONFIG_ENV_OFFSET must be 3120649cd0dSSimon Glass aligned to an erase sector boundary. 3130649cd0dSSimon Glass 3140649cd0dSSimon Glass - CONFIG_ENV_SECT_SIZE: 3150649cd0dSSimon Glass 3160649cd0dSSimon Glass Define the SPI flash's sector size. 3170649cd0dSSimon Glass 3180649cd0dSSimon Glass - CONFIG_ENV_OFFSET_REDUND (optional): 3190649cd0dSSimon Glass 3200649cd0dSSimon Glass This setting describes a second storage area of CONFIG_ENV_SIZE 3210649cd0dSSimon Glass size used to hold a redundant copy of the environment data, so 3220649cd0dSSimon Glass that there is a valid backup copy in case there is a power failure 3230649cd0dSSimon Glass during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be 3240649cd0dSSimon Glass aligned to an erase sector boundary. 3250649cd0dSSimon Glass 3260649cd0dSSimon Glass - CONFIG_ENV_SPI_BUS (optional): 3270649cd0dSSimon Glass - CONFIG_ENV_SPI_CS (optional): 3280649cd0dSSimon Glass 3290649cd0dSSimon Glass Define the SPI bus and chip select. If not defined they will be 0. 3300649cd0dSSimon Glass 3310649cd0dSSimon Glass - CONFIG_ENV_SPI_MAX_HZ (optional): 3320649cd0dSSimon Glass 3330649cd0dSSimon Glass Define the SPI max work clock. If not defined then use 1MHz. 3340649cd0dSSimon Glass 3350649cd0dSSimon Glass - CONFIG_ENV_SPI_MODE (optional): 3360649cd0dSSimon Glass 3370649cd0dSSimon Glass Define the SPI work mode. If not defined then use SPI_MODE_3. 3380649cd0dSSimon Glass 3390649cd0dSSimon Glassconfig ENV_IS_IN_UBI 3400649cd0dSSimon Glass bool "Environment in a UBI volume" 3410649cd0dSSimon Glass depends on !CHAIN_OF_TRUST 3420649cd0dSSimon Glass help 3430649cd0dSSimon Glass Define this if you have an UBI volume that you want to use for the 3440649cd0dSSimon Glass environment. This has the benefit of wear-leveling the environment 3450649cd0dSSimon Glass accesses, which is important on NAND. 3460649cd0dSSimon Glass 3470649cd0dSSimon Glass - CONFIG_ENV_UBI_PART: 3480649cd0dSSimon Glass 3490649cd0dSSimon Glass Define this to a string that is the mtd partition containing the UBI. 3500649cd0dSSimon Glass 3510649cd0dSSimon Glass - CONFIG_ENV_UBI_VOLUME: 3520649cd0dSSimon Glass 3530649cd0dSSimon Glass Define this to the name of the volume that you want to store the 3540649cd0dSSimon Glass environment in. 3550649cd0dSSimon Glass 3560649cd0dSSimon Glass - CONFIG_ENV_UBI_VOLUME_REDUND: 3570649cd0dSSimon Glass 3580649cd0dSSimon Glass Define this to the name of another volume to store a second copy of 3590649cd0dSSimon Glass the environment in. This will enable redundant environments in UBI. 3600649cd0dSSimon Glass It is assumed that both volumes are in the same MTD partition. 3610649cd0dSSimon Glass 3620649cd0dSSimon Glass - CONFIG_UBI_SILENCE_MSG 3630649cd0dSSimon Glass - CONFIG_UBIFS_SILENCE_MSG 3640649cd0dSSimon Glass 3650649cd0dSSimon Glass You will probably want to define these to avoid a really noisy system 3660649cd0dSSimon Glass when storing the env in UBI. 3670649cd0dSSimon Glass 3680649cd0dSSimon Glassconfig ENV_FAT_INTERFACE 3690649cd0dSSimon Glass string "Name of the block device for the environment" 3700649cd0dSSimon Glass depends on ENV_IS_IN_FAT 3710649cd0dSSimon Glass default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91 3720649cd0dSSimon Glass help 3730649cd0dSSimon Glass Define this to a string that is the name of the block device. 3740649cd0dSSimon Glass 3750649cd0dSSimon Glassconfig ENV_FAT_DEVICE_AND_PART 3760649cd0dSSimon Glass string "Device and partition for where to store the environemt in FAT" 3770649cd0dSSimon Glass depends on ENV_IS_IN_FAT 3780649cd0dSSimon Glass default "0:1" if TI_COMMON_CMD_OPTIONS 3790649cd0dSSimon Glass default "0:auto" if ARCH_ZYNQMP 3800649cd0dSSimon Glass default "0" if ARCH_AT91 3810649cd0dSSimon Glass help 3820649cd0dSSimon Glass Define this to a string to specify the partition of the device. It can 3830649cd0dSSimon Glass be as following: 3840649cd0dSSimon Glass 3850649cd0dSSimon Glass "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1) 3860649cd0dSSimon Glass - "D:P": device D partition P. Error occurs if device D has no 3870649cd0dSSimon Glass partition table. 3880649cd0dSSimon Glass - "D:0": device D. 3890649cd0dSSimon Glass - "D" or "D:": device D partition 1 if device D has partition 3900649cd0dSSimon Glass table, or the whole device D if has no partition 3910649cd0dSSimon Glass table. 3920649cd0dSSimon Glass - "D:auto": first partition in device D with bootable flag set. 3930649cd0dSSimon Glass If none, first valid partition in device D. If no 3940649cd0dSSimon Glass partition table then means device D. 3950649cd0dSSimon Glass 3960649cd0dSSimon Glassconfig ENV_FAT_FILE 3970649cd0dSSimon Glass string "Name of the FAT file to use for the environemnt" 3980649cd0dSSimon Glass depends on ENV_IS_IN_FAT 3990649cd0dSSimon Glass default "uboot.env" 4000649cd0dSSimon Glass help 4010649cd0dSSimon Glass It's a string of the FAT file name. This file use to store the 4020649cd0dSSimon Glass environment. 4030649cd0dSSimon Glass 4041087a794SJorge Ramirez-Ortizconfig ENV_EXT4_INTERFACE 4051087a794SJorge Ramirez-Ortiz string "Name of the block device for the environment" 4061087a794SJorge Ramirez-Ortiz depends on ENV_IS_IN_EXT4 4071087a794SJorge Ramirez-Ortiz help 4081087a794SJorge Ramirez-Ortiz Define this to a string that is the name of the block device. 4091087a794SJorge Ramirez-Ortiz 4101087a794SJorge Ramirez-Ortizconfig ENV_EXT4_DEVICE_AND_PART 4111087a794SJorge Ramirez-Ortiz string "Device and partition for where to store the environemt in EXT4" 4121087a794SJorge Ramirez-Ortiz depends on ENV_IS_IN_EXT4 4131087a794SJorge Ramirez-Ortiz help 4141087a794SJorge Ramirez-Ortiz Define this to a string to specify the partition of the device. It can 4151087a794SJorge Ramirez-Ortiz be as following: 4161087a794SJorge Ramirez-Ortiz 4171087a794SJorge Ramirez-Ortiz "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1) 4181087a794SJorge Ramirez-Ortiz - "D:P": device D partition P. Error occurs if device D has no 4191087a794SJorge Ramirez-Ortiz partition table. 4201087a794SJorge Ramirez-Ortiz - "D:0": device D. 4211087a794SJorge Ramirez-Ortiz - "D" or "D:": device D partition 1 if device D has partition 4221087a794SJorge Ramirez-Ortiz table, or the whole device D if has no partition 4231087a794SJorge Ramirez-Ortiz table. 4241087a794SJorge Ramirez-Ortiz - "D:auto": first partition in device D with bootable flag set. 4251087a794SJorge Ramirez-Ortiz If none, first valid partition in device D. If no 4261087a794SJorge Ramirez-Ortiz partition table then means device D. 4271087a794SJorge Ramirez-Ortiz 4281087a794SJorge Ramirez-Ortizconfig ENV_EXT4_FILE 4291087a794SJorge Ramirez-Ortiz string "Name of the EXT4 file to use for the environemnt" 4301087a794SJorge Ramirez-Ortiz depends on ENV_IS_IN_EXT4 4311087a794SJorge Ramirez-Ortiz default "uboot.env" 4321087a794SJorge Ramirez-Ortiz help 4331087a794SJorge Ramirez-Ortiz It's a string of the EXT4 file name. This file use to store the 4341087a794SJorge Ramirez-Ortiz environment (explicit path to the file) 4351087a794SJorge Ramirez-Ortiz 4360649cd0dSSimon Glassif ARCH_SUNXI 4370649cd0dSSimon Glass 4380649cd0dSSimon Glassconfig ENV_OFFSET 4390649cd0dSSimon Glass hex "Environment Offset" 4400649cd0dSSimon Glass depends on !ENV_IS_IN_UBI 4410649cd0dSSimon Glass depends on !ENV_IS_NOWHERE 4420649cd0dSSimon Glass default 0x88000 if ARCH_SUNXI 4430649cd0dSSimon Glass help 4440649cd0dSSimon Glass Offset from the start of the device (or partition) 4450649cd0dSSimon Glass 4460649cd0dSSimon Glassconfig ENV_SIZE 4470649cd0dSSimon Glass hex "Environment Size" 4480649cd0dSSimon Glass depends on !ENV_IS_NOWHERE 4490649cd0dSSimon Glass default 0x20000 if ARCH_SUNXI 4500649cd0dSSimon Glass help 4510649cd0dSSimon Glass Size of the environment storage area 4520649cd0dSSimon Glass 4530649cd0dSSimon Glassconfig ENV_UBI_PART 4540649cd0dSSimon Glass string "UBI partition name" 4550649cd0dSSimon Glass depends on ENV_IS_IN_UBI 4560649cd0dSSimon Glass help 4570649cd0dSSimon Glass MTD partition containing the UBI device 4580649cd0dSSimon Glass 4590649cd0dSSimon Glassconfig ENV_UBI_VOLUME 4600649cd0dSSimon Glass string "UBI volume name" 4610649cd0dSSimon Glass depends on ENV_IS_IN_UBI 4620649cd0dSSimon Glass help 4630649cd0dSSimon Glass Name of the volume that you want to store the environment in. 4640649cd0dSSimon Glass 4650649cd0dSSimon Glassendif 4660649cd0dSSimon Glass 46781f53b0dSKlaus Gogerif ARCH_ROCKCHIP 46881f53b0dSKlaus Goger 46981f53b0dSKlaus Gogerconfig ENV_OFFSET 47081f53b0dSKlaus Goger hex 47181f53b0dSKlaus Goger depends on !ENV_IS_IN_UBI 47281f53b0dSKlaus Goger depends on !ENV_IS_NOWHERE 47381f53b0dSKlaus Goger default 0x3f8000 47481f53b0dSKlaus Goger help 47581f53b0dSKlaus Goger Offset from the start of the device (or partition) 47681f53b0dSKlaus Goger 47781f53b0dSKlaus Gogerconfig ENV_SIZE 47881f53b0dSKlaus Goger hex 47981f53b0dSKlaus Goger default 0x8000 48081f53b0dSKlaus Goger help 48181f53b0dSKlaus Goger Size of the environment storage area 48281f53b0dSKlaus Goger 48381f53b0dSKlaus Gogerendif 48481f53b0dSKlaus Goger 4850649cd0dSSimon Glassendmenu 486