]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc83xx/ecc.c
Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc83xx / ecc.c
index 6b7f72aa7de0f94d2527d6a1bd6b1a7987931ea8..985a024425525637a3b3529ef0cb23da2d197780 100644 (file)
@@ -16,7 +16,7 @@ void ecc_print_status(void)
 {
        immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
 #ifdef CONFIG_SYS_FSL_DDR2
-       ccsr_ddr_t *ddr = &immap->ddr;
+       struct ccsr_ddr __iomem *ddr = &immap->ddr;
 #else
        ddr83xx_t *ddr = &immap->ddr;
 #endif
@@ -100,7 +100,7 @@ int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
 #ifdef CONFIG_SYS_FSL_DDR2
-       ccsr_ddr_t *ddr = &immap->ddr;
+       struct ccsr_ddr __iomem *ddr = &immap->ddr;
 #else
        ddr83xx_t *ddr = &immap->ddr;
 #endif