From b56c4df86918ceaa42536274298d9ec6a9f2b7f4 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Thu, 18 Aug 2016 14:07:22 +0200 Subject: [PATCH] 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 --- scripts/sanitycheck | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/sanitycheck b/scripts/sanitycheck index dc3557eb9b8..2cc4c33cd19 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck @@ -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