]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sbc8560/sbc8560.c
Stop using immap_t for guts offset on 85xx
[karo-tx-uboot.git] / board / sbc8560 / sbc8560.c
index e8b9929e77118b1432c3185bb0dad7e4168d2953..e02fb55678fad7604d8e792192e066ae475b634c 100644 (file)
@@ -264,7 +264,6 @@ long int initdram (int board_type)
 {
        long dram_size = 0;
        extern long spd_sdram (void);
-       volatile immap_t *immap = (immap_t *)CFG_IMMR;
 #if 0
 #if !defined(CONFIG_RAM_AS_FLASH)
        volatile ccsr_lbc_t *lbc= &immap->im_lbc;
@@ -273,7 +272,7 @@ long int initdram (int board_type)
 #endif
 #endif /* 0 */
 #if !defined(CONFIG_RAM_AS_FLASH) || defined(CONFIG_DDR_DLL)
-       volatile ccsr_gur_t *gur= &immap->im_gur;
+       volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
 #endif
 #if defined(CONFIG_DDR_DLL)
        uint temp_ddrdll = 0;