[U-Boot] [PATCH] mpc512x: fix fixed_sdram() init code.

Wolfgang Denk wd at denx.de
Thu Oct 8 00:23:31 CEST 2009


Dear Wolfgang Denk,

In message <1254689768-3392-1-git-send-email-wd at 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 <wd at denx.de>
> ---
>  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.


More information about the U-Boot mailing list