From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 17 Oct 2016 18:55:14 -0400 Subject: [U-Boot] [PATCH] common: env: add kconfig entry for env storage In-Reply-To: References: <1475917562-3514-1-git-send-email-peng.fan@nxp.com> Message-ID: <20161017225514.GW18591@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Oct 17, 2016 at 04:17:06PM -0600, Simon Glass wrote: > Hi Peng, > > On 8 October 2016 at 03:06, Peng Fan wrote: > > Add Kconfig entry for ENV storage > > > > Signed-off-by: Peng Fan > > Cc: Simon Glass > > Cc: Heiko Schocher > > Cc: Tom Rini > > Cc: Masahiro Yamada > > Cc: Stefan Roese > > Cc: Siva Durga Prasad Paladugu > > Cc: Francois Retief > > --- > > 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 > > Can you add a little more help detail on this? Also I suspect we > should have CONFIG_ENV as well, to enable the actual environment > (independent of where it is stored). Yes, please add a bit more to the text. > Also, can you migrate the existing configs with moveconfig? That would > be a big step forward and may inspire me to move it to linker lists. Actually, I bet this is going to be messy enough that I'm fine running the moveconfig myself right before I merge it in. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: