summaryrefslogtreecommitdiff
path: root/board/tqm85xx/sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqm85xx/sdram.c')
-rw-r--r--board/tqm85xx/sdram.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/tqm85xx/sdram.c b/board/tqm85xx/sdram.c
index 9c1f0876872..8ca50f54d93 100644
--- a/board/tqm85xx/sdram.c
+++ b/board/tqm85xx/sdram.c
@@ -150,8 +150,7 @@ long int initdram (int board_type)
* This DLL-Override only used on TQM8540 and TQM8560
*/
{
- volatile immap_t *immap = (immap_t *) CFG_IMMR;
- volatile ccsr_gur_t *gur= &immap->im_gur;
+ volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
int i,x;
x = 10;