diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/cortex-m/ec.lds.S | 8 | ||||
-rw-r--r-- | core/cortex-m0/ec.lds.S | 8 | ||||
-rw-r--r-- | core/nds32/ec.lds.S | 12 |
3 files changed, 1 insertions, 27 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index 803845c5a6..0c570a0b14 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -329,14 +329,6 @@ SECTIONS * can expand to use all the remaining RAM. */ __shared_mem_buf = .; - /* Tag at end of firmware image so that we can find the image size. - * This may be overwritten by the shared memory buffer; that's ok - * because we only use it to find the image size in flash. */ - . = ALIGN(4); - BYTE(0x45); - BYTE(0x4e); - BYTE(0x44); - BYTE(0xea); /* NOTHING MAY GO AFTER THIS! */ } > IRAM diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S index ee65cb31ce..495395a572 100644 --- a/core/cortex-m0/ec.lds.S +++ b/core/cortex-m0/ec.lds.S @@ -217,14 +217,6 @@ SECTIONS * can expand to use all the remaining RAM. */ __shared_mem_buf = .; - /* Tag at end of firmware image so that we can find the image size. - * This may be overwritten by the shared memory buffer; that's ok - * because we only use it to find the image size in flash. */ - . = ALIGN(4); - BYTE(0x45); - BYTE(0x4e); - BYTE(0x44); - BYTE(0xea); /* NOTHING MAY GO AFTER THIS! */ } > IRAM diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S index 978f652815..735d4e5c8b 100644 --- a/core/nds32/ec.lds.S +++ b/core/nds32/ec.lds.S @@ -218,17 +218,7 @@ SECTIONS } > IRAM - .flash.tag : { - /* Tag at end of firmware image so that we can find the image size. - * This may be overwritten by the shared memory buffer; that's ok - * because we only use it to find the image size in flash. */ - . = ALIGN(4); - BYTE(0x45); - BYTE(0x4e); - BYTE(0x44); - BYTE(0xea); - /* NOTHING MAY GO IN FLASH AFTER THIS! */ - } >FLASH + /* TODO: Add __image_size. */ #ifdef CONFIG_LPC .h2ram (NOLOAD) : { |