Attention is currently required from: Hung-Te Lin, Xi Chen, Yidi Lin, Yu-Ping Wu.
Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83570?usp=email )
Change subject: soc/mediatek: Move symbols.h into MTK common directory ......................................................................
soc/mediatek: Move symbols.h into MTK common directory
Because the declaration of MTK SOCs are gernerally the same. Share a common soc/symbols.h.
BUG=b:317009620 TEST=rauru build pass.
Change-Id: Iad1c9f520cdc5c6ad2b55e8f4ec6149fa47b17b1 Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com --- A src/soc/mediatek/common/include/soc/symbols.h D src/soc/mediatek/mt8173/include/soc/symbols.h D src/soc/mediatek/mt8183/include/soc/symbols.h D src/soc/mediatek/mt8186/include/soc/symbols.h D src/soc/mediatek/mt8188/include/soc/symbols.h D src/soc/mediatek/mt8192/include/soc/symbols.h D src/soc/mediatek/mt8195/include/soc/symbols.h 7 files changed, 10 insertions(+), 56 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/83570/1
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 0000000..5e1c705 --- /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 ae5d998..0000000 --- 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 2c281b4..0000000 --- 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 7610224..0000000 --- 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 fcda1ef..0000000 --- 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 a7feee7..0000000 --- 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 2a102eb..0000000 --- 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_ */