mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
arm: socfpga: spl: printout sdram size
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
37ef0c70d3
commit
89ba82479e
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,7 @@ u32 spl_boot_device(void)
|
|||
*/
|
||||
void spl_board_init(void)
|
||||
{
|
||||
unsigned long sdram_size;
|
||||
#ifndef CONFIG_SOCFPGA_VIRTUAL_TARGET
|
||||
cm_config_t cm_default_cfg = {
|
||||
/* main group */
|
||||
|
@ -187,4 +188,7 @@ void spl_board_init(void)
|
|||
puts("SDRAM calibration failed.\n");
|
||||
hang();
|
||||
}
|
||||
|
||||
sdram_size = sdram_calculate_size();
|
||||
debug("SDRAM: %ld MiB\n", sdram_size >> 20);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue