Change initdram() return type to phys_size_t
[oweals/u-boot.git] / board / sc3 / sc3.c
index fbdc1d769c6aa683e3373b929efa4ac6cb9f3144..3d1a6542dc3bd044936b11fd2ad62ef532068c60 100644 (file)
@@ -579,7 +579,7 @@ static int printSDRAMConfig(char reg, unsigned long cr)
 static unsigned int mbcf[] = {mem_mb0cf, mem_mb1cf, mem_mb2cf, mem_mb3cf};
 #endif
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        unsigned int mems=0;
        unsigned long ul1;