From 419fc7d47344f1bb7f3fbdde69073cce2e858c47 Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Thu, 23 Feb 2017 09:20:30 -0800 Subject: [PATCH] quark_se: Fix bluetooth UART dependency Fix c6e27a05 was too aggressive. It turns out that bluetooth on the Quark SE boards won't enable it's own UART, because it had always been enabled. Apps that don't do it already will be broken. Enable UART_QMSI_0 whenever BLUETOOTH_H4 is pulled in on this platform. Change-Id: I5e21c6004714adba8fb0fafa056dc2d62698a3d1 Issue: ZEP-1788 Signed-off-by: Andy Ross --- arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig | 15 +++++++++++++++ .../quark_se/Kconfig.defconfig.series | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig b/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig index 01a0745eadd..40b52f0e633 100644 --- a/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig +++ b/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig @@ -229,6 +229,21 @@ config ADC_QMSI_SS def_bool y endif +if BLUETOOTH_H4 + +config BLUETOOTH_UART_ON_DEV_NAME + default UART_QMSI_0_NAME + +config UART_QMSI_0 + def_bool y + +config UART_QMSI_0_BAUDRATE + default 1000000 + +config UART_QMSI_0_HW_FC + def_bool y + +endif # BLUETOOTH_H4 if UART_QMSI diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series index 7d96dabce01..cab912ad816 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series @@ -186,6 +186,22 @@ config RTC_0_IRQ_PRI default 2 endif # RTC +if BLUETOOTH_H4 + +config BLUETOOTH_UART_ON_DEV_NAME + default UART_QMSI_0_NAME + +config UART_QMSI_0 + def_bool y + +config UART_QMSI_0_BAUDRATE + default 1000000 + +config UART_QMSI_0_HW_FC + def_bool y + +endif # BLUETOOTH_H4 + if UART_QMSI if UART_QMSI_0