summaryrefslogtreecommitdiff
path: root/firmware/link
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/link')
-rw-r--r--firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld3
-rw-r--r--firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld3
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
index a0f7c3e..dfcfff1 100644
--- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
+++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld
@@ -31,7 +31,8 @@ SECTIONS
. = ALIGN(4);
} >DATA
- _edata_shared = LOADADDR(.data.shared) + SIZEOF(.data.shared);
+ _edata_shared = . ;
+ _data_flash = LOADADDR(.data.shared) + SIZEOF(.data.shared);
/* 0x00200000 ... */
.data (0x00200000 + SIZEOF(.text)): AT
diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
index a151de8..7f133da 100644
--- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
+++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld
@@ -31,7 +31,8 @@ SECTIONS
. = ALIGN(4);
} >DATA
- _edata_shared = LOADADDR(.data.shared) + SIZEOF(.data.shared);
+ _edata_shared = . ;
+ _data_flash = LOADADDR(.data.shared) + SIZEOF(.data.shared);
/* 0x00200000 ... */
.data (0x00200000 + SIZEOF(.text)): AT ( LOADADDR(.text) + SIZEOF(.text) + SIZEOF(.data.shared)) {
personal git repositories of Harald Welte. Your mileage may vary