projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
37ef0c7
)
arm: socfpga: spl: printout sdram size
author
Dinh Nguyen
<dinguyen@opensource.altera.com>
Mon, 30 Mar 2015 22:01:09 +0000
(17:01 -0500)
committer
Marek Vasut
<marex@denx.de>
Tue, 21 Apr 2015 10:23:17 +0000
(12:23 +0200)
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/armv7/socfpga/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/socfpga/spl.c
b/arch/arm/cpu/armv7/socfpga/spl.c
index
756c55a
..
e7b4d29
100644
(file)
--- a/
arch/arm/cpu/armv7/socfpga/spl.c
+++ b/
arch/arm/cpu/armv7/socfpga/spl.c
@@
-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);
}