aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
diff options
context:
space:
mode:
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.c6
1 files changed, 4 insertions, 2 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 ac83c9a107..4eb8282692 100644
--- a/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
+++ b/drivers/renesas/common/ddr/ddr_b/boot_init_dram.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2020, Renesas Electronics Corporation.
+ * Copyright (c) 2015-2021, Renesas Electronics Corporation.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -36,6 +36,8 @@
#define RCAR_E3 3 /* NON */
#define RCAR_H3N 4
+#define RZ_G2M 100U
+
#define RCAR_CUT_10 0
#define RCAR_CUT_11 1
#define RCAR_CUT_20 10
@@ -51,7 +53,7 @@ static uint32_t prr_cut;
#else
#if (RCAR_LSI == RCAR_H3)
static const uint32_t prr_product = PRR_PRODUCT_H3;
-#elif(RCAR_LSI == RCAR_M3)
+#elif(RCAR_LSI == RCAR_M3 || RCAR_LSI == RZ_G2M)
static const uint32_t prr_product = PRR_PRODUCT_M3;
#elif(RCAR_LSI == RCAR_M3N)
static const uint32_t prr_product = PRR_PRODUCT_M3N;