Commit cdcf1f14 authored by Biju Das's avatar Biju Das
Browse files

drivers: renesas: delay: Move to common



Move delay 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: I5e806bd0e0a0a4b436048513b7089db90ff9805f
parent 865e3474
...@@ -84,6 +84,7 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -84,6 +84,7 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \
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 \
drivers/renesas/common/io/io_rcar.c \ drivers/renesas/common/io/io_rcar.c \
drivers/renesas/common/delay/micro_delay.c \
drivers/renesas/common/emmc/emmc_interrupt.c \ drivers/renesas/common/emmc/emmc_interrupt.c \
drivers/renesas/common/emmc/emmc_utility.c \ drivers/renesas/common/emmc/emmc_utility.c \
drivers/renesas/common/emmc/emmc_mount.c \ drivers/renesas/common/emmc/emmc_mount.c \
...@@ -98,6 +99,7 @@ BL31_SOURCES += ${RCAR_GIC_SOURCES} \ ...@@ -98,6 +99,7 @@ BL31_SOURCES += ${RCAR_GIC_SOURCES} \
plat/common/plat_psci_common.c \ plat/common/plat_psci_common.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/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 \
......
...@@ -304,7 +304,7 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \ ...@@ -304,7 +304,7 @@ PLAT_INCLUDES += -Idrivers/renesas/rcar/ddr \
-Idrivers/renesas/rcar/cpld/ \ -Idrivers/renesas/rcar/cpld/ \
-Idrivers/renesas/common/iic_dvfs \ -Idrivers/renesas/common/iic_dvfs \
-Idrivers/renesas/rcar/avs \ -Idrivers/renesas/rcar/avs \
-Idrivers/renesas/rcar/delay \ -Idrivers/renesas/common/delay \
-Idrivers/renesas/rcar/rom \ -Idrivers/renesas/rcar/rom \
-Idrivers/renesas/common/scif \ -Idrivers/renesas/common/scif \
-Idrivers/renesas/common/emmc \ -Idrivers/renesas/common/emmc \
...@@ -324,7 +324,6 @@ BL2_SOURCES += plat/renesas/rcar/aarch64/platform_common.c \ ...@@ -324,7 +324,6 @@ BL2_SOURCES += plat/renesas/rcar/aarch64/platform_common.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 \
drivers/renesas/rcar/avs/avs_driver.c \ drivers/renesas/rcar/avs/avs_driver.c \
drivers/renesas/rcar/delay/micro_delay.c \
drivers/renesas/rcar/watchdog/swdt.c \ drivers/renesas/rcar/watchdog/swdt.c \
drivers/renesas/rcar/rom/rom_api.c \ drivers/renesas/rcar/rom/rom_api.c \
drivers/renesas/rcar/board/board.c drivers/renesas/rcar/board/board.c
...@@ -333,8 +332,7 @@ BL31_SOURCES += plat/renesas/rcar/plat_topology.c \ ...@@ -333,8 +332,7 @@ BL31_SOURCES += plat/renesas/rcar/plat_topology.c \
plat/renesas/rcar/aarch64/plat_helpers.S \ plat/renesas/rcar/aarch64/plat_helpers.S \
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/delay/micro_delay.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
......
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