soc: xlnx: zynq7000: Select SYSCON in SoC config

The pinctrl driver actually uses SYSCON, so 'depends on' should be used
instead of 'select'. SYSCON should be selected in SoC config instead,
just like other SoC do.

This breaks Kconfig dependency loop for configs that indirectly depends
on SYSCON and causes PINCTRL to be selected.

Signed-off-by: Patryk Duda <patrykd@google.com>
This commit is contained in:
Patryk Duda 2024-04-26 19:27:39 +02:00 committed by Fabio Baltieri
parent 1ad4b5c617
commit 8c6e801250
3 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,6 @@ config PINCTRL_XLNX_ZYNQ
bool "Xilinx Zynq 7000 processor system MIO pin controller driver"
default y
depends on DT_HAS_XLNX_PINCTRL_ZYNQ_ENABLED
select SYSCON
depends on SYSCON
help
Enable the Xilinx Zynq 7000 processor system MIO pin controller driver.

View file

@ -9,4 +9,5 @@
config SOC_SERIES_XC7ZXXX
select ARM
select CPU_CORTEX_A9
select SYSCON
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER

View file

@ -9,4 +9,5 @@
config SOC_SERIES_XC7ZXXXS
select ARM
select CPU_CORTEX_A9
select SYSCON
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER