From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 30 Apr 2010 15:14:16 +0200 Subject: [U-Boot] [PATCH] Save environment data to mmc. In-Reply-To: <1AE74F652ECB1440B73DD7C2C20842D1B3A4B0@zch01exm27.fsl.freescale.net> References: <12725268173199-git-send-email-r65388@freescale.com> <4BD998BE.7040501@denx.de> <1AE74F652ECB1440B73DD7C2C20842D1B3A4B0@zch01exm27.fsl.freescale.net> Message-ID: <4BDAD7A8.2030308@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 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 -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================