boards: stm32f4: Extract common config options
Move common config options one level up to try to simplify the per-board defconfig Change-Id: I3d80fa494050634d0f877af2015b01b85df20d1d Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
eb0f8ab9fc
commit
fdfa958d5f
3 changed files with 64 additions and 24 deletions
|
@ -26,4 +26,68 @@ config NUM_IRQ_PRIO_BITS
|
|||
int
|
||||
default 4
|
||||
|
||||
config SERIAL
|
||||
def_bool y
|
||||
|
||||
if SERIAL
|
||||
|
||||
config CONSOLE
|
||||
def_bool y
|
||||
|
||||
config UART_CONSOLE
|
||||
def_bool y
|
||||
|
||||
config UART_STM32
|
||||
def_bool y
|
||||
|
||||
config UART_STM32_PORT_0
|
||||
def_bool y
|
||||
|
||||
config UART_STM32_PORT_0_NAME
|
||||
default UART_0
|
||||
|
||||
config UART_STM32_PORT_0_BAUD_RATE
|
||||
default 115200
|
||||
|
||||
config UART_STM32_PORT_1
|
||||
def_bool y
|
||||
|
||||
config UART_STM32_PORT_1_NAME
|
||||
default UART_1
|
||||
|
||||
config UART_STM32_PORT_1_BAUD_RATE
|
||||
default 115200
|
||||
|
||||
endif #SERIAL
|
||||
|
||||
if CLOCK_CONTROL
|
||||
|
||||
config CLOCK_CONTROL_STM32F4X
|
||||
def_bool y
|
||||
|
||||
endif #CLOCK_CONTROL
|
||||
|
||||
if GPIO
|
||||
|
||||
config GPIO_STM32
|
||||
def_bool y
|
||||
|
||||
config GPIO_STM32_PORTA
|
||||
def_bool y
|
||||
|
||||
config GPIO_STM32_PORTB
|
||||
def_bool y
|
||||
|
||||
config GPIO_STM32_PORTC
|
||||
def_bool y
|
||||
|
||||
endif #GPIO
|
||||
|
||||
if PINMUX
|
||||
|
||||
config PINMUX_STM32
|
||||
def_bool y
|
||||
|
||||
endif #PINMUX
|
||||
|
||||
endif # SOC_SERIES_STM32F4X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue