Commit 499c2713 authored by Biju Das's avatar Biju Das
Browse files

plat: renesas: Move to common



Move rcar plat code to common directory, so that the same
code can be re-used by both R-Car Gen3 and RZ/G2 platforms.
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Change-Id: I1001bea1a8a9232a03ddbf6931ca3c764ba1e181
parent fd9b3c5a
...@@ -80,6 +80,12 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -80,6 +80,12 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \
common/desc_image_load.c \ common/desc_image_load.c \
plat/renesas/common/aarch64/platform_common.c \ plat/renesas/common/aarch64/platform_common.c \
plat/renesas/common/aarch64/plat_helpers.S \ plat/renesas/common/aarch64/plat_helpers.S \
plat/renesas/common/bl2_interrupt_error.c \
plat/renesas/common/bl2_secure_setting.c \
plat/renesas/common/plat_storage.c \
plat/renesas/common/bl2_plat_mem_params_desc.c \
plat/renesas/common/plat_image_load.c \
plat/renesas/common/bl2_cpg_init.c \
drivers/renesas/common/console/rcar_printf.c \ drivers/renesas/common/console/rcar_printf.c \
drivers/renesas/common/scif/scif.S \ drivers/renesas/common/scif/scif.S \
drivers/renesas/common/common.c \ drivers/renesas/common/common.c \
...@@ -105,8 +111,11 @@ BL31_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -105,8 +111,11 @@ BL31_SOURCES += ${RCAR_GIC_SOURCES} \
lib/cpus/aarch64/cortex_a53.S \ lib/cpus/aarch64/cortex_a53.S \
lib/cpus/aarch64/cortex_a57.S \ lib/cpus/aarch64/cortex_a57.S \
plat/common/plat_psci_common.c \ plat/common/plat_psci_common.c \
plat/renesas/common/plat_topology.c \
plat/renesas/common/aarch64/plat_helpers.S \ plat/renesas/common/aarch64/plat_helpers.S \
plat/renesas/common/aarch64/platform_common.c \ plat/renesas/common/aarch64/platform_common.c \
plat/renesas/common/bl31_plat_setup.c \
plat/renesas/common/plat_pm.c \
drivers/renesas/common/console/rcar_console.S \ drivers/renesas/common/console/rcar_console.S \
drivers/renesas/common/console/rcar_printf.c \ drivers/renesas/common/console/rcar_printf.c \
drivers/renesas/common/delay/micro_delay.c \ drivers/renesas/common/delay/micro_delay.c \
......
...@@ -312,19 +312,9 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \ ...@@ -312,19 +312,9 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \
-Idrivers/renesas/common/pwrc \ -Idrivers/renesas/common/pwrc \
-Idrivers/renesas/common/io -Idrivers/renesas/common/io
BL2_SOURCES += plat/renesas/rcar/bl2_interrupt_error.c \ BL2_SOURCES += plat/renesas/rcar/bl2_plat_setup.c \
plat/renesas/rcar/bl2_secure_setting.c \
plat/renesas/rcar/bl2_plat_setup.c \
plat/renesas/rcar/plat_storage.c \
plat/renesas/rcar/bl2_plat_mem_params_desc.c \
plat/renesas/rcar/plat_image_load.c \
plat/renesas/rcar/bl2_cpg_init.c \
drivers/renesas/rcar/board/board.c drivers/renesas/rcar/board/board.c
BL31_SOURCES += plat/renesas/rcar/plat_topology.c \
plat/renesas/rcar/bl31_plat_setup.c \
plat/renesas/rcar/plat_pm.c
ifeq (${RCAR_GEN3_ULCB},1) ifeq (${RCAR_GEN3_ULCB},1)
BL31_SOURCES += drivers/renesas/rcar/cpld/ulcb_cpld.c BL31_SOURCES += drivers/renesas/rcar/cpld/ulcb_cpld.c
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment