soc: nxp: Move connectivity defaults to common

Move default of monolithic and fw loader, options, etc to the
common kconfig files rather than defaulting in soc file.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-08-12 15:14:57 -05:00 committed by Alberto Escolar
commit 6e7f86ce86
2 changed files with 21 additions and 16 deletions

View file

@ -23,6 +23,25 @@ config HCI_NXP_SET_CAL_DATA_ANNEX100
If enabled, the Host will send calibration data annex 100 to the BLE Controller during HCI If enabled, the Host will send calibration data annex 100 to the BLE Controller during HCI
init. init.
if BT_NXP
config BT_DIS_MANUF
default "NXP"
config BT_HCI_ACL_FLOW_CONTROL
default n
config BT_BUF_EVT_DISCARDABLE_SIZE
default 84
config HEAP_MEM_POOL_SIZE
default 256
config FLASH
default y
endif # BT_NXP
if BT_H4_NXP_CTLR if BT_H4_NXP_CTLR
config BT_NXP_NW612 config BT_NXP_NW612

View file

@ -9,6 +9,7 @@ config ROM_START_OFFSET
config NUM_IRQS config NUM_IRQS
default 129 default 129
if MCUX_OS_TIMER if MCUX_OS_TIMER
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
@ -25,35 +26,20 @@ endif # CORTEX_M_SYSTICK
if BT if BT
config FLASH config NXP_MONOLITHIC_BT
default y default y
config BT_DIS_MANUF
default "NXP"
config BT_BUF_EVT_DISCARDABLE_SIZE
default 84
config BT_HCI_ACL_FLOW_CONTROL
default n
config HCI_NXP_ENABLE_AUTO_SLEEP config HCI_NXP_ENABLE_AUTO_SLEEP
default y default y
config HCI_NXP_SET_CAL_DATA config HCI_NXP_SET_CAL_DATA
default y default y
config HEAP_MEM_POOL_SIZE
default 256
endif # BT endif # BT
config NXP_MONOLITHIC_WIFI config NXP_MONOLITHIC_WIFI
default y if WIFI default y if WIFI
config NXP_MONOLITHIC_BT
default y if BT
config NXP_FW_LOADER config NXP_FW_LOADER
default y if (BT || WIFI) default y if (BT || WIFI)