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: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Change-Id: I5e806bd0e0a0a4b436048513b7089db90ff9805f
diff --git a/plat/renesas/rcar/platform.mk b/plat/renesas/rcar/platform.mk
index 05f9c2d..ca6fe6b 100644
--- a/plat/renesas/rcar/platform.mk
+++ b/plat/renesas/rcar/platform.mk
@@ -304,7 +304,7 @@
-Idrivers/renesas/rcar/cpld/ \
-Idrivers/renesas/common/iic_dvfs \
-Idrivers/renesas/rcar/avs \
- -Idrivers/renesas/rcar/delay \
+ -Idrivers/renesas/common/delay \
-Idrivers/renesas/rcar/rom \
-Idrivers/renesas/common/scif \
-Idrivers/renesas/common/emmc \
@@ -324,7 +324,6 @@
drivers/renesas/rcar/rpc/rpc_driver.c \
drivers/renesas/rcar/dma/dma_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/rom/rom_api.c \
drivers/renesas/rcar/board/board.c
@@ -333,8 +332,7 @@
plat/renesas/rcar/aarch64/plat_helpers.S \
plat/renesas/rcar/aarch64/platform_common.c \
plat/renesas/rcar/bl31_plat_setup.c \
- plat/renesas/rcar/plat_pm.c \
- drivers/renesas/rcar/delay/micro_delay.c
+ plat/renesas/rcar/plat_pm.c
ifeq (${RCAR_GEN3_ULCB},1)
BL31_SOURCES += drivers/renesas/rcar/cpld/ulcb_cpld.c