Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Charles E. Youse authored and nashif committed May 23, 2019
1 parent c5aa535 commit 2b01e06052cf252301e22cbde05c5bc858e5a865
Showing with 10 additions and 38 deletions.
  1. +10 −0 boards/x86/up_squared/Kconfig.defconfig
  2. +0 −38 soc/x86/apollo_lake/Kconfig.defconfig
@@ -8,6 +8,16 @@ config BOARD
config BUILD_OUTPUT_STRIPPED
default y

if UART_NS16550

config UART_NS16550_PORT_0
default y

config UART_NS16550_PORT_1
default y

endif # UART_NS16550

if I2C

config I2C_DW
@@ -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

0 comments on commit 2b01e06

Please sign in to comment.
You can’t perform that action at this time.