summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-11-05 18:09:56 +0100
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-11-05 23:07:55 +0000
commitd6d4229c2f4af66d96555fdc49259391fa109c05 (patch)
treedcea4a17b97195906d00eb5f634deca2e1a82c9e
parentc7197088a139e98dcddeaa15f0dc5508b5104b26 (diff)
downloadchrome-ec-d6d4229c2f4af66d96555fdc49259391fa109c05.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/c/1318295 Reviewed-by: Caveh Jalali <caveh@google.com> Commit-Queue: Caveh Jalali <caveh@google.com> Tested-by: Caveh Jalali <caveh@google.com>
-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
+}