net: Remove nbr_data section as it is useless
No need to store the nbr pool data into a dedicated section as we have only one nbr pool defined. Change-Id: I6f2afcce57b5f588878496bf085567b938e32c80 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
66d3601dd5
commit
dbb3988ee6
3 changed files with 2 additions and 11 deletions
|
@ -180,11 +180,3 @@
|
||||||
KEEP(*(SORT_BY_NAME(".net_l2.data*")))
|
KEEP(*(SORT_BY_NAME(".net_l2.data*")))
|
||||||
__net_l2_data_end = .;
|
__net_l2_data_end = .;
|
||||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||||
|
|
||||||
SECTION_DATA_PROLOGUE(net_nbr, (OPTIONAL),)
|
|
||||||
{
|
|
||||||
__net_nbr_start = .;
|
|
||||||
*(".net_nbr.*")
|
|
||||||
KEEP(*(SORT_BY_NAME(".net_nbr*")))
|
|
||||||
__net_nbr_end = .;
|
|
||||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
|
||||||
|
|
|
@ -109,8 +109,7 @@ struct net_nbr_table {
|
||||||
#define NET_NBR_TABLE_INIT(_type, _name, _pool, _clear) \
|
#define NET_NBR_TABLE_INIT(_type, _name, _pool, _clear) \
|
||||||
_type struct net_nbr_table_##_name { \
|
_type struct net_nbr_table_##_name { \
|
||||||
struct net_nbr_table table; \
|
struct net_nbr_table table; \
|
||||||
} net_##_name __used \
|
} net_##_name __used = { \
|
||||||
__attribute__((__section__(".net_nbr.data"))) = { \
|
|
||||||
.table = { \
|
.table = { \
|
||||||
.clear = _clear, \
|
.clear = _clear, \
|
||||||
.nbr = (struct net_nbr *)_pool, \
|
.nbr = (struct net_nbr *)_pool, \
|
||||||
|
|
|
@ -464,7 +464,7 @@ class SizeCalculator:
|
||||||
"_k_sem_area", "_k_mutex_area", "_k_alert_area",
|
"_k_sem_area", "_k_mutex_area", "_k_alert_area",
|
||||||
"_k_fifo_area", "_k_lifo_area", "_k_stack_area",
|
"_k_fifo_area", "_k_lifo_area", "_k_stack_area",
|
||||||
"_k_msgq_area", "_k_mbox_area", "_k_pipe_area",
|
"_k_msgq_area", "_k_mbox_area", "_k_pipe_area",
|
||||||
"net_if", "net_l2_data", "net_nbr"]
|
"net_if", "net_l2_data"]
|
||||||
# These get copied into RAM only on non-XIP
|
# These get copied into RAM only on non-XIP
|
||||||
ro_sections = ["text", "ctors", "init_array", "reset",
|
ro_sections = ["text", "ctors", "init_array", "reset",
|
||||||
"rodata", "devconfig", "net_l2"]
|
"rodata", "devconfig", "net_l2"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue