Add Kconfig entry for ENV storage

Signed-off-by: Peng Fan <peng....@nxp.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Heiko Schocher <h...@denx.de>
Cc: Tom Rini <tr...@konsulko.com>
Cc: Masahiro Yamada <yamada.masah...@socionext.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Siva Durga Prasad Paladugu <siva.durga.palad...@xilinx.com>
Cc: Francois Retief <fgret...@spaceteq.co.za>
---
 common/Kconfig | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index c69c141..a630924 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -158,6 +158,79 @@ config SPI_BOOT
 
 endmenu
 
+menu "ENV storage media"
+
+config ENV_IS_IN_DATAFLASH
+       bool "env stored in dataflash"
+       help
+         env stored in dataflash
+
+config ENV_IS_IN_EEPROM
+       bool "env stored in eeprom"
+       help
+         env stored in eeprom
+
+config ENV_IS_EMBEDDED
+       bool "env is embedded"
+       help
+         env is embedded
+
+config ENV_IS_IN_FLASH
+       bool "env stored in flash"
+       help
+         env stored in flash
+
+config ENV_IS_IN_MMC
+       bool "env stored in sd/mmc card"
+       help
+         env stored in sd/mmc card
+
+config ENV_IS_IN_NAND
+       bool "env stored in nand flash"
+       help
+         env stored in nand flash
+
+config ENV_IS_IN_NVRAM
+       bool "env stored in nvram"
+       help
+         env stored in nvram
+
+config ENV_IS_IN_ONENAND
+       bool "env stored in onenand"
+       help
+         env stored in onenand
+
+config ENV_IS_IN_SATA
+       bool "env stored in sata"
+       help
+         env stored in sata
+
+config ENV_IS_IN_SPI_FLASH
+       bool "env stored in spi flash"
+       help
+         env stored in spi flash
+
+config ENV_IS_IN_FAT
+       bool "env stored in a fat file"
+       help
+         env stored in a fat file
+
+config ENV_IS_IN_UBI
+       bool "env stored in a ubi file"
+       help
+         env stored in a ubi file
+
+config ENV_IS_IN_REMOTE
+       bool "env stored in remote"
+       help
+         env stored in remote
+
+config ENV_IS_NOWHERE
+       bool "env is nowhere"
+       help
+         env is nowhere
+endmenu
+
 config BOOTDELAY
        int "delay in seconds before automatically booting"
        default 2
-- 
2.6.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to