Commit dfdf5e37 authored by Maureen Helm's avatar Maureen Helm Committed by Kumar Gala
Browse files

boards: Move default pinmux enable to <board>_defconfig



Most boards enable the pinmux by default by setting CONFIG_PINMUX=y in
<board>_defconfig, but several boards did it in Kconfig.defconfig
instead. Several code reviews, such as #5043, have suggested using a
select in Kconfig.board to enable the pinmux, however this caused
warnings:

warning: (BOARD_LPCXPRESSO54114) selects PINMUX which has unmet direct
dependencies (BOARD_FRDM_K64F || BOARD_FRDM_KL25Z || BOARD_FRDM_KW41Z ||
BOARD_HEXIWEAR_K64 || BOARD_USB_KW24D512 || BOARD_GALILEO)

Fix how these boards enable the pinmux so they are more consistent with
other boards.

Signed-off-by: default avatarMaureen Helm <maureen.helm@nxp.com>
parent 9fad6d9f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -32,9 +32,6 @@ config UART_MCUX_3

endif # UART_MCUX

config PINMUX
	def_bool y

if PINMUX_MCUX

config PINMUX_MCUX_PORTA
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_GPIO=y
CONFIG_PINMUX=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=120000000
CONFIG_OSC_EXTERNAL=y

+0 −3
Original line number Diff line number Diff line
@@ -25,9 +25,6 @@ config MCG_FRDIV
config MCG_FCRDIV
	default 0

config PINMUX
	def_bool y

if PINMUX_MCUX

config PINMUX_MCUX_PORTA
+1 −0
Original line number Diff line number Diff line
@@ -7,5 +7,6 @@ CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_GPIO=y
CONFIG_PINMUX=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000
CONFIG_OSC_LOW_POWER=y
+0 −3
Original line number Diff line number Diff line
@@ -19,9 +19,6 @@ config MCG_FRDIV
config MCG_FCRDIV
	default 0

config PINMUX
	def_bool y

if PINMUX_MCUX

config PINMUX_MCUX_PORTA
Loading