summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/dfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8192/dfd.c')
-rw-r--r--src/soc/mediatek/mt8192/dfd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8192/dfd.c b/src/soc/mediatek/mt8192/dfd.c
new file mode 100644
index 0000000000..4d1b08aab4
--- /dev/null
+++ b/src/soc/mediatek/mt8192/dfd.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <console/console.h>
+#include <device/mmio.h>
+#include <soc/dfd.h>
+
+void dfd_init(void)
+{
+ printk(BIOS_INFO, "[%s]\n", __func__);
+ setbits32(dfd_cfg, RESET_ON_KEEP_EN);
+ dsb();
+}