Bluetooth: L2CAP: Move fixed channels to its own section in ROM
This changes the declaration of fixed channels to be statically defined with use of BT_L2CAP_CHANNEL_DEFINE since fixed channels are never unregistered. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
93fb695244
commit
a3bea8872b
8 changed files with 73 additions and 81 deletions
|
@ -77,6 +77,22 @@
|
|||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
#endif
|
||||
|
||||
SECTION_DATA_PROLOGUE(_bt_channels_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_channels_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_channels.static.*")))
|
||||
_bt_channels_end = .;
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
|
||||
#if defined(CONFIG_BT_BREDR)
|
||||
SECTION_DATA_PROLOGUE(_bt_br_channels_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_br_channels_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_br_channels.static.*")))
|
||||
_bt_br_channels_end = .;
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
#endif
|
||||
|
||||
SECTION_DATA_PROLOGUE(_bt_services_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_services_start = .;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue