From dd1f41a03bd4eb5fbf455fdbf440ce3c88d9e46d Mon Sep 17 00:00:00 2001 From: li feng Date: Mon, 31 Jul 2017 15:18:22 -0700 Subject: [PATCH] core/minute-ia: add __image_size For system using core/minute-ia, build will fail since __image_size is not defined. If later this variable is used, should adjust its value properly. BUG=none BRANCH=None TEST=Build passed for Soarka ISH which uses core/minute-ia. Change-Id: I8e179e0bac551a46d93ca10ba8b61b4ebade74fc Signed-off-by: li feng Reviewed-on: https://chromium-review.googlesource.com/595151 Commit-Ready: Li1 Feng Tested-by: Li1 Feng Reviewed-by: Aaron Durbin --- core/minute-ia/ec.lds.S | 3 +++ include/config.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S index 2eacb8db39..7357737189 100644 --- a/core/minute-ia/ec.lds.S +++ b/core/minute-ia/ec.lds.S @@ -155,6 +155,9 @@ SECTIONS __bss_size_words = (__bss_end - __bss_start) / 4; } + #TODO: Adjust __image_size to proper value for core minute-ia later + __image_size = . - CONFIG_ISH_BOOT_START; + def_irq_low = ABSOLUTE(default_int_handler) & 0xFFFF; def_irq_high = ABSOLUTE(default_int_handler) >> 16; } diff --git a/include/config.h b/include/config.h index ff63e58213..73ddc8a033 100644 --- a/include/config.h +++ b/include/config.h @@ -1389,6 +1389,8 @@ /* H2RAM Host LPC I/O base memory address */ #undef CONFIG_H2RAM_HOST_LPC_IO_BASE +/* ISH boot start address */ +#undef CONFIG_ISH_BOOT_START /* * Define the minimal amount of time (in ms) betwen running motion sense task * loop.