boards: remove CONFIG_PINCTRL from defconfig files of FE310-based boards
This commit removes the y-selection of the `CONFIG_PINCTRL` Kconfig option in FE310-based boards defconfig files. It also makes drivers used in FE310 y-select `CONFIG_PINCTRL` if pinmuxing is needed. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
parent
0a59ed609c
commit
0abc9fb8be
6 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,6 @@ CONFIG_CONSOLE=y
|
|||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_SIFIVE_PORT_0=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=10000000
|
||||
CONFIG_QEMU_ICOUNT_SHIFT=6
|
||||
|
|
|
|||
|
|
@ -5,5 +5,4 @@ CONFIG_CONSOLE=y
|
|||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_SIFIVE_PORT_0=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_GPIO=y
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_SIFIVE_PORT_0=y
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@ config PWM_SIFIVE
|
|||
bool "SiFive Freedom PWM driver"
|
||||
default y
|
||||
depends on DT_HAS_SIFIVE_PWM0_ENABLED
|
||||
select PINCTRL if SOC_SERIES_SIFIVE_FREEDOM_FE300
|
||||
help
|
||||
Enable the PWM driver for the SiFive Freedom platform
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ menuconfig UART_SIFIVE
|
|||
depends on DT_HAS_SIFIVE_UART0_ENABLED
|
||||
select SERIAL_HAS_DRIVER
|
||||
select SERIAL_SUPPORT_INTERRUPT
|
||||
select PINCTRL if SOC_SERIES_SIFIVE_FREEDOM_FE300
|
||||
help
|
||||
This option enables the SiFive Freedom serial driver.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@ config SPI_SIFIVE
|
|||
bool "SiFive SPI controller driver"
|
||||
default y
|
||||
depends on DT_HAS_SIFIVE_SPI0_ENABLED
|
||||
select PINCTRL if SOC_SERIES_SIFIVE_FREEDOM_FE300
|
||||
help
|
||||
Enable the SPI peripherals on SiFive Freedom processors
|
||||
|
|
|
|||
Loading…
Reference in a new issue