summaryrefslogtreecommitdiff
path: root/board/freescale/ls2085a/ls2085a.c
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2014-08-13 10:21:05 -0700
committerYork Sun <yorksun@freescale.com>2014-09-25 08:36:18 -0700
commitd9c68b1444acb383684636eb856fd7e4cec04129 (patch)
tree10f046be69384766c2418bde0b6f215412ded707 /board/freescale/ls2085a/ls2085a.c
parent1d71efbb0345ff3a8ac45e62bef36813abe1703e (diff)
downloadu-boot-imx-d9c68b1444acb383684636eb856fd7e4cec04129.zip
u-boot-imx-d9c68b1444acb383684636eb856fd7e4cec04129.tar.gz
u-boot-imx-d9c68b1444acb383684636eb856fd7e4cec04129.tar.bz2
ARMv8/ls2085a_emu: Enable DP-DDR as standalone memory block
DP-DDR is used for DPAA, separated from main memory pool for general use. It has 32-bit bus width and use a standard DDR4 DIMM (64-bit). Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/ls2085a/ls2085a.c')
-rw-r--r--board/freescale/ls2085a/ls2085a.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/board/freescale/ls2085a/ls2085a.c b/board/freescale/ls2085a/ls2085a.c
index d19f692..c2a726b 100644
--- a/board/freescale/ls2085a/ls2085a.c
+++ b/board/freescale/ls2085a/ls2085a.c
@@ -35,9 +35,20 @@ int board_early_init_f(void)
return 0;
}
+void detail_board_ddr_info(void)
+{
+ puts("\nDDR ");
+ print_size(gd->bd->bi_dram[0].size + gd->bd->bi_dram[1].size, "");
+ print_ddr_info(0);
+ if (gd->bd->bi_dram[2].size) {
+ puts("\nDP-DDR ");
+ print_size(gd->bd->bi_dram[2].size, "");
+ print_ddr_info(CONFIG_DP_DDR_CTRL);
+ }
+}
+
int dram_init(void)
{
- printf("DRAM: ");
gd->ram_size = initdram(0);
return 0;