From 5da002980b1d8520f4c20be1d9e16eca607a7cd6 Mon Sep 17 00:00:00 2001 From: Tristan Shieh Date: Tue, 12 Jun 2018 15:09:37 +0800 Subject: mediatek: Move mtcmos code to a common directory Move mtcmos code which can be reused into a common directory under soc/mediatek. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Elm Change-Id: I92b138890424b4f4a68cdb00bf2326eef9cd87b7 Signed-off-by: Tristan Shieh Reviewed-on: https://review.coreboot.org/27029 Reviewed-by: Julius Werner Reviewed-by: Paul Kocialkowski Reviewed-by: Hung-Te Lin Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/soc/mediatek/common/include/soc/mtcmos.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/soc/mediatek/common/include/soc/mtcmos.h (limited to 'src/soc/mediatek/common/include') diff --git a/src/soc/mediatek/common/include/soc/mtcmos.h b/src/soc/mediatek/common/include/soc/mtcmos.h new file mode 100644 index 0000000000..e089fcc681 --- /dev/null +++ b/src/soc/mediatek/common/include/soc/mtcmos.h @@ -0,0 +1,22 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2018 MediaTek Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __SOC_MEDIATEK_COMMON_MTCMOS_H__ +#define __SOC_MEDIATEK_COMMON_MTCMOS_H__ + +void mtcmos_audio_power_on(void); +void mtcmos_display_power_on(void); + +#endif /* __SOC_MEDIATEK_COMMON_MTCMOS_H__ */ -- cgit v1.2.3