From 0e03fa3f6e474aa28a9151e5d9f152619636650c Mon Sep 17 00:00:00 2001 From: Bo-Chen Chen Date: Mon, 4 Jul 2022 18:59:51 +0800 Subject: soc/mediatek: Move wdt_set_req() to common folder There are more and more variables which are SoC-specific, so add soc/wdt.h for each SoC and rename common/wdt.h to common/wdt_common.h. wdt_set_req() is almost the same for mt8192, mt8195 and mt8186, so move it to a common file wdt_req.c. TEST=build pass BUG=b:233720142 Signed-off-by: Bo-Chen Chen Change-Id: I7a334b3e7cd4f24a848dd31aca546dc7236d5fb8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65636 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8183/include/soc/wdt.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/soc/mediatek/mt8183/include/soc/wdt.h (limited to 'src/soc/mediatek/mt8183') diff --git a/src/soc/mediatek/mt8183/include/soc/wdt.h b/src/soc/mediatek/mt8183/include/soc/wdt.h new file mode 100644 index 0000000000..6a44c31ef7 --- /dev/null +++ b/src/soc/mediatek/mt8183/include/soc/wdt.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef SOC_MEDIATEK_MT8183_WDT_H +#define SOC_MEDIATEK_MT8183_WDT_H + +#include + +#endif /* SOC_MEDIATEK_MT8183_WDT_H */ -- cgit v1.2.3