]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/ppc4xx/denali_spd_ddr2.c
Change initdram() return type to phys_size_t
[people/ms/u-boot.git] / cpu / ppc4xx / denali_spd_ddr2.c
index ad805b937b1942ed64fa7481524d225d6764c2bd..3bd637567c3f0b728c38866c317e62fa88f3aec1 100644 (file)
@@ -1022,7 +1022,7 @@ static void program_ddr0_44(unsigned long dimm_ranks[],
  *              banks appropriately. If Auto Memory Configuration is
  *              not used, it is assumed that no DIMM is plugged
  *-----------------------------------------------------------------------------*/
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        unsigned char const iic0_dimm_addr[] = SPD_EEPROM_ADDRESS;
        unsigned long dimm_ranks[MAXDIMMS];