X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2bfed17db25367442c6ad57a76a3c998ec84889c..4271e82d56403879635cabe17a0e959c49fc1a83:/common/ldscript.common 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