aboutsummaryrefslogtreecommitdiff
path: root/plat/renesas/rzg/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'plat/renesas/rzg/platform.mk')
-rw-r--r--plat/renesas/rzg/platform.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/plat/renesas/rzg/platform.mk b/plat/renesas/rzg/platform.mk
index 329569436b..f37d7d0cc9 100644
--- a/plat/renesas/rzg/platform.mk
+++ b/plat/renesas/rzg/platform.mk
@@ -64,6 +64,23 @@ else
endif
$(eval $(call add_define,RCAR_LSI_CUT))
endif
+ else ifeq (${LSI},G2E)
+ RCAR_LSI:=${RZ_G2E}
+ ifndef LSI_CUT
+ # enable compatible function.
+ RCAR_LSI_CUT_COMPAT := 1
+ $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
+ else
+ # disable compatible function.
+ ifeq (${LSI_CUT},10)
+ RCAR_LSI_CUT:=0
+ else ifeq (${LSI_CUT},11)
+ RCAR_LSI_CUT:=1
+ else
+ $(error "Error: ${LSI_CUT} is not supported.")
+ endif
+ $(eval $(call add_define,RCAR_LSI_CUT))
+ endif
else
$(error "Error: ${LSI} is not supported.")
endif