From: Wolfgang Denk Date: Wed, 13 Oct 2010 21:50:16 +0200 Subject: [U-Boot] [PATCH v2] env_mmc: Fix crashing bug encountered after enabling ARM relocation In-Reply-To: <1286719463.2105.25.camel@quadra> References: <1286719463.2105.25.camel@quadra> Message-ID: <20101013195016.B5A601365CC@gemini.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 Dear Steve Sakoman, In message <1286719463.2105.25.camel@quadra> you wrote: > env_mmc: Fix crashing bug encountered after enabling ARM relocation > > The crash was occuring in env_relocate because it was being called prior > to mmc_initialize. This patch moves the MMC initialization earlier in > the init process. > > This patch also cleans up the env_relocate_spec code in env_mmc.c > > Signed-off-by: Steve Sakoman > Acked-by: Stefano Babic > --- Applied (after removing the doubled subject line and fixing a white-space coding style issue). Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de grep me no patterns and I'll tell you no lines.