aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/common/avs/avs_driver.h
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2020-12-16 11:13:06 +0000
committerBiju Das <biju.das.jz@bp.renesas.com>2021-01-13 13:03:49 +0000
commitb50b6c8149bf33b2001a228aed68fd1dd468b7ba (patch)
tree148d3a1990ff1e13ca211b33d2eedccc1bb2ee58 /drivers/renesas/common/avs/avs_driver.h
parent9a0c8b7c579032817d0159a9c4474d18a3fd9ed9 (diff)
downloadtrusted-firmware-a-b50b6c8149bf33b2001a228aed68fd1dd468b7ba.tar.gz
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
Diffstat (limited to 'drivers/renesas/common/avs/avs_driver.h')
-rw-r--r--drivers/renesas/common/avs/avs_driver.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/renesas/common/avs/avs_driver.h b/drivers/renesas/common/avs/avs_driver.h
new file mode 100644
index 0000000000..aa773b6041
--- /dev/null
+++ b/drivers/renesas/common/avs/avs_driver.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights
+ * reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef AVS_DRIVER_H
+#define AVS_DRIVER_H
+
+/* AVS Setting. 1:enable / 0:disable */
+#ifndef AVS_SETTING_ENABLE
+#define AVS_SETTING_ENABLE 1
+#endif /* AVS_SETTING_ENABLE */
+
+void rcar_avs_init(void);
+void rcar_avs_setting(void);
+void rcar_avs_end(void);
+
+#endif /* AVS_DRIVER_H */