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>
This commit is contained in:
Jarried Lin
2024-07-16 17:42:20 +08:00
committed by Felix Held
parent 27d24f21ab
commit ae37d6158e
7 changed files with 10 additions and 56 deletions

View File

@@ -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_ */

View File

@@ -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

View File

@@ -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_ */

View File

@@ -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_ */

View File

@@ -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_ */

View File

@@ -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_ */

View File

@@ -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_ */