drivers: renesas: avs: Move to common
Move avs 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: I85d9fa8b6abf158ce2521f1696478f7c5339fc42
diff --git a/plat/renesas/rcar/platform.mk b/plat/renesas/rcar/platform.mk
index fc83cc5..35dd0ef 100644
--- a/plat/renesas/rcar/platform.mk
+++ b/plat/renesas/rcar/platform.mk
@@ -303,7 +303,7 @@
-Idrivers/renesas/rcar/board \
-Idrivers/renesas/rcar/cpld/ \
-Idrivers/renesas/common/iic_dvfs \
- -Idrivers/renesas/rcar/avs \
+ -Idrivers/renesas/common/avs \
-Idrivers/renesas/common/delay \
-Idrivers/renesas/common/rom \
-Idrivers/renesas/common/scif \
@@ -321,7 +321,6 @@
plat/renesas/rcar/plat_image_load.c \
plat/renesas/rcar/bl2_cpg_init.c \
drivers/renesas/rcar/rpc/rpc_driver.c \
- drivers/renesas/rcar/avs/avs_driver.c \
drivers/renesas/rcar/board/board.c
BL31_SOURCES += plat/renesas/rcar/plat_topology.c \