diff options
-rw-r--r-- | core/cortex-m/ec.lds.S | 4 | ||||
-rw-r--r-- | core/cortex-m0/ec.lds.S | 4 | ||||
-rw-r--r-- | core/nds32/ec.lds.S | 4 | ||||
-rwxr-xr-x | util/getversion.sh | 4 |
4 files changed, 0 insertions, 16 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*) diff --git a/util/getversion.sh b/util/getversion.sh index 811abfdf47..abf99eb186 100755 --- a/util/getversion.sh +++ b/util/getversion.sh @@ -40,11 +40,7 @@ ver="${BOARD}_${vbase}" echo "/* This file is generated by util/getversion.sh */" echo "/* Version string for use by common/version.c */" -echo "#ifdef SHIFT_CODE_FOR_TEST" -echo "#define CROS_EC_VERSION \"${ver}_shift\"" -echo "#else" echo "#define CROS_EC_VERSION \"${ver}\"" -echo "#endif" echo "/* Version string, truncated to 31 chars (+ terminating null = 32) */" echo "#define CROS_EC_VERSION32 \"${ver:0:31}\"" |