diff options
Diffstat (limited to 'board/amcc')
-rw-r--r-- | board/amcc/acadia/memory.c | 2 | ||||
-rw-r--r-- | board/amcc/bamboo/bamboo.c | 2 | ||||
-rw-r--r-- | board/amcc/bubinga/bubinga.c | 2 | ||||
-rw-r--r-- | board/amcc/canyonlands/canyonlands.c | 2 | ||||
-rw-r--r-- | board/amcc/ebony/ebony.c | 2 | ||||
-rw-r--r-- | board/amcc/ocotea/ocotea.c | 2 | ||||
-rw-r--r-- | board/amcc/sequoia/sdram.c | 2 | ||||
-rw-r--r-- | board/amcc/taihu/taihu.c | 4 | ||||
-rw-r--r-- | board/amcc/walnut/walnut.c | 2 | ||||
-rw-r--r-- | board/amcc/yosemite/yosemite.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/board/amcc/acadia/memory.c b/board/amcc/acadia/memory.c index 3dec3159a5..48a6725745 100644 --- a/board/amcc/acadia/memory.c +++ b/board/amcc/acadia/memory.c @@ -59,7 +59,7 @@ static void cram_bcr_write(u32 wr_val) } #endif -long int initdram(int board_type) +phys_size_t initdram(int board_type) { #if defined(CONFIG_NAND_SPL) u32 reg; diff --git a/board/amcc/bamboo/bamboo.c b/board/amcc/bamboo/bamboo.c index 0c7d69e783..f4157017f1 100644 --- a/board/amcc/bamboo/bamboo.c +++ b/board/amcc/bamboo/bamboo.c @@ -453,7 +453,7 @@ int checkboard(void) } -long int initdram (int board_type) +phys_size_t initdram (int board_type) { #if !(defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL)) long dram_size; diff --git a/board/amcc/bubinga/bubinga.c b/board/amcc/bubinga/bubinga.c index 9d508b8937..74a2a1c214 100644 --- a/board/amcc/bubinga/bubinga.c +++ b/board/amcc/bubinga/bubinga.c @@ -70,7 +70,7 @@ int checkboard(void) initdram(int board_type) reads EEPROM via I2c. EEPROM contains all of the necessary info for SDRAM controller configuration ------------------------------------------------------------------------- */ -long int initdram(int board_type) +phys_size_t initdram(int board_type) { long int ret; diff --git a/board/amcc/canyonlands/canyonlands.c b/board/amcc/canyonlands/canyonlands.c index 4e3b349ef8..e0e0211a67 100644 --- a/board/amcc/canyonlands/canyonlands.c +++ b/board/amcc/canyonlands/canyonlands.c @@ -205,7 +205,7 @@ u32 ddr_clktr(u32 default_val) { * I2C SPD DIMM autodetection/calibration doesn't fit into the 4k of boot * code. */ -long int initdram(int board_type) +phys_size_t initdram(int board_type) { return CFG_MBYTES_SDRAM << 20; } diff --git a/board/amcc/ebony/ebony.c b/board/amcc/ebony/ebony.c index c6375aca8d..9bcdf5997f 100644 --- a/board/amcc/ebony/ebony.c +++ b/board/amcc/ebony/ebony.c @@ -104,7 +104,7 @@ int checkboard(void) return (0); } -long int initdram(int board_type) +phys_size_t initdram(int board_type) { long dram_size = 0; diff --git a/board/amcc/ocotea/ocotea.c b/board/amcc/ocotea/ocotea.c index 79c1a1b496..eea1e1e177 100644 --- a/board/amcc/ocotea/ocotea.c +++ b/board/amcc/ocotea/ocotea.c @@ -201,7 +201,7 @@ int checkboard (void) } -long int initdram (int board_type) +phys_size_t initdram (int board_type) { long dram_size = 0; diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c index b43ec48091..77e6c7b4d1 100644 --- a/board/amcc/sequoia/sdram.c +++ b/board/amcc/sequoia/sdram.c @@ -52,7 +52,7 @@ extern void denali_core_search_data_eye(void); * initdram -- 440EPx's DDR controller is a DENALI Core * ************************************************************************/ -long int initdram (int board_type) +phys_size_t initdram (int board_type) { #if !defined(CONFIG_NAND_U_BOOT) || defined(CONFIG_NAND_SPL) #if !defined(CONFIG_NAND_SPL) diff --git a/board/amcc/taihu/taihu.c b/board/amcc/taihu/taihu.c index e4fdf4ae74..254e3eb837 100644 --- a/board/amcc/taihu/taihu.c +++ b/board/amcc/taihu/taihu.c @@ -78,10 +78,10 @@ int checkboard(void) } /************************************************************************* - * long int initdram + * phys_size_t initdram * ************************************************************************/ -long int initdram(int board) +phys_size_t initdram(int board) { return CFG_SDRAM_SIZE_PER_BANK * CFG_SDRAM_BANKS; /* 128Mbytes */ } diff --git a/board/amcc/walnut/walnut.c b/board/amcc/walnut/walnut.c index 641987e871..28dcb66ebc 100644 --- a/board/amcc/walnut/walnut.c +++ b/board/amcc/walnut/walnut.c @@ -89,7 +89,7 @@ int checkboard(void) * initdram(int board_type) reads EEPROM via I2c. EEPROM contains all of * the necessary info for SDRAM controller configuration */ -long int initdram(int board_type) +phys_size_t initdram(int board_type) { return spd_sdram(); } diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c index 83455375de..3b1f8e2d79 100644 --- a/board/amcc/yosemite/yosemite.c +++ b/board/amcc/yosemite/yosemite.c @@ -281,7 +281,7 @@ void sdram_tr1_set(int ram_address, int* tr1_value) *tr1_value = (first_good + last_bad) / 2; } -long int initdram(int board) +phys_size_t initdram(int board) { register uint reg; int tr1_bank1, tr1_bank2; |