X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Feric%2Feric.c;h=600b9d7a7ced4e2bb15f266efbfda334b49487b0;hb=4ce5a72851ff2960543b125866c6132e0094e1ee;hp=14ba9b0a4132d9f1dc81b3b4bdba0946a8f30a06;hpb=b77cddc7b52acd4ed78830ac681a398dd3053938;p=u-boot diff --git a/board/eric/eric.c b/board/eric/eric.c index 14ba9b0a41..600b9d7a7c 100644 --- a/board/eric/eric.c +++ b/board/eric/eric.c @@ -121,7 +121,7 @@ int checkboard (void) */ /* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */ -long int initdram (int board_type) +phys_size_t initdram (int board_type) { #ifndef CONFIG_ERIC int i; @@ -142,7 +142,7 @@ long int initdram (int board_type) * so let init.S do the init job for SDRAM * and simply return 32MByte here */ - return (CFG_SDRAM_SIZE * 1024 * 1024); + return (CONFIG_SYS_SDRAM_SIZE * 1024 * 1024); #else /* Read Serial Presence Detect Information */