projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Big cleanup of PPC4xx defines
[platform/kernel/u-boot.git]
/
cpu
/
ppc4xx
/
40x_spd_sdram.c
diff --git
a/cpu/ppc4xx/40x_spd_sdram.c
b/cpu/ppc4xx/40x_spd_sdram.c
index
75bd70d
..
83fa709
100644
(file)
--- a/
cpu/ppc4xx/40x_spd_sdram.c
+++ b/
cpu/ppc4xx/40x_spd_sdram.c
@@
-422,7
+422,7
@@
long int spd_sdram(int(read_spd)(uint addr))
* program all the registers.
* -------------------------------------------------------------------*/
* program all the registers.
* -------------------------------------------------------------------*/
-#define mtsdram0(reg, data) mtdcr(
memcfga,reg);mtdcr(memcfgd
,data)
+#define mtsdram0(reg, data) mtdcr(
SDRAM0_CFGADDR,reg);mtdcr(SDRAM0_CFGDATA
,data)
/* disable memcontroller so updates work */
mtsdram0( mem_mcopt1, 0 );
/* disable memcontroller so updates work */
mtsdram0( mem_mcopt1, 0 );