diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-08 09:28:02 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-08 09:28:02 -0400 |
commit | 089795090a627f4216c5f21eaf436ba1672cf02e (patch) | |
tree | 386074cdee0ea3fe02cc6ee8228c5adb8d7e7ea7 /common | |
parent | b09ece0836e0267b86f37defec267aa3806cb03a (diff) | |
parent | f7d4d9e52cdcff2a8fcdc80b567a41f48b61951c (diff) | |
download | u-boot-089795090a627f4216c5f21eaf436ba1672cf02e.tar.gz |
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index ec519d07cc..1879aefaf8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -158,6 +158,75 @@ config SPI_BOOT endmenu +menu "Environment" + +if ARCH_SUNXI + +choice + prompt "Environment Device" + default ENV_IS_IN_MMC if ARCH_SUNXI + +config ENV_IS_IN_MMC + bool "Environment in an MMC device" + depends on CMD_MMC + help + Define this if you have an MMC device which you want to use for the + environment. + +config ENV_IS_IN_NAND + bool "Environment in a NAND device" + depends on CMD_NAND + help + Define this if you have a NAND device which you want to use for the + environment. + +config ENV_IS_IN_UBI + bool "Environment in a UBI volume" + depends on CMD_UBI + depends on CMD_MTDPARTS + help + Define this if you have a UBI volume which you want to use for the + environment. + +config ENV_IS_NOWHERE + bool "Environment is not stored" + help + Define this if you don't want to or can't have an environment stored + on a storage medium + +endchoice + +config ENV_OFFSET + hex "Environment Offset" + depends on !ENV_IS_IN_UBI + depends on !ENV_IS_NOWHERE + default 0x88000 if ARCH_SUNXI + help + Offset from the start of the device (or partition) + +config ENV_SIZE + hex "Environment Size" + depends on !ENV_IS_NOWHERE + default 0x20000 if ARCH_SUNXI + help + Size of the environment storage area + +config ENV_UBI_PART + string "UBI partition name" + depends on ENV_IS_IN_UBI + help + MTD partition containing the UBI device + +config ENV_UBI_VOLUME + string "UBI volume name" + depends on ENV_IS_IN_UBI + help + Name of the volume that you want to store the environment in. + +endif + +endmenu + config BOOTDELAY int "delay in seconds before automatically booting" default 2 |