boards/up_squared: soc/apollo_lake: enable UARTs per board, not SoC

Which UARTs are broken out from the SoC on a particular board is
board-specific; don't enable UARTs blindly in the SoC Kconfig.

Also, the default UART options are specified in the driver Kconfig, so
the same defaults specified in the SoC Kconfig are redundant. Removed.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-05-23 13:55:49 -07:00 committed by Anas Nashif
commit 2b01e06052
2 changed files with 10 additions and 38 deletions

View file

@ -26,44 +26,6 @@ config X86_DYNAMIC_IRQ_STUBS
endif # DYNAMIC_INTERRUPTS
if UART_NS16550
config UART_NS16550_PORT_0
default y
if UART_NS16550_PORT_0
config UART_NS16550_PORT_0_OPTIONS
default 0
endif # UART_NS16550_PORT_0
config UART_NS16550_PORT_1
default y
if UART_NS16550_PORT_1
config UART_NS16550_PORT_1_OPTIONS
default 0
endif # UART_NS16550_PORT_1
if UART_NS16550_PORT_2
config UART_NS16550_PORT_2_OPTIONS
default 0
endif # UART_NS16550_PORT_2
if UART_NS16550_PORT_3
config UART_NS16550_PORT_3_OPTIONS
default 0
endif # UART_NS16550_PORT_3
endif # UART_NS16550
if GPIO
config GPIO_INTEL_APL