From: Mike Frysinger Date: Thu, 5 Nov 2009 08:09:42 -0400 Subject: [U-Boot] [PATCH] Save environment data to mmc. In-Reply-To: <12574070132761-git-send-email-r65388@freescale.com> References: <12574070132761-git-send-email-r65388@freescale.com> Message-ID: <200911050709.43285.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 05 November 2009 02:43:33 Terry Lv wrote: > --- a/common/Makefile > +++ b/common/Makefile > @@ -58,6 +58,7 @@ COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o > COBJS-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o > COBJS-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o > COBJS-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o > +COBJS-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o this list is attempting to stay in order according to the CONFIG name, so you should add this above the NAND ENV entry > --- /dev/null > +++ b/common/env_mmc.c > @@ -0,0 +1,359 @@ > +#if defined(CONFIG_ENV_IS_IN_MMC) /* Environment is in MMC Flash */ you dont need this line anymore as it's in the Makefile > +#ifdef CONFIG_INFERNO > +#error CONFIG_INFERNO not supported yet > +#endif is this really needed ? > +extern int default_environment_size; this looks like another useless line copy & pasted from whatever file you based this on -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20091105/7cd8ba61/attachment.pgp