diff options
author | li feng <li1.feng@intel.com> | 2017-07-31 15:18:22 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-24 23:06:40 -0700 |
commit | dd1f41a03bd4eb5fbf455fdbf440ce3c88d9e46d (patch) | |
tree | 2bad3d2df2f88b387e4db28a16e43de854228008 | |
parent | 68dfee896ea433bd55e081e07f26b3534fd11bb9 (diff) | |
download | chrome-ec-dd1f41a03bd4eb5fbf455fdbf440ce3c88d9e46d.tar.gz |
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 <li1.feng@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/595151
Commit-Ready: Li1 Feng <li1.feng@intel.com>
Tested-by: Li1 Feng <li1.feng@intel.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | core/minute-ia/ec.lds.S | 3 | ||||
-rw-r--r-- | include/config.h | 2 |
2 files changed, 5 insertions, 0 deletions
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. |