Hi Terry,
[Ty]: env_ptr is defined in env_mmc.c and the value is
assigned in env_common.c. Correct me if I'm wrong.
No, you are right - env_relocate() called malloc and initialize the pointer.
Best regards,
Stefano
--
=
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv r65...@freescale.com
---
arch/arm/lib/board.c | 10 ++--
arch/powerpc/lib/board.c | 12 ++--
common/Makefile |1 +
common/cmd_nvedit.c |1 +
Terry Lv wrote:
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Hi Terry,
Signed-off-by: Terry Lv r65...@freescale.com
---
arch/arm/lib/board.c | 10 ++--
arch/powerpc/lib/board.c | 12 ++--
common/Makefile |1 +
] [PATCH] Save environment data to mmc.
Terry Lv wrote:
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Hi Terry,
Signed-off-by: Terry Lv r65...@freescale.com
---
arch/arm/lib/board.c | 10 ++--
arch/powerpc/lib/board.c | 12 ++--
common
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv r65...@freescale.com
---
arch/arm/lib/board.c | 10 ++--
arch/powerpc/lib/board.c | 12 ++--
common/Makefile |1 +
common/cmd_nvedit.c |1 +
On Wed, Apr 28, 2010 at 2:52 AM, Terry Lv r65...@freescale.com wrote:
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv r65...@freescale.com
diff --git a/common/env_mmc.c b/common/env_mmc.c
new file mode 100644
index
.
For the initalization for ARM and PPC, It will be added for all
architectures.
Thanks a lot ~~
Yours
Terry
-Original Message-
From: Stefano Babic [mailto:sba...@denx.de]
Sent: 2010年3月3日 1:03
To: Lv Terry-R65388
Cc: u-boot@lists.denx.de
Subject: Re: [U-Boot] [PATCH] Save environment data
Hi, Terry,
-Original Message-
From: u-boot-boun...@lists.denx.de
[mailto:u-boot-boun...@lists.denx.de] On Behalf Of Lv Terry-R65388
Sent: 2010年3月4日 11:01
To: Stefano Babic
Cc: u-boot@lists.denx.de
Subject: Re: [U-Boot] [PATCH] Save environment data to mmc.
Hi Babic
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv r65...@freescale.com
---
common/Makefile |1 +
common/cmd_nvedit.c |3 +-
common/env_mmc.c | 166 +
Dear Terry Lv,
In message 12574070132761-git-send-email-r65...@freescale.com you wrote:
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
...
+ if (!crc1_ok !crc2_ok)
+ gd-env_valid = 0;
+ else if (crc1_ok !crc2_ok)
+
for that.
It works well in our project. So I want to add it to u-boot mainline.
Thanks~~
Yours
Terry
-Original Message-
From: Mike Frysinger [mailto:vap...@gentoo.org]
Sent: 2009年11月5日 20:10
To: u-boot@lists.denx.de
Cc: Lv Terry-R65388
Subject: Re: [U-Boot] [PATCH] Save environment data
This patch is to save environment data to mmc card.
Signed-off-by: Terry Lv r65...@freescale.com
---
common/cmd_nvedit.c |3 +-
common/env_mmc.c | 376 +
include/environment.h | 18 +++
3 files changed, 396 insertions(+), 1
Sorry, this patch has something wrong.
I'll send out a new one for review.
Yours
Terry
-Original Message-
From: Lv Terry-R65388
Sent: 2009年11月4日 17:52
To: u-boot@lists.denx.de
Cc: Lv Terry-R65388
Subject: [PATCH] Save environment data to mmc.
This patch is to save environment
This patch is to save environment data to mmc card.
It uses interfaces defined in generic mmc.
Signed-off-by: Terry Lv r65...@freescale.com
---
common/cmd_nvedit.c |3 +-
common/env_mmc.c | 359 +
include/environment.h | 18 +++
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 r65...@freescale.com
---
common/cmd_nvedit.c |3 +-
common/env_mmc.c
include/environment.h |
15 matches
Mail list logo