Commit 140bbfe7 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

soc: samsung: exynos-chipid: do not enforce built-in

After converting the Exynos ChipID and ASV driver to a module, allow to
actually choose it to be a module, while being a default built-in.  The
side effect is that driver could be now entirely disabled even for
kernel with ARCH_EXYNOS, but this is not a critical issue because driver
is not necessary for the proper platform boot.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: default avatarSylwester Nawrocki <snawrocki@kernel.org>
Tested-by: default avatarSylwester Nawrocki <snawrocki@kernel.org>
Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Tested-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20210919093114.35987-4-krzysztof.kozlowski@canonical.com
parent 1e3e559f
...@@ -13,7 +13,6 @@ menuconfig ARCH_EXYNOS ...@@ -13,7 +13,6 @@ menuconfig ARCH_EXYNOS
select ARM_GIC select ARM_GIC
select EXYNOS_IRQ_COMBINER select EXYNOS_IRQ_COMBINER
select COMMON_CLK_SAMSUNG select COMMON_CLK_SAMSUNG
select EXYNOS_CHIPID
select EXYNOS_THERMAL select EXYNOS_THERMAL
select EXYNOS_PMU select EXYNOS_PMU
select EXYNOS_SROM select EXYNOS_SROM
......
...@@ -13,8 +13,9 @@ config EXYNOS_ASV_ARM ...@@ -13,8 +13,9 @@ config EXYNOS_ASV_ARM
depends on EXYNOS_CHIPID depends on EXYNOS_CHIPID
config EXYNOS_CHIPID config EXYNOS_CHIPID
tristate "Exynos ChipID controller and ASV driver" if COMPILE_TEST tristate "Exynos ChipID controller and ASV driver"
depends on ARCH_EXYNOS || COMPILE_TEST depends on ARCH_EXYNOS || COMPILE_TEST
default ARCH_EXYNOS
select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
select MFD_SYSCON select MFD_SYSCON
select SOC_BUS select SOC_BUS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment