aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/ppc4xx_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/ppc4xx_edac.c')
-rw-r--r--drivers/edac/ppc4xx_edac.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index a75e56788b29..ec5e529e33f6 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -897,7 +897,6 @@ ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)
897 enum edac_type edac_mode; 897 enum edac_type edac_mode;
898 int row, j; 898 int row, j;
899 u32 mbxcf, size; 899 u32 mbxcf, size;
900 static u32 ppc4xx_last_page;
901 900
902 /* Establish the memory type and width */ 901 /* Establish the memory type and width */
903 902
@@ -959,10 +958,6 @@ ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)
959 goto done; 958 goto done;
960 } 959 }
961 960
962 csi->first_page = ppc4xx_last_page;
963 csi->last_page = csi->first_page + csi->nr_pages - 1;
964 csi->page_mask = 0;
965
966 /* 961 /*
967 * It's unclear exactly what grain should be set to 962 * It's unclear exactly what grain should be set to
968 * here. The SDRAM_ECCES register allows resolution of 963 * here. The SDRAM_ECCES register allows resolution of
@@ -984,8 +979,6 @@ ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1)
984 dimm->dtype = dtype; 979 dimm->dtype = dtype;
985 980
986 dimm->edac_mode = edac_mode; 981 dimm->edac_mode = edac_mode;
987
988 ppc4xx_last_page += csi->nr_pages;
989 } 982 }
990 } 983 }
991 984