Skip to content

Commit 95b955a

Browse files
Andy RossAnas Nashif
authored andcommitted
quark_se: Fix bluetooth UART dependency
Fix c6e27a0 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 <[email protected]>
1 parent e3dc357 commit 95b955a

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,21 @@ config ADC_QMSI_SS
229229
def_bool y
230230
endif
231231

232+
if BLUETOOTH_H4
233+
234+
config BLUETOOTH_UART_ON_DEV_NAME
235+
default UART_QMSI_0_NAME
236+
237+
config UART_QMSI_0
238+
def_bool y
239+
240+
config UART_QMSI_0_BAUDRATE
241+
default 1000000
242+
243+
config UART_QMSI_0_HW_FC
244+
def_bool y
245+
246+
endif # BLUETOOTH_H4
232247

233248
if UART_QMSI
234249

arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,22 @@ config RTC_0_IRQ_PRI
186186
default 2
187187
endif # RTC
188188

189+
if BLUETOOTH_H4
190+
191+
config BLUETOOTH_UART_ON_DEV_NAME
192+
default UART_QMSI_0_NAME
193+
194+
config UART_QMSI_0
195+
def_bool y
196+
197+
config UART_QMSI_0_BAUDRATE
198+
default 1000000
199+
200+
config UART_QMSI_0_HW_FC
201+
def_bool y
202+
203+
endif # BLUETOOTH_H4
204+
189205
if UART_QMSI
190206

191207
if UART_QMSI_0

0 commit comments

Comments
 (0)