summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-06-02 14:34:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-03 03:00:08 -0700
commit0e532c6044e068c3929a0407c31893e0070e1196 (patch)
treecc0d252f663af2fc55f9b1f86aaeaf587e62ecf3 /core
parent82c803d93b6908adca93c88b70012b58db640d71 (diff)
downloadchrome-ec-0e532c6044e068c3929a0407c31893e0070e1196.tar.gz
cleanup: Remove SHIFT_CODE_FOR_TEST handling
SHIFT_CODE_FOR_TEST images were used for an old FAFT test but is no longer in use today. BUG=chromium:616806 BRANCH=None TEST=`make buildall -j` CQ-DEPEND=CL:349281 Change-Id: I1b4e8c2560e2a7ff507cf2275dbbbdabf435866b Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/349272 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Tom Tam <waihong@google.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S4
-rw-r--r--core/cortex-m0/ec.lds.S4
-rw-r--r--core/nds32/ec.lds.S4
3 files changed, 0 insertions, 12 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 6beb007dba..bdaf382a55 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -85,11 +85,7 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.rodata.pstate))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
STRINGIFY(OUTDIR/core/CORE/init.o) (.text)
*(.text*)
#ifdef CONFIG_EXTERNAL_STORAGE
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S
index 602374404a..429c52ae34 100644
--- a/core/cortex-m0/ec.lds.S
+++ b/core/cortex-m0/ec.lds.S
@@ -47,11 +47,7 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.rodata.pstate))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
STRINGIFY(OUTDIR/core/CORE/init.o) (.text)
*(.text*)
} > FLASH
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 4f217d66b3..0d91c6d6e4 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -32,11 +32,7 @@ SECTIONS
. = ALIGN(4);
__version_struct_offset = .;
KEEP(*(.rodata.ver))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
KEEP(STRINGIFY(OUTDIR/core/CORE/init.o) (.text.vectirq))
KEEP(STRINGIFY(OUTDIR/core/CORE/init.o) (.text))
*(.text*)