aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2021-04-19 16:59:55 +0100
committerLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2021-04-20 16:17:49 +0100
commitfe5929c19ddb75615dffd320515d058ac958249e (patch)
tree2a5645abacb4aeb600bd87388d7731e48c1ba243 /drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
parent778db0e9247d85be33c267ace07053a74d4c70d8 (diff)
downloadtrusted-firmware-a-fe5929c19ddb75615dffd320515d058ac958249e.tar.gz
drivers: renesas: common: Add support for DRAM initialization on RZ/G2H SoC
Add support for initializing DRAM on RZ/G2H SoC. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: Iae23f1093f65a9efd065d37b7d6e9340ff6350b9
Diffstat (limited to 'drivers/renesas/common/ddr/ddr_b/boot_init_dram.c')
-rw-r--r--drivers/renesas/common/ddr/ddr_b/boot_init_dram.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c b/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
index 4eb8282692..859c05b369 100644
--- a/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
+++ b/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
@@ -37,6 +37,7 @@
#define RCAR_H3N 4
#define RZ_G2M 100U
+#define RZ_G2H 101U
#define RCAR_CUT_10 0
#define RCAR_CUT_11 1
@@ -57,7 +58,7 @@ static const uint32_t prr_product = PRR_PRODUCT_H3;
static const uint32_t prr_product = PRR_PRODUCT_M3;
#elif(RCAR_LSI == RCAR_M3N)
static const uint32_t prr_product = PRR_PRODUCT_M3N;
-#elif(RCAR_LSI == RCAR_H3N)
+#elif(RCAR_LSI == RCAR_H3N || RCAR_LSI == RZ_G2H)
static const uint32_t prr_product = PRR_PRODUCT_H3;
#endif /* RCAR_LSI */