2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
* scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
This commit is contained in:
parent
a0cb783508
commit
ef844a53d2
|
@ -1,3 +1,7 @@
|
||||||
|
2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
|
||||||
|
|
||||||
|
* scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
|
||||||
|
|
||||||
2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
|
2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
|
||||||
|
|
||||||
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
|
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
|
||||||
|
|
|
@ -7,6 +7,9 @@ MEMORY
|
||||||
text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
|
text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
|
||||||
data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
|
data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
|
||||||
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
|
eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
|
||||||
|
fuse (rw!x) : ORIGIN = 0x820000, LENGTH = 1K
|
||||||
|
lock (rw!x) : ORIGIN = 0x830000, LENGTH = 1K
|
||||||
|
signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -196,6 +199,24 @@ SECTIONS
|
||||||
${RELOCATING+ __eeprom_end = . ; }
|
${RELOCATING+ __eeprom_end = . ; }
|
||||||
} ${RELOCATING+ > eeprom}
|
} ${RELOCATING+ > eeprom}
|
||||||
|
|
||||||
|
.fuse ${RELOCATING-0}:
|
||||||
|
{
|
||||||
|
KEEP(*(.fuse))
|
||||||
|
KEEP(*(.lfuse))
|
||||||
|
KEEP(*(.hfuse))
|
||||||
|
KEEP(*(.efuse))
|
||||||
|
} ${RELOCATING+ > fuse}
|
||||||
|
|
||||||
|
.lock ${RELOCATING-0}:
|
||||||
|
{
|
||||||
|
KEEP(*(.lock*))
|
||||||
|
} ${RELOCATING+ > lock}
|
||||||
|
|
||||||
|
.signature ${RELOCATING-0}:
|
||||||
|
{
|
||||||
|
KEEP(*(.signature*))
|
||||||
|
} ${RELOCATING+ > signature}
|
||||||
|
|
||||||
/* Stabs debugging sections. */
|
/* Stabs debugging sections. */
|
||||||
.stab 0 : { *(.stab) }
|
.stab 0 : { *(.stab) }
|
||||||
.stabstr 0 : { *(.stabstr) }
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
|
Loading…
Reference in New Issue