summaryrefslogtreecommitdiff
path: root/core/minute-ia/ec.lds.S
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-11-05 18:09:56 +0100
committerchrome-bot <chrome-bot@chromium.org>2018-11-05 22:09:28 -0800
commit6fd1d521e4822a3f8da3ec65d408f874d682ee49 (patch)
tree7ab723063f2dd226d7c024f0c4f3ec1c1ef43ffa /core/minute-ia/ec.lds.S
parent15db6d5bbc6c28a4c632eb631e6010fd106d5cc8 (diff)
downloadchrome-ec-6fd1d521e4822a3f8da3ec65d408f874d682ee49.tar.gz
core/minute-ia: Add FLASH memory configuration
Even though it's not flash (and therefore rwx), the section layout indicates these parameters. Add them as Memory Configuration to meet the expectations of the "bytes free" report. BUG=none BRANCH=none TEST=no more atlas_ish board with -63k bytes free in flash after make buildall Change-Id: Ic476496d66bfc9c4e69a808542c778379d76c4b5 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/1318229 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'core/minute-ia/ec.lds.S')
-rw-r--r--core/minute-ia/ec.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index dfaedad2ff..da438b8ac3 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -188,3 +188,7 @@ SECTIONS
def_irq_low = ABSOLUTE(default_int_handler) & 0xFFFF;
def_irq_high = ABSOLUTE(default_int_handler) >> 16;
}
+MEMORY
+{
+ FLASH (rwx) : ORIGIN = CONFIG_ISH_BOOT_START, LENGTH = 640 * 1024
+}