diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-08-23 07:26:40 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2005-08-23 07:26:40 +0000 |
commit | 13be9f14d7ef8136ea225eaecc5ad17ef203686a (patch) | |
tree | c37ab90be55de930005ec79f3ffe0baaa918ef3c /firmware | |
parent | 02cfd6a6e92a743460321cd2c42bde10626d73c5 (diff) | |
download | rockbox-13be9f14d7ef8136ea225eaecc5ad17ef203686a.tar.gz rockbox-13be9f14d7ef8136ea225eaecc5ad17ef203686a.zip |
allow the flash plugin to verify the RomBox link address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/rom.lds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds index 632a69ed9e..8781873f45 100644 --- a/firmware/rom.lds +++ b/firmware/rom.lds @@ -40,6 +40,14 @@ MEMORY } SECTIONS { + .flashheader : + { + /* place flash link address first, so the plugin can check */ + LONG(FLASHORIG); + /* followed by the start address, the first vector takes care of this. */ + /* If we ever place the table elsewhere, put a constant here. */ + } > FLASH + .vectors : { _datacopy = .; |