]> git.sur5r.net Git - u-boot/blobdiff - board/stxxtc/stxxtc.c
Change initdram() return type to phys_size_t
[u-boot] / board / stxxtc / stxxtc.c
index 87a2022761384a5b37d5b1779035daef54b47161..a7503743934dd3ae3fd479066f7ec1c889717b5b 100644 (file)
@@ -399,7 +399,7 @@ void check_ram(unsigned int addr, unsigned int size)
 
 #define DO_LOOP do { for (;;) asm volatile ("nop" : : : "memory"); } while(0)
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        volatile immap_t *immap = (immap_t *) CFG_IMMR;
        volatile memctl8xx_t *memctl = &immap->im_memctl;