sanitycheck: Add support for section net_l2_data

We missed that section, so sanitycheck was failing.
Also putting the right section in the relevant array.

Change-Id: I361ffa1707c01f0d3c870a7bc36a86ada66af1d2
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2016-08-18 14:07:22 +02:00 committed by Jukka Rissanen
commit b56c4df869

View file

@ -463,11 +463,11 @@ class SizeCalculator:
"_k_mem_slab_area", "_k_mem_pool_area",
"_k_sem_area", "_k_mutex_area", "_k_alert_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"]
# These get copied into RAM only on non-XIP
ro_sections = ["text", "ctors", "init_array", "reset",
"rodata", "devconfig",
"net_if", "net_l2", "net_nbr"]
"rodata", "devconfig", "net_l2"]
def __init__(self, filename, extra_sections):
"""Constructor