[U-Boot] [PATCH] common: env: add kconfig entry for env storage

Peng Fan peng.fan at nxp.com
Sat Oct 8 11:06:02 CEST 2016


Add Kconfig entry for ENV storage

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Heiko Schocher <hs at denx.de>
Cc: Tom Rini <trini at konsulko.com>
Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
Cc: Stefan Roese <sr at denx.de>
Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
Cc: Francois Retief <fgretief at 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



More information about the U-Boot mailing list