Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83570?usp=email )
Change subject: soc/mediatek: Move symbols.h into MediaTek common directory ......................................................................
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 --- 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(-)
Approvals: build bot (Jenkins): Verified Yidi Lin: Looks good to me, approved Yu-Ping Wu: Looks good to me, approved
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_ */