|
@@ -804,8 +804,8 @@ static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci)
|
|
end <<= (24 - PAGE_SHIFT);
|
|
end <<= (24 - PAGE_SHIFT);
|
|
end |= (1 << (24 - PAGE_SHIFT)) - 1;
|
|
end |= (1 << (24 - PAGE_SHIFT)) - 1;
|
|
|
|
|
|
- csrow->first_page = start >> PAGE_SHIFT;
|
|
|
|
- csrow->last_page = end >> PAGE_SHIFT;
|
|
|
|
|
|
+ csrow->first_page = start;
|
|
|
|
+ csrow->last_page = end;
|
|
csrow->nr_pages = end + 1 - start;
|
|
csrow->nr_pages = end + 1 - start;
|
|
csrow->grain = 8;
|
|
csrow->grain = 8;
|
|
csrow->mtype = mtype;
|
|
csrow->mtype = mtype;
|