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

Lv Terry-R65388 r65388 at freescale.com
Thu Nov 5 08:45:46 CET 2009


 Oh, sorry, I will fix that.

 Thanks

-----Original Message-----
From: Mike Frysinger [mailto:vapier at gentoo.org] 
Sent: 2009年11月4日 19:02
To: u-boot at lists.denx.de
Cc: Lv Terry-R65388
Subject: Re: [U-Boot] [PATCH] Save environment data to mmc.

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


More information about the U-Boot mailing list