Le Tuesday 08 April 2014 à 11:45 +0200, Guillaume Gardet a écrit :
Hi,
Le 08/04/2014 11:36, Jean Delvare a écrit :
Hi Guillaume,
I have noticed that all the openSUSE arm kernel configuration files include a few drivers which are specific to the Exynos platform. I would expect to only find these drivers selected in the armv7hl/exynos configuration file.
Do I understand correctly that all the following can be turned off?
arm64/default:CONFIG_USB_DWC3_EXYNOS=m arm64/default:CONFIG_EXYNOS_ADC=y arm64/default:CONFIG_PHY_EXYNOS_MIPI_VIDEO=m arm64/default:CONFIG_PHY_EXYNOS_DP_VIDEO=m armv6hl/default:CONFIG_HW_RANDOM_EXYNOS=m armv6hl/default:CONFIG_PHY_EXYNOS_MIPI_VIDEO=m armv6hl/default:CONFIG_PHY_EXYNOS_DP_VIDEO=m armv7hl/default:CONFIG_HW_RANDOM_EXYNOS=m armv7hl/default:CONFIG_PHY_EXYNOS_MIPI_VIDEO=m armv7hl/default:CONFIG_PHY_EXYNOS_DP_VIDEO=m armv7hl/lpae:CONFIG_HW_RANDOM_EXYNOS=m armv7hl/lpae:CONFIG_PHY_EXYNOS_MIPI_VIDEO=m armv7hl/lpae:CONFIG_PHY_EXYNOS_DP_VIDEO=m
If this is correct then I will work with upstream to make HW_RANDOM_EXYNOS, EXYNOS_VIDEO, PHY_EXYNOS_MIPI_VIDEO and CONFIG_PHY_EXYNOS_DP_VIDEO depend on ARCH_EXYNOS, so that they can't be selected where they are not needed.
Indeed, this should be disabled on non-exynos kernels but exynos should become multiplatform (I have no timeline/roadmap), then our armv7hl/default and armv7hl/lpae should get exynos support once done and exynos config will be dropped. But this is not the case for now.
OK, thanks for the heads up.
Depending on ARCH_EXYNOS, should be ok. Later, we could add ARCH_MULTIPLATFORM, if needed.
This ARCH_MULTIPLATFORM thing is a mystery to me, the concept seems a little odd. But well I didn't look too much into the details and I won't have the time to do so. For now I'll update our configuration files, and I will send patches upstream to make the remaining options depend on ARCH_EXYNOS. This can always be adjusted later. -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org