Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323844 > unrolled thread

[PATCH] drivers: soc: samsung: Enable COMPILE_TEST

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-02-02 08:10 +0100
Last post2016-02-02 20:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] drivers: soc: samsung: Enable COMPILE_TEST Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-02 08:10 +0100
    Re: [PATCH] drivers: soc: samsung: Enable COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-02 20:00 +0100

#1323844 — [PATCH] drivers: soc: samsung: Enable COMPILE_TEST

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-02-02 08:10 +0100
Subject[PATCH] drivers: soc: samsung: Enable COMPILE_TEST
Message-ID<qXDg6-7hC-9@gated-at.bofh.it>
Get some build coverage of Exynos SROM controller and PMU drivers. The
PMU driver depends on asm/cputype.h so its compilation is limited to ARM
architectures.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---
The SROM driver was compile-tested on x86, x86_64, ppc64, arm, arm64 and
mips. The PMU driver on arm and arm64.
---
 drivers/soc/samsung/Kconfig | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig
index 895f16934b75..e5c11ac88a38 100644
--- a/drivers/soc/samsung/Kconfig
+++ b/drivers/soc/samsung/Kconfig
@@ -1,17 +1,17 @@
 #
 # SAMSUNG SoC drivers
 #
-menu "Samsung SOC driver support"
+menuconfig SOC_SAMSUNG
+	bool "Samsung SoC driver support" if COMPILE_TEST
 
-config SOC_SAMSUNG
-	bool
+if SOC_SAMSUNG
 
 config EXYNOS_SROM
-	bool
-	depends on ARM && ARCH_EXYNOS
+	bool "Exynos SROM controller driver" if COMPILE_TEST
+	depends on (ARM && ARCH_EXYNOS) || COMPILE_TEST
 
 config EXYNOS_PMU
-	bool
-	depends on ARM && ARCH_EXYNOS
+	bool "Exynos PMU controller driver" if COMPILE_TEST
+	depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST)
 
-endmenu
+endif
-- 
1.9.1

[toc] | [next] | [standalone]


#1324486

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-02-02 20:00 +0100
Message-ID<qXOlc-7fb-19@gated-at.bofh.it>
In reply to#1323844
Hello Krzysztof,

On 02/02/2016 04:06 AM, Krzysztof Kozlowski wrote:
> Get some build coverage of Exynos SROM controller and PMU drivers. The
> PMU driver depends on asm/cputype.h so its compilation is limited to ARM
> architectures.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>

Patch looks good to me.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web