All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: env: add kconfig entry for env storage
Date: Sat, 8 Oct 2016 17:06:02 +0800	[thread overview]
Message-ID: <1475917562-3514-1-git-send-email-peng.fan@nxp.com> (raw)

Add Kconfig entry for ENV storage

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

             reply	other threads:[~2016-10-08  9:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08  9:06 Peng Fan [this message]
2016-10-17 22:17 ` [U-Boot] [PATCH] common: env: add kconfig entry for env storage Simon Glass
2016-10-17 22:55   ` Tom Rini
2016-10-18  5:17     ` Heiko Schocher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475917562-3514-1-git-send-email-peng.fan@nxp.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.