summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/sspm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8183/sspm.c')
-rw-r--r--src/soc/mediatek/mt8183/sspm.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/soc/mediatek/mt8183/sspm.c b/src/soc/mediatek/mt8183/sspm.c
deleted file mode 100644
index e0ac84a1e3..0000000000
--- a/src/soc/mediatek/mt8183/sspm.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <device/mmio.h>
-#include <soc/mcu_common.h>
-#include <soc/sspm.h>
-#include <soc/symbols.h>
-
-static void reset_sspm(struct mtk_mcu *mcu)
-{
- write32(&mt8183_sspm->sw_rstn, 0x1);
-}
-
-static struct mtk_mcu sspm = {
- .firmware_name = CONFIG_SSPM_FIRMWARE,
- .run_address = (void *)SSPM_SRAM_BASE,
- .reset = reset_sspm,
-};
-
-void sspm_init(void)
-{
- sspm.load_buffer = _dram_dma;
- sspm.buffer_size = REGION_SIZE(dram_dma);
-
- mtk_init_mcu(&sspm);
-}