From: Wolfgang Denk Date: Thu, 08 Oct 2009 00:23:31 +0200 Subject: [U-Boot] [PATCH] mpc512x: fix fixed_sdram() init code. In-Reply-To: <1254689768-3392-1-git-send-email-wd@denx.de> References: <1254689768-3392-1-git-send-email-wd@denx.de> Message-ID: <20091007222331.7E0BAE95FA9@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 Wolfgang Denk, In message <1254689768-3392-1-git-send-email-wd@denx.de> you wrote: > Commit 054197ba and later fixes used an array to initialize some of > the MDDRC parameters; however, the use of an array turned out to be a > bad idea as it was not possible to correlate structure entries to > array indices in readable and reliable way. Now we use a struct > instead, which makes this self-explanatory. > > Signed-off-by: Wolfgang Denk > --- > board/freescale/mpc5121ads/mpc5121ads.c | 12 +++++----- > cpu/mpc512x/fixed_sdram.c | 33 +++++++++++++++++------------- > include/asm-ppc/immap_512x.h | 10 +++++++++ > include/asm-ppc/mpc512x.h | 3 +- > 4 files changed, 37 insertions(+), 21 deletions(-) Applied. 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 PLEASE NOTE: Some Quantum Physics Theories Suggest That When the Con- sumer Is Not Directly Observing This Product, It May Cease to Exist or Will Exist Only in a Vague and Undetermined State.