summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/common/include/soc/dfd.h (renamed from src/soc/mediatek/common/include/soc/dfd_common.h)4
-rw-r--r--src/soc/mediatek/mt8186/include/soc/dfd.h12
-rw-r--r--src/soc/mediatek/mt8192/include/soc/dfd.h12
-rw-r--r--src/soc/mediatek/mt8195/include/soc/dfd.h12
4 files changed, 4 insertions, 36 deletions
diff --git a/src/soc/mediatek/common/include/soc/dfd_common.h b/src/soc/mediatek/common/include/soc/dfd.h
index d716ed0823..fb9dd997bd 100644
--- a/src/soc/mediatek/common/include/soc/dfd_common.h
+++ b/src/soc/mediatek/common/include/soc/dfd.h
@@ -6,6 +6,10 @@
#define CPC_FLOW_CTRL_CFG 0x0C53A814
#define RESET_ON_KEEP_EN BIT(17)
+/* DFD dump address and size need to be the same as defined in Kernel DTS. */
+#define DFD_DUMP_ADDRESS 0x6A000000
+#define DFD_DUMP_SIZE (1 * MiB)
+
static u32 *const dfd_cfg = (void *)CPC_FLOW_CTRL_CFG;
void dfd_init(void);
diff --git a/src/soc/mediatek/mt8186/include/soc/dfd.h b/src/soc/mediatek/mt8186/include/soc/dfd.h
deleted file mode 100644
index b2f1388693..0000000000
--- a/src/soc/mediatek/mt8186/include/soc/dfd.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef SOC_MEDIATEK_MT8186_DFD_H
-#define SOC_MEDIATEK_MT8186_DFD_H
-
-#include <soc/dfd_common.h>
-
-/* DFD dump address and size need to be the same as defined in Kernel DTS. */
-#define DFD_DUMP_ADDRESS 0x6A000000
-#define DFD_DUMP_SIZE (1 * MiB)
-
-#endif
diff --git a/src/soc/mediatek/mt8192/include/soc/dfd.h b/src/soc/mediatek/mt8192/include/soc/dfd.h
deleted file mode 100644
index e225b08060..0000000000
--- a/src/soc/mediatek/mt8192/include/soc/dfd.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef SOC_MEDIATEK_MT8192_DFD_H
-#define SOC_MEDIATEK_MT8192_DFD_H
-
-#include <soc/dfd_common.h>
-
-/* DFD dump address and size need to be the same as defined in Kernel DTS. */
-#define DFD_DUMP_ADDRESS 0x6A000000
-#define DFD_DUMP_SIZE (1 * MiB)
-
-#endif
diff --git a/src/soc/mediatek/mt8195/include/soc/dfd.h b/src/soc/mediatek/mt8195/include/soc/dfd.h
deleted file mode 100644
index 123b568433..0000000000
--- a/src/soc/mediatek/mt8195/include/soc/dfd.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef SOC_MEDIATEK_MT8195_DFD_H
-#define SOC_MEDIATEK_MT8195_DFD_H
-
-#include <soc/dfd_common.h>
-
-/* DFD dump address and size need to be the same as defined in Kernel DTS. */
-#define DFD_DUMP_ADDRESS 0x6A000000
-#define DFD_DUMP_SIZE (1 * MiB)
-
-#endif