aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2020-12-16 11:00:21 +0000
committerBiju Das <biju.das.jz@bp.renesas.com>2021-01-13 13:03:49 +0000
commitd58da31400cf1f3148f6c98e97effd151f6a66f3 (patch)
tree400fc4df37eed108ef7b0668c325fba3d3aa3526
parente17997dfd6e615c99a2176d9bcaf7a73c6f618cd (diff)
downloadtrusted-firmware-a-d58da31400cf1f3148f6c98e97effd151f6a66f3.tar.gz
drivers: renesas: watchdog: Move to common
Move watch 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: I235f2cde325a0feeadbfc4b7ee02e8b1186f7ea1
-rw-r--r--drivers/renesas/common/watchdog/swdt.c (renamed from drivers/renesas/rcar/watchdog/swdt.c)0
-rw-r--r--plat/renesas/common/common.mk1
-rw-r--r--plat/renesas/rcar/platform.mk1
3 files changed, 1 insertions, 1 deletions
diff --git a/drivers/renesas/rcar/watchdog/swdt.c b/drivers/renesas/common/watchdog/swdt.c
index 05987ab704..05987ab704 100644
--- a/drivers/renesas/rcar/watchdog/swdt.c
+++ b/drivers/renesas/common/watchdog/swdt.c
diff --git a/plat/renesas/common/common.mk b/plat/renesas/common/common.mk
index 09ff1d513c..adee49bf7a 100644
--- a/plat/renesas/common/common.mk
+++ b/plat/renesas/common/common.mk
@@ -91,6 +91,7 @@ BL2_SOURCES += ${RCAR_GIC_SOURCES} \
drivers/renesas/common/emmc/emmc_init.c \
drivers/renesas/common/emmc/emmc_read.c \
drivers/renesas/common/emmc/emmc_cmd.c \
+ drivers/renesas/common/watchdog/swdt.c \
drivers/renesas/common/rom/rom_api.c \
drivers/io/io_storage.c
diff --git a/plat/renesas/rcar/platform.mk b/plat/renesas/rcar/platform.mk
index 4cd2f93b58..bb7af4044c 100644
--- a/plat/renesas/rcar/platform.mk
+++ b/plat/renesas/rcar/platform.mk
@@ -324,7 +324,6 @@ BL2_SOURCES += plat/renesas/rcar/aarch64/platform_common.c \
drivers/renesas/rcar/rpc/rpc_driver.c \
drivers/renesas/rcar/dma/dma_driver.c \
drivers/renesas/rcar/avs/avs_driver.c \
- drivers/renesas/rcar/watchdog/swdt.c \
drivers/renesas/rcar/board/board.c
BL31_SOURCES += plat/renesas/rcar/plat_topology.c \