Commit 865e3474 authored by Biju Das's avatar Biju Das
Browse files

drivers: renesas: console: Move to common



Move console/scif driver 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: I0b15e4f4ffaaa99e77bcee32b1dad648eeadcd9b
parent c40739a6
...@@ -78,6 +78,8 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -78,6 +78,8 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \
lib/cpus/aarch64/cortex_a57.S \ lib/cpus/aarch64/cortex_a57.S \
${LIBFDT_SRCS} \ ${LIBFDT_SRCS} \
common/desc_image_load.c \ common/desc_image_load.c \
drivers/renesas/common/console/rcar_printf.c \
drivers/renesas/common/scif/scif.S \
drivers/renesas/common/common.c \ drivers/renesas/common/common.c \
drivers/renesas/common/io/io_emmcdrv.c \ drivers/renesas/common/io/io_emmcdrv.c \
drivers/renesas/common/io/io_memdrv.c \ drivers/renesas/common/io/io_memdrv.c \
...@@ -94,6 +96,8 @@ BL31_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -94,6 +96,8 @@ 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 \
drivers/renesas/common/console/rcar_console.S \
drivers/renesas/common/console/rcar_printf.c \
drivers/renesas/common/pwrc/call_sram.S \ drivers/renesas/common/pwrc/call_sram.S \
drivers/renesas/common/pwrc/pwrc.c \ drivers/renesas/common/pwrc/pwrc.c \
drivers/renesas/common/common.c \ drivers/renesas/common/common.c \
......
...@@ -306,7 +306,7 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \ ...@@ -306,7 +306,7 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \
-Idrivers/renesas/rcar/avs \ -Idrivers/renesas/rcar/avs \
-Idrivers/renesas/rcar/delay \ -Idrivers/renesas/rcar/delay \
-Idrivers/renesas/rcar/rom \ -Idrivers/renesas/rcar/rom \
-Idrivers/renesas/rcar/scif \ -Idrivers/renesas/common/scif \
-Idrivers/renesas/common/emmc \ -Idrivers/renesas/common/emmc \
-Idrivers/renesas/common/pwrc \ -Idrivers/renesas/common/pwrc \
-Idrivers/renesas/common/io -Idrivers/renesas/common/io
...@@ -320,8 +320,6 @@ BL2_SOURCES += plat/renesas/rcar/aarch64/platform_common.c \ ...@@ -320,8 +320,6 @@ BL2_SOURCES += plat/renesas/rcar/aarch64/platform_common.c \
plat/renesas/rcar/bl2_plat_mem_params_desc.c \ plat/renesas/rcar/bl2_plat_mem_params_desc.c \
plat/renesas/rcar/plat_image_load.c \ plat/renesas/rcar/plat_image_load.c \
plat/renesas/rcar/bl2_cpg_init.c \ plat/renesas/rcar/bl2_cpg_init.c \
drivers/renesas/rcar/console/rcar_printf.c \
drivers/renesas/rcar/scif/scif.S \
drivers/renesas/rcar/auth/auth_mod.c \ drivers/renesas/rcar/auth/auth_mod.c \
drivers/renesas/rcar/rpc/rpc_driver.c \ drivers/renesas/rcar/rpc/rpc_driver.c \
drivers/renesas/rcar/dma/dma_driver.c \ drivers/renesas/rcar/dma/dma_driver.c \
...@@ -336,8 +334,6 @@ BL31_SOURCES += plat/renesas/rcar/plat_topology.c \ ...@@ -336,8 +334,6 @@ BL31_SOURCES += plat/renesas/rcar/plat_topology.c \
plat/renesas/rcar/aarch64/platform_common.c \ plat/renesas/rcar/aarch64/platform_common.c \
plat/renesas/rcar/bl31_plat_setup.c \ plat/renesas/rcar/bl31_plat_setup.c \
plat/renesas/rcar/plat_pm.c \ plat/renesas/rcar/plat_pm.c \
drivers/renesas/rcar/console/rcar_console.S \
drivers/renesas/rcar/console/rcar_printf.c \
drivers/renesas/rcar/delay/micro_delay.c drivers/renesas/rcar/delay/micro_delay.c
ifeq (${RCAR_GEN3_ULCB},1) ifeq (${RCAR_GEN3_ULCB},1)
......
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