From 307ca379d147d3ecce4d05a2172f20a6f14950a2 Mon Sep 17 00:00:00 2001 From: Shunqian Zheng Date: Fri, 6 May 2016 10:28:14 +0800 Subject: [PATCH] rockchip: revert the common tsadc header The tsadc of rk3288 and rk3399 are similar but not enough to share the same common driver, and we also decide to add a polarity setting for mainboards on rk3399 tsadc header. So we'd better split the tsadc header for each SoC. BRANCH=none BUG=chrome-os-partner:51537 TEST=build veyron_jerry Change-Id: I41f08965e6d7ce16da1754d4d2512c826cf8aff5 Signed-off-by: Martin Roth Original-Commit-Id: b36ee54c4146623bcacd83fe7d55a4fc78bae792 Original-Change-Id: I629599f9e30d863cabf764e1372c38f0f39d5480 Original-Signed-off-by: Shunqian Zheng Original-Reviewed-on: https://chromium-review.googlesource.com/342796 Original-Tested-by: Vadim Bendebury Original-Reviewed-by: Vadim Bendebury Reviewed-on: https://review.coreboot.org/14847 Tested-by: build bot (Jenkins) Reviewed-by: Vadim Bendebury --- src/soc/rockchip/{common => rk3288}/include/soc/tsadc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/soc/rockchip/{common => rk3288}/include/soc/tsadc.h (74%) diff --git a/src/soc/rockchip/common/include/soc/tsadc.h b/src/soc/rockchip/rk3288/include/soc/tsadc.h similarity index 74% rename from src/soc/rockchip/common/include/soc/tsadc.h rename to src/soc/rockchip/rk3288/include/soc/tsadc.h index 1728b913ed..1159c4bca4 100644 --- a/src/soc/rockchip/common/include/soc/tsadc.h +++ b/src/soc/rockchip/rk3288/include/soc/tsadc.h @@ -13,9 +13,9 @@ * GNU General Public License for more details. */ -#ifndef __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_TSADC_H -#define __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_TSADC_H +#ifndef __SOC_ROCKCHIP_RK3288_TSADC_H__ +#define __SOC_ROCKCHIP_RK3288_TSADC_H__ void tsadc_init(void); -#endif /* ! __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_TSADC_H */ +#endif