[U-Boot] [PATCH] Save environment data to mmc.

Mike Frysinger vapier at gentoo.org
Wed Nov 4 12:01:47 CET 2009


On Wednesday 04 November 2009 05:02:44 Terry Lv wrote:
> This patch is to save environment data to mmc card.
> It uses interfaces defined in generic mmc.
> 
> Signed-off-by: Terry Lv <r65388 at freescale.com>
> ---
>  common/cmd_nvedit.c   |    3 +-
>  common/env_mmc.c
>  include/environment.h | 
>  lib_arm/board.c       |   10 +-
>  lib_ppc/board.c       |   12 +-
>  5 files changed, 390 insertions(+), 12 deletions(-)
>  create mode 100644 common/env_mmc.c

you never added env_mmc to the Makefile

> --- /dev/null
> +++ b/common/env_mmc.c
> +#if defined(CONFIG_ENV_IS_IN_MMC) /* Environment is in MMC Flash */

have this config check be in the Makefile, then it isnt needed in the source 
as the build system will only build it when needed
-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/20091104/d08fba5b/attachment.pgp 


More information about the U-Boot mailing list