From 3b507aabd84d26be53585e5943bbcac07b434bb5 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marek.vasut+renesas@gmail.com>
Date: Tue, 2 Oct 2018 13:51:19 +0200
Subject: [PATCH] plat: rcar: Add E3 1GBx4 debug print

RCAR_DRAM_DDR3L_MEMCONF = 2 means E3 with 1GBx4 memory configuration.
Add debug print for this configuration for completeness sake.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
---
 plat/renesas/rcar/bl2_plat_setup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plat/renesas/rcar/bl2_plat_setup.c b/plat/renesas/rcar/bl2_plat_setup.c
index 0e4be292e..25ffd3b5e 100644
--- a/plat/renesas/rcar/bl2_plat_setup.c
+++ b/plat/renesas/rcar/bl2_plat_setup.c
@@ -332,6 +332,9 @@ static void bl2_advertise_dram_size(uint32_t product, uint32_t cut)
 #elif (RCAR_DRAM_DDR3L_MEMCONF == 1)
 		/* 2GB(512MBx4) */
 		NOTICE("BL2: 0x400000000 - 0x47fffffff, 2 GiB\n");
+#elif (RCAR_DRAM_DDR3L_MEMCONF == 2)
+		/* 4GB(1GBx4) */
+		NOTICE("BL2: 0x400000000 - 0x4ffffffff, 4 GiB\n");
 #endif /* RCAR_DRAM_DDR3L_MEMCONF == 0 */
 	}
 }
-- 
GitLab