drivers: bt_nxp: Use DT code partition if needed

Remove the logic from the board level about overriding the
flash load size and instead just select to use the DT code
partition if app is not expected to be able to occupy the
whole flash space because of the firmware image being
loaded separately.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-08-01 11:41:59 -05:00 committed by Anas Nashif
commit d4d56de4d4
3 changed files with 1 additions and 6 deletions

View file

@ -5,9 +5,6 @@
if BOARD_FRDM_RW612 if BOARD_FRDM_RW612
config FLASH_LOAD_SIZE
default 0x400000 if !BOOTLOADER_MCUBOOT && !NXP_MONOLITHIC_BT
config NET_L2_ETHERNET config NET_L2_ETHERNET
default y if DT_HAS_NXP_ENET_MAC_ENABLED && NETWORKING default y if DT_HAS_NXP_ENET_MAC_ENABLED && NETWORKING

View file

@ -5,9 +5,6 @@
if BOARD_RD_RW612_BGA if BOARD_RD_RW612_BGA
config FLASH_LOAD_SIZE
default 0x400000 if !BOOTLOADER_MCUBOOT && !NXP_MONOLITHIC_BT
if LVGL if LVGL
# Enable DMA for LCDIC # Enable DMA for LCDIC

View file

@ -132,6 +132,7 @@ config BT_NXP
default y default y
depends on DT_HAS_NXP_HCI_BLE_ENABLED depends on DT_HAS_NXP_HCI_BLE_ENABLED
select BT_HCI_SETUP select BT_HCI_SETUP
select USE_DT_CODE_PARTITION if !NXP_MONOLITHIC_BT
help help
NXP HCI bluetooth interface NXP HCI bluetooth interface