]> git.sur5r.net Git - u-boot/commit
mpc512x: fix fixed_sdram() init code.
authorWolfgang Denk <wd@denx.de>
Sun, 4 Oct 2009 20:56:08 +0000 (22:56 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Oct 2009 22:23:12 +0000 (00:23 +0200)
commitda01f53404f99db185d196867af79371725d4683
tree0cdf0d758bb985df06aa8c9c8adb493c38ee2da5
parentdbcc357166bed20df13450e93a501f30b197efd1
mpc512x: fix fixed_sdram() init code.

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@denx.de>
board/freescale/mpc5121ads/mpc5121ads.c
cpu/mpc512x/fixed_sdram.c
include/asm-ppc/immap_512x.h
include/asm-ppc/mpc512x.h