From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 25 Jul 2017 21:36:04 -0400 Subject: [U-Boot] [PATCH v2 04/34] Convert CONFIG_ENV_IS_IN_MMC et al to Kconfig In-Reply-To: <20170724032009.43994-5-sjg@chromium.org> References: <20170724032009.43994-1-sjg@chromium.org> <20170724032009.43994-5-sjg@chromium.org> Message-ID: <20170726013604.GS26163@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 Sun, Jul 23, 2017 at 09:19:39PM -0600, Simon Glass wrote: > This converts the following to Kconfig: > CONFIG_ENV_IS_IN_MMC > CONFIG_ENV_IS_IN_NAND > CONFIG_ENV_IS_IN_UBI > CONFIG_ENV_IS_NOWHERE > > In fact this already exists for sunxi as a 'choice' config. However not > all the choices are available in Kconfig yet so we cannot use that. It > would lead to more than one option being set. > > In addition, one purpose of this series is to allow the environment to be > stored in more than one place. So the existing choice is converted to a > normal config allowing each option to be set independently. > > There are not many opportunities for Kconfig updates to reduce the size of > this patch. This was tested with > > ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC > > Signed-off-by: Simon Glass With a few minor changes so that CHAIN_OF_TRUST enforces CONFIG_ENV_IS_NOWHERE, and so that CHIP_pro is ENV_IN_UBI (which is what the old result was, build-wise): Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: