summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2024-07-16 17:42:20 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-07-22 14:06:28 +0000
commitae37d6158efdae7f902ba058628b2115daee0b88 (patch)
treed8731a15bf673f0e9e9142e79d385c9c1a0b8550
parent27d24f21abe70d0376445548a6dd75a5b957aecb (diff)
soc/mediatek: Move symbols.h into MediaTek common directory
To reduce duplicate region declarations of MediaTek SoCs, move the header file to a common directory. BUG=b:317009620 TEST=Build geralt pass. Change-Id: Iad1c9f520cdc5c6ad2b55e8f4ec6149fa47b17b1 Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83570 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/mediatek/common/include/soc/symbols.h10
-rw-r--r--src/soc/mediatek/mt8173/include/soc/symbols.h9
-rw-r--r--src/soc/mediatek/mt8183/include/soc/symbols.h9
-rw-r--r--src/soc/mediatek/mt8186/include/soc/symbols.h10
-rw-r--r--src/soc/mediatek/mt8188/include/soc/symbols.h10
-rw-r--r--src/soc/mediatek/mt8192/include/soc/symbols.h9
-rw-r--r--src/soc/mediatek/mt8195/include/soc/symbols.h9
7 files changed, 10 insertions, 56 deletions
diff --git a/src/soc/mediatek/common/include/soc/symbols.h b/src/soc/mediatek/common/include/soc/symbols.h
new file mode 100644
index 0000000000..5e1c7058c3
--- /dev/null
+++ b/src/soc/mediatek/common/include/soc/symbols.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
+
+#ifndef _SOC_MEDIATEK_COMMON_SYMBOLS_H_
+#define _SOC_MEDIATEK_COMMON_SYMBOLS_H_
+
+#include <symbols.h>
+
+DECLARE_REGION(dram_dma)
+
+#endif /* _SOC_MEDIATEK_COMMON_SYMBOLS_H_ */
diff --git a/src/soc/mediatek/mt8173/include/soc/symbols.h b/src/soc/mediatek/mt8173/include/soc/symbols.h
deleted file mode 100644
index ae5d998c6b..0000000000
--- a/src/soc/mediatek/mt8173/include/soc/symbols.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef __SOC_MEDIATEK_MT8173_DRAM_DMA_H__
-#define __SOC_MEDIATEK_MT8173_DRAM_DMA_H__
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif
diff --git a/src/soc/mediatek/mt8183/include/soc/symbols.h b/src/soc/mediatek/mt8183/include/soc/symbols.h
deleted file mode 100644
index 2c281b4e6a..0000000000
--- a/src/soc/mediatek/mt8183/include/soc/symbols.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _SOC_MEDIATEK_MT8183_SYMBOLS_H_
-#define _SOC_MEDIATEK_MT8183_SYMBOLS_H_
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif /* _SOC_MEDIATEK_MT8183_SYMBOLS_H_ */
diff --git a/src/soc/mediatek/mt8186/include/soc/symbols.h b/src/soc/mediatek/mt8186/include/soc/symbols.h
deleted file mode 100644
index 7610224d5b..0000000000
--- a/src/soc/mediatek/mt8186/include/soc/symbols.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _SOC_MEDIATEK_MT8186_SYMBOLS_H_
-#define _SOC_MEDIATEK_MT8186_SYMBOLS_H_
-
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif /* _SOC_MEDIATEK_MT8186_SYMBOLS_H_ */
diff --git a/src/soc/mediatek/mt8188/include/soc/symbols.h b/src/soc/mediatek/mt8188/include/soc/symbols.h
deleted file mode 100644
index fcda1ef1af..0000000000
--- a/src/soc/mediatek/mt8188/include/soc/symbols.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-
-#ifndef _SOC_MEDIATEK_MT8188_SYMBOLS_H_
-#define _SOC_MEDIATEK_MT8188_SYMBOLS_H_
-
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif /* _SOC_MEDIATEK_MT8188_SYMBOLS_H_ */
diff --git a/src/soc/mediatek/mt8192/include/soc/symbols.h b/src/soc/mediatek/mt8192/include/soc/symbols.h
deleted file mode 100644
index a7feee7ea0..0000000000
--- a/src/soc/mediatek/mt8192/include/soc/symbols.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _SOC_MEDIATEK_MT8192_SYMBOLS_H_
-#define _SOC_MEDIATEK_MT8192_SYMBOLS_H_
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif /* _SOC_MEDIATEK_MT8192_SYMBOLS_H_ */
diff --git a/src/soc/mediatek/mt8195/include/soc/symbols.h b/src/soc/mediatek/mt8195/include/soc/symbols.h
deleted file mode 100644
index 2a102eb896..0000000000
--- a/src/soc/mediatek/mt8195/include/soc/symbols.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-
-#ifndef _SOC_MEDIATEK_MT8195_SYMBOLS_H_
-#define _SOC_MEDIATEK_MT8195_SYMBOLS_H_
-#include <symbols.h>
-
-DECLARE_REGION(dram_dma)
-
-#endif /* _SOC_MEDIATEK_MT8195_SYMBOLS_H_ */