From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 22 May 2013 08:09:07 +0200 Subject: [U-Boot] [PATCH] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL In-Reply-To: <1369163690.1374.9@scott-Lenovo-G560> References: <1368759917-6348-1-git-send-email-ying.zhang@freescale.com> <1369076175.5246.2@scott-Lenovo-G560> <1369163690.1374.9@scott-Lenovo-G560> Message-ID: <519C6103.3000008@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de (sorry for jumping in so late in this discussion) On 05/21/2013 09:14 PM, Scott Wood wrote: >> This is Tom's words: >> >> a3m071 relies on SPL always building cmd_nvedit.o and env_common.o and >> duplicated CONFIG_ENV_IS_IN_FLASH in the SPL section. >> >> CONFIG_SPL_NET_SUPPORT relies on the same always-built ins and adds >> env_nowhere.o which works because the regular CONFIG_ENV_IS_IN_... >> >> section is in the non-SPL-only area. > > If "SPL: Makefile: Build a separate autoconf.mk for SPL" gets merged, > we could just have a3m071 define CONFIG_ENV_IS_NOWHERE in the SPL build > case. But the a3m071 SPL U-Boot version also uses the env from NOR flash. So defining CONFIG_ENV_IS_NOWHERE here would be really confusing! Thanks, Stefan