X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0fa9ca5b53e412decad0df1f6b5baca73ae76a9c..4271e82d56403879635cabe17a0e959c49fc1a83:/common/ldscript.common?ds=sidebyside diff --git a/common/ldscript.common b/common/ldscript.common index 4c4bd390..4379d40c 100644 --- a/common/ldscript.common +++ b/common/ldscript.common @@ -14,3 +14,7 @@ MEMORY ram : ORIGIN = 0x00200000, LENGTH = 64K } +/* Export some information that can be used from within the firmware */ +_bootphase1_version_pointer = ORIGIN(bootphase1) + LENGTH(bootphase1) - 0x4; +_flash_start = ORIGIN(bootphase1); +_flash_end = ORIGIN(osimage) + LENGTH(osimage); \ No newline at end of file