[U-Boot] [PATCH v2] mpc83xx: spd_sdram.c: Disable memory controller before initializing

Kim Phillips kim.phillips at freescale.com
Fri Jan 8 01:53:11 CET 2010


On Tue, 8 Dec 2009 09:10:04 +0100
Stefan Roese <sr at denx.de> wrote:

> +	/*
> +	 * First disable the memory controller (could be enabled
> +	 * by the debugger)
> +	 */
> +	clrsetbits_be32(&ddr->sdram_cfg, SDRAM_CFG_MEM_EN, 0);
> +	asm("sync;isync");

applied after changing to use [i]sync() accessor fns.

Kim


More information about the U-Boot mailing list